java.lang.Object
omix.lang.JsonArray
public final class JsonArray extends Object implements Iterable<Object>
- Since:
- Omix 1.8.2
- Author:
- Dr. Peter Droste
-
Constructor Summary
Constructors Constructor Description JsonArray()
JsonArray(Object @IsVarType [] values)
JsonArray(Collection<@IsVarType Object> values)
-
Method Summary
Modifier and Type Method Description void
addValue(@IsVarType Object value)
static JsonArray
fromArray(Object @IsVarType [] values)
static JsonArray
fromCollection(Collection<@IsVarType Object> values)
static JsonArray
fromList(List<@IsVarType Object> values)
static JsonArray
fromQueue(Queue<@IsVarType Object> values)
static JsonArray
fromSet(Set<@IsVarType Object> values)
@IsVarType Object
getValue(int index)
int
indexOf(@IsVarType Object value)
Iterator<@IsVarType Object>
iterator()
int
length()
Object
removeValue(int index)
boolean
removeValue(@IsVarType Object value)
void
setValue(int index, @IsVarType Object value)
int
size()
Object @IsVarType []
toArray()
Collection<@IsVarType Object>
toCollection()
List<@IsVarType Object>
toList()
Queue<@IsVarType Object>
toQueue()
Set<@IsVarType Object>
toSet()
String
toString()