@Test public void testToString() { assertThat(converter.toString(IVector.class, Vector2.fromXY(42, 1337))).isEqualTo("42.0;1337.0"); assertThat(converter.toString(IVector2.class, Vector2.fromXY(42, 1337))).isEqualTo("42.0;1337.0"); assertThat(converter.toString(IVector3.class, Vector3.fromXYZ(42, 1337, 3.14))).isEqualTo("42.0;1337.0;3.14"); assertThat(converter.toString(IVectorN.class, VectorN.from(42, 1337, 3.14, -5))) .isEqualTo("42.0;1337.0;3.14;-5.0"); }
@Override public String toString(final Class<?> impl, final Object value) { IVector vec = (IVector) value; return vec.getSaveableString(); }
VectorConverter implements IString2ValueConverter { @Override public String toString(final Class<?> impl, final Object value) { IVector vec = (IVector) value; return vec.getSaveableString(); } }
VectorConverter implements IString2ValueConverter { @Override public String toString(final Class<?> impl, final Object value) { IVector vec = (IVector) value; return vec.getSaveableString(); }  }
VectorConverter implements IString2ValueConverter { @Override public String toString(final Class<?> impl, final Object value) { IVector vec = (IVector) value; return vec.getSaveableString(); }  @Override boolean supportedClass(final Class<?> impl); @Override Object parseString(final Class<?> impl, final String value); @Override String toString(final Class<?> impl, final Object value); }
VectorConverter implements IString2ValueConverter { @Override public String toString(final Class<?> impl, final Object value) { IVector vec = (IVector) value; return vec.getSaveableString(); }  @Override boolean supportedClass(final Class<?> impl); @Override Object parseString(final Class<?> impl, final String value); @Override String toString(final Class<?> impl, final Object value);  }