Class Universum
java.lang.Object
adaa.analytics.rules.logic.representation.valueset.Universum
- All Implemented Interfaces:
IValueSet
,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(double value) Checks whether the set contains a given value.boolean
Checks if the value set equals to another one.getDifference
(IValueSet set) Get difference between the value set and another one.getIntersection
(IValueSet set) Gets intersection of the value set with another one.int
hashCode()
Calculates hashcode of the value set.boolean
intersects
(IValueSet set) Checks if the value set intersects with another one.toString()
Converts the value set to a string.
-
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 (seeMissingValuesHandler
). -
intersects
Description copied from interface:IValueSet
Checks if the value set intersects with another one.- Specified by:
intersects
in interfaceIValueSet
- Parameters:
set
- Other value set.- Returns:
- Test result.
-
getIntersection
Description copied from interface:IValueSet
Gets intersection of the value set with another one.- Specified by:
getIntersection
in interfaceIValueSet
- Parameters:
set
- Other value set.- Returns:
- Intersection of sets.
-
toString
Description copied from interface:IValueSet
Converts the value set to a string. -
hashCode
public int hashCode()Description copied from interface:IValueSet
Calculates hashcode of the value set. -
equals
Description copied from interface:IValueSet
Checks if the value set equals to another one. -
getDifference
Description copied from interface:IValueSet
Get difference between the value set and another one.- Specified by:
getDifference
in interfaceIValueSet
- Parameters:
set
- Other value set.- Returns:
- Difference of sets.
-