com.pnp.xfeature.documenttree
Class Combination
java.lang.Object
com.pnp.xfeature.documenttree.Combination
public class Combination
- extends java.lang.Object
This class stores a possible combination. The Vector element
stores the name of the elements, the Vector frequency stores an
Integer, which indicates, how often the element can occur.
- Author:
- Valerio B?rker
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Combination
public Combination()
addElement
public void addElement(java.lang.Object o,
int f)
elementAt
public java.lang.Object elementAt(int j)
frequencyAt
public int frequencyAt(int j)
size
public int size()
setElementAt
public void setElementAt(java.lang.Object o,
int f,
int i)
removeElementAt
public void removeElementAt(int i)
removeAllElements
public void removeAllElements()
frequencySmallerThan
public boolean frequencySmallerThan(int index,
int value)
containsString
public boolean containsString(int index,
java.lang.String existingElement)
Copyright © 2004 - 2008 ETH Zurich and P&P Software GmbH, All Rights Reserved.