@Test public void testIsRelative() { GraphName n = GraphName.of("name"); assertTrue(n.isRelative()); n = GraphName.of("/name"); assertFalse(n.isRelative()); }
public boolean isRelative() { return !isPrivate() && !isGlobal(); }
GraphName { public boolean isRelative() { return !isPrivate() && !isGlobal(); } }
GraphName { public boolean isRelative() { return !isPrivate() && !isGlobal(); } private  GraphName(String name); }
GraphName { public boolean isRelative() { return !isPrivate() && !isGlobal(); } 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 boolean isRelative() { return !isPrivate() && !isGlobal(); } 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);  }