Package com.gs.collections.impl.list.mutable.primitive

Examples of com.gs.collections.impl.list.mutable.primitive.FloatArrayList


     */
    public static <K, V> MutableFloatCollection collectFloat(
            Map<K, V> map,
            FloatFunction<? super V> floatFunction)
    {
        return collectFloat(map, floatFunction, new FloatArrayList(map.size()));
    }
View Full Code Here


        return result;
    }

    public MutableFloatList collectFloat(FloatFunction<? super V> floatFunction)
    {
        FloatArrayList result = new FloatArrayList(this.size());
        this.forEach(new CollectFloatProcedure<V>(floatFunction, result));
        return result;
    }
View Full Code Here

        return result.toImmutable();
    }

    public ImmutableFloatList collectFloat(FloatFunction<? super V> floatFunction)
    {
        FloatArrayList result = new FloatArrayList(this.size());
        this.forEach(new CollectFloatProcedure<V>(floatFunction, result));
        return result.toImmutable();
    }
View Full Code Here

        return new float[0];
    }

    public MutableFloatList toSortedList()
    {
        return new FloatArrayList();
    }
View Full Code Here

        return ReverseFloatIterable.adapt(this);
    }

    public MutableFloatList toList()
    {
        return new FloatArrayList();
    }
View Full Code Here

    }

    public ImmutableFloatList select(FloatPredicate predicate)
    {
        return predicate.accept(this.element1) ? FloatArrayList.newListWith(this.element1).toImmutable()
                : new FloatArrayList().toImmutable();
    }
View Full Code Here

                : new FloatArrayList().toImmutable();
    }

    public ImmutableFloatList reject(FloatPredicate predicate)
    {
        return predicate.accept(this.element1) ? new FloatArrayList().toImmutable()
                : FloatArrayList.newListWith(this.element1).toImmutable();
    }
View Full Code Here

        return Float.compare(this.element1, element) == 0 ? FloatLists.immutable.with() : this;
    }

    public ImmutableFloatList newWithAll(FloatIterable elements)
    {
        FloatArrayList arrayList = FloatArrayList.newListWith(this.element1);
        arrayList.addAll(elements);
        return arrayList.toImmutable();
    }
View Full Code Here

    }

    @Override
    public MutableFloatList collectFloat(FloatFunction<? super T> floatFunction)
    {
        FloatArrayList result = new FloatArrayList(this.size());
        this.forEach(new CollectFloatProcedure<T>(floatFunction, result));
        return result;
    }
View Full Code Here

        return Bags.immutable.of();
    }

    public MutableFloatList toList()
    {
        return new FloatArrayList();
    }
View Full Code Here

TOP

Related Classes of com.gs.collections.impl.list.mutable.primitive.FloatArrayList

Copyright © 2018 www.massapicom. 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.