public class SocialInteraction
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
int |
attacker |
long |
end |
int |
from |
int |
intensity |
int |
opponent |
int |
retreat |
long |
start |
Constructor and Description |
---|
SocialInteraction()
Empty constructor for the SocialInteraction class
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
clone the object
|
void |
fillAttack(long attTime,
int att,
int opp)
fill the fields for the attack
|
void |
fillRetreat(long retrTime,
int retr,
int fro)
fill the fields for the retreat
|
long |
getDuration()
returns the duration of the interaction
|
void |
listData()
turns the record into a string
|
java.lang.String |
toString()
turns the record into a string
|
public long start
public long end
public int intensity
public int attacker
public int opponent
public int retreat
public int from
public SocialInteraction()
public java.lang.Object clone()
clone
in class java.lang.Object
public void fillAttack(long attTime, int att, int opp)
public void fillRetreat(long retrTime, int retr, int fro)
public long getDuration()
public java.lang.String toString()
toString
in class java.lang.Object
public void listData()
RH, 2017