@Test(expectedExceptions = IllegalArgumentException.class) public void testUnknowdId() { EdgeTypeStore edgeTypeStore = new EdgeTypeStore(); edgeTypeStore.getLabel(4); }
public Object getLabel(final int id) { checkValidId(id); checkIdExists(id); return idMap.get(intToShort(id)); }
EdgeTypeStore { public Object getLabel(final int id) { checkValidId(id); checkIdExists(id); return idMap.get(intToShort(id)); } }
EdgeTypeStore { public Object getLabel(final int id) { checkValidId(id); checkIdExists(id); return idMap.get(intToShort(id)); } EdgeTypeStore();  EdgeTypeStore(Configuration config); }
EdgeTypeStore { public Object getLabel(final int id) { checkValidId(id); checkIdExists(id); return idMap.get(intToShort(id)); } EdgeTypeStore();  EdgeTypeStore(Configuration config); int getId(final Object label); Object getLabel(final int id); int addType(final Object label); boolean addType(final Object label, final int id); int removeType(final Object label); Object removeType(final int type); Object[] getLabels(); int[] getIdsAsInts(); boolean contains(final Object label); boolean contains(final int id); void clear(); int size(); int deepHashCode(); boolean deepEquals(Object obj); }
EdgeTypeStore { public Object getLabel(final int id) { checkValidId(id); checkIdExists(id); return idMap.get(intToShort(id)); } EdgeTypeStore();  EdgeTypeStore(Configuration config); int getId(final Object label); Object getLabel(final int id); int addType(final Object label); boolean addType(final Object label, final int id); int removeType(final Object label); Object removeType(final int type); Object[] getLabels(); int[] getIdsAsInts(); boolean contains(final Object label); boolean contains(final int id); void clear(); int size(); int deepHashCode(); boolean deepEquals(Object obj); final static int MAX_SIZE; }