@Value.Immutable public abstract class Percent extends Object
| Constructor and Description |
|---|
Percent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
check() |
boolean |
isMax() |
boolean |
isMin() |
static Percent |
max() |
static Percent |
min() |
static Percent |
of(int value) |
abstract int |
value() |
@Value.Parameter public abstract int value()
@Value.Auxiliary public boolean isMax()
@Value.Auxiliary public boolean isMin()
@Value.Check protected void check()
public static Percent of(int value)
public static Percent max()
public static Percent min()
Copyright © 2023. All rights reserved.