Class Property<V>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Property<V>>

    public class Property<V>
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<Property<V>>
    A key/value property
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
      • KEY

        public static final Name KEY
      • VALUE

        public static final Name VALUE
      • key

        public final PropertyKey key
        They key of the property
      • value

        public final V value
        The value of the property
    • Constructor Detail

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(Property other)
        Specified by:
        compareTo in interface java.lang.Comparable<V>
      • withValue

        public Property withValue​(V value)