
org.psjava.ds.heap.BinaryHeapFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of psjava Show documentation
Show all versions of psjava Show documentation
Problem Solving Library for Java
package org.psjava.ds.heap;
import java.util.Comparator;
import org.psjava.util.EmptyIterable;
public class BinaryHeapFactory implements HeapFactory {
@Override
public Heap create(Comparator comparator) {
return new BinaryHeap(new EmptyIterable(), comparator);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy