Class NameValuePair

    • Constructor Detail

      • NameValuePair

        public NameValuePair()
        Deprecated.
        Default constructor.
      • NameValuePair

        public NameValuePair​(String name,
                             String value)
        Deprecated.
        Constructor.
        Parameters:
        name - The name.
        value - The value.
    • Method Detail

      • setName

        public void setName​(String name)
        Deprecated.
        Set the name.
        Parameters:
        name - The new name
        See Also:
        getName()
      • getName

        public String getName()
        Deprecated.
        Return the name.
        Returns:
        String name The name
        See Also:
        setName(String)
      • setValue

        public void setValue​(String value)
        Deprecated.
        Set the value.
        Parameters:
        value - The new value.
      • getValue

        public String getValue()
        Deprecated.
        Return the current value.
        Returns:
        String value The current value.
      • toString

        public String toString()
        Deprecated.
        Get a String representation of this pair.
        Overrides:
        toString in class Object
        Returns:
        A string representation.
      • equals

        public boolean equals​(Object object)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object