public class BoxDimensions
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
bottom
the value for the lower edge
|
int |
left
the value for the left edge
|
int |
right
the value for the right edge
|
int |
top
the value for the upper edge
|
Constructor and Description |
---|
BoxDimensions(int top,
int right,
int bottom,
int left)
Creates an immutable instance of BoxDimensions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public final int top
public final int right
public final int bottom
public final int left
public BoxDimensions(int top, int right, int bottom, int left)
top
- the value for the upper edgeright
- the value for the right edgebottom
- the value for the lower edgeleft
- the value for the left edge
Copyright (c) EclipseSource and others 2002, 2016.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0