All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Interface structure.Store

public interface Store
This interface describes structures that maintain size information and may be emptied. Many structures within the structure package are stores.


Method Index

 o clear()
Empty the store.
 o isEmpty()
Determine if store is empty.
 o size()
Return the number of elements within the store.

Methods

 o size
public abstract int size()
Return the number of elements within the store.

Postcondition:
returns the number elements contained in sthe tore.

Returns:
The number of elements contained within structure.
 o isEmpty
public abstract boolean isEmpty()
Determine if store is empty.

Postcondition:
returns true iff store is empty

Returns:
True iff store logically contains no elements.
 o clear
public abstract void clear()
Empty the store.

Postcondition:
clears store


All Packages  Class Hierarchy  This Package  Previous  Next  Index