net.sf.gridarta.model.validation.errors
Class ValidationError.GameObjectFormatter
java.lang.Object
net.sf.gridarta.model.validation.errors.ValidationError.GameObjectFormatter
- All Implemented Interfaces:
- Serializable, Comparator<G>, ValidationError.Formatter<G>
- Enclosing class:
- ValidationError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
private class ValidationError.GameObjectFormatter
- extends Object
- implements ValidationError.Formatter<G>
A ValidationError.Formatter
for GameObjects
.
- 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.GameObjectFormatter
private ValidationError.GameObjectFormatter()
toString
@NotNull
public String toString(@NotNull
G obj)
- Description copied from interface:
ValidationError.Formatter
- Returns a string representation of an object.
- Specified by:
toString
in interface ValidationError.Formatter<G extends GameObject<G,A,R>>
- Parameters:
obj
- the object
- Returns:
- the string representation
compare
public int compare(@NotNull
G o1,
@NotNull
G o2)
- Specified by:
compare
in interface Comparator<G extends GameObject<G,A,R>>
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.