Record Class FunctionalDependency<T>
java.lang.Object
java.lang.Record
tools.refinery.logic.dnf.FunctionalDependency<T>
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionalDependency(Set<T> forEach, Set<T> unique) Validates the functional dependency. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.forEach()Returns the value of theforEachrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.unique()Returns the value of theuniquerecord component.
-
Constructor Details
-
FunctionalDependency
Validates the functional dependency.- Throws:
InvalidQueryException- if the functional dependency is invalid
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
forEach
-
unique
-