static class MergeRuleUtils.TermWrapper
extends java.lang.Object
MergeRuleUtils.TermWrapperFactory| Constructor and Description |
|---|
TermWrapper(Term term,
int hashcode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Term |
getTerm() |
int |
hashCode() |
java.lang.String |
toString() |
static <T extends java.util.Collection<Term>> |
toTermList(T target,
java.lang.Iterable<MergeRuleUtils.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 boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static <T extends java.util.Collection<Term>> T toTermList(T target, java.lang.Iterable<MergeRuleUtils.TermWrapper> wrappedCollection)
target - The collection to insert the wrapped terms into.wrappedCollection - Iterable to transform.