|
|||||||||
| Home >> All >> org >> objectstyle >> ashwood >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.objectstyle.ashwood.util
Class IntPartition

java.lang.Objectorg.objectstyle.ashwood.util.IntPartition
- public final class IntPartition
- extends java.lang.Object
| Field Summary | |
private int[] |
partition
|
private int |
setCount
|
| Constructor Summary | |
IntPartition(int elementCount)
|
|
| Method Summary | |
int |
findSetId(int element)
|
int |
getSetCount()
|
boolean |
isSetId(int element)
|
int |
joinSets(int setId1,
int setId2)
|
void |
reset()
|
int |
size()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
partition
private int[] partition
setCount
private int setCount
| Constructor Detail |
IntPartition
public IntPartition(int elementCount)
| Method Detail |
joinSets
public final int joinSets(int setId1,
int setId2)
findSetId
public final int findSetId(int element)
size
public final int size()
getSetCount
public final int getSetCount()
reset
public final void reset()
isSetId
public final boolean isSetId(int element)
|
|||||||||
| Home >> All >> org >> objectstyle >> ashwood >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.objectstyle.ashwood.util.IntPartition