/** * Create an empty map. */ public ObjectIdSubclassMap() { initTable(INITIAL_TABLE_SIZE); }
/** * Remove all entries from this map. */ public void clear() { size = 0; initTable(INITIAL_TABLE_SIZE); }
private void grow() { final V[] oldTable = table; final int oldSize = table.length; initTable(oldSize << 1); for (int i = 0; i < oldSize; i++) { final V obj = oldTable[i]; if (obj != null) insert(obj); } }
/** Remove all entries from this map. */ public void clear() { size = 0; initTable(INITIAL_TABLE_SIZE); }
/** * Create an empty map. */ public ObjectIdSubclassMap() { initTable(INITIAL_TABLE_SIZE); }
/** * Remove all entries from this map. */ public void clear() { size = 0; initTable(INITIAL_TABLE_SIZE); }
/** Create an empty map. */ public ObjectIdSubclassMap() { initTable(INITIAL_TABLE_SIZE); }
private void grow() { final V[] oldTable = table; final int oldSize = table.length; initTable(oldSize << 1); for (int i = 0; i < oldSize; i++) { final V obj = oldTable[i]; if (obj != null) insert(obj); } }
private void grow() { final V[] oldTable = table; final int oldSize = table.length; initTable(oldSize << 1); for (int i = 0; i < oldSize; i++) { final V obj = oldTable[i]; if (obj != null) insert(obj); } }