edu.umass.cs.sase.engine
Class MatchController

java.lang.Object
  extended by edu.umass.cs.sase.engine.MatchController

public class MatchController
extends java.lang.Object

This class is used to buffer matches

Author:
haopeng

Constructor Summary
MatchController()
          The default constructor
 
Method Summary
 void addMatch(Match m)
          Adds a match to the match buffer.
 java.util.ArrayList<Match> getMyMatches()
           
 int getMyMatchesSize()
           
 void printMatches()
          prints the matches in console
 void setMyMatches(java.util.ArrayList<Match> myMatches)
           
 void setMyMatchesSize(int myMatchesSize)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchController

public MatchController()
The default constructor

Method Detail

addMatch

public void addMatch(Match m)
Adds a match to the match buffer.

Parameters:
m - the match to be added

printMatches

public void printMatches()
prints the matches in console


getMyMatches

public java.util.ArrayList<Match> getMyMatches()
Returns:
the myMatches

setMyMatches

public void setMyMatches(java.util.ArrayList<Match> myMatches)
Parameters:
myMatches - the myMatches to set

getMyMatchesSize

public int getMyMatchesSize()
Returns:
the myMatchesSize

setMyMatchesSize

public void setMyMatchesSize(int myMatchesSize)
Parameters:
myMatchesSize - the myMatchesSize to set