org.apache.ojb.broker.util
Class IdentityArrayList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byorg.apache.ojb.broker.util.IdentityArrayList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class IdentityArrayList
extends java.util.ArrayList

Object identity based List, use "==" instead of element_1.equals(element_2) to compare objects.

Version:
$Id: IdentityArrayList.java,v 1.1 2004/02/13 12:58:51 arminw Exp $
Author:
Guillaume Nodet
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
IdentityArrayList()
           
 
Method Summary
 boolean contains(java.lang.Object elem)
           
 int indexOf(java.lang.Object elem)
           
 int lastIndexOf(java.lang.Object elem)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, ensureCapacity, get, isEmpty, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

IdentityArrayList

public IdentityArrayList()
Method Detail

contains

public boolean contains(java.lang.Object elem)

indexOf

public int indexOf(java.lang.Object elem)

lastIndexOf

public int lastIndexOf(java.lang.Object elem)


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14