artefaktur
software engineer &        architecture

 
 
 
 

class ArraysImpl

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:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch 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

int acdk::util::ArraysImpl::_compare IN(acdk::lang::Object o1,
IN(acdk::lang::Object o2,
IN(RComparator comp
[inline, static, private]
 

void acdk::util::ArraysImpl::_mergeSort IN(RObjectArray array,
IN(RComparator comp
[static]
 

RList acdk::util::ArraysImpl::asList IN(RObjectArray a  )  [static]
 

int acdk::util::ArraysImpl::binarySearch IN(RObjectArray a,
IN(acdk::lang::Object key,
IN(RComparator comp = Nil
[static]
 

bool acdk::util::ArraysImpl::equals IN(RObjectArray a1,
IN(RObjectArray a2
[static]
 

virtual bool acdk::util::ArraysImpl::equals IN(acdk::lang::Object obj  )  [inline, virtual]
 

Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

See also:
serialized_equals()

Reimplemented from acdk::lang::Object.

void acdk::util::ArraysImpl::fill IN(RObjectArray array,
int  fromIndex,
int  toIndex,
IN(acdk::lang::Object val
[inline, static]
 

void acdk::util::ArraysImpl::fill IN(RObjectArray array,
IN(acdk::lang::Object val
[inline, static]
 

RObjectArray acdk::util::ArraysImpl::removeElement IN(RObjectArray array,
int  idx
[static]
 

RObjectArray acdk::util::ArraysImpl::removeFirstElement IN(RObjectArray array,
IN(acdk::lang::Object obj
[inline, static]
 

Removes first element where element->equals(obj) == true.

void acdk::util::ArraysImpl::sort IN(RObjectArray array,
IN(RComparator comp = Nil
[inline, static]
 

void acdk::util::ArraysImpl::stripElement IN(RObjectArray array,
int  idx
[inline, static]
 

 
Last modified 2005-05-08 18:33 by SYSTEM By Artefaktur, Ing. Bureau Kommer