@Immutable public interface MetaStackElement
MetaStackDefinition.
The element itself does not contain any mutable state.
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldAccumulate(LocalizedNode node,
ChatMetaType type,
Map.Entry<Integer,String> current)
Returns if the given node should be accumulated onto the stack.
|
boolean shouldAccumulate(@Nonnull LocalizedNode node, @Nonnull ChatMetaType type, @Nullable Map.Entry<Integer,String> current)
The element being considered can be retrieved using ChatMetaType.getEntry(Node).
node - the node being consideredtype - the type of entry being accumulatedcurrent - the current value being used. If this returns true, the current value will be replaced by this entryCopyright © 2018. All rights reserved.