@Test public void replace12() throws Exception { Node<Integer, Integer> node = HAMT.<Integer, Integer>empty().plus(0, 1, 1, 1) .plus(0, 2, 2, 2) .plus(0, 1, 1, 1) .plus(0, 2, 2, 2); System.out.println(node); assertThat(node.size(), equalTo(2)); }
public static <K, V> Node<K, V> empty() { return EmptyNode.Instance; }
HAMT implements Serializable { public static <K, V> Node<K, V> empty() { return EmptyNode.Instance; } }
HAMT implements Serializable { public static <K, V> Node<K, V> empty() { return EmptyNode.Instance; }  }
HAMT implements Serializable { public static <K, V> Node<K, V> empty() { return EmptyNode.Instance; }  static Node<K, V> empty(); }
HAMT implements Serializable { public static <K, V> Node<K, V> empty() { return EmptyNode.Instance; }  static Node<K, V> empty();  }