gov.nist.nlpir.irf.query
Class Combinator

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--gov.nist.nlpir.irf.query.Combinator
Direct Known Subclasses:
LinearCombinator, StructuredCombinator

public abstract class Combinator
extends java.util.Vector

The result combinator structure.

Version:
$Revision: 1.1 $
Author:
This software was produced by NIST, an agency of the U.S. government, and by statute is not subject to copyright in the United States. Recipients of this software assume all responsibilities associated with its operation, modification and maintenance.
See Also:
Serialized Form

Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData, serialVersionUID
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
(package private) Combinator()
           
(package private) Combinator(int size)
          Create a combinator.
 
Method Summary
abstract  void present(int i, IndexingModalities im)
          Displays combinator structure to standard output.
abstract  void presentBrief(int i)
          Displays combinator structure, using indexes instead of imus, to standard output.
abstract  void presentBrief(java.util.Vector v, int i)
          Displays the combinator structure v, using indexes instead of imus, to standard output.
(package private)  void presentCombinatorIMU(IndexingModalityUnit imu)
          Prints combinator indexing modality unit.
(package private)  void printSpaces(int i)
          Prints the number of spaces specified in parameter.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, ensureCapacityHelper, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

Combinator

Combinator()

Combinator

Combinator(int size)
Create a combinator.
Parameters:
size - number of objects to be held by combinator.
Method Detail

printSpaces

void printSpaces(int i)
Prints the number of spaces specified in parameter.
Parameters:
i - width in characters of indentation.

presentCombinatorIMU

void presentCombinatorIMU(IndexingModalityUnit imu)
Prints combinator indexing modality unit.
Parameters:
imu - the indexing modality unit to be printed.

present

public abstract void present(int i,
                             IndexingModalities im)
Displays combinator structure to standard output.
Parameters:
i - width in characters of indentation
im - current indexing modalities

presentBrief

public abstract void presentBrief(int i)
Displays combinator structure, using indexes instead of imus, to standard output.
Parameters:
i - width in characters of indentation

presentBrief

public abstract void presentBrief(java.util.Vector v,
                                  int i)
Displays the combinator structure v, using indexes instead of imus, to standard output.
Parameters:
v - a combinator
i - width in characters of indentation