Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.HyperLinkedList
Source: src/com/multiversesocial/hyperview/HyperLinkedList.java
------------------------------------------------------------ Feb 15 2003, This is from the HypeView API https://hyperview.java.net/ Jan 13 2013 removed destroy added finalize()
public class HyperLinkedList extends Linkable
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
int items | No comment in source; assigned in showLinks(), clear(), dlStore(), dlDelete(), detach() …; used in echoLinks(). | ||
volatile Linkable listBase | No comment in source; assigned in showLinks(), swap(), clear(), dlStore(), dlDelete() …; used in stdShowLinks(), echoLinks(). | ||
int listFlags | No comment in source; assigned in HyperLinkedList(), clear(), synchEnable(), destroy(); used in setListName(). | ||
volatile String listName | No comment in source; assigned in HyperLinkedList(); used in showLinks(), stdShowLinks(), echoLinks(). | ||
int listNumber | No comment in source; assigned in HyperLinkedList(). | ||
volatile Linkable listTail | No comment in source; assigned in swap(), clear(), dlStore(), dlDelete(), swapWithNext() …; used in echoLinks(). | ||
Object lock | No comment in source; assigned in HyperLinkedList(). | ||
static int seed | = 0 | No comment in source; assigned in HyperLinkedList(), getNumber(). | |
SystemListNode systemListNode | No comment in source; assigned in HyperLinkedList(). | ||
static int totalLists | No comment in source; assigned in HyperLinkedList(); used in saveLists(). |
| Signature | Description | Source |
|---|---|---|
HyperLinkedList() | 4 statement(s); calls super(). | |
HyperLinkedList(String tString) | 11 statement(s); calls super(), SystemListRegistry.getRegistry(), tRegistry.register(); creates SystemListNode. | |
HyperLinkedList(SystemListRegistry tRegistry) | DOES register itself with the List Register |
| Signature | Description | Source |
|---|---|---|
static { … } | Implicit default constructor generated by the compiler (not written in the source). | |
void clear() | 4 statement(s). | |
public void destroy() | Cont FreeDisplayStack-style teardown for a list. | |
public int detach(Linkable tLink) | 3 statement(s). | |
int dlDelete(Linkable tLinkable) | 5 statement(s). | |
int dlStore(HyperLinkedList tList) | 8 statement(s). | |
int dlStore(Linkable tLinkable) | 3 statement(s). | |
public void drain() | 5 statement(s). | |
void echoLinks(int x) | 8 statement(s); calls System.exit(). | |
public static HyperLinkedList getList(String tName) | Returns SystemListRegistry.getSystemList(). | |
static synchronized long getNumber() | Returns seed++. | |
int rand(int maxVal) | 5 statement(s); calls Math.random(). | |
synchronized void removeAll() | /////////////////////////////// | |
public static void saveLists() | 4 statement(s); calls SystemListRegistry.getRegistry(), tNode.parentList.showLinks(). | |
public void setListName(String tName) throws Exception | 2 statement(s); creates Exception. | |
synchronized void showLinks() | 11 statement(s); calls notifyAll(). | |
static void showLinks(Linkable tLinkable) | 6 statement(s). | |
public static void showLists() | OOps! I think I over-optimized ;) Well at least this is an efficient function :) | |
synchronized void stdShowLinks() | 11 statement(s); calls notifyAll(). | |
public void swap(Linkable removeLink, Linkable replaceLink) | 10 statement(s). | |
public boolean swapWithNext(Linkable a) | Swap adjacent links a <-> a.next (reorder). Returns false if a has no next. Added 2026-09-25 for Externalizer nested-child reorder. | |
public void synchEnable() | 1 statement(s). |
Fields: attachment, index, linkFlags, name, next, parentList, prev
Methods: inList(), setName(String)
instantiation — AWTEventManager.java, line 9
9 static HyperLinkedList viewList = new HyperLinkedList();
subclass — SystemListRegistry.java, line 14
14 public class SystemListRegistry extends HyperLinkedList
15 {
static call — HyperConnectionHandler.java, line 1262
1262 HyperLinkedList.showLinks(connectionPool.listBase);