com.gargoylesoftware.htmlunit
Class KeyValuePair
java.lang.Object
org.apache.commons.httpclient.NameValuePair
com.gargoylesoftware.htmlunit.KeyValuePair
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- KeyDataPair
public class KeyValuePair
- extends NameValuePair
A container that holds a key and a value
- Version:
- $Revision: 2132 $
- Author:
- Mike Bowler, Ahmed Ashour
- See Also:
- Serialized Form
KeyValuePair
public KeyValuePair(String key,
String value)
- Create an instance
- Parameters:
key
- A keyvalue
- a Value
getKey
public String getKey()
- Return the key
- Returns:
- Return the key
toString
public String toString()
- Return a string representation of this object
- Overrides:
toString
in class NameValuePair
- Returns:
- a string representation of this object
Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.