All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaGroups.SortedList

java.lang.Object
   |
   +----JavaGroups.List
           |
           +----JavaGroups.SortedList

public class SortedList
extends List
Keeps elements in sorted order (ascending or decending). Elements have to implement interface Comparable. Duplicate elements are discarded.


Constructor Index

 o SortedList()

Method Index

 o Add(Object)
Adds an object in sorted order.
 o main(String[])

Constructors

 o SortedList
 public SortedList()

Methods

 o Add
 public void Add(Object obj)
Adds an object in sorted order.

Overrides:
Add in class List
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index