E - - type of set contentspublic class NSMutableSet<E> extends NSSet<E>
NSMutableSet<E> set = new NSMutableSet<E>();
set.put(new E())
for (E t : set)
logger.debug(t);
NSCoding._BigDecimalSupport, NSCoding._BigIntegerSupport, NSCoding._BooleanSupport, NSCoding._ByteSupport, NSCoding._CharacterSupport, NSCoding._DateSupport, NSCoding._DoubleSupport, NSCoding._FloatSupport, NSCoding._IntegerSupport, NSCoding._LongSupport, NSCoding._NumberSupport, NSCoding._ShortSupport, NSCoding._StringSupport, NSCoding.Support| Modifier and Type | Field and Description |
|---|---|
static java.lang.Class |
_CLASS |
_capacity, _count, _deletionLimit, _flags, _hashCache, _hashtableBuckets, _NSSetClassHashCode, _objects, _objectsCache, EmptySet| Constructor and Description |
|---|
NSMutableSet() |
NSMutableSet(java.util.Collection<? extends E> collection) |
NSMutableSet(E object) |
NSMutableSet(E[] objects) |
NSMutableSet(E object,
E... objects) |
NSMutableSet(int capacity) |
NSMutableSet(NSArray<? extends E> objects) |
NSMutableSet(NSSet<? extends E> otherSet) |
NSMutableSet(java.util.Set<? extends E> set,
boolean ignoreNull) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
boolean |
addAll(java.util.Collection<? extends E> c) |
void |
addObject(E object) |
void |
addObjects(E... objects) |
void |
addObjectsFromArray(NSArray<? extends E> array) |
void |
clear() |
java.lang.Object |
clone() |
NSSet<E> |
immutableClone() |
void |
intersectSet(NSSet<?> otherSet) |
java.util.Iterator<E> |
iterator() |
NSMutableSet<E> |
mutableClone() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
void |
removeAllObjects() |
E |
removeObject(java.lang.Object object) |
boolean |
retainAll(java.util.Collection<?> c) |
void |
setSet(NSSet<? extends E> otherSet) |
void |
subtractSet(NSSet<?> otherSet) |
void |
unionSet(NSSet<? extends E> otherSet) |
_allObjects, _clearDeletionsAndCollisions, _ensureCapacity, _initializeSet, _setCapacity, _setCount, _shallowHashCode, allObjects, anyObject, capacity, classForCoder, contains, containsAll, containsObject, count, decodeObject, emptySet, encodeWithCoder, equals, hashCode, hashSet, intersectsSet, isEmpty, isEqualToSet, isSubsetOfSet, member, objectEnumerator, objectsNoCopy, setByIntersectingSet, setBySubtractingSet, setByUnioningSet, size, toArray, toArray, toStringpublic NSMutableSet()
public NSMutableSet(int capacity)
public NSMutableSet(java.util.Collection<? extends E> collection)
public NSMutableSet(E object)
public NSMutableSet(E[] objects)
public NSMutableSet(java.util.Set<? extends E> set, boolean ignoreNull)
public void addObject(E object)
public void addObjects(E... objects)
public E removeObject(java.lang.Object object)
public void removeAllObjects()
public void intersectSet(NSSet<?> otherSet)
public void subtractSet(NSSet<?> otherSet)
public NSSet<E> immutableClone()
immutableClone in class NSSet<E>public NSMutableSet<E> mutableClone()
mutableClone in class NSSet<E>public boolean add(E o)
public boolean remove(java.lang.Object o)
public boolean addAll(java.util.Collection<? extends E> c)
public boolean retainAll(java.util.Collection<?> c)
public boolean removeAll(java.util.Collection<?> c)
public void clear()
Copyright © 2002 – 2022 Project Wonder.