SpotDiametrComparator
Contents
[
Hide
]
Inheritance: java.lang.Object
All Implemented Interfaces: java.util.Comparator
public class SpotDiametrComparator implements Comparator<Spot>
Spot diametrs comparator
Constructors
Constructor | Description |
---|---|
SpotDiametrComparator() |
Methods
Method | Description |
---|---|
compare(Spot spot1, Spot spot2) | Compare spots by diameters |
equals(Object arg0) | |
getClass() | |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
SpotDiametrComparator()
public SpotDiametrComparator()
compare(Spot spot1, Spot spot2)
public int compare(Spot spot1, Spot spot2)
Compare spots by diameters
Parameters:
Parameter | Type | Description |
---|---|---|
spot1 | Spot | Spot 1 |
spot2 | Spot | Spot 2 |
Returns: int -
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |