Documentation of 'joptsimple.util.KeyValuePair' Java class
KeyValuePair
joptsimple.util

Class KeyValuePair



  • public final class KeyValuePair
    extends java.lang.Object

    A simple string key/string value pair.

    This is useful as an argument type for options whose values take on the form key=value, such as JVM command line system properties.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      java.lang.String key 
      java.lang.String value 
    • Field Detail

      • key

        public final java.lang.String key
      • value

        public final java.lang.String value
    • Method Detail

      • valueOf

        public static KeyValuePair valueOf(java.lang.String stringRepresentation)
        Parses a string assumed to be of the form key=value into its parts.
        Parameters:
        stringRepresentation - key-value string
        Returns:
        a key-value pair
        Throws:
        java.lang.NullPointerException - if stringRepresentation is null
      • equals

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

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

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

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.