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 TypeMethodDescriptionbooleancontains(double value) Checks whether the set contains a given value.booleanChecks 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.inthashCode()Calculates hashcode of the value set.booleanintersects(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:IValueSetChecks 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:IValueSetChecks if the value set intersects with another one.- Specified by:
intersectsin interfaceIValueSet- Parameters:
set- Other value set.- Returns:
- Test result.
-
getIntersection
Description copied from interface:IValueSetGets intersection of the value set with another one.- Specified by:
getIntersectionin interfaceIValueSet- Parameters:
set- Other value set.- Returns:
- Intersection of sets.
-
toString
Description copied from interface:IValueSetConverts the value set to a string. -
hashCode
public int hashCode()Description copied from interface:IValueSetCalculates hashcode of the value set. -
equals
Description copied from interface:IValueSetChecks if the value set equals to another one. -
getDifference
Description copied from interface:IValueSetGet difference between the value set and another one.- Specified by:
getDifferencein interfaceIValueSet- Parameters:
set- Other value set.- Returns:
- Difference of sets.
-