C
- The context type of the elements this Filter
operates on.E
- The element type this Filter
operates on.public interface TransformerSource<C,E>
Module: filter-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>filter-api</artifactId> </dependency>
Modifier and Type | Method and Description |
---|---|
Class<C> |
getContextType()
Returns the type of the context object this
TransformerSource is
compatible with. |
int |
getElementCount(C context)
Returns the number of elements that could be produced from the given
context.
|
List<E> |
getElementList(C context)
Returns a
List of elements from the given context. |
Class<E> |
getElementType()
Returns the type of the elements this
TransformerSource is
compatible with. |
List<E> getElementList(C context)
List
of elements from the given context.context
- the source of the elements.List
of elements.Class<C> getContextType()
TransformerSource
is
compatible with.Class<E> getElementType()
TransformerSource
is
compatible with.int getElementCount(C context)
context
- the context whose elements should be counted.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.