{ @Override Node construct( Object x ) { return new Node_URI( x ); } };
@Override public boolean equals( Object other ) { if ( this == other ) return true ; return other instanceof Node_URI && same( (Node_URI) other ); }
private static void storeURI(Document doc, Node_URI node) { String x = node.getURI() ; Field f = new Field(LARQ.fIndex, x, Field.Store.NO, Field.Index.TOKENIZED) ; doc.add(f) ; f = new Field(LARQ.fURI, x, Field.Store.YES, Field.Index.NO) ; doc.add(f) ; }
@Override public void write(Kryo kryo, Output output, Node_URI object) { output.writeString(object.getURI()); }
@Override public void write(Kryo kryo, Output output, Node_URI object) { output.writeString(object.getURI()); }