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

java.lang.Object
  extended by 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
           
 
Constructor Summary
CrossProduct(java.util.Map data)
           
 
Method Summary
 java.lang.Object[] getKeys()
           
 java.util.Map getMap()
           
 int getSize()
           
 java.lang.Object[] getTuple()
           
static void main(java.lang.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 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
Constructor Detail

CrossProduct

public CrossProduct(java.util.Map data)
Method Detail

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.