Record Class FileIndex.Hit
java.lang.Object
java.lang.Record
ai.redouble.demo.extract.FileIndex.Hit
- Enclosing class:
FileIndex
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.excerpt()Returns the value of theexcerptrecord component.final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.doublescore()Returns the value of thescorerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Hit
-
-
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. -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
score
public double score()Returns the value of thescorerecord component.- Returns:
- the value of the
scorerecord component
-
excerpt
Returns the value of theexcerptrecord component.- Returns:
- the value of the
excerptrecord component
-