@Test public void testHashCode() { Identifier id = new IdentifierImpl("com:test"); assertTrue(id.hashCode() != 0); }
@Override public int hashCode() { URI thisURI = this.getUri(); return (thisURI == null ? super.hashCode() : thisURI.hashCode()); }
IdentifierImpl implements Identifier { @Override public int hashCode() { URI thisURI = this.getUri(); return (thisURI == null ? super.hashCode() : thisURI.hashCode()); } }
IdentifierImpl implements Identifier { @Override public int hashCode() { URI thisURI = this.getUri(); return (thisURI == null ? super.hashCode() : thisURI.hashCode()); } IdentifierImpl(URI uriIn);  IdentifierImpl(String idIn);  IdentifierImpl(Identifier identifierBase, String id); }
IdentifierImpl implements Identifier { @Override public int hashCode() { URI thisURI = this.getUri(); return (thisURI == null ? super.hashCode() : thisURI.hashCode()); } IdentifierImpl(URI uriIn);  IdentifierImpl(String idIn);  IdentifierImpl(Identifier identifierBase, String id); static Identifier gensym(String pfx); static Identifier gensym(); @Override URI getUri(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String stringValue(); }
IdentifierImpl implements Identifier { @Override public int hashCode() { URI thisURI = this.getUri(); return (thisURI == null ? super.hashCode() : thisURI.hashCode()); } IdentifierImpl(URI uriIn);  IdentifierImpl(String idIn);  IdentifierImpl(Identifier identifierBase, String id); static Identifier gensym(String pfx); static Identifier gensym(); @Override URI getUri(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String stringValue();  }