Package org.apache.jackrabbit.oak.plugins.mongomk

Examples of org.apache.jackrabbit.oak.plugins.mongomk.StableRevisionComparator


    @Ignore("OAK-1233")
    @Test
    public void testData(){
        List<Iterator<Revision>> iterators = prepareData();
        final Iterator<Iterator<Revision>> it = iterators.iterator();
        final Comparator<Revision> comp = Collections.reverseOrder(new StableRevisionComparator());
        MergeSortedIterators<Revision> sort = new MergeSortedIterators<Revision>(comp) {
            @Override
            public Iterator<Revision> nextIterator() {
                return it.hasNext() ? it.next() : null;
            }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.plugins.mongomk.StableRevisionComparator

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.