public class Dimension extends ArrayList<Integer>
modCount| Constructor and Description |
|---|
Dimension() |
Dimension(ArrayList<Integer> list) |
Dimension(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Integer value)
To be used during deserialization.
|
boolean |
addAll(Collection<? extends Integer> collection) |
int |
getHeight()
Retrieve the height portion of the measurement.
|
int |
getWidth()
Retrieve the width portion of the measurement.
|
void |
setHeight(int height) |
void |
setWidth(int width) |
add, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic boolean add(Integer value)
public boolean addAll(Collection<? extends Integer> collection)
public int getHeight()
public void setHeight(int height)
public int getWidth()
public void setWidth(int width)
Copyright © 2014. All Rights Reserved.