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 Class |
_CLASS |
_capacity, _count, _deletionLimit, _flags, _hashCache, _hashtableBuckets, _NSSetClassHashCode, _objects, _objectsCache, EmptySet
Constructor and Description |
---|
NSMutableSet() |
NSMutableSet(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(Set<? extends E> set,
boolean ignoreNull) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E o) |
boolean |
addAll(Collection<? extends E> c) |
void |
addObject(E object) |
void |
addObjects(E... objects) |
void |
addObjectsFromArray(NSArray<? extends E> array) |
void |
clear() |
Object |
clone() |
NSSet<E> |
immutableClone() |
void |
intersectSet(NSSet<?> otherSet) |
Iterator<E> |
iterator() |
NSMutableSet<E> |
mutableClone() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
void |
removeAllObjects() |
E |
removeObject(Object object) |
boolean |
retainAll(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, of, of, of, setByIntersectingSet, setBySubtractingSet, setByUnioningSet, size, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator
parallelStream, removeIf, stream
public static final Class _CLASS
public NSMutableSet()
public NSMutableSet(int capacity)
public NSMutableSet(Collection<? extends E> collection)
public NSMutableSet(E object)
public NSMutableSet(E[] objects)
public void addObject(E object)
public void addObjects(E... objects)
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(Object o)
public boolean addAll(Collection<? extends E> c)
public boolean retainAll(Collection<?> c)
public boolean removeAll(Collection<?> c)
public void clear()
Copyright © 2002 – 2024 Project Wonder.