Class ValueSet<T>
java.lang.Object
org.aksw.jena_sparql_api.sparql_path2.ValueSet<T>
- All Implemented Interfaces:
Predicate<T>
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.static <T> ValueSet<T>create()Deprecated.static <T> ValueSet<T>create(boolean isPositive, Collection<T> values) Deprecated.static <T> ValueSet<T>create(boolean isPositive, T... values) Deprecated.static <T> ValueSet<T>Deprecated.booleanDeprecated.Deprecated.inthashCode()Deprecated.Deprecated.case: positive - positive Simply take the intersection case: positive - negative {1, 2, 3} intersect {not {2}}: -> {1, 3} (positive.removeAll(negative)) case: negative - positive Same as above case: negative - negative Simply take the unionbooleanisEmpty()Deprecated.booleanDeprecated.negate()Deprecated.booleanDeprecated.toString()Deprecated.Deprecated.case: positive - positive Simply take the union case: positive - negative {1, 2, 3} intersect {not {1, 4}}: -> {4} (negative.removeAll(positive)) case: negative - positive Same as above case: negative - negative Simply take the intersection
-
Constructor Details
-
ValueSet
Deprecated. -
ValueSet
Deprecated.
-
-
Method Details
-
getValues
Deprecated. -
isPositive
public boolean isPositive()Deprecated. -
create
Deprecated. -
createEmpty
Deprecated. -
create
Deprecated. -
create
Deprecated. -
intersect
Deprecated.case: positive - positive Simply take the intersection case: positive - negative {1, 2, 3} intersect {not {2}}: -> {1, 3} (positive.removeAll(negative)) case: negative - positive Same as above case: negative - negative Simply take the union- Parameters:
other-- Returns:
-
union
Deprecated.case: positive - positive Simply take the union case: positive - negative {1, 2, 3} intersect {not {1, 4}}: -> {4} (negative.removeAll(positive)) case: negative - positive Same as above case: negative - negative Simply take the intersection- Parameters:
that-- Returns:
-
negate
Deprecated. -
isEmpty
public boolean isEmpty()Deprecated. -
contains
Deprecated. -
test
Deprecated. -
toString
Deprecated. -
hashCode
public int hashCode()Deprecated. -
equals
Deprecated.
-