|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::util::Collections Class Reference#include <Collections.h>
Inheritance diagram for acdk::util::Collections:
List of all members.
Detailed Description
Utility class with methods to operate on collections.
- Author:
- of the original Classpath implementation: Copyright (c) 1998 by Stuart Ballard (stuart.ballard@mcmail.com) Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
(ACDK) Roger Rene Kommer (mailto:kommer@artefaktur.com)
Stuart Ballard (stuart.ballard@mcmail.com)
- Version:
- Revision
- 1.16
- Date:
- Date
- 2005/04/09 19:26:56
|
Static Public Member Functions |
int | binarySearch (IN(RList) list, IN(acdk::lang::Object) key, IN(RComparator) comparator=Nil) |
void | copy (IN(RList) dest, IN(RList) source) |
REnumeration | enumeration (IN(RCollection) c) |
void | fill (IN(RList) list, IN(acdk::lang::Object) val) |
acdk::lang::Object | max (IN(RCollection) coll) |
void | addAll (IN(RCollection) coll, IN(RObjectArray) array) |
| API: ACDK.
|
acdk::lang::Object | max (IN(RCollection) coll, IN(RComparator) order) |
acdk::lang::Object | min (IN(RCollection) coll) |
acdk::lang::Object | min (IN(RCollection) coll, IN(RComparator) order) |
RList | nCopies (int count, IN(acdk::lang::Object) object) |
| not implemented yet
|
void | reverse (IN(RList) list) |
RComparator | reverseOrder () |
void | shuffle (IN(RList) list) |
void | shuffle (IN(RList) list, IN(RRandom) rnd) |
RSet | singleton (IN(acdk::lang::Object) o) |
void | sort (IN(RList) list, IN(RComparator) comparator=Nil) |
RCollection | synchronizedCollection (IN(RCollection) coll, IN(acdk::lang::Object) lock=Nil) |
RList | synchronizedList (IN(RList) list, IN(acdk::lang::Object) lock=Nil) |
RSet | synchronizedSet (IN(RSet) set, IN(acdk::lang::Object) lock=Nil) |
RSortedSet | synchronizedSortedSet (IN(RSortedSet) sortedset, IN(acdk::lang::Object) lock=Nil) |
RMap | synchronizedMap (IN(RMap) map, IN(acdk::lang::Object) lock=Nil) |
RSortedMap | synchronizedSortedMap (IN(RSortedMap) sortedmap, IN(acdk::lang::Object) lock=Nil) |
RCollection | unmodifiableCollection (IN(RCollection) c) |
RList | unmodifiableList (IN(RList) list) |
RMap | unmodifiableMap (IN(RMap) m) |
RSet | unmodifiableSet (IN(RSet) s) |
RSortedMap | unmodifiableSortedMap (IN(RSortedMap) m) |
RSortedSet | unmodifiableSortedSet (IN(RSortedSet) s) |
RList | get_EMPTY_LIST () |
RSet | get_EMPTY_SET () |
Static Private Member Functions |
int | _defaultSearch (IN(RList) list, IN(acdk::lang::Object) key, IN(RComparator) c) |
int | _compare (IN(acdk::lang::Object) o1, IN(acdk::lang::Object) o2, IN(RComparator) comparator) |
Static Private Attributes |
RList | _EMPTY_LIST |
RSet | _EMPTY_SET |
Member Function Documentation
void acdk::util::Collections::copy |
( |
IN(RList) |
dest, |
|
|
IN(RList) |
source |
|
) |
[static] |
|
RList acdk::util::Collections::get_EMPTY_LIST |
( |
|
) |
[static] |
|
RSet acdk::util::Collections::get_EMPTY_SET |
( |
|
) |
[static] |
|
void acdk::util::Collections::reverse |
( |
IN(RList) |
list |
) |
[static] |
|
RComparator acdk::util::Collections::reverseOrder |
( |
|
) |
[static] |
|
void acdk::util::Collections::shuffle |
( |
IN(RList) |
list, |
|
|
IN(RRandom) |
rnd |
|
) |
[static] |
|
void acdk::util::Collections::shuffle |
( |
IN(RList) |
list |
) |
[static] |
|
void acdk::util::Collections::sort |
( |
IN(RList) |
list, |
|
|
IN(RComparator) |
comparator = Nil |
|
) |
[static] |
|
RList acdk::util::Collections::unmodifiableList |
( |
IN(RList) |
list |
) |
[static] |
|
RMap acdk::util::Collections::unmodifiableMap |
( |
IN(RMap) |
m |
) |
[static] |
|
RSet acdk::util::Collections::unmodifiableSet |
( |
IN(RSet) |
s |
) |
[static] |
|
Member Data Documentation
|
|