Class ValueSet<T>

java.lang.Object
org.aksw.jena_sparql_api.views.ValueSet<T>
Type Parameters:
T -

@Deprecated public class ValueSet<T> extends Object
Deprecated.
Author:
Claus Stadler, Aug 1, 2018
  • Constructor Summary

    Constructors
    Constructor
    Description
    ValueSet(boolean isPositive, Set<T> values)
    Deprecated.
     
    ValueSet(Set<T> values)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
     
    static <T> ValueSet<T>
    create(boolean isPositive, T... values)
    Deprecated.
     
    boolean
    Deprecated.
     
    Deprecated.
     
    int
    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 union
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    Deprecated.
     
    Deprecated.
     
    union(ValueSet<T> that)
    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ValueSet

      public ValueSet(Set<T> values)
      Deprecated.
    • ValueSet

      public ValueSet(boolean isPositive, Set<T> values)
      Deprecated.
  • Method Details

    • create

      public static <T> ValueSet<T> create(boolean isPositive, T... values)
      Deprecated.
    • intersect

      public ValueSet<T> intersect(ValueSet<T> that)
      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

      public ValueSet<T> union(ValueSet<T> that)
      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

      public ValueSet<T> negate()
      Deprecated.
    • isEmpty

      public boolean isEmpty()
      Deprecated.
    • contains

      public boolean contains(Object item)
      Deprecated.
    • isPositive

      public boolean isPositive()
      Deprecated.
    • getValue

      public Set<T> getValue()
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object