public class PointRecordMap extends Object
| Constructor and Description |
|---|
PointRecordMap() |
PointRecordMap(Comparator<Record> comparator) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Record record)
|
void |
clear() |
boolean |
containsKey(Point point) |
List<Record> |
getAll() |
<V extends Record> |
getFirstMatch(Point point) |
Record |
getFirstMatch(Record record,
Filter<Record> filter) |
Set<Point> |
getKeys() |
List<Record> |
getMatches(Record record,
Filter<Record> filter) |
protected List<Record> |
getOrCreateRecords(PointDouble key) |
List<Record> |
getRecords(Point point) |
List<Record> |
getRecords(Record record) |
void |
initialize(Point point) |
boolean |
isRemoveEmptyLists() |
void |
remove(Record record) |
void |
setRemoveEmptyLists(boolean removeEmptyLists) |
int |
size() |
void |
sort(Record record) |
void |
write(Channel<Record> out) |
public PointRecordMap()
public PointRecordMap(Comparator<Record> comparator)
public void add(Record record)
pointObjects - The map of point objects.record - The object to add.public void clear()
public boolean containsKey(Point point)
protected List<Record> getOrCreateRecords(PointDouble key)
public void initialize(Point point)
public boolean isRemoveEmptyLists()
public void remove(Record record)
public void setRemoveEmptyLists(boolean removeEmptyLists)
public int size()
public void sort(Record record)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.