All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jamieswhiteshirt.rtree3i.Node Maven / Gradle / Ivy

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 boxPredicate, Consumer> action);

    boolean anyMatch(Predicate boxPredicate, Predicate> entryPredicate);

    boolean allMatch(Predicate boxPredicate, Predicate> entryPredicate);

     T reduce(Predicate boxPredicate, T identity, BiFunction, T> operator);

    int count(Predicate boxPredicate, Predicate> 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