Package org.aksw.jenax.constraint.util
Interface PrefixSet
- All Known Implementing Classes:
PrefixSetImpl
-
Method Summary
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Method Details
-
getPrefixesOf
Return the set of prefixes of str- Parameters:
str-inclusive- True if str should be matched as well- Returns:
-
intersect
(1) Replace shorter (more generic) prefixes in this with longer (more specific) ones in other when the former is a prefix of the latter. (2) Replace prefixes in this with shorter ones from other when the latter is a prefix for the former.- Parameters:
other-- Returns:
- True when the operation modified this.
-