Class PropertyMap<T extends java.lang.Enum<T> & Property>

  • Type Parameters:
    T - Type of the enumeration used to identify the stored properties.
    Direct Known Subclasses:
    Options

    public class PropertyMap<T extends java.lang.Enum<T> & Property>
    extends java.lang.Object
    The PropertyMap class is a map that stores values identified by a enumeration.
    • Constructor Detail

      • PropertyMap

        public PropertyMap​(java.lang.Class<T> tClass)
    • Method Detail

      • setValue

        public final void setValue​(T property,
                                   java.lang.Object value)
      • hasValue

        public final boolean hasValue​(T property)
      • getValue

        public final java.lang.Object getValue​(T property)
      • getValueAsString

        public final java.lang.String getValueAsString​(T property)
      • getValueAsStringSet

        public final java.util.Set<java.lang.String> getValueAsStringSet​(T property)
      • getValueAsInteger

        public final int getValueAsInteger​(T property)
      • getValueAsLong

        public final long getValueAsLong​(T property)
      • getValueAsBigInteger

        public final java.math.BigInteger getValueAsBigInteger​(T property)
      • getValueAsBoolean

        public final boolean getValueAsBoolean​(T property)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object