Package sc.fiji.snt.seed
Record Class SeedOverlay.CsvImportResult
java.lang.Object
java.lang.Record
sc.fiji.snt.seed.SeedOverlay.CsvImportResult
- Record Components:
seeds- parsed seeds, in file orderskipped- number of rows skipped due to parse errors
- Enclosing class:
SeedOverlay
Result of
SeedOverlay.parseCsv(File): valid seeds plus a count of rows
skipped due to parse errors (missing/non-finite coordinates, etc)-
Constructor Summary
ConstructorsConstructorDescriptionCsvImportResult(List<SeedPoint> seeds, int skipped) Creates an instance of aCsvImportResultrecord 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.seeds()Returns the value of theseedsrecord component.intskipped()Returns the value of theskippedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
seeds
Returns the value of theseedsrecord component.- Returns:
- the value of the
seedsrecord component
-
skipped
public int skipped()Returns the value of theskippedrecord component.- Returns:
- the value of the
skippedrecord component
-