Top Fields Constructors Methods
org.terracotta.context.query

pack-priv Class Filter

extends Object
implements Query
Class Inheritance
All Implemented Interfaces
org.terracotta.context.query.Query
Imports
java.util.HashSet, .Set, org.terracotta.context.TreeNode

Field Summary

Modifier and TypeField and Description
private final Matcher<? super TreeNode>

Constructor Summary

AccessConstructor and Description
public
Filter(Matcher<? super TreeNode> filter)

Method Summary

Modifier and TypeMethod and Description
public Set<TreeNode>
execute(Set<TreeNode>
query input node set
input
)

Implements org.terracotta.context.query.Query.execute.

Transforms the input node set in to an output node set.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

filterback to summary
private final Matcher<? super TreeNode> filter

Constructor Detail

Filterback to summary
public Filter(Matcher<? super TreeNode> filter)

Method Detail

executeback to summary
public Set<TreeNode> execute(Set<TreeNode> input)

Implements org.terracotta.context.query.Query.execute.

Doc from org.terracotta.context.query.Query.execute.

Transforms the input node set in to an output node set.

Parameters
input:Set<TreeNode>

query input node set

Returns:Set<TreeNode>

the output node set

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override