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

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

public class MultiCrossProduct
extends Object

INTERNAL: Expected input is an array of maps with arbitrary keys and values of Object[] type.


Field Summary
protected  boolean finished
           
protected  int[] indexes
           
protected  Object[] keys
           
protected  int[] offsets
           
protected  int size
           
protected  int[] sizes
           
protected  int totsize
           
protected  Object[] tuple
           
protected  Object[] values
           
 
Constructor Summary
MultiCrossProduct(Map[] data)
           
 
Method Summary
 Object[] getKeys()
           
 Object[] getKeys(int index)
           
 Map getMap()
           
 Map getMap(int index)
           
 int getSize()
           
 Object[] getTuple()
           
 Object[] getTuple(int index)
           
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

totsize

protected int totsize

sizes

protected int[] sizes

offsets

protected int[] offsets

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

MultiCrossProduct

public MultiCrossProduct(Map[] data)
Method Detail

reset

public void reset()

getSize

public int getSize()

getKeys

public Object[] getKeys()

getKeys

public Object[] getKeys(int index)

getTuple

public Object[] getTuple()

getTuple

public Object[] getTuple(int index)

getMap

public Map getMap()

getMap

public Map getMap(int index)

nextTuple

public boolean nextTuple()

main

public static void main(String[] args)


Copyright © 2000-2012 Ontopia.