This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class LinkedSet<Row> { | |
/* "Empty" list, is first and last with null values - first & last are same */ | |
private Node first = null; | |
private Node last = null; | |
private Map<Row, Node> index = new HashMap<Row, Node>(); | |
/* Linked-list node */ | |
private final class Node { |
OlderNewer