Constructor and Description |
---|
Size(int p_iWidth,
int p_iHeight) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Integer p_e) |
void |
add(int p_index,
Integer p_element) |
boolean |
addAll(Collection<? extends Integer> p_c) |
boolean |
addAll(int p_index,
Collection<? extends Integer> p_c) |
void |
clear() |
boolean |
contains(Object p_o) |
boolean |
containsAll(Collection<?> p_c) |
Integer |
get(int p_iIndex) |
Integer |
getHeight()
Get the height.
|
Integer |
getWidth()
Get the width.
|
Integer |
getX()
Get the width.
|
Integer |
getY()
Get the height.
|
int |
indexOf(Object p_o) |
boolean |
isEmpty() |
Iterator<Integer> |
iterator() |
int |
lastIndexOf(Object p_o) |
ListIterator<Integer> |
listIterator() |
ListIterator<Integer> |
listIterator(int p_iIndex) |
Integer |
remove(int p_iIndex) |
boolean |
remove(Object p_o) |
boolean |
removeAll(Collection<?> p_c) |
boolean |
retainAll(Collection<?> p_c) |
Integer |
set(int p_index,
Integer p_element) |
int |
size() |
List<Integer> |
subList(int p_fromIndex,
int p_toIndex) |
Object[] |
toArray()
An array that contains the width and height, in that order.
|
<T> T[] |
toArray(T[] p_array) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public Size(int p_iWidth, int p_iHeight)
p_iWidth
- The width.p_iHeight
- The height.public Integer getWidth()
public Integer getX()
public Integer getHeight()
public Integer getY()
public void add(int p_index, Integer p_element)
public boolean add(Integer p_e)
public boolean addAll(Collection<? extends Integer> p_c)
public boolean addAll(int p_index, Collection<? extends Integer> p_c)
public void clear()
public boolean contains(Object p_o)
public boolean containsAll(Collection<?> p_c)
containsAll
in interface Collection<Integer>
containsAll
in interface List<Integer>
Always
- a java.lang.UnsupportedOperationException.public int indexOf(Object p_o)
public boolean isEmpty()
public int lastIndexOf(Object p_o)
lastIndexOf
in interface List<Integer>
Always
- a java.lang.UnsupportedOperationException.public ListIterator<Integer> listIterator()
listIterator
in interface List<Integer>
Always
- a java.lang.UnsupportedOperationException.public ListIterator<Integer> listIterator(int p_iIndex)
listIterator
in interface List<Integer>
Always
- a java.lang.UnsupportedOperationException.public Integer remove(int p_iIndex)
public boolean remove(Object p_o)
public boolean removeAll(Collection<?> p_c)
public boolean retainAll(Collection<?> p_c)
public int size()
public Object[] toArray()