org.dcm4che2.util
Class IntHashtable<T>

java.lang.Object
  extended by org.dcm4che2.util.IntHashtable<T>
Type Parameters:
T - the value type.

public class IntHashtable<T>
extends java.lang.Object

Hash table implementation, which uses integers as keys.


Nested Class Summary
static interface IntHashtable.Visitor
           
 
Constructor Summary
IntHashtable()
           
IntHashtable(int initialSize)
           
 
Method Summary
 boolean accept(IntHashtable.Visitor visitor)
           
 void clear()
           
 java.lang.Object clone()
           
 boolean equals(java.lang.Object that)
           
 T get(int key)
           
 int hashCode()
           
 boolean isEmpty()
           
 java.util.Iterator<T> iterator(int start, int end)
           
 void put(int key, T value)
           
 java.lang.Object remove(int key)
           
 int size()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntHashtable

public IntHashtable()

IntHashtable

public IntHashtable(int initialSize)
Method Detail

size

public int size()

isEmpty

public boolean isEmpty()

clear

public void clear()

put

public void put(int key,
                T value)

get

public T get(int key)

remove

public java.lang.Object remove(int key)

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

accept

public boolean accept(IntHashtable.Visitor visitor)

iterator

public java.util.Iterator<T> iterator(int start,
                                      int end)


Copyright © 2011 dcm4che. All Rights Reserved.