at.dms.util
Class ArrayLocator

java.lang.Object
  |
  +--at.dms.util.ArrayLocator

Deprecated. Use the Collections API, or keeps the array sorted and use java.util.Arrays.

public class ArrayLocator
extends java.lang.Object

This class allows to find the position of an object in an array.

See Also:
Arrays, Arrays.binarySearch(long[], long), List

Constructor Summary
ArrayLocator(java.lang.Object[] array)
          Deprecated. Constructs a new ArrayLocator object.
 
Method Summary
 int getIndex(java.lang.Object object)
          Deprecated. Returns the index of the specified object in the array, or -1 if the object cannot be found.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayLocator

public ArrayLocator(java.lang.Object[] array)
Deprecated. 
Constructs a new ArrayLocator object.
Method Detail

getIndex

public int getIndex(java.lang.Object object)
Deprecated. 
Returns the index of the specified object in the array, or -1 if the object cannot be found.