Examples of toImmutable()


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

    public ImmutableCharFloatMap newWithKeyValue(char key, float value)
    {
        MutableCharFloatMap map = new CharFloatHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableCharFloatMap newWithoutKey(char key)
    {
        MutableCharFloatMap map = new CharFloatHashMap(this.size());
View Full Code Here

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

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

    public ImmutableCharIntMap newWithoutKey(char key)
    {
        MutableCharIntMap map = new CharIntHashMap(this.size());
View Full Code Here

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

    public ImmutableCharLongMap newWithKeyValue(char key, long value)
    {
        MutableCharLongMap map = new CharLongHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableCharLongMap newWithoutKey(char key)
    {
        MutableCharLongMap map = new CharLongHashMap(this.size());
View Full Code Here

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

    public ImmutableCharShortMap newWithKeyValue(char key, short value)
    {
        MutableCharShortMap map = new CharShortHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableCharShortMap newWithoutKey(char key)
    {
        MutableCharShortMap map = new CharShortHashMap(this.size());
View Full Code Here

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

    public ImmutableDoubleBooleanMap newWithKeyValue(double key, boolean value)
    {
        MutableDoubleBooleanMap map = new DoubleBooleanHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableDoubleBooleanMap newWithoutKey(double key)
    {
        MutableDoubleBooleanMap map = new DoubleBooleanHashMap(this.size());
View Full Code Here

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

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

    public ImmutableDoubleByteMap newWithoutKey(double key)
    {
        MutableDoubleByteMap map = new DoubleByteHashMap(this.size());
View Full Code Here

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

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

    public ImmutableDoubleCharMap newWithoutKey(double key)
    {
        MutableDoubleCharMap map = new DoubleCharHashMap(this.size());
View Full Code Here

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

    public ImmutableDoubleDoubleMap newWithKeyValue(double key, double value)
    {
        MutableDoubleDoubleMap map = new DoubleDoubleHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableDoubleDoubleMap newWithoutKey(double key)
    {
        MutableDoubleDoubleMap map = new DoubleDoubleHashMap(this.size());
View Full Code Here

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

    public ImmutableDoubleFloatMap newWithKeyValue(double key, float value)
    {
        MutableDoubleFloatMap map = new DoubleFloatHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableDoubleFloatMap newWithoutKey(double key)
    {
        MutableDoubleFloatMap map = new DoubleFloatHashMap(this.size());
View Full Code Here

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

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

    public ImmutableDoubleIntMap newWithoutKey(double key)
    {
        MutableDoubleIntMap map = new DoubleIntHashMap(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.