Examples of toImmutable()


Examples of com.gs.collections.api.list.primitive.MutableBooleanList.toImmutable()

    public ImmutableBooleanList newWithoutAll(BooleanIterable elements)
    {
        MutableBooleanList list = this.toList();
        list.removeAll(elements);
        return list.toImmutable();
    }

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

Examples of com.gs.collections.api.list.primitive.MutableByteList.toImmutable()

    public ImmutableByteList newWithoutAll(ByteIterable elements)
    {
        MutableByteList mutableByteList = this.toList();
        mutableByteList.removeAll(elements);
        return mutableByteList.toImmutable();
    }

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

Examples of com.gs.collections.api.list.primitive.MutableCharList.toImmutable()

    public ImmutableCharList newWithoutAll(CharIterable elements)
    {
        MutableCharList mutableCharList = this.toList();
        mutableCharList.removeAll(elements);
        return mutableCharList.toImmutable();
    }

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

Examples of com.gs.collections.api.list.primitive.MutableDoubleList.toImmutable()

    public ImmutableDoubleList newWithoutAll(DoubleIterable elements)
    {
        MutableDoubleList mutableDoubleList = this.toList();
        mutableDoubleList.removeAll(elements);
        return mutableDoubleList.toImmutable();
    }

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

Examples of com.gs.collections.api.list.primitive.MutableFloatList.toImmutable()

    public ImmutableFloatList newWithoutAll(FloatIterable elements)
    {
        MutableFloatList mutableFloatList = this.toList();
        mutableFloatList.removeAll(elements);
        return mutableFloatList.toImmutable();
    }

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

Examples of com.gs.collections.api.list.primitive.MutableIntList.toImmutable()

    public ImmutableIntList newWithoutAll(IntIterable elements)
    {
        MutableIntList mutableIntList = this.toList();
        mutableIntList.removeAll(elements);
        return mutableIntList.toImmutable();
    }

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

Examples of com.gs.collections.api.list.primitive.MutableLongList.toImmutable()

    public ImmutableLongList newWithoutAll(LongIterable elements)
    {
        MutableLongList mutableLongList = this.toList();
        mutableLongList.removeAll(elements);
        return mutableLongList.toImmutable();
    }

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

Examples of com.gs.collections.api.list.primitive.MutableShortList.toImmutable()

    public ImmutableShortList newWithoutAll(ShortIterable elements)
    {
        MutableShortList mutableShortList = this.toList();
        mutableShortList.removeAll(elements);
        return mutableShortList.toImmutable();
    }

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

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

    public ImmutableByteBooleanMap newWithKeyValue(byte key, boolean value)
    {
        MutableByteBooleanMap map = new ByteBooleanHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableByteBooleanMap newWithoutKey(byte key)
    {
        MutableByteBooleanMap map = new ByteBooleanHashMap(this.size());
View Full Code Here

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

    public ImmutableByteByteMap newWithKeyValue(byte key, byte value)
    {
        MutableByteByteMap map = new ByteByteHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableByteByteMap newWithoutKey(byte key)
    {
        MutableByteByteMap map = new ByteByteHashMap(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.