javax.ccpp.uaprof
Class Dimension

java.lang.Object
  extended by javax.ccpp.uaprof.Dimension
All Implemented Interfaces:
Comparable

public class Dimension
extends Object
implements Comparable

Version:
$Rev: 889147 $ $Date: 2009-12-10 09:59:58 +0100 (Do, 10. Dez 2009) $

Constructor Summary
Dimension(int height, int width)
           
Dimension(String str)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dimension

public Dimension(int height,
                 int width)

Dimension

public Dimension(String str)
          throws NumberFormatException
Throws:
NumberFormatException
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.