Examples of toImmutable()


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

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

    public ImmutableShortFloatMap newWithKeyValue(short key, float value)
    {
        MutableShortFloatMap map = new ShortFloatHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableShortFloatMap newWithoutKey(short key)
    {
        MutableShortFloatMap map = new ShortFloatHashMap(this.size());
View Full Code Here

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

    public ImmutableShortIntMap newWithKeyValue(short key, int value)
    {
        MutableShortIntMap map = new ShortIntHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableShortIntMap newWithoutKey(short key)
    {
        MutableShortIntMap map = new ShortIntHashMap(this.size());
View Full Code Here

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

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

    public ImmutableShortLongMap newWithoutKey(short key)
    {
        MutableShortLongMap map = new ShortLongHashMap(this.size());
View Full Code Here

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

    public ImmutableShortShortMap newWithKeyValue(short key, short value)
    {
        MutableShortShortMap map = new ShortShortHashMap(this.size() + 1);
        map.putAll(this);
        map.put(key, value);
        return map.toImmutable();
    }

    public ImmutableShortShortMap newWithoutKey(short key)
    {
        MutableShortShortMap map = new ShortShortHashMap(this.size());
View Full Code Here

Examples of com.gs.collections.impl.set.mutable.primitive.BooleanHashSet.toImmutable()

    public ImmutableBooleanSet collectBoolean(BooleanFunction<? super T> booleanFunction)
    {
        BooleanHashSet result = new BooleanHashSet();
        this.forEach(new CollectBooleanProcedure<T>(booleanFunction, result));
        return result.toImmutable();
    }

    public ImmutableByteSet collectByte(ByteFunction<? super T> byteFunction)
    {
        ByteHashSet result = new ByteHashSet(this.size());
View Full Code Here

Examples of com.gs.collections.impl.set.mutable.primitive.ByteHashSet.toImmutable()

    public ImmutableByteSet collectByte(ByteFunction<? super T> byteFunction)
    {
        ByteHashSet result = new ByteHashSet(this.size());
        this.forEach(new CollectByteProcedure<T>(byteFunction, result));
        return result.toImmutable();
    }

    public ImmutableCharSet collectChar(CharFunction<? super T> charFunction)
    {
        CharHashSet result = new CharHashSet(this.size());
View Full Code Here

Examples of com.gs.collections.impl.set.mutable.primitive.CharHashSet.toImmutable()

    public ImmutableCharSet collectChar(CharFunction<? super T> charFunction)
    {
        CharHashSet result = new CharHashSet(this.size());
        this.forEach(new CollectCharProcedure<T>(charFunction, result));
        return result.toImmutable();
    }

    public ImmutableDoubleSet collectDouble(DoubleFunction<? super T> doubleFunction)
    {
        DoubleHashSet result = new DoubleHashSet(this.size());
View Full Code Here

Examples of com.gs.collections.impl.set.mutable.primitive.DoubleHashSet.toImmutable()

    public ImmutableDoubleSet collectDouble(DoubleFunction<? super T> doubleFunction)
    {
        DoubleHashSet result = new DoubleHashSet(this.size());
        this.forEach(new CollectDoubleProcedure<T>(doubleFunction, result));
        return result.toImmutable();
    }

    public ImmutableFloatSet collectFloat(FloatFunction<? super T> floatFunction)
    {
        FloatHashSet result = new FloatHashSet(this.size());
View Full Code Here

Examples of com.gs.collections.impl.set.mutable.primitive.FloatHashSet.toImmutable()

    public ImmutableFloatSet collectFloat(FloatFunction<? super T> floatFunction)
    {
        FloatHashSet result = new FloatHashSet(this.size());
        this.forEach(new CollectFloatProcedure<T>(floatFunction, result));
        return result.toImmutable();
    }

    public ImmutableIntSet collectInt(IntFunction<? super T> intFunction)
    {
        IntHashSet result = new IntHashSet(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.