java.lang.Object
adaa.analytics.rules.logic.representation.valueset.Universum
All Implemented Interfaces:
IValueSet, Serializable

public class Universum extends Object implements IValueSet, Serializable
See Also:
  • Constructor Details

    • Universum

      public Universum()
  • Method Details

    • contains

      public boolean contains(double value)
      Description copied from interface: IValueSet
      Checks whether the set contains a given value. If the value is missing (NaN), the behaviour depends on the missing value policy (see MissingValuesHandler).
      Specified by:
      contains in interface IValueSet
      Parameters:
      value - Value to be checked.
      Returns:
      Test result.
    • intersects

      public boolean intersects(IValueSet set)
      Description copied from interface: IValueSet
      Checks if the value set intersects with another one.
      Specified by:
      intersects in interface IValueSet
      Parameters:
      set - Other value set.
      Returns:
      Test result.
    • getIntersection

      public IValueSet getIntersection(IValueSet set)
      Description copied from interface: IValueSet
      Gets intersection of the value set with another one.
      Specified by:
      getIntersection in interface IValueSet
      Parameters:
      set - Other value set.
      Returns:
      Intersection of sets.
    • toString

      public String toString()
      Description copied from interface: IValueSet
      Converts the value set to a string.
      Specified by:
      toString in interface IValueSet
      Overrides:
      toString in class Object
      Returns:
      Text representation of the value set.
    • hashCode

      public int hashCode()
      Description copied from interface: IValueSet
      Calculates hashcode of the value set.
      Specified by:
      hashCode in interface IValueSet
      Overrides:
      hashCode in class Object
      Returns:
      Hashcode.
    • equals

      public boolean equals(Object obj)
      Description copied from interface: IValueSet
      Checks if the value set equals to another one.
      Specified by:
      equals in interface IValueSet
      Overrides:
      equals in class Object
      Parameters:
      obj - Reference object.
      Returns:
      Test result.
    • getDifference

      public List<IValueSet> getDifference(IValueSet set)
      Description copied from interface: IValueSet
      Get difference between the value set and another one.
      Specified by:
      getDifference in interface IValueSet
      Parameters:
      set - Other value set.
      Returns:
      Difference of sets.