gnu.gnustep.base
Class NSArray

java.lang.Object
  |
  +--gnu.gnustep.base.NSObject
        |
        +--gnu.gnustep.base.NSArray
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
NSMutableArray

public class NSArray
extends NSObject

This class wraps the Objective-C class NSArray. It was automatically generated by JIGS WrapCreator.


Field Summary
static int NotFound
           
 
Constructor Summary
NSArray()
          Wraps the Objective-C method init
NSArray(NSArray arg0)
          Wraps the Objective-C method initWithArray:
NSArray(java.lang.Object[] objects)
          Creates a new array containing the objects in the Java array objects.
NSArray(java.lang.String arg0)
          Wraps the Objective-C method initWithContentsOfFile:
 
Method Summary
 NSArray arrayByAddingObject(java.lang.Object arg0)
          Wraps the Objective-C method arrayByAddingObject:
 NSArray arrayByAddingObjectsFromArray(NSArray arg0)
          Wraps the Objective-C method arrayByAddingObjectsFromArray:
 java.lang.String componentsJoinedByString(java.lang.String arg0)
          Wraps the Objective-C method componentsJoinedByString:
 boolean containsObject(java.lang.Object arg0)
          Wraps the Objective-C method containsObject:
 long count()
          Wraps the Objective-C method count
 java.lang.Object firstObjectCommonWithArray(NSArray arg0)
          Wraps the Objective-C method firstObjectCommonWithArray:
 long indexOfObject(java.lang.Object arg0)
          Wraps the Objective-C method indexOfObject:
 long indexOfObject(java.lang.Object arg0, NSRange arg1)
          Wraps the Objective-C method indexOfObject:inRange:
 long indexOfObjectIdenticalTo(java.lang.Object arg0)
          Wraps the Objective-C method indexOfObjectIdenticalTo:
 long indexOfObjectIdenticalTo(java.lang.Object arg0, NSRange arg1)
          Wraps the Objective-C method indexOfObjectIdenticalTo:inRange:
 boolean isEqualToArray(NSArray arg0)
          Wraps the Objective-C method isEqualToArray:
 java.lang.Object lastObject()
          Wraps the Objective-C method lastObject
 void makeObjectsPerformSelector(NSSelector arg0)
          Wraps the Objective-C method makeObjectsPerformSelector:
 void makeObjectsPerformSelector(NSSelector arg0, java.lang.Object arg1)
          Wraps the Objective-C method makeObjectsPerformSelector:withObject:
 java.lang.Object objectAtIndex(long arg0)
          Wraps the Objective-C method objectAtIndex:
 NSEnumerator objectEnumerator()
          Wraps the Objective-C method objectEnumerator
 java.lang.Object[] objects()
          Returns the objects in the array as a Java array.
 NSArray pathsMatchingExtensions(NSArray arg0)
          Wraps the Objective-C method pathsMatchingExtensions:
 NSEnumerator reverseObjectEnumerator()
          Wraps the Objective-C method reverseObjectEnumerator
 NSArray sortedArrayUsingSelector(NSSelector arg0)
          Wraps the Objective-C method sortedArrayUsingSelector:
 NSArray subarrayWithRange(NSRange arg0)
          Wraps the Objective-C method subarrayWithRange:
 boolean writeToFile(java.lang.String arg0, boolean arg1)
          Wraps the Objective-C method writeToFile:atomically:
 
Methods inherited from class gnu.gnustep.base.NSObject
clone, description, equals, hashCode, mutableClone, releaseObject, retainObject, takeValueForKey, toString, valueForKey
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NotFound

public static int NotFound
Constructor Detail

NSArray

public NSArray()
Wraps the Objective-C method init

NSArray

public NSArray(NSArray arg0)
Wraps the Objective-C method initWithArray:

NSArray

public NSArray(java.lang.String arg0)
Wraps the Objective-C method initWithContentsOfFile:

NSArray

public NSArray(java.lang.Object[] objects)
Creates a new array containing the objects in the Java array objects.
Method Detail

containsObject

public boolean containsObject(java.lang.Object arg0)
Wraps the Objective-C method containsObject:

count

public long count()
Wraps the Objective-C method count

indexOfObject

public long indexOfObject(java.lang.Object arg0)
Wraps the Objective-C method indexOfObject:

indexOfObject

public long indexOfObject(java.lang.Object arg0,
                          NSRange arg1)
Wraps the Objective-C method indexOfObject:inRange:

indexOfObjectIdenticalTo

public long indexOfObjectIdenticalTo(java.lang.Object arg0)
Wraps the Objective-C method indexOfObjectIdenticalTo:

indexOfObjectIdenticalTo

public long indexOfObjectIdenticalTo(java.lang.Object arg0,
                                     NSRange arg1)
Wraps the Objective-C method indexOfObjectIdenticalTo:inRange:

lastObject

public java.lang.Object lastObject()
Wraps the Objective-C method lastObject

objectAtIndex

public java.lang.Object objectAtIndex(long arg0)
Wraps the Objective-C method objectAtIndex:

objectEnumerator

public NSEnumerator objectEnumerator()
Wraps the Objective-C method objectEnumerator

reverseObjectEnumerator

public NSEnumerator reverseObjectEnumerator()
Wraps the Objective-C method reverseObjectEnumerator

makeObjectsPerformSelector

public void makeObjectsPerformSelector(NSSelector arg0)
Wraps the Objective-C method makeObjectsPerformSelector:

makeObjectsPerformSelector

public void makeObjectsPerformSelector(NSSelector arg0,
                                       java.lang.Object arg1)
Wraps the Objective-C method makeObjectsPerformSelector:withObject:

firstObjectCommonWithArray

public java.lang.Object firstObjectCommonWithArray(NSArray arg0)
Wraps the Objective-C method firstObjectCommonWithArray:

isEqualToArray

public boolean isEqualToArray(NSArray arg0)
Wraps the Objective-C method isEqualToArray:

arrayByAddingObject

public NSArray arrayByAddingObject(java.lang.Object arg0)
Wraps the Objective-C method arrayByAddingObject:

arrayByAddingObjectsFromArray

public NSArray arrayByAddingObjectsFromArray(NSArray arg0)
Wraps the Objective-C method arrayByAddingObjectsFromArray:

sortedArrayUsingSelector

public NSArray sortedArrayUsingSelector(NSSelector arg0)
Wraps the Objective-C method sortedArrayUsingSelector:

subarrayWithRange

public NSArray subarrayWithRange(NSRange arg0)
Wraps the Objective-C method subarrayWithRange:

componentsJoinedByString

public java.lang.String componentsJoinedByString(java.lang.String arg0)
Wraps the Objective-C method componentsJoinedByString:

pathsMatchingExtensions

public NSArray pathsMatchingExtensions(NSArray arg0)
Wraps the Objective-C method pathsMatchingExtensions:

writeToFile

public boolean writeToFile(java.lang.String arg0,
                           boolean arg1)
Wraps the Objective-C method writeToFile:atomically:

objects

public java.lang.Object[] objects()
Returns the objects in the array as a Java array.