Class OrthodoxArrayValue
java.lang.Object
org.smallmind.bayeux.oumuamua.server.spi.json.orthodox.OrthodoxValue
org.smallmind.bayeux.oumuamua.server.spi.json.orthodox.OrthodoxArrayValue
- All Implemented Interfaces:
ArrayValue<OrthodoxValue>,Value<OrthodoxValue>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<U extends Value<OrthodoxValue>>
ArrayValue<OrthodoxValue>add(U value) <U extends Value<OrthodoxValue>>
ArrayValue<OrthodoxValue>addAll(Collection<U> values) voidget(int index) <U extends Value<OrthodoxValue>>
ArrayValue<OrthodoxValue>insert(int index, U value) booleanisEmpty()remove(int index) <U extends Value<OrthodoxValue>>
ArrayValue<OrthodoxValue>set(int index, U value) intsize()Methods inherited from class org.smallmind.bayeux.oumuamua.server.spi.json.orthodox.OrthodoxValue
getFactory, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.smallmind.bayeux.oumuamua.server.api.json.ArrayValue
add, add, add, add, add, getType, insert, insert, insert, insert, insert, set, set, set, set, setMethods inherited from interface org.smallmind.bayeux.oumuamua.server.api.json.Value
getFactory
-
Constructor Details
-
OrthodoxArrayValue
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceArrayValue<OrthodoxValue>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceArrayValue<OrthodoxValue>
-
get
- Specified by:
getin interfaceArrayValue<OrthodoxValue>
-
add
- Specified by:
addin interfaceArrayValue<OrthodoxValue>
-
set
- Specified by:
setin interfaceArrayValue<OrthodoxValue>
-
insert
- Specified by:
insertin interfaceArrayValue<OrthodoxValue>
-
remove
- Specified by:
removein interfaceArrayValue<OrthodoxValue>
-
addAll
- Specified by:
addAllin interfaceArrayValue<OrthodoxValue>
-
removeAll
- Specified by:
removeAllin interfaceArrayValue<OrthodoxValue>
-
encode
- Specified by:
encodein interfaceValue<OrthodoxValue>- Throws:
IOException
-