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

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

public class MultiCrossProduct
extends java.lang.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  java.lang.Object[] keys
           
protected  int[] offsets
           
protected  int size
           
protected  int[] sizes
           
protected  int totsize
           
protected  java.lang.Object[] tuple
           
protected  java.lang.Object[] values
           
 
Constructor Summary
MultiCrossProduct(java.util.Map[] data)
           
 
Method Summary
 java.lang.Object[] getKeys()
           
 java.lang.Object[] getKeys(int index)
           
 java.util.Map getMap()
           
 java.util.Map getMap(int index)
           
 int getSize()
           
 java.lang.Object[] getTuple()
           
 java.lang.Object[] getTuple(int index)
           
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

totsize

protected int totsize

sizes

protected int[] sizes

offsets

protected int[] offsets

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

MultiCrossProduct

public MultiCrossProduct(java.util.Map[] data)
Method Detail

reset

public void reset()

getSize

public int getSize()

getKeys

public java.lang.Object[] getKeys()

getKeys

public java.lang.Object[] getKeys(int index)

getTuple

public java.lang.Object[] getTuple()

getTuple

public java.lang.Object[] getTuple(int index)

getMap

public java.util.Map getMap()

getMap

public java.util.Map getMap(int index)

nextTuple

public boolean nextTuple()

main

public static void main(java.lang.String[] args)


Copyright © 2000-2012 Ontopia.