net.ontopia.topicmaps.query.impl.utils
Class CrossProduct
java.lang.Object
net.ontopia.topicmaps.query.impl.utils.CrossProduct
public class CrossProduct
- extends java.lang.Object
INTERNAL: Expected input is a map with arbitrary keys and values of Object[] type.
Field Summary |
protected boolean |
finished
|
protected int[] |
indexes
|
protected java.lang.Object[] |
keys
|
protected int |
size
|
protected java.lang.Object[] |
tuple
|
protected java.lang.Object[] |
values
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keys
protected java.lang.Object[] keys
values
protected java.lang.Object[] values
indexes
protected int[] indexes
tuple
protected java.lang.Object[] tuple
size
protected int size
finished
protected boolean finished
CrossProduct
public CrossProduct(java.util.Map data)
reset
public void reset()
getSize
public int getSize()
getKeys
public java.lang.Object[] getKeys()
getTuple
public java.lang.Object[] getTuple()
getMap
public java.util.Map getMap()
nextTuple
public boolean nextTuple()
main
public static void main(java.lang.String[] args)
Copyright © 2000-2012 Ontopia.