Class JsonDocProperty<E>


  • public class JsonDocProperty<E>
    extends java.lang.Object
    Created by Tareko on 20.12.2017.
    • Field Detail

      • appender

        protected final java.util.function.BiConsumer<E,​JsonDocument> appender
      • resolver

        protected final java.util.function.Function<JsonDocument,​E> resolver
      • remover

        protected final java.util.function.Consumer<JsonDocument> remover
      • tester

        protected final java.util.function.Predicate<JsonDocument> tester
    • Constructor Detail

      • JsonDocProperty

        public JsonDocProperty​(java.util.function.BiConsumer<E,​JsonDocument> appender,
                               java.util.function.Function<JsonDocument,​E> resolver,
                               java.util.function.Consumer<JsonDocument> remover,
                               java.util.function.Predicate<JsonDocument> tester)
    • Method Detail

      • getAppender

        public java.util.function.BiConsumer<E,​JsonDocument> getAppender()
      • getResolver

        public java.util.function.Function<JsonDocument,​E> getResolver()
      • getRemover

        public java.util.function.Consumer<JsonDocument> getRemover()
      • getTester

        public java.util.function.Predicate<JsonDocument> getTester()