edu.mit.jmwe.index
Class HasMWEIndex

java.lang.Object
  extended by edu.mit.jmwe.index.HasMWEIndex
All Implemented Interfaces:
IHasMWEIndex
Direct Known Subclasses:
Consecutive, Exhaustive

public class HasMWEIndex
extends Object
implements IHasMWEIndex

An object that wraps an MWE index.

Since:
jMWE 1.0.0
Version:
1.552, 05 May 2011
Author:
M.A. Finlayson

Constructor Summary
HasMWEIndex(IMWEIndex index)
          Constructs a new object that has a pointer to an MWE index
 
Method Summary
 IMWEIndex getMWEIndex()
          Returns the index this object wraps.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasMWEIndex

public HasMWEIndex(IMWEIndex index)
Constructs a new object that has a pointer to an MWE index

Parameters:
index - the index wrapped by this object
Throws:
NullPointerException - if the specified index is null
Since:
jMWE 1.0.0
Method Detail

getMWEIndex

public IMWEIndex getMWEIndex()
Description copied from interface: IHasMWEIndex
Returns the index this object wraps.

Specified by:
getMWEIndex in interface IHasMWEIndex
Returns:
the index this object wraps.


Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.