@Test public void read_from_json() throws JsonProcessingException { assertJsonRead( ID.of(9), new IntNode(9), ID.class ); }
public static ID of(int value) { Validate.isTrue(value > 0, "ID value must be greater than zero."); return new ID(value); }
ID implements Serializable { public static ID of(int value) { Validate.isTrue(value > 0, "ID value must be greater than zero."); return new ID(value); } }
ID implements Serializable { public static ID of(int value) { Validate.isTrue(value > 0, "ID value must be greater than zero."); return new ID(value); }  }
ID implements Serializable { public static ID of(int value) { Validate.isTrue(value > 0, "ID value must be greater than zero."); return new ID(value); }  static ID of(int value); @Override String toString(); int get(); boolean isSet(); static boolean isDefined(ID id); Optional<T> ifSet(Function<Integer, T> fn); }
ID implements Serializable { public static ID of(int value) { Validate.isTrue(value > 0, "ID value must be greater than zero."); return new ID(value); }  static ID of(int value); @Override String toString(); int get(); boolean isSet(); static boolean isDefined(ID id); Optional<T> ifSet(Function<Integer, T> fn); static ID NONE; }