Record Class DialectMapper.Isogloss
java.lang.Object
java.lang.Record
org.episteme.social.linguistics.DialectMapper.Isogloss
- All Implemented Interfaces:
Serializable
- Enclosing class:
DialectMapper
public static record DialectMapper.Isogloss(String name, DialectMapper.LinguisticFeature dividingFeature, List<double[]> boundaryPoints, String description)
extends Record
implements Serializable
Represents a line on a map marking the geographical boundary of a
linguistic feature.
- Since:
- 1.0
- Version:
- 2.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIsogloss(String name, DialectMapper.LinguisticFeature dividingFeature, List<double[]> boundaryPoints, String description) Creates an instance of aIsoglossrecord class. -
Method Summary
Modifier and TypeMethodDescriptionList<double[]> Returns the value of theboundaryPointsrecord component.Returns the value of thedescriptionrecord component.Returns the value of thedividingFeaturerecord 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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Isogloss
public Isogloss(String name, DialectMapper.LinguisticFeature dividingFeature, List<double[]> boundaryPoints, String description) Creates an instance of aIsoglossrecord class.- Parameters:
name- the value for thenamerecord componentdividingFeature- the value for thedividingFeaturerecord componentboundaryPoints- the value for theboundaryPointsrecord componentdescription- the value for thedescriptionrecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
dividingFeature
Returns the value of thedividingFeaturerecord component.- Returns:
- the value of the
dividingFeaturerecord component
-
boundaryPoints
Returns the value of theboundaryPointsrecord component.- Returns:
- the value of the
boundaryPointsrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-