hudson.util
Class Area

java.lang.Object
  extended by hudson.util.Area

public final class Area
extends Object

Represents a two dimensional area.

Since:
1.213
Author:
Kohsuke Kawaguchi

Field Summary
 int height
           
 int width
           
 
Constructor Summary
Area(int width, int height)
           
 
Method Summary
 int area()
           
static Area parse(String s)
          Opposite of toString().
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

width

public final int width

height

public final int height
Constructor Detail

Area

public Area(int width,
            int height)
Method Detail

parse

public static Area parse(String s)
Opposite of toString().


area

public int area()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2013. All Rights Reserved.