SymbolTable { public SymbolTable(int numBuckets) { table = new StringViewMap<>(numBuckets); } SymbolTable(int numBuckets); void setInUse(); Set<K> keys(); V get(K symbol); Collection<V> values(); String dump(); abstract void add(V impl);  }
@Test public void testSymbolTable() { NameTable table = new NameTable(); NameRegistry registry = new NameRegistry(); registry.registerNames(table); Assert.assertEquals(table.get("ignored"), null); Assert.assertEquals(table.get("static"), new Name("static")); Assert.assertEquals(table.get("dynamic"), new Name("dynamic")); }