public interface MetaStackElement
MetaStackDefinition.
The element itself does not contain any mutable state.
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldAccumulate(@NonNull ChatMetaType type,
@NonNull ChatMetaNode<?,?> node,
@Nullable ChatMetaNode<?,?> current)
Returns if the given node should be accumulated onto the stack.
|
boolean shouldAccumulate(@NonNull ChatMetaType type, @NonNull ChatMetaNode<?,?> node, @Nullable ChatMetaNode<?,?> current)
type - the type of entry being accumulatednode - the node being consideredcurrent - the current value being used. If this returns true, the current value will be replaced by this entry