|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CartesianIndex
Create indexes for the inputs to a Cartesian product. There can be a nested for loop or there can be another strategy. It would be enough to extend an Iterator instead of NumberedStream. It is interesting that this is a natural fit. So from 2 streams you are using another stream to combine them.
Method Summary | |
---|---|
int |
getDimension()
|
int[] |
getLastNumbers()
|
int[] |
getStartNumbers()
|
Methods inherited from interface org.shapelogic.streams.NumberedStream |
---|
get, getIndex, getLast, getMaxLast, setMaxLast |
Methods inherited from interface org.shapelogic.calculation.LazyCalc |
---|
isDirty, setup |
Methods inherited from interface org.shapelogic.calculation.CalcValue |
---|
getValue |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
int[] getStartNumbers()
int[] getLastNumbers()
int getDimension()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |