net.ontopia.topicmaps.query.impl.utils
Class CrossProduct

java.lang.Object
  extended by net.ontopia.topicmaps.query.impl.utils.CrossProduct

public class CrossProduct
extends Object

INTERNAL: Expected input is a map with arbitrary keys and values of Object[] type.


Field Summary
protected  boolean finished
           
protected  int[] indexes
           
protected  Object[] keys
           
protected  int size
           
protected  Object[] tuple
           
protected  Object[] values
           
 
Constructor Summary
CrossProduct(Map data)
           
 
Method Summary
 Object[] getKeys()
           
 Map getMap()
           
 int getSize()
           
 Object[] getTuple()
           
static void main(String[] args)
           
 boolean nextTuple()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keys

protected Object[] keys

values

protected Object[] values

indexes

protected int[] indexes

tuple

protected Object[] tuple

size

protected int size

finished

protected boolean finished
Constructor Detail

CrossProduct

public CrossProduct(Map data)
Method Detail

reset

public void reset()

getSize

public int getSize()

getKeys

public Object[] getKeys()

getTuple

public Object[] getTuple()

getMap

public Map getMap()

nextTuple

public boolean nextTuple()

main

public static void main(String[] args)


Copyright © 2000-2012 Ontopia.