@Test public void transformFirstRawValue$singleValued() { ImmutableQueryParameter parameter = singleValuedParameter(); Float value = parameter.rawValueAs(Float.class); assertThat(value,equalTo(3.3f)); }
@Override public <T> T rawValueAs(Class<? extends T> clazz) { return ObjectUtil.fromString(clazz, rawValue()); }
ImmutableQueryParameter implements Parameter { @Override public <T> T rawValueAs(Class<? extends T> clazz) { return ObjectUtil.fromString(clazz, rawValue()); } }
ImmutableQueryParameter implements Parameter { @Override public <T> T rawValueAs(Class<? extends T> clazz) { return ObjectUtil.fromString(clazz, rawValue()); } private  ImmutableQueryParameter(String name, ImmutableList<String> rawValues); }
ImmutableQueryParameter implements Parameter { @Override public <T> T rawValueAs(Class<? extends T> clazz) { return ObjectUtil.fromString(clazz, rawValue()); } private  ImmutableQueryParameter(String name, ImmutableList<String> rawValues); @Override String name(); @Override boolean isMultivalued(); @Override int cardinality(); @Override String rawValue(); @Override List<String> rawValues(); @Override T rawValueAs(Class<? extends T> clazz); @Override List<T> rawValuesAs(Class<? extends T> clazz); @Override String toString(); }
ImmutableQueryParameter implements Parameter { @Override public <T> T rawValueAs(Class<? extends T> clazz) { return ObjectUtil.fromString(clazz, rawValue()); } private  ImmutableQueryParameter(String name, ImmutableList<String> rawValues); @Override String name(); @Override boolean isMultivalued(); @Override int cardinality(); @Override String rawValue(); @Override List<String> rawValues(); @Override T rawValueAs(Class<? extends T> clazz); @Override List<T> rawValuesAs(Class<? extends T> clazz); @Override String toString();  }