@Test public void getName() throws Exception { String name = new AttributeKey<Number>(Number.class, "keyName").getName(); assertThat(name, is("keyName")); }
public String getName() { return attributeName; }
AttributeKey { public String getName() { return attributeName; } }
AttributeKey { public String getName() { return attributeName; } AttributeKey(Class<T> attributeType, String attributeName); }
AttributeKey { public String getName() { return attributeName; } AttributeKey(Class<T> attributeType, String attributeName); static AttributeKey<T> createKey(Class<T> attributeType, String attributeName); String getName(); Class<T> getType(); @Override int hashCode(); @Override boolean equals(Object obj); }
AttributeKey { public String getName() { return attributeName; } AttributeKey(Class<T> attributeType, String attributeName); static AttributeKey<T> createKey(Class<T> attributeType, String attributeName); String getName(); Class<T> getType(); @Override int hashCode(); @Override boolean equals(Object obj);  }