All Packages Class Hierarchy This Package Previous Next Index
Interface key.Collection
- public interface Collection
- extends Storable
-
conceal(Symbol)
- Conceal the symbol - if possible
-
concealable(boolean)
- While this is false, even conceal'd
symbols are visible.
-
contains(Symbol)
-
-
count()
-
-
deallocate()
- Called when anything cached can be 'deallocated'
-
elements()
-
-
get(Object)
-
-
getElementAt(int)
-
-
getExact(String)
-
-
getTrieFor(String)
- Get multi-matches.
-
link(Symbol)
- Adds the supplied atom
-
partialLink(Symbol)
-
-
removeElementAt(int)
-
-
reveal(Symbol)
- Unconceal the symbol, if its concealed
-
sort()
- Called when theres an opportunity to index the
elements in the collection in some ordered way
(as opposed to the haphazard way they're normally
treated ;)
-
unlink(Symbol)
-
link
public abstract void link(Symbol added) throws BadKeyException, NonUniqueKeyException
- Adds the supplied atom
partialLink
public abstract void partialLink(Symbol added) throws BadKeyException, NonUniqueKeyException
unlink
public abstract void unlink(Symbol removed) throws NonUniqueKeyException, NoSuchElementException, BadKeyException
elements
public abstract Enumeration elements()
count
public abstract int count()
contains
public abstract boolean contains(Symbol o)
get
public abstract Object get(Object key)
getExact
public abstract Symbol getExact(String key)
conceal
public abstract void conceal(Symbol a)
- Conceal the symbol - if possible
reveal
public abstract void reveal(Symbol a)
- Unconceal the symbol, if its concealed
concealable
public abstract void concealable(boolean t)
- While this is false, even conceal'd
symbols are visible. It starts out
as false, is set to true, and can
never be reset again.
deallocate
public abstract void deallocate()
- Called when anything cached can be 'deallocated'
sort
public abstract void sort()
- Called when theres an opportunity to index the
elements in the collection in some ordered way
(as opposed to the haphazard way they're normally
treated ;)
getTrieFor
public abstract Object getTrieFor(String match)
- Get multi-matches. Only implemented in some
Collections. (Not required) Marked for
removal
getElementAt
public abstract Symbol getElementAt(int c)
removeElementAt
public abstract void removeElementAt(int c) throws NonUniqueKeyException, NoSuchElementException, BadKeyException
All Packages Class Hierarchy This Package Previous Next Index