@Generated(value="org.immutables.processor.ProxyProcessor") public final class Timer extends Object
_Timer.
Use the builder to create immutable instances:
Timer.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
Timer.Builder
Builds instances of type
Timer. |
| Modifier and Type | Method and Description |
|---|---|
static Timer.Builder |
builder()
Creates a builder for
Timer. |
boolean |
equals(Object another)
This instance is equal to all instances of
Timer that have equal attribute values. |
String |
getName()
The timer name
|
Long |
getStart()
The timer start
|
Long |
getStop()
The timer stop
|
int |
hashCode()
Computes a hash code from attributes:
name, start, stop. |
String |
toString()
Prints the immutable value
Timer with attribute values. |
public String getName()
public Long getStart()
public Long getStop()
public boolean equals(Object another)
Timer that have equal attribute values.public int hashCode()
name, start, stop.public String toString()
Timer with attribute values.public static Timer.Builder builder()
Timer.
Timer.builder()
.name(String | null) // nullable name
.start(Long | null) // nullable start
.stop(Long | null) // nullable stop
.build();
Copyright © 2021. All rights reserved.