Package com.gs.collections.api.map.primitive

Examples of com.gs.collections.api.map.primitive.MutableByteLongMap.removeKey()


    public ImmutableByteLongMap newWithoutKey(byte key)
    {
        MutableByteLongMap map = new ByteLongHashMap(this.size());
        map.putAll(this);
        map.removeKey(key);
        return map.toImmutable();
    }

    public ImmutableByteLongMap newWithoutAllKeys(ByteIterable keys)
    {
View Full Code Here


        MutableByteLongMap map = new ByteLongHashMap(this.size());
        map.putAll(this);
        ByteIterator iterator = keys.byteIterator();
        while (iterator.hasNext())
        {
            map.removeKey(iterator.next());
        }
        return map.toImmutable();
    }

    public int 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.