Gridarta 9211
API Documentation

net.sf.gridarta.model.validation.errors
Class ValidationError.MapSquareFormatter

java.lang.Object
  extended by 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

Field Summary
private static long serialVersionUID
          The serial version UID.
 
Constructor Summary
private ValidationError.MapSquareFormatter()
           
 
Method Summary
 int compare(MapSquare<G,A,R> o1, MapSquare<G,A,R> o2)
           
 String toString(MapSquare<G,A,R> obj)
          Returns a string representation of an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The serial version UID.

See Also:
Constant Field Values
Constructor Detail

ValidationError.MapSquareFormatter

private ValidationError.MapSquareFormatter()
Method Detail

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>>>

Gridarta 9211
API Documentation

SourceForge.net Logo Support This Project freshmeat.net Valid CSS! Feedback: webmaster