BaseItem, java.lang.Iterable<V>, java.util.Collection<V>, java.util.Set<V>AnnotationSet, AssociationSet, AttributeSet, ClazzSet, ConditionSet, DateTypeSet, FeatureSet, GraphSimpleSet, IdFilterElements, MethodSet, ModelSet, ModifierSet, ObjectSet, ParameterSet, SortedSetpublic class SimpleSet<V> extends AbstractList<V> implements java.util.Set<V>
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
PROPERTY |
ALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, CASESENSITIVE, flag, MAP, READONLY, REMOVED, VISIBLE| Constructor | Description |
|---|---|
SimpleSet() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(int index,
V element) |
|
boolean |
add(V newValue) |
|
boolean |
addAll(int index,
java.util.Collection<? extends V> values) |
|
SimpleSet<V> |
clone() |
|
protected boolean |
fireProperty(java.lang.String type,
java.lang.Object oldElement,
java.lang.Object newElement,
java.lang.Object beforeElement,
int index,
java.lang.Object value) |
|
SimpleSet<V> |
getNewList(boolean keyValue) |
|
<ST extends AbstractList<?>> |
instanceOf(ST target) |
|
<ST extends SimpleSet<V>> |
intersection(java.util.Collection<? extends V> other) |
|
<ST extends SimpleSet<V>> |
minus(java.lang.Object other) |
|
V |
remove(int index) |
|
boolean |
remove(java.lang.Object o) |
|
V |
set(int index,
V element) |
|
SimpleSet<V> |
subList(int fromIndex,
int toIndex) |
Returns a view of the portion of this list between the specified
fromIndex, inclusive, and toIndex, exclusive.
|
java.lang.String |
toString() |
Convert Element to String
|
java.lang.String |
toString(java.lang.String separator) |
|
<ST extends SimpleSet<V>> |
union(java.util.Collection<? extends V> other) |
|
SimpleSet<V> |
withListener(ObjectCondition listener) |
add, addHashItem, addKeyValue, checkValue, clear, comparator, contains, containsAll, containsAll, first, flag, get, getByIndex, getKeyByIndex, getPositionKey, getTypClass, getValue, hashKey, hasKeyAndPos, indexOf, init, init, init, isAllowDuplicate, isAllowEmptyValue, isCaseSensitive, isComparator, isEmpty, isReadOnly, isVisible, last, lastIndexOf, move, pack, parseItem, removeAll, removeByIndex, removeByObject, removeItem, replaceAllValues, reset, reset, retainAll, setAllowEmptyValue, setFlag, setValue, size, toArray, toArray, toString, with, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, withSize, withType, withVisibleaddAll, ceiling, copyEntity, equals, filter, filterItems, hashCode, iterator, iterator, iteratorReverse, listIterator, listIterator, lower, subSet, withListpublic static final java.lang.String PROPERTY
public SimpleSet<V> getNewList(boolean keyValue)
getNewList in interface BaseItemgetNewList in class AbstractArray<V>public boolean remove(java.lang.Object o)
public SimpleSet<V> subList(int fromIndex, int toIndex)
AbstractArraysubList in class AbstractArray<V>fromIndex - low endpoint (inclusive) of the subListtoIndex - high endpoint (exclusive) of the subListpublic boolean addAll(int index,
java.util.Collection<? extends V> values)
addAll in class AbstractList<V>public java.lang.String toString()
BaseItemtoString in interface BaseItemtoString in class AbstractArray<V>public java.lang.String toString(java.lang.String separator)
public V set(int index, V element)
set in class AbstractList<V>public void add(int index,
V element)
add in class AbstractList<V>public V remove(int index)
remove in class AbstractList<V>public boolean add(V newValue)
public <ST extends SimpleSet<V>> ST intersection(java.util.Collection<? extends V> other)
public <ST extends AbstractList<?>> ST instanceOf(ST target)
public SimpleSet<V> withListener(ObjectCondition listener)
protected boolean fireProperty(java.lang.String type,
java.lang.Object oldElement,
java.lang.Object newElement,
java.lang.Object beforeElement,
int index,
java.lang.Object value)
fireProperty in class AbstractArray<V>