クラス JSONArray
java.lang.Object
io.github.takenoko4096.json.JSONValue<List<JSONValue<?>>>
io.github.takenoko4096.json.values.JSONArray
- すべての実装されたインタフェース:
JSONIterable<JSONValue<?>>, JSONStructure, Iterable<JSONValue<?>>
@NullMarked
public final class JSONArray
extends JSONValue<List<JSONValue<?>>>
implements JSONIterable<JSONValue<?>>
-
フィールドの概要
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidvoidasList()booleanclear()copy()booleandelete(int index) <T extends JSONValue<?>>
Tget(int index, JSONValueType<T> type) getType()値の型を取得します。getTypeAt(int index) booleanhas(int index) booleanisArrayOf(JSONValueType<?> type) booleanisEmpty()booleaniterator()intlength()void<T extends JSONValue<?>>
TypedJSONArray<T> typed(JSONValueType<T> type) static JSONArrayインタフェースから継承されたメソッド Iterable
forEach, spliterator
-
コンストラクタの詳細
-
JSONArray
public JSONArray() -
JSONArray
-
-
メソッドの詳細
-
getType
-
has
public boolean has(int index) - 定義:
hasインタフェース内JSONIterable<JSONValue<?>>
-
isEmpty
public boolean isEmpty()- 定義:
isEmptyインタフェース内JSONIterable<JSONValue<?>>- 定義:
isEmptyインタフェース内JSONStructure
-
getTypeAt
-
get
public <T extends JSONValue<?>> T get(int index, JSONValueType<T> type) throws IllegalArgumentException -
add
-
add
-
set
-
delete
public boolean delete(int index) - 定義:
deleteインタフェース内JSONIterable<JSONValue<?>>
-
clear
public boolean clear()- 定義:
clearインタフェース内JSONIterable<JSONValue<?>>- 定義:
clearインタフェース内JSONStructure
-
length
public int length()- 定義:
lengthインタフェース内JSONIterable<JSONValue<?>>
-
iterator
-
asList
-
copy
- 定義:
copyインタフェース内JSONIterable<JSONValue<?>>- 定義:
copyインタフェース内JSONStructure
-
isSuperOf
-
isArrayOf
-
typed
-
valueOf
-