public interface UpdateFunction<K,V>
extends com.google.common.base.Function<K,V>
| Modifier and Type | Interface and Description |
|---|---|
static class |
UpdateFunction.Simple<V> |
| Modifier and Type | Field and Description |
|---|---|
static UpdateFunction.Simple<java.lang.Object> |
noOp |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abortEarly() |
void |
allocated(long heapSize) |
V |
apply(V replacing,
K update) |
static <K> UpdateFunction<K,K> |
noOp() |
static final UpdateFunction.Simple<java.lang.Object> noOp
V apply(V replacing, K update)
replacing - the value in the original tree we have matchedupdate - the value in the updating collection that matchedboolean abortEarly()
void allocated(long heapSize)
heapSize - extra heap space allocated (over previous tree)static <K> UpdateFunction<K,K> noOp()
Copyright © 2016 The Apache Software Foundation