@Test public void testToCypherNumber() { value = new IdValueTypeSafe(new BigInteger("1")); Assert.assertEquals("1", value.toCypher()); }
public String toCypher(){ if(isString()) { return "'"+toString().replaceAll("'", "\\\\'")+"'"; } return toString(); }
IdValueTypeSafe { public String toCypher(){ if(isString()) { return "'"+toString().replaceAll("'", "\\\\'")+"'"; } return toString(); } }
IdValueTypeSafe { public String toCypher(){ if(isString()) { return "'"+toString().replaceAll("'", "\\\\'")+"'"; } return toString(); } IdValueTypeSafe(Object value); }
IdValueTypeSafe { public String toCypher(){ if(isString()) { return "'"+toString().replaceAll("'", "\\\\'")+"'"; } return toString(); } IdValueTypeSafe(Object value); String toCypher(); boolean isString(); boolean isNumber(); Object getValue(); @Override String toString(); }
IdValueTypeSafe { public String toCypher(){ if(isString()) { return "'"+toString().replaceAll("'", "\\\\'")+"'"; } return toString(); } IdValueTypeSafe(Object value); String toCypher(); boolean isString(); boolean isNumber(); Object getValue(); @Override String toString();  }