Package com.gs.collections.api.collection.primitive

Examples of com.gs.collections.api.collection.primitive.MutableLongCollection


     */
    public static <T> MutableLongCollection collectLong(
            Iterator<T> iterator,
            LongFunction<? super T> longFunction)
    {
        MutableLongCollection result = new LongArrayList();
        while (iterator.hasNext())
        {
            result.add(longFunction.longValueOf(iterator.next()));
        }
        return result;
    }
View Full Code Here

TOP

Related Classes of com.gs.collections.api.collection.primitive.MutableLongCollection

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.