Package org.jrdf.util

Examples of org.jrdf.util.FlatteningTwoLongClosableIterator


    public ClosableIterator<Long[]> getSubIndex(Long first) {
        final ClosableMap<Long, Set<Long>> longSetClosableMap = index.get(first);
        if (longSetClosableMap == null) {
            return new LongArrayEmptyClosableIterator();
        } else {
            return new FlatteningTwoLongClosableIterator(longSetClosableMap);
        }
    }
View Full Code Here


        if (subIndex != null) {
            ClosableMap<Long, ClosableMap<Long, Set<Long>>> subSubIndex = subIndex.get(second);
            if (subSubIndex != null) {
                final ClosableMap<Long, Set<Long>> map = subSubIndex.get(third);
                if (map != null) {
                    return new FlatteningTwoLongClosableIterator(map);
                }
            }
        }
        return new LongArrayEmptyClosableIterator();
    }
View Full Code Here

TOP

Related Classes of org.jrdf.util.FlatteningTwoLongClosableIterator

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.