Examples of toImmutable()


Examples of com.gs.collections.impl.map.mutable.primitive.LongByteHashMap.toImmutable()

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

    public ImmutableLongByteMap newWithoutKey(long key)
    {
        MutableLongByteMap map = new LongByteHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.impl.map.mutable.primitive.LongCharHashMap.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.impl.map.mutable.primitive.LongDoubleHashMap.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.impl.map.mutable.primitive.LongFloatHashMap.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.impl.map.mutable.primitive.LongIntHashMap.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.impl.map.mutable.primitive.LongLongHashMap.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.impl.map.mutable.primitive.LongShortHashMap.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.impl.map.mutable.primitive.ShortBooleanHashMap.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.impl.map.mutable.primitive.ShortByteHashMap.toImmutable()

        ShortIterator iterator = keys.shortIterator();
        while (iterator.hasNext())
        {
            map.removeKey(iterator.next());
        }
        return map.toImmutable();
    }

    public int size()
    {
        return this.delegate.size();
View Full Code Here

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