jeco.dmm.simulator
Class DMMStructureGF

java.lang.Object
  extended by jeco.dmm.simulator.DMMStructureGF

public class DMMStructureGF
extends java.lang.Object

Author:
Ruben This class is for support the grammar filter. We need to create an structure in which we store each size and the number of the requests of these sizes.

Field Summary
 long alives
           
 long count
           
 long size
           
 
Constructor Summary
DMMStructureGF(long size, int count, int alives)
           
 
Method Summary
 void decreaseAlives()
           
 void decreaseCount()
           
 long getAlives()
           
 long getCount()
           
 long getSize()
           
 void setAlives(long alives)
           
 void setCount(long count)
           
 void setSize(long size)
           
 void updateAlives()
           
 void updateCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

public long size

count

public long count

alives

public long alives
Constructor Detail

DMMStructureGF

public DMMStructureGF(long size,
                      int count,
                      int alives)
Method Detail

getSize

public long getSize()

setSize

public void setSize(long size)

getCount

public long getCount()

setCount

public void setCount(long count)

getAlives

public long getAlives()

setAlives

public void setAlives(long alives)

updateCount

public void updateCount()

decreaseCount

public void decreaseCount()

updateAlives

public void updateAlives()

decreaseAlives

public void decreaseAlives()