Examples of toImmutable()


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

    public ImmutableByteCharMap newWithKeyValue(byte key, char value)
    {
        MutableByteCharMap map = new ByteCharHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableByteCharMap newWithoutKey(byte key)
    {
        MutableByteCharMap map = new ByteCharHashMap(this.size());
View Full Code Here

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

    public ImmutableByteDoubleMap newWithKeyValue(byte key, double value)
    {
        MutableByteDoubleMap map = new ByteDoubleHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableByteDoubleMap newWithoutKey(byte key)
    {
        MutableByteDoubleMap map = new ByteDoubleHashMap(this.size());
View Full Code Here

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

    public ImmutableByteFloatMap newWithKeyValue(byte key, float value)
    {
        MutableByteFloatMap map = new ByteFloatHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableByteFloatMap newWithoutKey(byte key)
    {
        MutableByteFloatMap map = new ByteFloatHashMap(this.size());
View Full Code Here

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

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

    public ImmutableByteIntMap newWithoutKey(byte key)
    {
        MutableByteIntMap map = new ByteIntHashMap(this.size());
View Full Code Here

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

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

    public ImmutableByteLongMap newWithoutKey(byte key)
    {
        MutableByteLongMap map = new ByteLongHashMap(this.size());
View Full Code Here

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

    public ImmutableByteShortMap newWithKeyValue(byte key, short value)
    {
        MutableByteShortMap map = new ByteShortHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableByteShortMap newWithoutKey(byte key)
    {
        MutableByteShortMap map = new ByteShortHashMap(this.size());
View Full Code Here

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

    public ImmutableCharBooleanMap newWithKeyValue(char key, boolean value)
    {
        MutableCharBooleanMap map = new CharBooleanHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableCharBooleanMap newWithoutKey(char key)
    {
        MutableCharBooleanMap map = new CharBooleanHashMap(this.size());
View Full Code Here

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

    public ImmutableCharByteMap newWithKeyValue(char key, byte value)
    {
        MutableCharByteMap map = new CharByteHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableCharByteMap newWithoutKey(char key)
    {
        MutableCharByteMap map = new CharByteHashMap(this.size());
View Full Code Here

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

    public ImmutableCharCharMap newWithKeyValue(char key, char value)
    {
        MutableCharCharMap map = new CharCharHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableCharCharMap newWithoutKey(char key)
    {
        MutableCharCharMap map = new CharCharHashMap(this.size());
View Full Code Here

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

    public ImmutableCharDoubleMap newWithKeyValue(char key, double value)
    {
        MutableCharDoubleMap map = new CharDoubleHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableCharDoubleMap newWithoutKey(char key)
    {
        MutableCharDoubleMap map = new CharDoubleHashMap(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.