|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::util::Arrays Class Reference#include <Arrays.h>
List of all members.
Detailed Description
API: Java<br/>.
- Author:
- Roger Rene Kommer (mailto:kommer@artefaktur.com)
- Version:
- Revision
- 1.32
- Date:
- Date
- 2005/04/09 19:26:56
|
Public Member Functions |
template<class T> template_static RObjectArrayImpl<
T > | append (IN(RObjectArrayImpl< T >) farray, IN(RObjectArrayImpl< T >) sarray) |
| append all elements from second array to first element
|
template<class T> template_static RObjectArrayImpl<
T > | removeElement (IN(RObjectArrayImpl< T >) array, int idx) |
template<class T> template_static RObjectArrayImpl<
T > | removeFirstElement (IN(RObjectArrayImpl< T >) array, IN(T) obj) |
| Removes first element where element->equals(obj) == true.
|
template<class T> template_static RBasicArray<
T > | removeElement (IN(RBasicArray< T >) array, int idx) |
template<class T> template_static void | sort (IN(RBasicArray< T >) array) |
template<class T> template_static int | binarySearch (IN(RBasicArray< T >) array, T key) |
template<class T> template_static bool | equals (IN(RBasicArray< T >) a1, IN(RBasicArray< T >) a2) |
template<class T> template_static void | fill (IN(RBasicArray< T >) array, T val) |
template<class T> template_static void | fill (IN(RBasicArray< T >) array, int fromIndex, int toIndex, T val) |
template<class T> template_static void | _swap (int i, int j, IN(RBasicArray< T >) a) |
template<class T> template_static int | _med3 (int a, int b, int c, IN(RBasicArray< T >) d) |
template<class T> template_static short | _cmp (T i, T j) |
template<class T> template_static void | _vecswap (int i, int j, int n, IN(RBasicArray< T >) a) |
template<class T> template_static void | _qsort (IN(RBasicArray< T >) a, int start, int n) |
template<class T> template_static void | arraycopy (IN(RObjectArrayImpl< T >) src, int srcpos, IN(RObjectArrayImpl< T >) dst, int dstpos, int length) |
| copy from System.h cause include conflicts
|
template<class T, class C> template_static void | _mergesort (IN(RObjectArrayImpl< T >) a) |
template<class T, class C> template_static void | _mergesort (IN(RObjectArrayImpl< T >) a, IN(C) comp) |
template<class T> template_static int | sequenceSearch (IN(RObjectArrayImpl< T >) array, IN(T) find) |
template<class T, class C> template_static int | sequenceSearch (IN(RObjectArrayImpl< T >) array, IN(T) find, IN(C) comp) |
template<class T, class C> template_static int | _compare (IN(T) o1, IN(T) o2, IN(C) comp) |
template<class T, class C> template_static int | binarySearch (IN(RObjectArrayImpl< T >) a, IN(T) key, IN(C) comp) |
Static Public Member Functions |
template<class T> void | sort (IN(RObjectArrayImpl< T >) array) |
template<class T, class C> void | sort (IN(RObjectArrayImpl< T >) array, IN(C) comp) |
Member Function Documentation
template<class T> |
template_static short acdk::util::Arrays::_cmp |
( |
T |
i, |
|
|
T |
j |
|
) |
[inline] |
|
template<class T, class C> |
template_static int acdk::util::Arrays::_compare |
( |
IN(T) |
o1, |
|
|
IN(T) |
o2, |
|
|
IN(C) |
comp |
|
) |
[inline] |
|
template<class T> |
template_static int acdk::util::Arrays::_med3 |
( |
int |
a, |
|
|
int |
b, |
|
|
int |
c, |
|
|
IN(RBasicArray< T >) |
d |
|
) |
[inline] |
|
template<class T, class C> |
template_static void acdk::util::Arrays::_mergesort |
( |
IN(RObjectArrayImpl< T >) |
a, |
|
|
IN(C) |
comp |
|
) |
[inline] |
|
template<class T, class C> |
template_static void acdk::util::Arrays::_mergesort |
( |
IN(RObjectArrayImpl< T >) |
a |
) |
[inline] |
|
template<class T> |
template_static void acdk::util::Arrays::_qsort |
( |
IN(RBasicArray< T >) |
a, |
|
|
int |
start, |
|
|
int |
n |
|
) |
[inline] |
|
template<class T> |
template_static void acdk::util::Arrays::_swap |
( |
int |
i, |
|
|
int |
j, |
|
|
IN(RBasicArray< T >) |
a |
|
) |
[inline] |
|
template<class T> |
template_static void acdk::util::Arrays::_vecswap |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
n, |
|
|
IN(RBasicArray< T >) |
a |
|
) |
[inline] |
|
|
append all elements from second array to first element
|
template<class T> |
template_static void acdk::util::Arrays::arraycopy |
( |
IN(RObjectArrayImpl< T >) |
src, |
|
|
int |
srcpos, |
|
|
IN(RObjectArrayImpl< T >) |
dst, |
|
|
int |
dstpos, |
|
|
int |
length |
|
) |
[inline] |
|
|
copy from System.h cause include conflicts
|
template<class T, class C> |
template_static int acdk::util::Arrays::binarySearch |
( |
IN(RObjectArrayImpl< T >) |
a, |
|
|
IN(T) |
key, |
|
|
IN(C) |
comp |
|
) |
[inline] |
|
template<class T> |
template_static int acdk::util::Arrays::binarySearch |
( |
IN(RBasicArray< T >) |
array, |
|
|
T |
key |
|
) |
[inline] |
|
template<class T> |
template_static bool acdk::util::Arrays::equals |
( |
IN(RBasicArray< T >) |
a1, |
|
|
IN(RBasicArray< T >) |
a2 |
|
) |
[inline] |
|
template<class T> |
template_static void acdk::util::Arrays::fill |
( |
IN(RBasicArray< T >) |
array, |
|
|
int |
fromIndex, |
|
|
int |
toIndex, |
|
|
T |
val |
|
) |
[inline] |
|
template<class T> |
template_static void acdk::util::Arrays::fill |
( |
IN(RBasicArray< T >) |
array, |
|
|
T |
val |
|
) |
[inline] |
|
template<class T> |
template_static RBasicArray<T> acdk::util::Arrays::removeElement |
( |
IN(RBasicArray< T >) |
array, |
|
|
int |
idx |
|
) |
[inline] |
|
|
Removes first element where element->equals(obj) == true.
|
template<class T, class C> |
template_static int acdk::util::Arrays::sequenceSearch |
( |
IN(RObjectArrayImpl< T >) |
array, |
|
|
IN(T) |
find, |
|
|
IN(C) |
comp |
|
) |
[inline] |
|
template<class T> |
template_static int acdk::util::Arrays::sequenceSearch |
( |
IN(RObjectArrayImpl< T >) |
array, |
|
|
IN(T) |
find |
|
) |
[inline] |
|
template<class T, class C> |
void acdk::util::Arrays::sort |
( |
IN(RObjectArrayImpl< T >) |
array, |
|
|
IN(C) |
comp |
|
) |
[inline, static] |
|
template<class T> |
void acdk::util::Arrays::sort |
( |
IN(RObjectArrayImpl< T >) |
array |
) |
[inline, static] |
|
template<class T> |
template_static void acdk::util::Arrays::sort |
( |
IN(RBasicArray< T >) |
array |
) |
[inline] |
|
|
|