org.rometools.feed.module.base.types
Class IntUnit

java.lang.Object
  extended by org.rometools.feed.module.base.types.IntUnit
All Implemented Interfaces:
Cloneable, CloneableType

public class IntUnit
extends Object
implements CloneableType

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

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

Constructor Detail

IntUnit

public IntUnit(String source)

IntUnit

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

Method Detail

getUnits

public String getUnits()

getValue

public int getValue()

clone

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

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2013 ROME Project. All Rights Reserved.