org.jruby.util.collections
Class IntHashMap<V>

java.lang.Object
  extended by org.jruby.util.collections.IntHashMap<V>

public class IntHashMap<V>
extends java.lang.Object


Nested Class Summary
static class IntHashMap.Entry<V>
           
 
Constructor Summary
IntHashMap()
           
IntHashMap(int initialCapacity)
           
IntHashMap(int initialCapacity, float loadFactor)
           
 
Method Summary
 void clear()
           
 boolean contains(java.lang.Object value)
           
 boolean containsKey(int key)
           
 boolean containsValue(java.lang.Object value)
           
 java.util.Set<IntHashMap.Entry> entrySet()
           
 V get(int key)
           
 boolean isEmpty()
           
 java.util.Set<java.lang.Integer> keySet()
           
 V put(int key, V value)
           
protected  void rehash()
           
 V remove(int key)
           
 int size()
           
 java.util.Collection<V> values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntHashMap

public IntHashMap()

IntHashMap

public IntHashMap(int initialCapacity)

IntHashMap

public IntHashMap(int initialCapacity,
                  float loadFactor)
Method Detail

size

public int size()

isEmpty

public boolean isEmpty()

contains

public boolean contains(java.lang.Object value)

containsValue

public boolean containsValue(java.lang.Object value)

containsKey

public boolean containsKey(int key)

get

public V get(int key)

rehash

protected void rehash()

put

public V put(int key,
             V value)

remove

public V remove(int key)

clear

public void clear()

keySet

public java.util.Set<java.lang.Integer> keySet()

values

public java.util.Collection<V> values()

entrySet

public java.util.Set<IntHashMap.Entry> entrySet()


Copyright © 2002-2009 JRuby Team. All Rights Reserved.