public abstract class GroupExpression extends AbstractExpression implements Function
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
m_group |
| Modifier | Constructor and Description |
|---|---|
protected |
GroupExpression()
Create a new GroupExpression.
|
protected |
GroupExpression(java.lang.String group)
Create a new GroupExpression over the given group name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(Expression e)
Attempts to add the given expression as the group expression.
|
protected java.lang.String |
getGroup(Tuple t)
Evaluate the group name expression for the given Tuple
|
int |
getParameterCount()
Get the maximum number of parameters accepted by this Function.
|
java.lang.String |
toString() |
addChildListeners, addExpressionListener, expressionChanged, fireExpressionChange, get, getBoolean, getDouble, getFloat, getInt, getLong, hasListeners, removeChildListeners, removeExpressionListener, visitclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddExpressionListener, get, getBoolean, getDouble, getFloat, getInt, getLong, getType, removeExpressionListener, visitprotected Expression m_group
protected GroupExpression()
protected GroupExpression(java.lang.String group)
group - the data group nameprotected java.lang.String getGroup(Tuple t)
t - the input Tuple to the group name expressionpublic void addParameter(Expression e)
addParameter in interface Functione - the parameter sub-expressionFunction.addParameter(prefuse.data.expression.Expression)public int getParameterCount()
FunctiongetParameterCount in interface FunctionFunction.VARARGS is the number is variable.Function.getParameterCount()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()