mwalk Platform 0.3.0

mwalk.eval
Class ArrivalEvaluator

java.lang.Object
  |
  +--mwalk.eval.ActivityEvaluator
        |
        +--mwalk.eval.ArrivalEvaluator

public class ArrivalEvaluator
extends ActivityEvaluator

A class used by visitors to determine whether a receiver is active by checking the current time against the receiver's arrival time.

Version:
1.0
Author:
Robert Chalmers

Constructor Summary
ArrivalEvaluator()
          Default constructor.
 
Method Summary
 boolean isActive(Receiver recv, long time)
          Determine whether the given receiver is currently active.
 
Methods inherited from class mwalk.eval.ActivityEvaluator
isActive, isActive, isActive
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

ArrivalEvaluator

public ArrivalEvaluator()
Default constructor.
Method Detail

isActive

public boolean isActive(Receiver recv,
                        long time)
Determine whether the given receiver is currently active.
Overrides:
isActive in class ActivityEvaluator
Parameters:
Receiver - reference to receiver to check for activity
long - the current time
Returns:
boolean whether receiver is active

mwalk Platform 0.3.0

Submit a bug or feature mwalk Platform API Specification 0.3.0
Sensitivity: {Public:Research}
Copyright(c) 2000, Robert Chalmers