Class NameValuePair<N,​V>

  • Type Parameters:
    N - The type for the name
    V - The type for the value

    public class NameValuePair<N,​V>
    extends Object
    A name-value pair helper class.
    • Constructor Detail

      • NameValuePair

        public NameValuePair​(N name,
                             V value)
        Construct a pair from the given name and value.
    • Method Detail

      • getName

        public N getName()
        Fetches the name
      • getValue

        public V getValue()
        Fetches the value