Package org.robovm.apple.foundation
Class NSHashTable<T extends NSObject>
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.foundation.NSHashTable<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,Set<T>,NSCoding,NSFastEnumeration,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class NSHashTable<T extends NSObject> extends NSObject implements NSSecureCoding, NSFastEnumeration, Set<T>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSHashTable.NSHashTablePtr<T extends NSObject>Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description NSHashTable()NSHashTable(Collection<T> c)NSHashTable(Collection<T> c, NSHashTableOptions options, long initialCapacity)NSHashTable(NSCoder coder)NSHashTable(NSHashTableOptions options, long initialCapacity)protectedNSHashTable(NSObject.Handle h, long handle)protectedNSHashTable(NSObject.SkipInit skipInit)NSHashTable(T... objects) -
Method Summary
Modifier and Type Method Description booleanadd(T e)booleanaddAll(Collection<? extends T> c)protected voidafterMarshaled(int flags)Tany()NSSet<T>asSet()voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> c)protected AbstractSet<T>createAdapter()voidencode(NSCoder coder)booleanequalsTo(NSHashTable<T> other)protected longgetCount()NSArray<T>getValues()protected longinit(NSCoder coder)protected longinit(NSHashTableOptions options, long initialCapacity)voidintersect(NSHashTable<T> other)booleanintersects(NSHashTable<T> other)booleanisEmpty()protected TisMember(T object)booleanisSubsetOf(NSHashTable<T> other)Iterator<T>iterator()voidminus(NSHashTable<T> other)booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)intsize()static booleansupportsSecureCoding()Object[]toArray()<U> U[]toArray(U[] a)voidunion(NSHashTable<T> other)Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
NSHashTable
public NSHashTable() -
NSHashTable
-
NSHashTable
-
NSHashTable
-
NSHashTable
-
NSHashTable
-
NSHashTable
-
NSHashTable
-
-
Method Details
-
getCount
protected long getCount() -
getValues
-
any
-
asSet
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
createAdapter
-
afterMarshaled
protected void afterMarshaled(int flags)- Overrides:
afterMarshaledin classNSObject
-
add
-
addAll
-
clear
public void clear() -
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<T extends NSObject>- Specified by:
containsAllin interfaceSet<T extends NSObject>
-
isEmpty
public boolean isEmpty() -
iterator
-
remove
-
removeAll
-
retainAll
-
size
public int size() -
toArray
-
toArray
public <U> U[] toArray(U[] a) -
init
-
isMember
-
intersects
-
equalsTo
-
isSubsetOf
-
intersect
-
union
-
minus
-
encode
-
init
-