jaggregate
Class KeyValuePair

java.lang.Object
  extended by jaggregate.Pair<String,String>
      extended by jaggregate.KeyValuePair
All Implemented Interfaces:
Serializable

public final class KeyValuePair
extends Pair<String,String>

A simple string-to-string pair, created by parsing a string of the form "key=value".

Version:
$Id: KeyValuePair.java,v 1.2 2008/03/26 18:00:33 pholser Exp $
Author:
Paul Holser
See Also:
Serialized Form

Method Summary
static KeyValuePair parse(String aString)
          Creates a string-to-string pair by parsing a string of the form "key=value".
 
Methods inherited from class jaggregate.Pair
equals, hashCode, key, pair, toString, value
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

parse

public static KeyValuePair parse(String aString)
Creates a string-to-string pair by parsing a string of the form "key=value".

Parameters:
aString - the string representation of the pair
Returns:
the pair


© Copyright 2004-2008 Paul R. Holser, Jr. All rights reserved. Licensed under the Academic Free License version 3.0. pholser@alumni.rice.edu