/** * Return a new instance of this class, with iteration * order defined as the order in which entries were added * * @param size The size of the map to create * @return The map */ public static <K,V> IdentityMap<K,V> instantiateSequenced(int size) { return new IdentityMap<K,V>( new LinkedHashMap<IdentityKey<K>,V>( size ) ); }
/** * Return a new instance of this class, with iteration * order defined as the order in which entries were added * * @param size The size of the map to create * @return The map */ public static <K,V> IdentityMap<K,V> instantiateSequenced(int size) { return new IdentityMap<K,V>( new LinkedHashMap<IdentityKey<K>,V>( size ) ); }
/** * Return a new instance of this class, with iteration * order defined as the order in which entries were added * * @param size The size of the map to create * @return The map */ public static <K,V> IdentityMap<K,V> instantiateSequenced(int size) { return new IdentityMap<K,V>( new LinkedHashMap<IdentityKey<K>,V>( size ) ); }
/** * Return a new instance of this class, with iteration * order defined as the order in which entries were added * * @param size The size of the map to create * @return The map */ public static <K,V> IdentityMap<K,V> instantiateSequenced(int size) { return new IdentityMap<K,V>( new LinkedHashMap<IdentityKey<K>,V>( size ) ); }