be.SIRAPRISE.util
Class IntersectableLinkedHashMap<K,V>

java.lang.Object
  extended by be.SIRAPRISE.util.IntersectableMap<K,V>
      extended by be.SIRAPRISE.util.IntersectableLinkedHashMap<K,V>
Type Parameters:
K -
V -
All Implemented Interfaces:
java.util.Map<K,V>
Direct Known Subclasses:
Heading

public class IntersectableLinkedHashMap<K,V>
extends IntersectableMap<K,V>

IntersectableLinkedHashMap is an extension of IntersectableMap that exposes the behaviour of a LinkedHashMap.

Author:
Erwin Smout

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
IntersectableLinkedHashMap()
          Initializes a LinkedHashMap of the default size
IntersectableLinkedHashMap(int q)
          Initializes a LinkedHashMap with an initial size that is given
IntersectableLinkedHashMap(int q, float loadFactor)
          Initializes a LinkedHashMap with an initial size that is given
IntersectableLinkedHashMap(int q, float loadFactor, boolean accessOrder)
          Initializes a LinkedHashMap with an initial size that is given
IntersectableLinkedHashMap(java.util.Map<? extends K,? extends V> m)
          Initializes a LinkedHashMap with an initial size that is given
 
Method Summary
 
Methods inherited from class be.SIRAPRISE.util.IntersectableMap
clear, clone, containsKey, containsValue, entrySet, equals, get, hashCode, intersect, intersect, isEmpty, keySet, minus, minus, put, putAll, remove, size, toString, union, union, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntersectableLinkedHashMap

public IntersectableLinkedHashMap()
Initializes a LinkedHashMap of the default size


IntersectableLinkedHashMap

public IntersectableLinkedHashMap(int q)
Initializes a LinkedHashMap with an initial size that is given

Parameters:
q - the initial size of the map

IntersectableLinkedHashMap

public IntersectableLinkedHashMap(int q,
                                  float loadFactor)
Initializes a LinkedHashMap with an initial size that is given

Parameters:
q - the initial size of the map
loadFactor - the load factor.

IntersectableLinkedHashMap

public IntersectableLinkedHashMap(int q,
                                  float loadFactor,
                                  boolean accessOrder)
Initializes a LinkedHashMap with an initial size that is given

Parameters:
q - the initial size of the map
loadFactor - the load factor.
accessOrder - the ordering mode - true for access-order, false for insertion-order.

IntersectableLinkedHashMap

public IntersectableLinkedHashMap(java.util.Map<? extends K,? extends V> m)
Initializes a LinkedHashMap with an initial size that is given

Parameters:
m -