Examples of toImmutable()


Examples of com.gs.collections.api.map.primitive.MutableIntBooleanMap.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.api.map.primitive.MutableIntByteMap.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.api.map.primitive.MutableIntCharMap.toImmutable()

    public ImmutableIntCharMap newWithKeyValue(int key, char value)
    {
        MutableIntCharMap map = new IntCharHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableIntCharMap newWithoutKey(int key)
    {
        MutableIntCharMap map = new IntCharHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.api.map.primitive.MutableIntDoubleMap.toImmutable()

    public ImmutableIntDoubleMap newWithKeyValue(int key, double value)
    {
        MutableIntDoubleMap map = new IntDoubleHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableIntDoubleMap newWithoutKey(int key)
    {
        MutableIntDoubleMap map = new IntDoubleHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.api.map.primitive.MutableIntFloatMap.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.api.map.primitive.MutableIntIntMap.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.api.map.primitive.MutableIntLongMap.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.api.map.primitive.MutableIntShortMap.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.api.map.primitive.MutableLongBooleanMap.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

Examples of com.gs.collections.api.map.primitive.MutableLongByteMap.toImmutable()

    public ImmutableLongByteMap newWithKeyValue(long key, byte value)
    {
        MutableLongByteMap map = new LongByteHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableLongByteMap newWithoutKey(long key)
    {
        MutableLongByteMap map = new LongByteHashMap(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.