Sydney

Class HashList

Object
   |
   +--AbstractList
         |
         +--LinkedList
               |
               +--HashList
Direct Known Subclasses:
CompositeList

class HashList
extends LinkedList

Defined in hash_list.js


 
Fields inherited from class LinkedList
   
Fields inherited from class AbstractList
 
Constructor Summary
HashList (hashFunc)
           
 
Method Summary
 boolean contains(item)
           Returns true if item is in this list.
 boolean containsKey(key)
           Returns true if there is an item, i, in this list such that key maps to i.
 LinkedList getIntersectionWith(<AbstractList> list, <boolean> makeHash)
           Returns a LinkedList containing all the elements of list that are also in this.
 Object getItemByKey(key)
           Returns the item that key maps to.
 
Methods inherited from class LinkedList
clear
   
Methods inherited from class AbstractList
append, copy, getHead, getIndexOf, getItemAfter, getItemAt, getItemBefore, getLength, getTail, insertAfter, insertBefore, insertItemAt, isEmpty, iterator, join, prepend, remove, removeAll, removeHead, removeTail, removeItemAt, replace, reverseIterator, selectRangeInto, sort, toArray, toString
 

Constructor Detail

HashList

function HashList(hashFunc)
Method Detail

contains

boolean contains(item)

containsKey

boolean containsKey(key)

getIntersectionWith

LinkedList getIntersectionWith(<AbstractList> list, <boolean> makeHash)

getItemByKey

Object getItemByKey(key)

Sydney

SourceForge.net Logo