org.epics.pvmanager.expression
Class WriteExpressionListImpl<W>

java.lang.Object
  extended by org.epics.pvmanager.expression.WriteExpressionListImpl<W>
Type Parameters:
W - type of the write payload
All Implemented Interfaces:
WriteExpressionList<W>
Direct Known Subclasses:
WriteExpressionImpl

public class WriteExpressionListImpl<W>
extends java.lang.Object
implements WriteExpressionList<W>

Implementation class for WriteExpressionList.

Author:
carcassi

Constructor Summary
WriteExpressionListImpl()
          Creates a new empty expression list.
 
Method Summary
 WriteExpressionListImpl<W> and(WriteExpressionList<? extends W> expressions)
          Adds the given expressions to this list.
 java.util.List<WriteExpression<W>> getWriteExpressions()
          The expressions of this list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteExpressionListImpl

public WriteExpressionListImpl()
Creates a new empty expression list.

Method Detail

and

public final WriteExpressionListImpl<W> and(WriteExpressionList<? extends W> expressions)
Description copied from interface: WriteExpressionList
Adds the given expressions to this list.

Specified by:
and in interface WriteExpressionList<W>
Parameters:
expressions - a list of expressions
Returns:
this

getWriteExpressions

public final java.util.List<WriteExpression<W>> getWriteExpressions()
Description copied from interface: WriteExpressionList
The expressions of this list.

Specified by:
getWriteExpressions in interface WriteExpressionList<W>
Returns:
a list of expressions