Interface Formatter<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>,O>
-
- Type Parameters:
O- the object type to format
- All Superinterfaces:
java.util.Comparator<O>,java.io.Serializable
- All Known Implementing Classes:
GameObjectFormatter,MapSquareFormatter
public interface Formatter<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>,O> extends java.util.Comparator<O>, java.io.SerializableInterface for formatting objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.lang.StringtoString(O obj)Returns a string representation of an object.
-
-
-
Method Detail
-
toString
@NotNull @NotNull java.lang.String toString(@NotNull O obj)Returns a string representation of an object.- Parameters:
obj- the object- Returns:
- the string representation
-
-