Package com.jcabi.aspects
Class Tv
- java.lang.Object
-
- com.jcabi.aspects.Tv
-
public final class Tv extends Object
Convenient holder of numeric constants for annotations (TV means "time values").For example, you can use it like this:
@Cacheable(lifetime = Tv.FIVE, unit = TimeUnit.SECONDS) String load(String resource) throws IOException { }
- Since:
- 0.22.1
- See Also:
- http://aspects.jcabi.com/
-
-
Field Summary
Fields Modifier and Type Field Description static int
BILLION
Billion.static int
EIGHT
Eight.static int
EIGHTY
Eighty.static int
FIFTEEN
Fifteen.static int
FIFTY
Fifty.static int
FIVE
Five.static int
FORTY
Forty.static int
FOUR
Four.static int
HUNDRED
Hundren.static int
MILLION
Million.static int
NINE
Nine.static int
NINETY
Ninety.static int
SEVEN
Seven.static int
SEVENTY
Seventy.static int
SIX
Six.static int
SIXTY
Sixty.static int
TEN
Ten.static int
THIRTY
Thirty.static int
THOUSAND
Thousand.static int
THREE
Three.static int
TWENTY
Twenty.
-
-
-
Field Detail
-
THREE
public static final int THREE
Three.- See Also:
- Constant Field Values
-
FOUR
public static final int FOUR
Four.- See Also:
- Constant Field Values
-
FIVE
public static final int FIVE
Five.- See Also:
- Constant Field Values
-
SIX
public static final int SIX
Six.- See Also:
- Constant Field Values
-
SEVEN
public static final int SEVEN
Seven.- See Also:
- Constant Field Values
-
EIGHT
public static final int EIGHT
Eight.- See Also:
- Constant Field Values
-
NINE
public static final int NINE
Nine.- See Also:
- Constant Field Values
-
TEN
public static final int TEN
Ten.- See Also:
- Constant Field Values
-
FIFTEEN
public static final int FIFTEEN
Fifteen.- See Also:
- Constant Field Values
-
TWENTY
public static final int TWENTY
Twenty.- See Also:
- Constant Field Values
-
THIRTY
public static final int THIRTY
Thirty.- See Also:
- Constant Field Values
-
FORTY
public static final int FORTY
Forty.- See Also:
- Constant Field Values
-
FIFTY
public static final int FIFTY
Fifty.- See Also:
- Constant Field Values
-
SIXTY
public static final int SIXTY
Sixty.- See Also:
- Constant Field Values
-
SEVENTY
public static final int SEVENTY
Seventy.- See Also:
- Constant Field Values
-
EIGHTY
public static final int EIGHTY
Eighty.- See Also:
- Constant Field Values
-
NINETY
public static final int NINETY
Ninety.- See Also:
- Constant Field Values
-
HUNDRED
public static final int HUNDRED
Hundren.- See Also:
- Constant Field Values
-
THOUSAND
public static final int THOUSAND
Thousand.- See Also:
- Constant Field Values
-
MILLION
public static final int MILLION
Million.- See Also:
- Constant Field Values
-
BILLION
public static final int BILLION
Billion.- See Also:
- Constant Field Values
-
-