private static class TileViewer.SortableImage extends java.lang.Object implements java.lang.Comparable<TileViewer.SortableImage>
Modifier and Type | Field and Description |
---|---|
java.awt.image.BufferedImage |
image |
int |
index |
Constructor and Description |
---|
SortableImage(java.awt.image.BufferedImage image,
int index) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TileViewer.SortableImage other) |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
public SortableImage(java.awt.image.BufferedImage image, int index)
public int compareTo(TileViewer.SortableImage other)
compareTo
in interface java.lang.Comparable<TileViewer.SortableImage>
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object