| Package | Description |
|---|---|
| com.github.davidmoten.rtree2 |
| Modifier and Type | Method and Description |
|---|---|
RTree<T,S> |
RTree.add(Entry<? extends T,? extends S> entry)
Returns an immutable copy of the RTree with the addition of given entry.
|
RTree<T,S> |
RTree.add(Iterable<Entry<T,S>> entries)
Returns an immutable RTree with the current entries and the additional
entries supplied as a parameter.
|
RTree<T,S> |
RTree.add(T value,
S geometry)
Returns an immutable copy of the RTree with the addition of an entry
comprised of the given value and Geometry.
|
static <T,S extends Geometry> |
RTree.create()
Returns a new Builder instance for
RTree. |
<T,S extends Geometry> |
RTree.Builder.create()
Builds the
RTree. |
static <T,S extends Geometry> |
RTree.create(List<Entry<T,S>> entries)
Construct an Rtree through STR bulk loading.
|
<T,S extends Geometry> |
RTree.Builder.create(List<Entry<T,S>> entries)
Create an RTree by bulk loading, using the STR method.
|
RTree<T,S> |
RTree.delete(Entry<? extends T,? extends S> entry)
Deletes one entry if it exists, returning an immutable copy of the RTree
without that entry.
|
RTree<T,S> |
RTree.delete(Entry<? extends T,? extends S> entry,
boolean all)
Deletes one or all matching entries depending on the value of
all. |
RTree<T,S> |
RTree.delete(Iterable<Entry<T,S>> entries)
Returns a new R-tree with the given entries deleted but only one matching
occurence of each entry is deleted.
|
RTree<T,S> |
RTree.delete(Iterable<Entry<T,S>> entries,
boolean all)
Returns a new R-tree with the given entries deleted.
|
RTree<T,S> |
RTree.delete(T value,
S geometry)
Deletes maximum one entry matching the given value and geometry.
|
RTree<T,S> |
RTree.delete(T value,
S geometry,
boolean all)
If
all is false deletes one entry matching the given value and
Geometry. |
Copyright © 2013–2022. All rights reserved.