org.knowceans.util
Class TableList.Fields

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<java.lang.Object>
              extended by org.knowceans.util.TableList.Fields
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TableList.Fields>, java.lang.Iterable<java.lang.Object>, java.util.Collection<java.lang.Object>, java.util.List<java.lang.Object>, java.util.RandomAccess
Enclosing class:
TableList

public class TableList.Fields
extends java.util.ArrayList<java.lang.Object>
implements java.lang.Comparable<TableList.Fields>

Fields extends an array list by a comparison capability over the map list. By default, the field in index 0 is the order key when using Collections.sort(). For other fields, use a FieldSorter instance.

Author:
gregor
See Also:
Serialized Form

Constructor Summary
TableList.Fields()
           
 
Method Summary
 int compareTo(TableList.Fields rr)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, 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, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

TableList.Fields

public TableList.Fields()
Method Detail

compareTo

public int compareTo(TableList.Fields rr)
Specified by:
compareTo in interface java.lang.Comparable<TableList.Fields>