story.dbcore.links
Class LabelAddressList

java.lang.Object
  extended by story.dbcore.links.LabelAddressList

public class LabelAddressList
extends java.lang.Object

A replacement for LinkedList/Vector for use in maintaining lists of related LinkLabelAddresses that saves space by only actually using a hash table if N is more than 1.


Nested Class Summary
 class LabelAddressList.SingleLabelAddressIterator
           
 
Constructor Summary
LabelAddressList()
           
 
Method Summary
 void add(LinkLabelAddress address)
           
 java.util.Iterator<LinkLabelAddress> iterator()
           
 boolean remove(LinkLabelAddress address)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelAddressList

public LabelAddressList()
Method Detail

size

public int size()

iterator

public java.util.Iterator<LinkLabelAddress> iterator()

add

public void add(LinkLabelAddress address)

remove

public boolean remove(LinkLabelAddress address)


Copyright © 2011 David K. Elson. All Rights Reserved.