Examples of toImmutable()


Examples of com.gs.collections.impl.map.mutable.primitive.CharByteHashMap.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.impl.map.mutable.primitive.CharCharHashMap.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.impl.map.mutable.primitive.CharDoubleHashMap.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

Examples of com.gs.collections.impl.map.mutable.primitive.CharFloatHashMap.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.impl.map.mutable.primitive.CharIntHashMap.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.impl.map.mutable.primitive.CharLongHashMap.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.impl.map.mutable.primitive.CharShortHashMap.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.impl.map.mutable.primitive.DoubleBooleanHashMap.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.impl.map.mutable.primitive.DoubleByteHashMap.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.impl.map.mutable.primitive.DoubleCharHashMap.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
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.