Interface chap2.Sortable
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface chap2.Sortable

public interface Sortable
extends Object
An interface that defines this object as sortable. Many different types of collections will implement this interface, using different algorithms for the actual sort method.

Method Index

 o sort()
Called when the interface implementor should sort itself according to whatever sort rule it abides by.

Methods

 o sort
  public abstract void sort()
Called when the interface implementor should sort itself according to whatever sort rule it abides by.

All Packages  Class Hierarchy  This Package  Previous  Next  Index