com.vii.brillien.kernel.axiom.atomic.component
Interface OrderRelation<P extends Presence,C extends Communication,R>

All Superinterfaces:
Aspirer<C,R>, Callable<R>, Comparator<P>, Presence<C,R>, Progressor, Sensor<C>

public interface OrderRelation<P extends Presence,C extends Communication,R>
extends Presence<C,R>, Comparator<P>

This interface represents an order relation for set ordering.


Field Summary
 
Fields inherited from interface com.vii.brillien.kernel.axiom.atomic.Presence
CONSONANT, RESIDENT, SPARKLE
 
Method Summary
 int compare(P presenceA, P presenceB)
          Compares two presences.
 
Methods inherited from interface com.vii.brillien.kernel.axiom.atomic.Presence
activateAll, addSuperUnits, clearSuperUnits, getApiKeyPresenceName, getFlow, getFlowID, getPresenceManager, getSharing, getSSOPresenceName, getSuperUnits, passivateAll, printErrorStates, removeSuperUnits, retrieve, setFlow, setPresenceManager
 
Methods inherited from interface com.vii.brillien.kernel.axiom.Presence
aspirationTimeIsUp, getAspirationTimeMeasure, getFullName, getMessageProcessorParameterNames, getMessageProcessorParameterTypes, getName, hasMessageProcessorReturnValue, isAspirationPeriodical, reset, setAspirationPeriodical, setAspirationTimeMeasure, setName
 
Methods inherited from interface com.vii.brillien.kernel.axiom.Aspirer
activateCallable, getResult, hasActivity, isWaitingForInputData, isWaitingForResponse, passivateCallable, plan, sendAGet, sendDelegatedSet, sendError, sendError, sendError, sendGet, sendGet, sendResponse, sendSet, sendUnitAGet, sendUnitDelegatedSet, sendUnitGet, sendUnitGet, sendUnitSet
 
Methods inherited from interface java.util.concurrent.Callable
call
 
Methods inherited from interface com.vii.brillien.kernel.axiom.Sensor
activateMessaging, communicationReceived, errorReceived, passivateMessaging, presenseChangedState
 
Methods inherited from interface com.vii.brillien.kernel.axiom.Progressor
addState, changeState, getActualStates, getPotentialStates, getStateDivision, hasStateMachine, initStateMashine, isInExitState, isInState, isInValidStates, panic, registerStateChangeNotification, removeState, setStateDivision, unregisterStateChangeNotification
 
Methods inherited from interface java.util.Comparator
equals
 

Method Detail

compare

int compare(P presenceA,
            P presenceB)
Compares two presences.

Specified by:
compare in interface Comparator<P extends Presence>
Returns:
-1 if presenceA is less than presenceB, 0 if equals, 1 otherwise


Copyright © 2012. All Rights Reserved.