Examples of toImmutable()


Examples of com.gs.collections.impl.map.mutable.primitive.FloatIntHashMap.toImmutable()

    public ImmutableFloatIntMap newWithKeyValue(float key, int value)
    {
        MutableFloatIntMap map = new FloatIntHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableFloatIntMap newWithoutKey(float key)
    {
        MutableFloatIntMap map = new FloatIntHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.impl.map.mutable.primitive.FloatLongHashMap.toImmutable()

    public ImmutableFloatLongMap newWithKeyValue(float key, long value)
    {
        MutableFloatLongMap map = new FloatLongHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableFloatLongMap newWithoutKey(float key)
    {
        MutableFloatLongMap map = new FloatLongHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.impl.map.mutable.primitive.FloatShortHashMap.toImmutable()

    public ImmutableFloatShortMap newWithKeyValue(float key, short value)
    {
        MutableFloatShortMap map = new FloatShortHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableFloatShortMap newWithoutKey(float key)
    {
        MutableFloatShortMap map = new FloatShortHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.impl.map.mutable.primitive.IntBooleanHashMap.toImmutable()

    public ImmutableIntBooleanMap newWithKeyValue(int key, boolean value)
    {
        MutableIntBooleanMap map = new IntBooleanHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableIntBooleanMap newWithoutKey(int key)
    {
        MutableIntBooleanMap map = new IntBooleanHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.impl.map.mutable.primitive.IntByteHashMap.toImmutable()

    public ImmutableIntByteMap newWithKeyValue(int key, byte value)
    {
        MutableIntByteMap map = new IntByteHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableIntByteMap newWithoutKey(int key)
    {
        MutableIntByteMap map = new IntByteHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.impl.map.mutable.primitive.IntFloatHashMap.toImmutable()

    public ImmutableIntFloatMap newWithKeyValue(int key, float value)
    {
        MutableIntFloatMap map = new IntFloatHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableIntFloatMap newWithoutKey(int key)
    {
        MutableIntFloatMap map = new IntFloatHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.impl.map.mutable.primitive.IntIntHashMap.toImmutable()

    public ImmutableIntIntMap newWithKeyValue(int key, int value)
    {
        MutableIntIntMap map = new IntIntHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableIntIntMap newWithoutKey(int key)
    {
        MutableIntIntMap map = new IntIntHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.impl.map.mutable.primitive.IntLongHashMap.toImmutable()

    public ImmutableIntLongMap newWithKeyValue(int key, long value)
    {
        MutableIntLongMap map = new IntLongHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableIntLongMap newWithoutKey(int key)
    {
        MutableIntLongMap map = new IntLongHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.impl.map.mutable.primitive.IntShortHashMap.toImmutable()

    public ImmutableIntShortMap newWithKeyValue(int key, short value)
    {
        MutableIntShortMap map = new IntShortHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableIntShortMap newWithoutKey(int key)
    {
        MutableIntShortMap map = new IntShortHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.impl.map.mutable.primitive.LongBooleanHashMap.toImmutable()

    public ImmutableLongBooleanMap newWithKeyValue(long key, boolean value)
    {
        MutableLongBooleanMap map = new LongBooleanHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableLongBooleanMap newWithoutKey(long key)
    {
        MutableLongBooleanMap map = new LongBooleanHashMap(this.size());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.