Class AbstractCharAttributeValue<T extends CharSupplier>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private char charAttribute  
      private @Nullable java.lang.String value  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractCharAttributeValue​(T charAttribute, @Nullable java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char getChar()  
      @Nullable java.lang.String getValue()  
      (package private) java.lang.StringBuilder writeTo​(java.lang.StringBuilder sb)
      Write the class information to the given StringBuffer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • charAttribute

        private final char charAttribute
      • value

        @Nullable
        private final @Nullable java.lang.String value
    • Constructor Detail

      • AbstractCharAttributeValue

        protected AbstractCharAttributeValue​(@NotNull
                                             T charAttribute,
                                             @Nullable
                                             @Nullable java.lang.String value)
    • Method Detail

      • getChar

        public final char getChar()
      • getValue

        @Nullable
        public @Nullable java.lang.String getValue()
      • writeTo

        java.lang.StringBuilder writeTo​(java.lang.StringBuilder sb)
        Description copied from class: StringWritable
        Write the class information to the given StringBuffer.
        Specified by:
        writeTo in class StringWritable
        Parameters:
        sb - Where to write the data.
        Returns:
        The same StringBuffer.