public static final class UpdateFunction.NoOp<V> extends java.lang.Object implements UpdateFunction<V>
UpdateFunction.NoOp<V>| Modifier and Type | Method and Description |
|---|---|
boolean |
abortEarly() |
void |
allocated(long heapSize) |
V |
apply(V update) |
V |
apply(V replacing,
V update) |
static <V> UpdateFunction.NoOp<V> |
instance() |
public static <V> UpdateFunction.NoOp<V> instance()
public V apply(V replacing, V update)
apply in interface UpdateFunction<V>replacing - the value in the original tree we have matchedupdate - the value in the updating collection that matchedpublic boolean abortEarly()
abortEarly in interface UpdateFunction<V>public void allocated(long heapSize)
allocated in interface UpdateFunction<V>heapSize - extra heap space allocated (over previous tree)Copyright © 2018 The Apache Software Foundation