Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.HyperLinkedList
Source: src/com/multiversesocial/hyperview/HyperLinkedList.java

HyperLinkedList

HyperView V3.2 — class
version V3.2 class

Summary

------------------------------------------------------------ Feb 15 2003, This is from the HypeView API https://hyperview.java.net/ Jan 13 2013 removed destroy added finalize()

Source file: HyperLinkedList.java

Hierarchy

Extends: Linkable

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public class HyperLinkedList extends Linkable

Declared in src/com/multiversesocial/hyperview/HyperLinkedList.java, lines 23–744. 10 field(s), 3 constructor(s), 22 method(s). Every member has an anchor you can link to (e.g. HyperLinkedList.html#<id>).

Fields (10)

DeclarationValue / initializerDescriptionSource
int itemsNo comment in source; assigned in showLinks(), clear(), dlStore(), dlDelete(), detach() …; used in echoLinks().line 26
volatile Linkable listBaseNo comment in source; assigned in showLinks(), swap(), clear(), dlStore(), dlDelete() …; used in stdShowLinks(), echoLinks().line 30
int listFlagsNo comment in source; assigned in HyperLinkedList(), clear(), synchEnable(), destroy(); used in setListName().line 27
volatile String listNameNo comment in source; assigned in HyperLinkedList(); used in showLinks(), stdShowLinks(), echoLinks().line 32
int listNumberNo comment in source; assigned in HyperLinkedList().line 28
volatile Linkable listTailNo comment in source; assigned in swap(), clear(), dlStore(), dlDelete(), swapWithNext() …; used in echoLinks().line 31
Object lockNo comment in source; assigned in HyperLinkedList().line 25
static int seed= 0No comment in source; assigned in HyperLinkedList(), getNumber().line 34
SystemListNode systemListNodeNo comment in source; assigned in HyperLinkedList().line 33
static int totalListsNo comment in source; assigned in HyperLinkedList(); used in saveLists().line 29

Constructors (3)

SignatureDescriptionSource
HyperLinkedList()4 statement(s); calls super().line 36
HyperLinkedList(String tString)11 statement(s); calls super(), SystemListRegistry.getRegistry(), tRegistry.register(); creates SystemListNode.line 43
HyperLinkedList(SystemListRegistry tRegistry)DOES register itself with the List Registerline 61

Methods (22)

SignatureDescriptionSource
static { … }Implicit default constructor generated by the compiler (not written in the source).implicit
void clear()4 statement(s).line 394
public void destroy()Cont FreeDisplayStack-style teardown for a list.line 715
public int detach(Linkable tLink)3 statement(s).line 673
int dlDelete(Linkable tLinkable)5 statement(s).line 504
int dlStore(HyperLinkedList tList)8 statement(s).line 419
int dlStore(Linkable tLinkable)3 statement(s).line 468
public void drain()5 statement(s).line 700
public static HyperLinkedList getList(String tName)Returns SystemListRegistry.getSystemList().line 344
static synchronized long getNumber()Returns seed++.line 73
int rand(int maxVal)5 statement(s); calls Math.random().line 404
synchronized void removeAll()///////////////////////////////line 595
public static void saveLists()4 statement(s); calls SystemListRegistry.getRegistry(), tNode.parentList.showLinks().line 349
public void setListName(String tName) throws Exception2 statement(s); creates Exception.line 723
public static void showLists()OOps! I think I over-optimized ;) Well at least this is an efficient function :)line 334
public void swap(Linkable removeLink, Linkable replaceLink)10 statement(s).line 255
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.line 568
public void synchEnable()1 statement(s).line 613

Inherited members

Non-private members inherited from HyperView superclasses and not overridden or hidden here.

From Linkable (7 fields, 2 methods)

Fields: attachment, index, linkFlags, name, next, parentList, prev

Methods: inList(), setName(String)

Examples

Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).

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);
Hits--