WebObjects 5.2

Uses of Class
com.webobjects.foundation.NSComparator

Packages that use NSComparator
com.webobjects.foundation Provides a set of robust and mature core classes, including utility, collection, key-value coding, time and date, notification, and debug logging classes. 
 

Uses of NSComparator in com.webobjects.foundation
 

Fields in com.webobjects.foundation declared as NSComparator
static NSComparator NSComparator.AscendingCaseInsensitiveStringComparator
          To be used for comparing objects of the class String, ignoring case.
static NSComparator NSComparator.AscendingNumberComparator
          To be used for comparing objects of the class Number.
static NSComparator NSComparator.AscendingStringComparator
          To be used for comparing objects of the class String respecting case.
static NSComparator NSComparator.AscendingTimestampComparator
          To be used for comparing objects of the class NSTimestamp.
static NSComparator NSComparator.DescendingCaseInsensitiveStringComparator
          To be used for comparing objects of the class String, ignoring case.
static NSComparator NSComparator.DescendingNumberComparator
          To be used for comparing objects of the class Number.
static NSComparator NSComparator.DescendingStringComparator
          To be used for comparing objects of the class String, respecting case.
static NSComparator NSComparator.DescendingTimestampComparator
          To be used for comparing objects of the class NSTimestamp.
 

Methods in com.webobjects.foundation with parameters of type NSComparator
 NSArray NSArray.sortedArrayUsingComparator(NSComparator comparator)
          This method creates a new array with this array's element which have been sorted in an order based on the comparator operation.
 void NSMutableArray.sortUsingComparator(NSComparator comparator)
          Sorts this array's elements, as determined by comparator.
 


Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.