Examples of toImmutable()


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

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

    public ImmutableLongCharMap newWithoutKey(long key)
    {
        MutableLongCharMap map = new LongCharHashMap(this.size());
View Full Code Here

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

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

    public ImmutableLongDoubleMap newWithoutKey(long key)
    {
        MutableLongDoubleMap map = new LongDoubleHashMap(this.size());
View Full Code Here

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

    public ImmutableLongFloatMap newWithKeyValue(long key, float value)
    {
        MutableLongFloatMap map = new LongFloatHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableLongFloatMap newWithoutKey(long key)
    {
        MutableLongFloatMap map = new LongFloatHashMap(this.size());
View Full Code Here

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

    public ImmutableLongIntMap newWithKeyValue(long key, int value)
    {
        MutableLongIntMap map = new LongIntHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableLongIntMap newWithoutKey(long key)
    {
        MutableLongIntMap map = new LongIntHashMap(this.size());
View Full Code Here

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

    public ImmutableLongLongMap newWithKeyValue(long key, long value)
    {
        MutableLongLongMap map = new LongLongHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableLongLongMap newWithoutKey(long key)
    {
        MutableLongLongMap map = new LongLongHashMap(this.size());
View Full Code Here

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

    public ImmutableLongShortMap newWithKeyValue(long key, short value)
    {
        MutableLongShortMap map = new LongShortHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableLongShortMap newWithoutKey(long key)
    {
        MutableLongShortMap map = new LongShortHashMap(this.size());
View Full Code Here

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

    public ImmutableShortBooleanMap newWithKeyValue(short key, boolean value)
    {
        MutableShortBooleanMap map = new ShortBooleanHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableShortBooleanMap newWithoutKey(short key)
    {
        MutableShortBooleanMap map = new ShortBooleanHashMap(this.size());
View Full Code Here

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

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

    public ImmutableShortByteMap newWithoutKey(short key)
    {
        MutableShortByteMap map = new ShortByteHashMap(this.size());
View Full Code Here

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

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

    public ImmutableShortCharMap newWithoutKey(short key)
    {
        MutableShortCharMap map = new ShortCharHashMap(this.size());
View Full Code Here

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

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

    public ImmutableShortDoubleMap newWithoutKey(short key)
    {
        MutableShortDoubleMap map = new ShortDoubleHashMap(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.