Codota Logo
HashIntObjMaps.getDefaultFactory
Code IndexAdd Codota to your IDE (free)

How to use
getDefaultFactory
method
in
com.koloboke.collect.map.hash.HashIntObjMaps

Best Java code snippets using com.koloboke.collect.map.hash.HashIntObjMaps.getDefaultFactory (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: com.koloboke/koloboke-api-jdk6-7

/**
 * Constructs a new empty mutable map of the default expected size.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newMutableMap() newMutableMap()}.
 *
 
 * @param <V> the value type of the returned map 
 * @return a new empty mutable map
 */
@Nonnull
public static <V> HashIntObjMap<V> newMutableMap() {
  return getDefaultFactory().<V>newMutableMap();
}
origin: com.koloboke/koloboke-api-jdk8

/**
 * Constructs a new empty updatable map of the default expected size.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newUpdatableMap() newUpdatableMap()}.
 *
 
 * @param <V> the value type of the returned map 
 * @return a new empty updatable map
 */
@Nonnull
public static <V> HashIntObjMap<V> newUpdatableMap() {
  return getDefaultFactory().<V>newUpdatableMap();
}
origin: com.koloboke/koloboke-api-jdk6-7

/**
 * Constructs a new empty mutable map of the given expected size.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newMutableMap(int) newMutableMap(expectedSize)}.
 *
 * @param expectedSize the expected size of the returned map

 * @param <V> the value type of the returned map 
 * @return a new empty mutable map of the given expected size
 */
@Nonnull
public static <V> HashIntObjMap<V> newMutableMap(int expectedSize) {
  return getDefaultFactory().<V>newMutableMap(expectedSize);
}
origin: com.koloboke/koloboke-api-jdk8

/**
 * Constructs a new empty mutable map of the default expected size.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newMutableMap() newMutableMap()}.
 *
 
 * @param <V> the value type of the returned map 
 * @return a new empty mutable map
 */
@Nonnull
public static <V> HashIntObjMap<V> newMutableMap() {
  return getDefaultFactory().<V>newMutableMap();
}
origin: com.koloboke/koloboke-api-jdk6-7

/**
 * Constructs a new empty updatable map of the default expected size.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newUpdatableMap() newUpdatableMap()}.
 *
 
 * @param <V> the value type of the returned map 
 * @return a new empty updatable map
 */
@Nonnull
public static <V> HashIntObjMap<V> newUpdatableMap() {
  return getDefaultFactory().<V>newUpdatableMap();
}
origin: com.koloboke/koloboke-api-jdk8

/**
 * Constructs a new mutable map of the single specified mapping.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newMutableMapOf(int, Object
 * ) newMutableMapOf(k1, v1)}.
 *
 * @param k1 the key of the sole mapping
 * @param v1 the value of the sole mapping

 * @param <V> the value type of the returned map 
 * @return a new mutable map of the single specified mapping
 */
@Nonnull
public static <V> HashIntObjMap<V> newMutableMapOf(
    int k1, V v1) {
  return getDefaultFactory().<V>newMutableMapOf(k1, v1);
}
origin: com.koloboke/koloboke-api-jdk6-7

/**
 * Constructs a new mutable map of the single specified mapping.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newMutableMapOf(int, Object
 * ) newMutableMapOf(k1, v1)}.
 *
 * @param k1 the key of the sole mapping
 * @param v1 the value of the sole mapping

 * @param <V> the value type of the returned map 
 * @return a new mutable map of the single specified mapping
 */
@Nonnull
public static <V> HashIntObjMap<V> newMutableMapOf(
    int k1, V v1) {
  return getDefaultFactory().<V>newMutableMapOf(k1, v1);
}
origin: com.koloboke/koloboke-api-jdk8

/**
 * Constructs a new empty mutable map of the given expected size.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newMutableMap(int) newMutableMap(expectedSize)}.
 *
 * @param expectedSize the expected size of the returned map

 * @param <V> the value type of the returned map 
 * @return a new empty mutable map of the given expected size
 */
@Nonnull
public static <V> HashIntObjMap<V> newMutableMap(int expectedSize) {
  return getDefaultFactory().<V>newMutableMap(expectedSize);
}
origin: com.koloboke/koloboke-api-jdk8

/**
 * Constructs a new empty updatable map of the given expected size.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newUpdatableMap(int) newUpdatableMap(expectedSize)}.
 *
 * @param expectedSize the expected size of the returned map

 * @param <V> the value type of the returned map 
 * @return a new empty updatable map of the given expected size
 */
@Nonnull
public static <V> HashIntObjMap<V> newUpdatableMap(int expectedSize) {
  return getDefaultFactory().<V>newUpdatableMap(expectedSize);
}
origin: com.koloboke/koloboke-api-jdk6-7

/**
 * Constructs a new empty updatable map of the given expected size.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newUpdatableMap(int) newUpdatableMap(expectedSize)}.
 *
 * @param expectedSize the expected size of the returned map

 * @param <V> the value type of the returned map 
 * @return a new empty updatable map of the given expected size
 */
@Nonnull
public static <V> HashIntObjMap<V> newUpdatableMap(int expectedSize) {
  return getDefaultFactory().<V>newUpdatableMap(expectedSize);
}
origin: com.koloboke/koloboke-api-jdk8

/**
 * Constructs a new immutable map of the single specified mapping.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newImmutableMapOf(int, Object
 * ) newImmutableMapOf(k1, v1)}.
 *
 * @param k1 the key of the sole mapping
 * @param v1 the value of the sole mapping

 * @param <V> the value type of the returned map 
 * @return a new immutable map of the single specified mapping
 */
@Nonnull
public static <V> HashIntObjMap<V> newImmutableMapOf(
    int k1, V v1) {
  return getDefaultFactory().<V>newImmutableMapOf(k1, v1);
}
origin: com.koloboke/koloboke-api-jdk8

/**
 * Constructs a new updatable map of the single specified mapping.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newUpdatableMapOf(int, Object
 * ) newUpdatableMapOf(k1, v1)}.
 *
 * @param k1 the key of the sole mapping
 * @param v1 the value of the sole mapping

 * @param <V> the value type of the returned map 
 * @return a new updatable map of the single specified mapping
 */
@Nonnull
public static <V> HashIntObjMap<V> newUpdatableMapOf(
    int k1, V v1) {
  return getDefaultFactory().<V>newUpdatableMapOf(k1, v1);
}
origin: com.koloboke/koloboke-api-jdk6-7

/**
 * Constructs a new updatable map of the single specified mapping.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newUpdatableMapOf(int, Object
 * ) newUpdatableMapOf(k1, v1)}.
 *
 * @param k1 the key of the sole mapping
 * @param v1 the value of the sole mapping

 * @param <V> the value type of the returned map 
 * @return a new updatable map of the single specified mapping
 */
@Nonnull
public static <V> HashIntObjMap<V> newUpdatableMapOf(
    int k1, V v1) {
  return getDefaultFactory().<V>newUpdatableMapOf(k1, v1);
}
origin: com.koloboke/koloboke-api-jdk6-7

/**
 * Constructs a new immutable map of the single specified mapping.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newImmutableMapOf(int, Object
 * ) newImmutableMapOf(k1, v1)}.
 *
 * @param k1 the key of the sole mapping
 * @param v1 the value of the sole mapping

 * @param <V> the value type of the returned map 
 * @return a new immutable map of the single specified mapping
 */
@Nonnull
public static <V> HashIntObjMap<V> newImmutableMapOf(
    int k1, V v1) {
  return getDefaultFactory().<V>newImmutableMapOf(k1, v1);
}
origin: com.koloboke/koloboke-api-jdk8

/**
 * Constructs a new mutable map with the same mappings as the specified {@code map}.
 *
 * 
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newMutableMap(
 * Map) newMutableMap(map)}.
 *
 * @param map the map whose mappings are to be placed in the returned map
 * 

 * @param <V> the value type of the returned map 
 * @return a new mutable map with the same mappings as the specified {@code map}
 */
@Nonnull
public static <V> HashIntObjMap<V> newMutableMap(
    @Nonnull Map<Integer, ? extends V> map) {
  return getDefaultFactory().<V>newMutableMap(map);
}
origin: com.koloboke/koloboke-api-jdk8

/**
 * Constructs a new immutable map of the two specified mappings.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newImmutableMapOf(int, Object,
 * int, Object) newImmutableMapOf(k1, v1, k2, v2)}.
 *
 * @param k1 the key of the first mapping
 * @param v1 the value of the first mapping
 * @param k2 the key of the second mapping
 * @param v2 the value of the second mapping

 * @param <V> the value type of the returned map 
 * @return a new immutable map of the two specified mappings
 */
@Nonnull
public static <V> HashIntObjMap<V> newImmutableMapOf(
    int k1, V v1, int k2, V v2) {
  return getDefaultFactory().<V>newImmutableMapOf(k1, v1, k2, v2);
}
origin: com.koloboke/koloboke-api-jdk6-7

/**
 * Constructs a new immutable map of the two specified mappings.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newImmutableMapOf(int, Object,
 * int, Object) newImmutableMapOf(k1, v1, k2, v2)}.
 *
 * @param k1 the key of the first mapping
 * @param v1 the value of the first mapping
 * @param k2 the key of the second mapping
 * @param v2 the value of the second mapping

 * @param <V> the value type of the returned map 
 * @return a new immutable map of the two specified mappings
 */
@Nonnull
public static <V> HashIntObjMap<V> newImmutableMapOf(
    int k1, V v1, int k2, V v2) {
  return getDefaultFactory().<V>newImmutableMapOf(k1, v1, k2, v2);
}
origin: com.koloboke/koloboke-api-jdk6-7

/**
 * Constructs a new mutable map of the two specified mappings.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newMutableMapOf(int, Object,
 * int, Object) newMutableMapOf(k1, v1, k2, v2)}.
 *
 * @param k1 the key of the first mapping
 * @param v1 the value of the first mapping
 * @param k2 the key of the second mapping
 * @param v2 the value of the second mapping

 * @param <V> the value type of the returned map 
 * @return a new mutable map of the two specified mappings
 */
@Nonnull
public static <V> HashIntObjMap<V> newMutableMapOf(
    int k1, V v1, int k2, V v2) {
  return getDefaultFactory().<V>newMutableMapOf(k1, v1, k2, v2);
}
origin: com.koloboke/koloboke-api-jdk8

/**
 * Constructs a new mutable map of the two specified mappings.
 *
 * <p>This method simply delegates to {@link #getDefaultFactory()
 * }<tt>.</tt>{@link HashIntObjMapFactory#newMutableMapOf(int, Object,
 * int, Object) newMutableMapOf(k1, v1, k2, v2)}.
 *
 * @param k1 the key of the first mapping
 * @param v1 the value of the first mapping
 * @param k2 the key of the second mapping
 * @param v2 the value of the second mapping

 * @param <V> the value type of the returned map 
 * @return a new mutable map of the two specified mappings
 */
@Nonnull
public static <V> HashIntObjMap<V> newMutableMapOf(
    int k1, V v1, int k2, V v2) {
  return getDefaultFactory().<V>newMutableMapOf(k1, v1, k2, v2);
}
origin: mikvor/hashmapTest

private static <T> HashIntObjMap<T> makeMap(final int size, final float fillFactor )
{
  return HashIntObjMaps.getDefaultFactory().withHashConfig(HashConfig.fromLoads( fillFactor/2, fillFactor, fillFactor)).newMutableMap( size );
}
com.koloboke.collect.map.hashHashIntObjMapsgetDefaultFactory

Javadoc

Returns the default HashIntObjMapFactory implementation, to which all static methods in this class delegate.

Popular methods of HashIntObjMaps

    Popular in Java

    • Parsing JSON documents to java classes using gson
    • getOriginalFilename (MultipartFile)
      Return the original filename in the client's filesystem.This may contain path information depending
    • notifyDataSetChanged (ArrayAdapter)
    • orElseThrow (Optional)
    • GridBagLayout (java.awt)
      The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
    • DateFormat (java.text)
      Formats or parses dates and times.This class provides factories for obtaining instances configured f
    • NumberFormat (java.text)
      The abstract base class for all number formats. This class provides the interface for formatting and
    • Dictionary (java.util)
      The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
    • Iterator (java.util)
      An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
    • ReentrantLock (java.util.concurrent.locks)
      A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
    Codota Logo
    • Products

      Search for Java codeSearch for JavaScript codeEnterprise
    • IDE Plugins

      IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Codota for your IDE now