com.sun.syndication.feed.module.base.types
Class IntUnit

java.lang.Object
  extended by com.sun.syndication.feed.module.base.types.IntUnit
All Implemented Interfaces:
CloneableType, java.lang.Cloneable

public class IntUnit
extends java.lang.Object
implements CloneableType

Version:
$Revision: 1.1 $
Author:
Robert "kebernet" Cooper

Constructor Summary
IntUnit(int value, java.lang.String units)
          Creates a new instance of IntUnit
IntUnit(java.lang.String source)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getUnits()
           
 int getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntUnit

public IntUnit(java.lang.String source)

IntUnit

public IntUnit(int value,
               java.lang.String units)
Creates a new instance of IntUnit

Method Detail

getUnits

public java.lang.String getUnits()

getValue

public int getValue()

clone

public java.lang.Object clone()
Specified by:
clone in interface CloneableType
Overrides:
clone in class java.lang.Object

toString

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object


Copyright © 2006-2009. All Rights Reserved.