|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.proactive.core.body.proxy.AbstractProxy | +--org.objectweb.proactive.core.group.ProxyForGroup | +--org.objectweb.proactive.core.group.topology.TopologyGroup | +--org.objectweb.proactive.core.group.topology.Line
This class represents a group by a one-dimensional topology.
Field Summary | |
protected int |
width
size of the one-dimensional topology group |
Fields inherited from class org.objectweb.proactive.core.group.ProxyForGroup |
className, dispatching, logger, memberList, stub, uniqueSerialization, waited |
Constructor Summary | |
Line(Group g,
int size)
Construtor. |
Method Summary | |
int |
getWidth()
Return the max size of the line |
int |
getX(java.lang.Object o)
Returns the position of the specified object |
java.lang.Object |
left(java.lang.Object o)
Returns the object at the left of the specified object in the one-dimensional topology group |
java.lang.Object |
right(java.lang.Object o)
Returns the object at the right of the specified object in the one-dimensional topology group |
Methods inherited from class org.objectweb.proactive.core.group.ProxyForGroup |
add, addAll, addMerge, addToListOfResult, allArrived, allAwaited, asynchronousCallOnGroup, barrier, clear, contains, containsAll, createMemberWithMultithread, difference, display, equals, exclude, get, getExceptionList, getGroupByType, getType, getTypeName, hashCode, indexOf, intersection, isDispatchingOn, isEmpty, iterator, listIterator, oneWayCallOnGroup, purgeExceptionAndNull, range, reify, remove, remove, removeAll, retainAll, set, setDispatchingOff, setDispatchingOn, setRatioNemberToThread, setSPMDGroup, setUniqueSerializationOff, setUniqueSerializationOn, size, toArray, toArray, union, waitAll, waitAndGetOne, waitAndGetTheNth, waitN, waitOne, waitOneAndGetIndex, waitTheNth |
Methods inherited from class org.objectweb.proactive.core.body.proxy.AbstractProxy |
isAsynchronousCall, isOneWayCall |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int width
Constructor Detail |
public Line(Group g, int size) throws ConstructionOfReifiedObjectFailedException
g
are used to fill the topology group.
g
- - the group used a base for the new group (topology)size
- - the dimension (max number of member in the topolody group)
ConstructionOfReifiedObjectFailedException
Method Detail |
public int getWidth()
public int getX(java.lang.Object o)
o
- - the object
public java.lang.Object left(java.lang.Object o)
o
- - the specified object
o. If there is no object at the left of o
, return null
public java.lang.Object right(java.lang.Object o)
o
- - the specified object
o. If there is no object at the right of o
, return null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |