edu.sc.ants
Class Follower.BlackList.BlackListElement

java.lang.Object
  |
  +--edu.sc.ants.Follower.BlackList.BlackListElement

class Follower.BlackList.BlackListElement
extends java.lang.Object

A small class to hold a blacklisted agent ID and the time we added this ID to the list.


Field Summary
(package private)  int ID
          The agent ID
(package private)  long time
          The time when this agent was blacklisted
 
Constructor Summary
(package private) Follower.BlackList.BlackListElement(int i, long t)
           
 
Method Summary
 int getID()
          Get the value of ID.
 long getTime()
          Get the value of time.
 void setID(int v)
          Set the value of ID.
 void setTime(long v)
          Set the value of time.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ID

int ID
The agent ID

time

long time
The time when this agent was blacklisted
Constructor Detail

Follower.BlackList.BlackListElement

Follower.BlackList.BlackListElement(int i,
                                    long t)
Method Detail

getID

public int getID()
Get the value of ID.
Returns:
Value of ID.

setID

public void setID(int v)
Set the value of ID.
Parameters:
v - Value to assign to ID.

getTime

public long getTime()
Get the value of time.
Returns:
Value of time.

setTime

public void setTime(long v)
Set the value of time.
Parameters:
v - Value to assign to time.