Record Class MonitoraggioApi.VoceMisura
java.lang.Object
java.lang.Record
it.unina.picus.monitoraggio.api.MonitoraggioApi.VoceMisura
- Record Components:
misuraId- identificativo stabile della misuravoce- codice della voce nel tracciato applicabilevalore- conteggio per la voce, incluso zero se dichiarato
- Enclosing interface:
MonitoraggioApi
-
Constructor Summary
ConstructorsConstructorDescriptionVoceMisura(long misuraId, String voce, long valore) Creates an instance of aVoceMisurarecord 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.longmisuraId()Returns the value of themisuraIdrecord component.final StringtoString()Returns a string representation of this record class.longvalore()Returns the value of thevalorerecord component.voce()Returns the value of thevocerecord component.
-
Constructor Details
-
VoceMisura
-
-
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. -
misuraId
-
voce
-
valore
-