Up
Authors
Richard Frith-Macdonald (rfm@gnu.org
)
Date: Generated at 2024-11-07 16:52:01 -0500
Copyright: (C) 2009 Free Software Foundation, Inc.
class_NSHashTable
NSObject
NSObject
NSHashTable
NSHashTable
NSObject->NSHashTable
p_NSFastEnumeration
NSFastEnumeration
p_NSFastEnumeration->NSHashTable
p_NSCopying
NSCopying
p_NSCopying->NSHashTable
p_NSCoding
NSCoding
p_NSCoding->NSHashTable
Declared in:
Foundation/NSHashTable.h
Conforms to:
NSCoding
NSCopying
NSFastEnumeration
Availability: OpenStep
Description forthcoming.
+ (instancetype)
weakObjectsHashTable ;
Availability: OpenStep
Creates a hash table that uses weak references
(using the automatic reference counting mechanism)
so that objects are removed when their last other
reference disappears.
- (void)
addObject: (id)object;
Availability: OpenStep
Adds the object to the receiver.
Adding a nil
object has no
effect.
- (
NSArray *)
allObjects ;
Availability: OpenStep
Returns an array containing all objects in the
receiver.
- (id)
anyObject ;
Availability: OpenStep
Returns any objct from the receiver, or
nil
if the receiver contains no
objects.
- (BOOL)
containsObject: (id)anObject;
Availability: OpenStep
Returns YES
if the receiver contains
an item equal to anObject , or NO
otherwise.
- (
NSUInteger )
count ;
Availability: OpenStep
Return the number of items atored in the receiver.
- (instancetype)
initWithPointerFunctions: (
NSPointerFunctions *)functions
capacity: (
NSUInteger )initialCapacity;
Availability: OpenStep
Description forthcoming.
- (void)
intersectHashTable: (
NSHashTable *)other;
Availability: OpenStep
Removes from the receiver any items which are not
also present in 'other'.
- (BOOL)
intersectsHashTable: (
NSHashTable *)other;
Availability: OpenStep
Returns YES
if the receiver and
'other' contain any items in common.
- (BOOL)
isEqualToHashTable: (
NSHashTable *)other;
Availability: OpenStep
Returns YES
if the receiver and
'other' contain equal sets of items.
- (BOOL)
isSubsetOfHashTable: (
NSHashTable *)other;
Availability: OpenStep
Returns YES
fi all the items in the
receiver are also present in 'other'
- (id)
member: (id)object;
Availability: OpenStep
Returns an item stored in the receiver which is
equal to the supplied object argument, or
nil
if no matchi is found.
- (void)
minusHashTable: (
NSHashTable *)other;
Availability: OpenStep
Removes from the receivr all those items which are
prsent in both the receiver and in 'other'.
- (
NSEnumerator *)
objectEnumerator ;
Availability: OpenStep
Return an enumerator for the receiver.
- (
NSPointerFunctions *)
pointerFunctions ;
Availability: OpenStep
Return an NSPointerFunctions value describing the
functions used by the receiver to handle its
contents.
- (void)
removeAllObjects ;
Availability: OpenStep
Removes all objects.
- (void)
removeObject: (id)object;
Availability: OpenStep
Remove the object (or any equal
object ) from the receiver.
- (
NSSet *)
setRepresentation ;
Availability: OpenStep
Returns a set containing all the objects in the
receiver.
- (void)
unionHashTable: (
NSHashTable *)other;
Availability: OpenStep
Adds to the receiver thse items present in 'other'
which were not present in the receiver.
Up