Class Shape3DOrderingComparator
java.lang.Object
org.stathissideris.ascii2image.core.Shape3DOrderingComparator
- All Implemented Interfaces:
Comparator<DiagramShape>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(DiagramShape shape1, DiagramShape shape2) Puts diagram shapes in pseudo-3d order starting from back to frontMethods 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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
Shape3DOrderingComparator
public Shape3DOrderingComparator()
-
-
Method Details
-
compare
Puts diagram shapes in pseudo-3d order starting from back to front- Specified by:
compare
in interfaceComparator<DiagramShape>
-