Examples of toImmutable()


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

    public ImmutableDoubleLongMap newWithKeyValue(double key, long value)
    {
        MutableDoubleLongMap map = new DoubleLongHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableDoubleLongMap newWithoutKey(double key)
    {
        MutableDoubleLongMap map = new DoubleLongHashMap(this.size());
View Full Code Here

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

    public ImmutableDoubleShortMap newWithKeyValue(double key, short value)
    {
        MutableDoubleShortMap map = new DoubleShortHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableDoubleShortMap newWithoutKey(double key)
    {
        MutableDoubleShortMap map = new DoubleShortHashMap(this.size());
View Full Code Here

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

    public ImmutableFloatBooleanMap newWithKeyValue(float key, boolean value)
    {
        MutableFloatBooleanMap map = new FloatBooleanHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableFloatBooleanMap newWithoutKey(float key)
    {
        MutableFloatBooleanMap map = new FloatBooleanHashMap(this.size());
View Full Code Here

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

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

    public ImmutableFloatByteMap newWithoutKey(float key)
    {
        MutableFloatByteMap map = new FloatByteHashMap(this.size());
View Full Code Here

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

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

    public ImmutableFloatCharMap newWithoutKey(float key)
    {
        MutableFloatCharMap map = new FloatCharHashMap(this.size());
View Full Code Here

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

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

    public ImmutableFloatDoubleMap newWithoutKey(float key)
    {
        MutableFloatDoubleMap map = new FloatDoubleHashMap(this.size());
View Full Code Here

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

    public ImmutableFloatFloatMap newWithKeyValue(float key, float value)
    {
        MutableFloatFloatMap map = new FloatFloatHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableFloatFloatMap newWithoutKey(float key)
    {
        MutableFloatFloatMap map = new FloatFloatHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.api.map.primitive.MutableFloatIntMap.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.api.map.primitive.MutableFloatLongMap.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.api.map.primitive.MutableFloatShortMap.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
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.