public abstract class CollectionFieldValue<T extends FieldValue> extends CompositeFieldValue
classId
Modifier and Type | Method and Description |
---|---|
abstract boolean |
add(T value) |
abstract boolean |
contains(Object o) |
protected FieldValue |
createFieldValue(Object o)
Utility function to wrap primitives.
|
abstract Iterator<T> |
fieldValueIterator() |
CollectionDataType |
getDataType() |
abstract boolean |
isEmpty() |
protected boolean |
isEmpty(Collection collection) |
abstract Iterator<T> |
iterator() |
abstract boolean |
removeValue(FieldValue o) |
protected boolean |
removeValue(FieldValue o,
Collection collection) |
abstract int |
size() |
void |
verifyElementCompatibility(T o) |
equals, hashCode, setDataType
assign, clear, clone, compareTo, create, deserialize, deserialize, getRecursiveValue, getRecursiveValue, getWrappedValue, onDeserialize, onSerialize, printXml, serialize, serialize, toXml
public CollectionDataType getDataType()
getDataType
in class CompositeFieldValue
protected FieldValue createFieldValue(Object o)
Array.ListWrapper
public void verifyElementCompatibility(T o)
public abstract boolean add(T value)
public abstract boolean contains(Object o)
public abstract boolean isEmpty()
protected boolean isEmpty(Collection collection)
public abstract boolean removeValue(FieldValue o)
protected boolean removeValue(FieldValue o, Collection collection)
public abstract int size()
Copyright © 2018. All rights reserved.