|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::util::ArraysImpl Class Reference#include <Arrays.h>
Inheritance diagram for acdk::util::ArraysImpl:
List of all members.
Detailed Description
API: Java<br/>.
- Author:
- for parts of the orignal 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.
Roger Rene Kommer (mailto:kommer@artefaktur.com)
- Version:
- Revision
- 1.32
- Date:
- Date
- 2005/04/09 19:26:56
|
Public Member Functions |
virtual bool | equals (IN(acdk::lang::Object) obj) |
| Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.
|
Static Public Member Functions |
RList | asList (IN(RObjectArray) a) |
int | binarySearch (IN(RObjectArray) a, IN(acdk::lang::Object) key, IN(RComparator) comp=Nil) |
bool | equals (IN(RObjectArray) a1, IN(RObjectArray) a2) |
void | sort (IN(RObjectArray) array, IN(RComparator) comp=Nil) |
void | _mergeSort (IN(RObjectArray) array, IN(RComparator) comp) |
void | fill (IN(RObjectArray) array, IN(acdk::lang::Object) val) |
void | fill (IN(RObjectArray) array, int fromIndex, int toIndex, IN(acdk::lang::Object) val) |
RObjectArray | removeElement (IN(RObjectArray) array, int idx) |
RObjectArray | removeFirstElement (IN(RObjectArray) array, IN(acdk::lang::Object) obj) |
| Removes first element where element->equals(obj) == true.
|
void | stripElement (IN(RObjectArray) array, int idx) |
Static Private Member Functions |
int | _compare (IN(acdk::lang::Object) o1, IN(acdk::lang::Object) o2, IN(RComparator) comp) |
Member Function Documentation
virtual bool acdk::util::ArraysImpl::equals |
( |
IN(acdk::lang::Object) |
obj |
) |
[inline, virtual] |
|
|
Removes first element where element->equals(obj) == true.
|
void acdk::util::ArraysImpl::stripElement |
( |
IN(RObjectArray) |
array, |
|
|
int |
idx |
|
) |
[inline, static] |
|
|
|