Interface KeyValueVisitor

  • All Known Implementing Classes:
    MapCSSRuleIndex.RuleCandidatesIterator, UntaggedNode
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface KeyValueVisitor
    This is a visitor that can be used to loop over the keys/values of this primitive.
    Since:
    8742, 10600 (functional interface), 13561 (extracted from AbstractPrimitive, supports Tagged objects)
    • Method Detail

      • visitKeyValue

        void visitKeyValue​(Tagged primitive,
                           java.lang.String key,
                           java.lang.String value)
        This method gets called for every tag received.
        Parameters:
        primitive - This primitive
        key - The key
        value - The value