atavism.server.util
Class Table<A,B,C>
java.lang.Object
atavism.server.util.Table<A,B,C>
public class Table<A,B,C>
- extends java.lang.Object
Basically a thread safe Map of Map
- Author:
- cedeno
Constructor Summary |
Table()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Table
public Table()
isEmpty
public boolean isEmpty()
getKeys
public java.util.Collection<A> getKeys()
put
public void put(A a,
B b,
C c)
get
public C get(A a,
B b)
getWithAddSubMap
public C getWithAddSubMap(A a,
B b)
- creates the submap entry if it doesnt exist already
and returns it
getSubMap
public java.util.Map<B,C> getSubMap(A a)
- returns a copy of the submap