Package com.rometools.modules.base.types
Class Size
- java.lang.Object
-
- com.rometools.modules.base.types.Size
-
- All Implemented Interfaces:
CloneableType,Cloneable
public class Size extends Object implements CloneableType
Represents the size on an item in 2 or 3 dimensions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Duplicates this object.booleanequals(Object o)FloatUnitgetHeight()Height value.FloatUnitgetLength()Length value.FloatUnitgetWidth()Width value.StringtoString()Returns a string representation of this object.
-
-
-
Method Detail
-
getHeight
public FloatUnit getHeight()
Height value.- Returns:
- Height value.
-
getLength
public FloatUnit getLength()
Length value.- Returns:
- Length value.
-
getWidth
public FloatUnit getWidth()
Width value.- Returns:
- Width value.
-
clone
public Object clone()
Duplicates this object.- Specified by:
clonein interfaceCloneableType- Overrides:
clonein classObject- Returns:
- A duplicate Size object.
-
toString
public String toString()
Returns a string representation of this object.
-
-