Package br.unip.aps.report
Record Class ExportadorWeb.Resultado
java.lang.Object
java.lang.Record
br.unip.aps.report.ExportadorWeb.Resultado
- Enclosing class:
ExportadorWeb
public static record ExportadorWeb.Resultado(Path pasta, int focos, int municipios, int algoritmos, long bytes)
extends Record
Arquivos gravados e totais, para o resumo no terminal.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thealgoritmosrecord component.longbytes()Returns the value of thebytesrecord component.final booleanIndicates whether some other object is "equal to" this one.intfocos()Returns the value of thefocosrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of themunicipiosrecord component.pasta()Returns the value of thepastarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Resultado
Creates an instance of aResultadorecord class.- Parameters:
pasta- the value for thepastarecord componentfocos- the value for thefocosrecord componentmunicipios- the value for themunicipiosrecord componentalgoritmos- the value for thealgoritmosrecord componentbytes- the value for thebytesrecord component
-
-
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 '=='. -
pasta
Returns the value of thepastarecord component.- Returns:
- the value of the
pastarecord component
-
focos
public int focos()Returns the value of thefocosrecord component.- Returns:
- the value of the
focosrecord component
-
municipios
public int municipios()Returns the value of themunicipiosrecord component.- Returns:
- the value of the
municipiosrecord component
-
algoritmos
public int algoritmos()Returns the value of thealgoritmosrecord component.- Returns:
- the value of the
algoritmosrecord component
-
bytes
public long bytes()Returns the value of thebytesrecord component.- Returns:
- the value of the
bytesrecord component
-