Record Class UrbanHeatIslandModel.UrbanZone
java.lang.Object
java.lang.Record
org.episteme.social.architecture.urbanism.UrbanHeatIslandModel.UrbanZone
- All Implemented Interfaces:
Serializable
- Enclosing class:
UrbanHeatIslandModel
public static record UrbanHeatIslandModel.UrbanZone(String name, Map<UrbanHeatIslandModel.LandCover, Double> surfaceComposition, double skyViewFactor, Quantity<?> anthropogenicHeatFlux)
extends Record
implements Serializable
Represents a discrete urban zone with specific surface and geometric characteristics.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionQuantity<?> Returns the value of theanthropogenicHeatFluxrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.doubleReturns the value of theskyViewFactorrecord component.Returns the value of thesurfaceCompositionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UrbanZone
public UrbanZone(String name, Map<UrbanHeatIslandModel.LandCover, Double> surfaceComposition, double skyViewFactor, Quantity<?> anthropogenicHeatFlux) Creates an instance of aUrbanZonerecord class.- Parameters:
name- the value for thenamerecord componentsurfaceComposition- the value for thesurfaceCompositionrecord componentskyViewFactor- the value for theskyViewFactorrecord componentanthropogenicHeatFlux- the value for theanthropogenicHeatFluxrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
surfaceComposition
Returns the value of thesurfaceCompositionrecord component.- Returns:
- the value of the
surfaceCompositionrecord component
-
skyViewFactor
public double skyViewFactor()Returns the value of theskyViewFactorrecord component.- Returns:
- the value of the
skyViewFactorrecord component
-
anthropogenicHeatFlux
Returns the value of theanthropogenicHeatFluxrecord component.- Returns:
- the value of the
anthropogenicHeatFluxrecord component
-