Class PropertyVisitorStringBase

java.lang.Object
io.deephaven.properties.PropertyVisitorStringBase
All Implemented Interfaces:
PropertyVisitor
Direct Known Subclasses:
PropertyVisitorStringBase.BiConsumerStringImpl

public abstract class PropertyVisitorStringBase
extends Object
implements PropertyVisitor
An PropertyVisitor base which converts the non-String valued calls into PropertyVisitor.visit(String, String).
  • Constructor Details

    • PropertyVisitorStringBase

      public PropertyVisitorStringBase()
  • Method Details

    • visit

      public final void visit​(String key, int value)
      Equivalent to visit(key, Integer.toString(value)).
      Specified by:
      visit in interface PropertyVisitor
      Parameters:
      key - the key
      value - the value
    • visit

      public final void visit​(String key, long value)
      Equivalent to visit(key, Long.toString(value)).
      Specified by:
      visit in interface PropertyVisitor
      Parameters:
      key - the key
      value - the value
    • visit

      public final void visit​(String key, boolean value)
      Equivalent to visit(key, Boolean.toString(value)).
      Specified by:
      visit in interface PropertyVisitor
      Parameters:
      key - the key
      value - the value