© 1998-2002 McGraw-Hill

structure
Interface OrderedStructure

All Superinterfaces:
Structure
All Known Implementing Classes:
BinarySearchTree, OrderedList, OrderedVector, RedBlackSearchTree, SplayTree

public interface OrderedStructure
extends Structure

An interface that supports a Collection whose values are kept in increasing order. Values stored within ordered structures should implement Comparable; ie. they should have an implemented compareTo method.

See Also:
Comparable, Comparable.compareTo(java.lang.Object)

Methods inherited from interface structure.Structure
add, clear, contains, elements, isEmpty, iterator, remove, size, values
 


© 1998-2002 McGraw-Hill