mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
([ConstantKeyedCollection -initWithObjects:forKeys:count:]): Return nil.
([ConstantKeyedCollection -objectAtKey:]): Likewise. ([ConstantKeyedCollection -keyOfObject:]): Likewise. ([ConstantKeyedCollection -withKeysInvoke:]): Return void. ([ConstantKeyedCollection -withKeysInvoke:whileTrue:]): Likewise. ([ConstantKeyedCollection -nextObjectAndKey:withEnumState:]): Return nil. ([ConstantKeyedCollection -copyValuesAs:]): Likewise. ([ConstantKeyedCollection -nextObjectAndKey:withEnumState:]): Likewise. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1158 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d9407d1c3e
commit
a75e69337b
1 changed files with 9 additions and 2 deletions
|
@ -26,6 +26,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <objects/Array.h>
|
#include <objects/Array.h>
|
||||||
#include <objects/NSString.h>
|
#include <objects/NSString.h>
|
||||||
|
#include <objects/behavior.h>
|
||||||
|
|
||||||
@implementation KeyEnumerator
|
@implementation KeyEnumerator
|
||||||
|
|
||||||
|
@ -42,6 +43,7 @@
|
||||||
- initWithObjects: (id*)objects forKeys: (id*)keys count: (unsigned)c
|
- initWithObjects: (id*)objects forKeys: (id*)keys count: (unsigned)c
|
||||||
{
|
{
|
||||||
[self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -50,11 +52,13 @@
|
||||||
- objectAtKey: aKey
|
- objectAtKey: aKey
|
||||||
{
|
{
|
||||||
[self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- keyOfObject: aContentObject
|
- keyOfObject: aContentObject
|
||||||
{
|
{
|
||||||
[self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -76,7 +80,7 @@
|
||||||
autorelease];
|
autorelease];
|
||||||
}
|
}
|
||||||
|
|
||||||
- withKeysInvoke: (id <Invoking>)anInvocation
|
- (void) withKeysInvoke: (id <Invoking>)anInvocation
|
||||||
{
|
{
|
||||||
id o, k;
|
id o, k;
|
||||||
|
|
||||||
|
@ -87,7 +91,7 @@
|
||||||
END_FOR_KEYED_COLLECTION(self);
|
END_FOR_KEYED_COLLECTION(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
- withKeysInvoke: (id <Invoking>)anInvocation
|
- (void) withKeysInvoke: (id <Invoking>)anInvocation
|
||||||
whileTrue: (BOOL *)flag
|
whileTrue: (BOOL *)flag
|
||||||
{
|
{
|
||||||
id o, k;
|
id o, k;
|
||||||
|
@ -113,6 +117,7 @@
|
||||||
- nextObjectAndKey: (id*)keyPtr withEnumState: (void**)enumState
|
- nextObjectAndKey: (id*)keyPtr withEnumState: (void**)enumState
|
||||||
{
|
{
|
||||||
[self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -156,11 +161,13 @@
|
||||||
- copyValuesAs: (Class)aCollectingClass
|
- copyValuesAs: (Class)aCollectingClass
|
||||||
{
|
{
|
||||||
[self notImplemented: _cmd];
|
[self notImplemented: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- copyKeysAs: (Class)aCollectingClass;
|
- copyKeysAs: (Class)aCollectingClass;
|
||||||
{
|
{
|
||||||
[self notImplemented: _cmd];
|
[self notImplemented: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue