HyperLinkedList()
Note:
This default
constructor does not register itself
with the SystemListRegistry
You may then later set the HyperLinkedList name directly.
ie:
HyperLinkedList myList = new HyperLinkedList();
myList.listName = "MyListName";
HyperLinkedList(String)
This
constructor does register itself
with the SystemListRegistry
HyperLinkedList(SystemListRegistry)
Used when you already have the
reference.
static
synchronized long getNumber()
Gets a # that is guaranteed to be unique.
synchronized
void showLinks()
Echo all the links to stdout
synchronized
void stdShowLinks()
Echo all the links to stdout
public
void swap(Linkable removeLink,Linkable
replaceLink)
Store a Linkable Append a List to the end of another list
Swap Linkable #1 for Linkable #2
This can be a very powerful method because it negates the necessity
for List iterating.
static void showLinks(Linkable
tLinkable)
Echo all the links to stdout
public
static HyperLinkedList getList(String tName)
Get a reference to a HyperLinkedList from the System List
Registry.
public
static void saveLists()
Note: This is disabled in order to not invoke the wrath of the
SecurityManager ATM it redirects to stdout,
int rand(int maxVal)
Return random integer to maxval
int dlStore(HyperLinkedList)
Append a HyperLinkedList to the end of another list.
Note: The Linkables should be the same type
(Double Link Store)
int dlStore(Linkable)
Store a Linkable Append a List to the end of another list
int
dlDelete(Linkable)
Delete
Linkable from this HyperLinkedList
synchronized
void removeAll()
Store a Linkable Append a List to the end of another list
public
void synchEnable()
Enable system synchronization
void
echoLinks(int)
Echo this many links to stdout
public
int detach(Linkable tLink)
Detach all links from this link down
void clear()
Clears this list (Lightweght
operation)
public
void drain()