static class JoinRuleUtils.TermWrapper extends Object
JoinRuleUtils.TermWrapperFactory
Constructor and Description |
---|
TermWrapper(Term term,
int hashcode) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Term |
getTerm() |
int |
hashCode() |
String |
toString() |
static <T extends Collection<Term>> |
toTermList(T target,
Iterable<JoinRuleUtils.TermWrapper> wrappedCollection)
Adds the wrapped content of the Iterable object into the given target
collection.
|
private Term term
private int hashcode
public TermWrapper(Term term, int hashcode)
public Term getTerm()
public static <T extends Collection<Term>> T toTermList(T target, Iterable<JoinRuleUtils.TermWrapper> wrappedCollection)
target
- The collection to insert the wrapped terms into.wrappedCollection
- Iterable to transform.