bsoc.util
Class IComb
java.lang.Object
|
+--bsoc.util.IComb
- public class IComb
- extends java.lang.Object
- implements java.io.Serializable
Returns a sequenze of integer pairs. The values of these integers are between
0 and a maximum value. The pairs contain the combinations of all integer valuses,
but exclude those combinations containing the sane values. For max=3 IComb generates
[0,1], [0,2], [0,3], [1,2], [1,3], [2,3]
- See Also:
- Serialized Form
|
Constructor Summary |
IComb(int max)
|
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
IComb
public IComb(int max)
next
public IPair next()
equals
public boolean equals(java.lang.Object o)
- Overrides:
- equals in class java.lang.Object