Record Class CandidatePlacement
java.lang.Object
java.lang.Record
org.aksw.vshell.registry.CandidatePlacement
public record CandidatePlacement(PlacedCommand root, Map<CmdOpVar, PlacedCommand> placements)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCandidatePlacement(PlacedCommand root, Map<CmdOpVar, PlacedCommand> placements) Creates an instance of aCandidatePlacementrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theplacementsrecord component.root()Returns the value of therootrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CandidatePlacement
Creates an instance of aCandidatePlacementrecord class.- Parameters:
root- the value for therootrecord componentplacements- the value for theplacementsrecord component
-
-
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). -
root
Returns the value of therootrecord component.- Returns:
- the value of the
rootrecord component
-
placements
Returns the value of theplacementsrecord component.- Returns:
- the value of the
placementsrecord component
-