gnu.inet.imap

Class Pair


public final class Pair
extends java.lang.Object

Implementation of a key-value pair. The key is always a String, and the value must be a List.

Version:
$Revision: 1.3 $ $Date: 2004/06/08 19:05:28 $

Author:
Chris Burdess

Method Summary

java.lang.String
getKey()
Returns the key part of this pair.
java.util.List
getValue()
Returns the value part of this pair.
java.lang.String
toString()

Method Details

getKey

public java.lang.String getKey()
Returns the key part of this pair.


getValue

public java.util.List getValue()
Returns the value part of this pair.


toString

public java.lang.String toString()


© Copyright 2003 The Free Software Foundation, all rights reserved