NodeId { @Override public String toString() { if ( this == NodeDoesNotExist ) return "[DoesNotExist]"; if ( this == NodeIdAny ) return "[Any]"; return String.format("[%016X]", value); } NodeId(long v); static NodeId create(long value); static NodeId create(byte[] b); static NodeId create(ByteBuffer b); static NodeId create(byte[] b, int idx); static NodeId create(ByteBuffer b, int idx); void toByteBuffer(ByteBuffer b, int idx); void toBytes(byte[] b, int idx); boolean isDirect(); int type(); long getId(); @Override int hashCode(); @Override boolean equals(Object other); @Override String toString(); static NodeId inline(Node node); static boolean hasInlineDatatype(Node node); static boolean isInline(NodeId nodeId); static Node extract(NodeId nodeId); final boolean isConcrete(); static final boolean isConcrete(NodeId nodeId); static final boolean isAny(NodeId nodeId); static final boolean isDoesNotExist(NodeId nodeId); static final NodeId NodeDoesNotExist; static final NodeId NodeIdAny; static final int SIZE; static final int NONE; static final int INTEGER; static final int DECIMAL; static final int DATE; static final int DATETIME; static final int BOOLEAN; static final int SHORT_STRING; static final int SPECIAL; }
@Test public void nodeId_int_10() { test("\""+Long.toString(X)+"\"^^xsd:integer", (Node)null) ; }
@Test public void nodeId_int_11() { Node n = NodeValue.makeInteger(X-1).asNode() ; test("\""+Long.toString(X-1)+"\"^^xsd:integer", n) ; }
@Test public void nodeId_int_12() { test("\""+Long.toString(Y)+"\"^^xsd:integer", (Node)null) ; }
@Test public void nodeId_int_13() { Node n = NodeValue.makeInteger(Y+1).asNode() ; test("\""+Long.toString(Y+1)+"\"^^xsd:integer", n) ; }