public class Times extends ObjectWithReflectiveEqualsHashCodeToString
| Modifier and Type | Method and Description |
|---|---|
Times |
clone() |
boolean |
decrement() |
boolean |
equals(Object o) |
static Times |
exactly(int count) |
int |
getRemainingTimes() |
boolean |
greaterThenZero() |
int |
hashCode() |
boolean |
isUnlimited() |
static Times |
once() |
static Times |
unlimited() |
fieldsExcludedFromEqualsAndHashCode, toStringpublic static Times unlimited()
public static Times once()
public static Times exactly(int count)
public int getRemainingTimes()
public boolean isUnlimited()
public boolean greaterThenZero()
public boolean decrement()
public boolean equals(Object o)
equals in class ObjectWithReflectiveEqualsHashCodeToStringpublic int hashCode()
hashCode in class ObjectWithReflectiveEqualsHashCodeToStringCopyright © 2020. All rights reserved.