JavaScript is disabled on your browser.
Skip navigation links
gnu.mapping

Class PropertyKey<T>

  • Direct Known Subclasses:
    LazyPropertyKey


    public class PropertyKey<T>
    extends java.lang.Object
    PropertySet keys that provide statically-typeable values.
    • Constructor Summary

      Constructors
      Constructor and Description
      PropertyKey (java.lang.String name)
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      T get (PropertySet container)
      Get the value associated with this key in a given PropertySet.
      T get (PropertySet container, T defaultValue)
      Get the value associated with this key in a given PropertySet.
      void set (PropertySet container, T value)
      • Methods inherited from class java.lang.Object

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

      • PropertyKey

        public PropertyKey(java.lang.String name)
    • Method Detail

      • get

        public T get(PropertySet container,
         T defaultValue)
        Get the value associated with this key in a given PropertySet. Return defaultValue if there is no association for this key.
      • get

        public final T get(PropertySet container)
        Get the value associated with this key in a given PropertySet. Return null if there is no association for this key.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /