Package ch.rswk.meta.client
Record Class Logging.LoggingCounter
java.lang.Object
java.lang.Record
ch.rswk.meta.client.Logging.LoggingCounter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoggingCounter(Client client, String name) Creates an instance of aLoggingCounterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclient()Returns the value of theclientrecord component.voidcount()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.
-
Field Details
-
client
The field for theclientrecord component. -
name
The field for thenamerecord component.
-
-
Constructor Details
-
LoggingCounter
-
-
Method Details
-
count
public void count() -
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). -
client
Returns the value of theclientrecord component.- Returns:
- the value of the
clientrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-