Package com.alexkasko.unsafe.offheaplong

Examples of com.alexkasko.unsafe.offheaplong.OffHeapLongComparator


        }
        OffHeapLongArray indices = new OffHeapLongArray(toIndex - fromIndex);
        for (long i = fromIndex; i < toIndex; i++) {
            indices.set(i, i);
        }
        OffHeapLongComparator indexComp = new OffHeapReferenceComparator(a, comparator);
        OffHeapLongSorter.sort(indices, indexComp);
        return new ReferenceIterable(a, indices);
    }
View Full Code Here


        }
        OffHeapLongArray indices = new OffHeapLongArray(toIndex - fromIndex);
        for (long i = fromIndex; i < toIndex; i++) {
            indices.set(i, i);
        }
        OffHeapLongComparator indexComp = new OffHeapReferenceComparator(a, comparator);
        OffHeapLongSorter.sort(indices, indexComp);
        return new ReferenceIterable(a, indices);
    }
View Full Code Here

TOP

Related Classes of com.alexkasko.unsafe.offheaplong.OffHeapLongComparator

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.