documentation/manual/working/javaGuide/advanced/routing/code/javaguide/binder/models/AgeRange.java
@Override
  public Optional<AgeRange> bind(String key, Map<String, String[]> data) {

    try {
      from = Integer.valueOf(data.get("from")[0]);
      to = Integer.valueOf(data.get("to")[0]);
      return Optional.of(this);

    } catch (Exception e) { // no parameter match return None
      return Optional.empty();
    }
  }
@Override
  public Optional<AgeRange> bind(String key, Map<String, String[]> data) {

    try {
      from = Integer.valueOf(data.get("from")[0]);
      to = Integer.valueOf(data.get("to")[0]);
      return Optional.of(this);

    } catch (Exception e) { // no parameter match return None
      return Optional.empty();
    }
  }
@ Override public Optional < AgeRange > bind ( String key , Map < String , String [ ] > data ) { try { from = Integer . valueOf ( data . get ( "from" ) [ 0 ] ) ; to = Integer . valueOf ( data . get ( "to" ) [ 0 ] ) ; return Optional . of ( this ) ; } catch ( Exception e ) { // no parameter match return None return Optional . empty ( ) ; } }
#bind
#bind