@Test public void doConvert() { Assert.assertEquals( "[10.91,-67.124]", converter.convert( new Location( 10.91, -67.124 ) ) ); }
@Nullable @Override public String doConvert( @Nonnull Location source ) throws ConversionException { return "[" + source.getLongitude() + "," + source.getLatitude() + "]"; }
LocationToStringConverter extends TypedConverter<Location, String> { @Nullable @Override public String doConvert( @Nonnull Location source ) throws ConversionException { return "[" + source.getLongitude() + "," + source.getLatitude() + "]"; } }
LocationToStringConverter extends TypedConverter<Location, String> { @Nullable @Override public String doConvert( @Nonnull Location source ) throws ConversionException { return "[" + source.getLongitude() + "," + source.getLatitude() + "]"; } LocationToStringConverter(); }
LocationToStringConverter extends TypedConverter<Location, String> { @Nullable @Override public String doConvert( @Nonnull Location source ) throws ConversionException { return "[" + source.getLongitude() + "," + source.getLatitude() + "]"; } LocationToStringConverter(); @Nullable @Override String doConvert( @Nonnull Location source ); }
LocationToStringConverter extends TypedConverter<Location, String> { @Nullable @Override public String doConvert( @Nonnull Location source ) throws ConversionException { return "[" + source.getLongitude() + "," + source.getLatitude() + "]"; } LocationToStringConverter(); @Nullable @Override String doConvert( @Nonnull Location source );  }