Package org.jrdf.util

Examples of org.jrdf.util.FlatteningThreeLongClosableIterator


    }

    public ClosableIterator<Long[]> iterator() {
        ClosableIterator<Map.Entry<Long, ClosableMap<Long, Set<Long>>>> iterator =
            new ClosableIteratorImpl<Map.Entry<Long, ClosableMap<Long, Set<Long>>>>(index.entrySet().iterator());
        return new FlatteningThreeLongClosableIterator(iterator);
    }
View Full Code Here


        ClosableMap<Long, ClosableMap<Long, ClosableMap<Long, Set<Long>>>> subIndex = index.get(first);
        if (subIndex != null) {
            ClosableMap<Long, ClosableMap<Long, Set<Long>>> map = subIndex.get(second);
            if (map != null) {
                Iterator<Map.Entry<Long, ClosableMap<Long, Set<Long>>>> entryIterator = map.entrySet().iterator();
                return new FlatteningThreeLongClosableIterator(
                        new ClosableIteratorImpl<Map.Entry<Long, ClosableMap<Long, Set<Long>>>>(entryIterator));
            }
        }
        return new LongArrayEmptyClosableIterator();
    }
View Full Code Here

TOP

Related Classes of org.jrdf.util.FlatteningThreeLongClosableIterator

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.