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);
com.webobjects.foundation.NSCoding._BigDecimalSupport, com.webobjects.foundation.NSCoding._BigIntegerSupport, com.webobjects.foundation.NSCoding._BooleanSupport, com.webobjects.foundation.NSCoding._ByteSupport, com.webobjects.foundation.NSCoding._CharacterSupport, com.webobjects.foundation.NSCoding._DateSupport, com.webobjects.foundation.NSCoding._DoubleSupport, com.webobjects.foundation.NSCoding._FloatSupport, com.webobjects.foundation.NSCoding._IntegerSupport, com.webobjects.foundation.NSCoding._LongSupport, com.webobjects.foundation.NSCoding._NumberSupport, com.webobjects.foundation.NSCoding._ShortSupport, com.webobjects.foundation.NSCoding._StringSupport, com.webobjects.foundation.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, 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 – 2020 Project Wonder.