net.sf.gridarta.model.validation.errors
Class ValidationError.MapSquareFormatter
java.lang.Object
net.sf.gridarta.model.validation.errors.ValidationError.MapSquareFormatter
- All Implemented Interfaces:
- Serializable, Comparator<MapSquare<G,A,R>>, ValidationError.Formatter<MapSquare<G,A,R>>
- Enclosing class:
- ValidationError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
private class ValidationError.MapSquareFormatter
- extends Object
- implements ValidationError.Formatter<MapSquare<G,A,R>>
A ValidationError.Formatter
for MapSquares
.
- Author:
- Andreas Kirschbaum
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- The serial version UID.
- See Also:
- Constant Field Values
ValidationError.MapSquareFormatter
private ValidationError.MapSquareFormatter()
toString
@NotNull
public String toString(@NotNull
MapSquare<G,A,R> obj)
- Description copied from interface:
ValidationError.Formatter
- Returns a string representation of an object.
- Specified by:
toString
in interface ValidationError.Formatter<MapSquare<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>>
- Parameters:
obj
- the object
- Returns:
- the string representation
compare
public int compare(@NotNull
MapSquare<G,A,R> o1,
@NotNull
MapSquare<G,A,R> o2)
- Specified by:
compare
in interface Comparator<MapSquare<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>>
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.