public class Point2DToleranceSortedArrayList extends Object implements Point2DToleranceSortedList
| Constructor and Description |
|---|
Point2DToleranceSortedArrayList(Point2DComparator comparator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Point2D e) |
boolean |
addAll(Collection<? extends Point2D> c) |
int |
binarySearch(Point2D p) |
void |
clear() |
Point2D |
get(double x) |
Point2D |
get(int index) |
Point2DComparator |
getComparator() |
double |
getMaxX() |
double |
getMaxY() |
double |
getMinX() |
double |
getMinY() |
double |
getTolerance() |
int |
indexOf(Point2D findPoint) |
boolean |
isEmpty() |
Iterator<Point2D> |
iterator() |
boolean |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
void |
setTolerance(double newTolerance) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Point2DToleranceSortedArrayList(Point2DComparator comparator)
public int size()
size in interface Point2DToleranceSortedListpublic double getTolerance()
getTolerance in interface Point2DToleranceSortedListpublic void setTolerance(double newTolerance)
setTolerance in interface Point2DToleranceSortedListpublic int binarySearch(Point2D p)
binarySearch in interface Point2DToleranceSortedListpublic boolean add(Point2D e)
add in interface Point2DToleranceSortedListpublic boolean addAll(Collection<? extends Point2D> c)
addAll in interface Point2DToleranceSortedListpublic boolean remove(Object o)
remove in interface Point2DToleranceSortedListpublic boolean removeAll(Collection<?> c)
removeAll in interface Point2DToleranceSortedListpublic double getMinY()
getMinY in interface Point2DToleranceSortedListpublic double getMaxY()
getMaxY in interface Point2DToleranceSortedListpublic double getMinX()
getMinX in interface Point2DToleranceSortedListpublic double getMaxX()
getMaxX in interface Point2DToleranceSortedListpublic Point2D get(int index)
get in interface Point2DToleranceSortedListpublic boolean remove(int index)
remove in interface Point2DToleranceSortedListpublic Point2D get(double x)
get in interface Point2DToleranceSortedListpublic int indexOf(Point2D findPoint)
indexOf in interface Point2DToleranceSortedListpublic Point2DComparator getComparator()
getComparator in interface Point2DToleranceSortedListpublic void clear()
clear in interface Point2DToleranceSortedListpublic boolean isEmpty()