/** * Creates a new ID map with integer keys with generator initialized to the specified value. * * @param c The value type. * @param initValue The initial value of the generator. * @return A new map. */ public static <T> IdMap<Integer,T> createIntMap(Class<T> c, int initValue) { return create(c, IdGenerators.createIntGenerator(initValue)); }
/** * Creates a new ID map with integer keys with generator initialized to the specified value. * * @param c The value type. * @param initValue The initial value of the generator. * @return A new map. */ public static <T> IdMap<Integer,T> createIntMap(Class<T> c, int initValue) { return create(c, IdGenerators.createIntGenerator(initValue)); }
/** * Creates a new ID map with long keys with generator initialized to the specified value. * * @param c The value type. * @param initValue The initial value of the generator. * @return A new map. */ public static <T> IdMap<Long,T> createLongMap(Class<T> c, long initValue) { return create(c, IdGenerators.createLongGenerator(initValue)); }
/** * Creates a new ID map with integer keys with generator initialized to the specified value. * * @param c The value type. * @param initValue The initial value of the generator. * @return A new map. */ public static <T> IdMap<Integer,T> createIntMap(Class<T> c, int initValue) { return create(c, IdGenerators.createIntGenerator(initValue)); }
/** * Creates a new ID map with long keys with generator initialized to the specified value. * * @param c The value type. * @param initValue The initial value of the generator. * @return A new map. */ public static <T> IdMap<Long,T> createLongMap(Class<T> c, long initValue) { return create(c, IdGenerators.createLongGenerator(initValue)); }
/** * Creates a new ID map with long keys with generator initialized to the specified value. * * @param c The value type. * @param initValue The initial value of the generator. * @return A new map. */ public static <T> IdMap<Long,T> createLongMap(Class<T> c, long initValue) { return create(c, IdGenerators.createLongGenerator(initValue)); }