Record Class HistoricalReconstructionEngine.BuildingFeature
java.lang.Object
java.lang.Record
org.episteme.social.architecture.HistoricalReconstructionEngine.BuildingFeature
- All Implemented Interfaces:
Serializable
- Enclosing class:
HistoricalReconstructionEngine
public static record HistoricalReconstructionEngine.BuildingFeature(String type, String material, double value)
extends Record
implements Serializable
Represents a discrete architectural feature extracted from a source.
- Since:
- 1.0
- Version:
- 2.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBuildingFeature(String type, String material, double value) Creates an instance of aBuildingFeaturerecord 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.material()Returns the value of thematerialrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.doublevalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
BuildingFeature
-
-
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. -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
material
Returns the value of thematerialrecord component.- Returns:
- the value of the
materialrecord component
-
value
public double value()Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-