|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcgl.narada.matching.ProfileCounts
public class ProfileCounts
Keeps track of broker destinations and profile counts per each of these destinations.
Constructor Summary | |
---|---|
ProfileCounts()
|
Method Summary | |
---|---|
boolean |
decrementCountForDestination(int destination)
Decrease the count associated with the destination. |
int |
determinePositionOf1Bit(int destination)
Determines the position of "1" in the byte representation of the destintion. |
int |
getDestinations()
|
void |
incrementCountForDestination(int destination)
Increase the count associated with the destination. |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfileCounts()
Method Detail |
---|
public int getDestinations()
public void incrementCountForDestination(int destination)
public boolean decrementCountForDestination(int destination)
public int determinePositionOf1Bit(int destination)
public static void main(String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |