olr.rdf.util
Class SortedList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byolr.rdf.util.SortedList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable
Direct Known Subclasses:
SortedAttributeList, SortedModelViewerList, SortedStringList

public abstract class SortedList
extends java.util.ArrayList

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SortedList()
           
SortedList(java.util.Collection coll)
           
 
Method Summary
 void add(int pos, java.lang.Object o)
           
 boolean add(java.lang.Object o)
           
 boolean addAll(java.util.Collection collection)
           
 boolean addAll(int pos, java.util.Collection collection)
           
protected abstract  int compare(java.lang.Object obj, java.lang.Object obj1)
           
protected abstract  boolean isValidItem(java.lang.Object obj)
           
 
Methods inherited from class java.util.ArrayList
clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, 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

SortedList

public SortedList()

SortedList

public SortedList(java.util.Collection coll)
Method Detail

isValidItem

protected abstract boolean isValidItem(java.lang.Object obj)

compare

protected abstract int compare(java.lang.Object obj,
                               java.lang.Object obj1)

add

public boolean add(java.lang.Object o)

add

public void add(int pos,
                java.lang.Object o)

addAll

public boolean addAll(java.util.Collection collection)

addAll

public boolean addAll(int pos,
                      java.util.Collection collection)


Copyright © 2001-2004 University of Hannover. All Rights Reserved.