Examples of FloatArrayStack


Examples of com.gs.collections.impl.stack.mutable.primitive.FloatArrayStack

        return this.delegate.collectDouble(doubleFunction, target);
    }

    public ImmutableFloatStack collectFloat(final FloatFunction<? super T> floatFunction)
    {
        final FloatArrayStack result = new FloatArrayStack();
        this.delegate.forEach(new Procedure<T>()
        {
            public void value(T each)
            {
                result.push(floatFunction.floatValueOf(each));
            }
        });
        return result.toImmutable();
    }
View Full Code Here

Examples of com.gs.collections.impl.stack.mutable.primitive.FloatArrayStack

        return this.delegate.collectDouble(doubleFunction, target);
    }

    public MutableFloatStack collectFloat(final FloatFunction<? super T> floatFunction)
    {
        final FloatArrayStack result = new FloatArrayStack();
        this.delegate.forEach(new Procedure<T>()
        {
            public void value(T each)
            {
                result.push(floatFunction.floatValueOf(each));
            }
        });
        return result;
    }
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.