@Test public void testValidNames() { String[] valid = { "", "abc", "ab7", "ab7_kdfJKSDJFGkd", "/abc", "/", "~private", "~private/something", "/global", "/global/", "/global/local" }; for (String v : valid) { GraphName.of(v); } }
public static GraphName of(String name) { return new GraphName(canonicalize(name)); }
GraphName { public static GraphName of(String name) { return new GraphName(canonicalize(name)); } }
GraphName { public static GraphName of(String name) { return new GraphName(canonicalize(name)); } private  GraphName(String name); }
GraphName { public static GraphName of(String name) { return new GraphName(canonicalize(name)); } private  GraphName(String name); static GraphName newAnonymous(); static GraphName root(); static GraphName empty(); static GraphName of(String name); boolean isGlobal(); boolean isRoot(); boolean isEmpty(); boolean isPrivate(); boolean isRelative(); GraphName getParent(); GraphName getBasename(); GraphName toRelative(); GraphName toGlobal(); GraphName join(GraphName other); GraphName join(String other); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
GraphName { public static GraphName of(String name) { return new GraphName(canonicalize(name)); } private  GraphName(String name); static GraphName newAnonymous(); static GraphName root(); static GraphName empty(); static GraphName of(String name); boolean isGlobal(); boolean isRoot(); boolean isEmpty(); boolean isPrivate(); boolean isRelative(); GraphName getParent(); GraphName getBasename(); GraphName toRelative(); GraphName toGlobal(); GraphName join(GraphName other); GraphName join(String other); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }