
com.jamieswhiteshirt.rtree3i.Node Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rtree-3i-lite Show documentation
Show all versions of rtree-3i-lite Show documentation
Immutable map applying a spatial index to keys based on R-Trees
The newest version!
package com.jamieswhiteshirt.rtree3i;
import java.util.List;
import java.util.function.BiFunction;
import java.util.function.Consumer;
import java.util.function.Predicate;
interface Node {
List> put(Box box, Entry entry, Configuration configuration);
List> putBucket(Bucket bucket, Configuration configuration);
NodeAndEntries remove(Box box, Entry entry, Configuration configuration);
NodeAndEntries remove(Box box, K key, Configuration configuration);
Entry get(Box box, K key);
void forEach(Predicate super Box> boxPredicate, Consumer super Entry> action);
boolean anyMatch(Predicate super Box> boxPredicate, Predicate super Entry> entryPredicate);
boolean allMatch(Predicate super Box> boxPredicate, Predicate super Entry> entryPredicate);
T reduce(Predicate super Box> boxPredicate, T identity, BiFunction, T> operator);
int count(Predicate super Box> boxPredicate, Predicate super Entry> entryPredicate);
boolean contains(Box box, Entry entry);
boolean containsBucket(Box box);
int calculateDepth();
Box getBox();
int size();
boolean isLeaf();
String asString(String margin);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy