org.glassfish.pfl.basic.contain
Interface IntMap<E>

All Known Implementing Classes:
DenseIntMapImpl

public interface IntMap<E>


Method Summary
 E get(int key)
          If key >= 0, return the value bound to key, or null if none.
 void set(int key, E value)
          If key >= 0, bind value to the key.
 

Method Detail

get

E get(int key)
If key >= 0, return the value bound to key, or null if none. Throws IllegalArgumentException if key <0.


set

void set(int key,
         E value)
If key >= 0, bind value to the key. Throws IllegalArgumentException if key <0.



Copyright © 2013 Oracle. All Rights Reserved.