Record Class AccessibilityIndex.Isochrone
java.lang.Object
java.lang.Record
org.episteme.social.geography.AccessibilityIndex.Isochrone
- Enclosing class:
AccessibilityIndex
public static record AccessibilityIndex.Isochrone(GeodeticCoordinate center, Duration travelTime, String travelMode, List<GeodeticCoordinate> boundaryPoints)
extends Record
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
ConstructorsConstructorDescriptionIsochrone(GeodeticCoordinate center, Duration travelTime, String travelMode, List<GeodeticCoordinate> boundaryPoints) Creates an instance of aIsochronerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theboundaryPointsrecord component.center()Returns the value of thecenterrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of thetravelModerecord component.Returns the value of thetravelTimerecord component.
-
Constructor Details
-
Isochrone
public Isochrone(GeodeticCoordinate center, Duration travelTime, String travelMode, List<GeodeticCoordinate> boundaryPoints) Creates an instance of aIsochronerecord class.- Parameters:
center- the value for thecenterrecord componenttravelTime- the value for thetravelTimerecord componenttravelMode- the value for thetravelModerecord componentboundaryPoints- the value for theboundaryPointsrecord 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). -
center
Returns the value of thecenterrecord component.- Returns:
- the value of the
centerrecord component
-
travelTime
Returns the value of thetravelTimerecord component.- Returns:
- the value of the
travelTimerecord component
-
travelMode
Returns the value of thetravelModerecord component.- Returns:
- the value of the
travelModerecord component
-
boundaryPoints
Returns the value of theboundaryPointsrecord component.- Returns:
- the value of the
boundaryPointsrecord component
-