Record Class WeatherDiscoveryStore.Candidates
java.lang.Object
java.lang.Record
ecmwf.common.database.WeatherDiscoveryStore.Candidates
- Enclosing class:
WeatherDiscoveryStore
public static record WeatherDiscoveryStore.Candidates(Set<WeatherObservation.Path> paths, List<WeatherDiscoveryStore.RejectedHost> rejectedHosts)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCandidates(Set<WeatherObservation.Path> paths, List<WeatherDiscoveryStore.RejectedHost> rejectedHosts) Creates an instance of aCandidatesrecord 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.paths()Returns the value of thepathsrecord component.Returns the value of therejectedHostsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Candidates
public Candidates(Set<WeatherObservation.Path> paths, List<WeatherDiscoveryStore.RejectedHost> rejectedHosts) Creates an instance of aCandidatesrecord class.- Parameters:
paths- the value for thepathsrecord componentrejectedHosts- the value for therejectedHostsrecord 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). -
paths
Returns the value of thepathsrecord component.- Returns:
- the value of the
pathsrecord component
-
rejectedHosts
Returns the value of therejectedHostsrecord component.- Returns:
- the value of the
rejectedHostsrecord component
-