@Test public void testCopyUntombed() { final SNode<String, String> snode = tnode.copyUntombed(); assertEquals(tnode.hashCode(), snode.hashCode()); assertSame(tnode.getKey(), snode.getKey()); assertSame(tnode.getValue(), snode.getValue()); }
SNode<K, V> copyUntombed() { return new SNode<>(key, value, hc); }
TNode extends MainNode<K, V> implements EntryNode<K, V> { SNode<K, V> copyUntombed() { return new SNode<>(key, value, hc); } }
TNode extends MainNode<K, V> implements EntryNode<K, V> { SNode<K, V> copyUntombed() { return new SNode<>(key, value, hc); } TNode(final K key, final V value, final int hc); }
TNode extends MainNode<K, V> implements EntryNode<K, V> { SNode<K, V> copyUntombed() { return new SNode<>(key, value, hc); } TNode(final K key, final V value, final int hc); @Override K getKey(); @Override V getValue(); @Override int hashCode(); @SuppressFBWarnings(value = "EQ_UNUSUAL", justification = "Equality handled by utility methods") @Override boolean equals(final Object obj); @Override String toString(); }
TNode extends MainNode<K, V> implements EntryNode<K, V> { SNode<K, V> copyUntombed() { return new SNode<>(key, value, hc); } TNode(final K key, final V value, final int hc); @Override K getKey(); @Override V getValue(); @Override int hashCode(); @SuppressFBWarnings(value = "EQ_UNUSUAL", justification = "Equality handled by utility methods") @Override boolean equals(final Object obj); @Override String toString();  }