public class IntOrInfObj extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IntOrInfObj.ConfigIntOrInfDeserializer |
static class |
IntOrInfObj.ConfigIntOrInfSerializer |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static IntOrInfObj |
inf()
Creates an IntOrInfObj representing infinity.
|
static IntOrInfObj |
of(int value)
Creates an IntOrInfObj with a specific integer value.
|
String |
toString() |
public static IntOrInfObj inf()
public static IntOrInfObj of(int value) throws IllegalArgumentException
value - The integer value (1 to 262,144)IllegalArgumentExceptionCopyright © 2025. All rights reserved.