/** * Constructs a new immutable map of the two specified mappings. * * <p>This method simply delegates to {@link #getDefaultFactory() * }<tt>.</tt>{@link HashLongShortMapFactory#newImmutableMapOf(long, short, * long, short) 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 * @return a new immutable map of the two specified mappings */ @Nonnull public static HashLongShortMap newImmutableMapOf( long k1, short v1, long k2, short v2) { return getDefaultFactory().newImmutableMapOf(k1, v1, k2, v2); }
/** * Constructs a new immutable map of the single specified mapping. * * <p>This method simply delegates to {@link #getDefaultFactory() * }<tt>.</tt>{@link HashLongShortMapFactory#newImmutableMapOf(long, short * ) newImmutableMapOf(k1, v1)}. * * @param k1 the key of the sole mapping * @param v1 the value of the sole mapping * @return a new immutable map of the single specified mapping */ @Nonnull public static HashLongShortMap newImmutableMapOf( long k1, short v1) { return getDefaultFactory().newImmutableMapOf(k1, v1); }
/** * Constructs a new immutable map of the single specified mapping. * * <p>This method simply delegates to {@link #getDefaultFactory() * }<tt>.</tt>{@link HashLongShortMapFactory#newImmutableMapOf(long, short * ) newImmutableMapOf(k1, v1)}. * * @param k1 the key of the sole mapping * @param v1 the value of the sole mapping * @return a new immutable map of the single specified mapping */ @Nonnull public static HashLongShortMap newImmutableMapOf( long k1, short v1) { return getDefaultFactory().newImmutableMapOf(k1, v1); }
/** * Constructs a new immutable map of the two specified mappings. * * <p>This method simply delegates to {@link #getDefaultFactory() * }<tt>.</tt>{@link HashLongShortMapFactory#newImmutableMapOf(long, short, * long, short) 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 * @return a new immutable map of the two specified mappings */ @Nonnull public static HashLongShortMap newImmutableMapOf( long k1, short v1, long k2, short v2) { return getDefaultFactory().newImmutableMapOf(k1, v1, k2, v2); }
/** * Constructs a new immutable map of the four specified mappings. * * <p>This method simply delegates to {@link #getDefaultFactory() * }<tt>.</tt>{@link HashLongShortMapFactory#newImmutableMapOf(long, short, * long, short, long, short, long, short * ) newImmutableMapOf(k1, v1, k2, v2, k3, v3, k4, v4)}. * * @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 k3 the key of the third mapping * @param v3 the value of the third mapping * @param k4 the key of the fourth mapping * @param v4 the value of the fourth mapping * @return a new immutable map of the four specified mappings */ @Nonnull public static HashLongShortMap newImmutableMapOf( long k1, short v1, long k2, short v2, long k3, short v3, long k4, short v4) { return getDefaultFactory().newImmutableMapOf(k1, v1, k2, v2, k3, v3, k4, v4); }
/** * Constructs a new immutable map of the three specified mappings. * * <p>This method simply delegates to {@link #getDefaultFactory() * }<tt>.</tt>{@link HashLongShortMapFactory#newImmutableMapOf(long, short, * long, short, long, short) newImmutableMapOf(k1, v1, k2, v2, * k3, v3)}. * * @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 k3 the key of the third mapping * @param v3 the value of the third mapping * @return a new immutable map of the three specified mappings */ @Nonnull public static HashLongShortMap newImmutableMapOf( long k1, short v1, long k2, short v2, long k3, short v3) { return getDefaultFactory().newImmutableMapOf(k1, v1, k2, v2, k3, v3); }
/** * Constructs a new immutable map of the five specified mappings. * * <p>This method simply delegates to {@link #getDefaultFactory() * }<tt>.</tt>{@link HashLongShortMapFactory#newImmutableMapOf(long, short, * long, short, long, short, long, short, * long, short) newImmutableMapOf(k1, v1, k2, v2, k3, v3, k4, v4, k5, v5)}. * * @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 k3 the key of the third mapping * @param v3 the value of the third mapping * @param k4 the key of the fourth mapping * @param v4 the value of the fourth mapping * @param k5 the key of the fifth mapping * @param v5 the value of the fifth mapping * @return a new immutable map of the five specified mappings */ @Nonnull public static HashLongShortMap newImmutableMapOf( long k1, short v1, long k2, short v2, long k3, short v3, long k4, short v4, long k5, short v5) { return getDefaultFactory().newImmutableMapOf(k1, v1, k2, v2, k3, v3, k4, v4, k5, v5); }
/** * Constructs a new immutable map of the three specified mappings. * * <p>This method simply delegates to {@link #getDefaultFactory() * }<tt>.</tt>{@link HashLongShortMapFactory#newImmutableMapOf(long, short, * long, short, long, short) newImmutableMapOf(k1, v1, k2, v2, * k3, v3)}. * * @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 k3 the key of the third mapping * @param v3 the value of the third mapping * @return a new immutable map of the three specified mappings */ @Nonnull public static HashLongShortMap newImmutableMapOf( long k1, short v1, long k2, short v2, long k3, short v3) { return getDefaultFactory().newImmutableMapOf(k1, v1, k2, v2, k3, v3); }
/** * Constructs a new immutable map of the four specified mappings. * * <p>This method simply delegates to {@link #getDefaultFactory() * }<tt>.</tt>{@link HashLongShortMapFactory#newImmutableMapOf(long, short, * long, short, long, short, long, short * ) newImmutableMapOf(k1, v1, k2, v2, k3, v3, k4, v4)}. * * @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 k3 the key of the third mapping * @param v3 the value of the third mapping * @param k4 the key of the fourth mapping * @param v4 the value of the fourth mapping * @return a new immutable map of the four specified mappings */ @Nonnull public static HashLongShortMap newImmutableMapOf( long k1, short v1, long k2, short v2, long k3, short v3, long k4, short v4) { return getDefaultFactory().newImmutableMapOf(k1, v1, k2, v2, k3, v3, k4, v4); }
/** * Constructs a new immutable map of the five specified mappings. * * <p>This method simply delegates to {@link #getDefaultFactory() * }<tt>.</tt>{@link HashLongShortMapFactory#newImmutableMapOf(long, short, * long, short, long, short, long, short, * long, short) newImmutableMapOf(k1, v1, k2, v2, k3, v3, k4, v4, k5, v5)}. * * @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 k3 the key of the third mapping * @param v3 the value of the third mapping * @param k4 the key of the fourth mapping * @param v4 the value of the fourth mapping * @param k5 the key of the fifth mapping * @param v5 the value of the fifth mapping * @return a new immutable map of the five specified mappings */ @Nonnull public static HashLongShortMap newImmutableMapOf( long k1, short v1, long k2, short v2, long k3, short v3, long k4, short v4, long k5, short v5) { return getDefaultFactory().newImmutableMapOf(k1, v1, k2, v2, k3, v3, k4, v4, k5, v5); }