|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--net.aerith.misao.util.PositionList
The PositionList
represents a list of
Position
.
Fields inherited from class java.util.Vector |
capacityIncrement,
elementCount,
elementData,
serialVersionUID |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
PositionList()
Constructs an empty PositionList . |
|
PositionList(java.util.Vector original_list)
Copies the specified PositionList and constructs a
new PositionList . |
Method Summary | |
Graph |
createMinimumGlobalTree()
Creates the minimum global tree from the list of Position . |
void |
map(MapFunction mf)
Maps the (x,y) of all elements based on the specified map function. |
void |
shift(Position position)
Shifts the (x,y) of all elements by adding the specified Position . |
Methods inherited from class java.util.Vector |
add,
add,
addAll,
addAll,
addElement,
capacity,
clear,
clone,
contains,
containsAll,
copyInto,
elementAt,
elements,
ensureCapacity,
ensureCapacityHelper,
equals,
firstElement,
get,
hashCode,
indexOf,
indexOf,
insertElementAt,
isEmpty,
lastElement,
lastIndexOf,
lastIndexOf,
remove,
remove,
removeAll,
removeAllElements,
removeElement,
removeElementAt,
removeRange,
retainAll,
set,
setElementAt,
setSize,
size,
subList,
toArray,
toArray,
toString,
trimToSize |
Methods inherited from class java.util.AbstractList |
iterator,
listIterator,
listIterator |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public PositionList()
PositionList
.public PositionList(java.util.Vector original_list)
PositionList
and constructs a
new PositionList
.original_list
- the original_list to copy.Method Detail |
public void shift(Position position)
Position
.position
- the value to shift.public void map(MapFunction mf)
mf
- the map function.public Graph createMinimumGlobalTree()
Position
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |