wodka.util
Class PairDetector

java.lang.Object
  extended bywodka.util.PairDetector

public class PairDetector
extends java.lang.Object

Detects pairs of integers where the order does not matter.


Constructor Summary
PairDetector()
           
 
Method Summary
 void addPair(int a, int b)
           
 boolean includesPair(int a, int b)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PairDetector

public PairDetector()
Method Detail

addPair

public void addPair(int a,
                    int b)

includesPair

public boolean includesPair(int a,
                            int b)

toString

public java.lang.String toString()