@Test public void testExists() { String name = "test"; assertFalse(AttributeKey.exists(name)); AttributeKey<String> attr = AttributeKey.valueOf(name); assertTrue(AttributeKey.exists(name)); assertNotNull(attr); }
public static boolean exists(String name) { checkNotNull(name, "name"); return names.containsKey(name); }
AttributeKey extends UniqueName { public static boolean exists(String name) { checkNotNull(name, "name"); return names.containsKey(name); } }
AttributeKey extends UniqueName { public static boolean exists(String name) { checkNotNull(name, "name"); return names.containsKey(name); } @Deprecated  AttributeKey(String name); }
AttributeKey extends UniqueName { public static boolean exists(String name) { checkNotNull(name, "name"); return names.containsKey(name); } @Deprecated  AttributeKey(String name); @SuppressWarnings("unchecked") static AttributeKey<T> valueOf(String name); static boolean exists(String name); @SuppressWarnings("unchecked") static AttributeKey<T> newInstance(String name); }
AttributeKey extends UniqueName { public static boolean exists(String name) { checkNotNull(name, "name"); return names.containsKey(name); } @Deprecated  AttributeKey(String name); @SuppressWarnings("unchecked") static AttributeKey<T> valueOf(String name); static boolean exists(String name); @SuppressWarnings("unchecked") static AttributeKey<T> newInstance(String name);  }