Oracle

com.compoze.util
Class CalendarUtility.IntStringPair

java.lang.Object
  extended by com.compoze.util.CalendarUtility.IntStringPair
Enclosing class:
CalendarUtility

public static class CalendarUtility.IntStringPair
extends java.lang.Object

This class holds an integer key and a String value, and is used to return the results of enumerating the days and months.


Method Summary
 int getKey()
          Gets the integer key.
 java.lang.String getValue()
          Gets the string value.
 java.lang.String toString()
          Creates a string from the Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getKey

public int getKey()
Gets the integer key.

Returns:
integer key

getValue

public java.lang.String getValue()
Gets the string value.

Returns:
String value

toString

public java.lang.String toString()
Creates a string from the Object.

Overrides:
toString in class java.lang.Object
Returns:
String representation of pair

Oracle

Copyright ©1999-2008 Oracle All rights reserved.