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

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


        return this.delegate.collectChar(charFunction, target);
    }

    public ImmutableDoubleStack collectDouble(final DoubleFunction<? super T> doubleFunction)
    {
        final DoubleArrayStack result = new DoubleArrayStack();
        this.delegate.forEach(new Procedure<T>()
        {
            public void value(T each)
            {
                result.push(doubleFunction.doubleValueOf(each));
            }
        });
        return result.toImmutable();
    }
View Full Code Here


        return this.delegate.collectChar(charFunction, target);
    }

    public MutableDoubleStack collectDouble(final DoubleFunction<? super T> doubleFunction)
    {
        final DoubleArrayStack result = new DoubleArrayStack();
        this.delegate.forEach(new Procedure<T>()
        {
            public void value(T each)
            {
                result.push(doubleFunction.doubleValueOf(each));
            }
        });
        return result;
    }
View Full Code Here

TOP

Related Classes of com.gs.collections.impl.stack.mutable.primitive.DoubleArrayStack

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.