Package com.jbstrap.core.cache
Enum Class Pages
- All Implemented Interfaces:
Serializable
,Comparable<Pages>
,Constable
- Since:
- 4.0
- Author:
- JBStrap
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(NavigationPoint navigationPoint) boolean
void
static Pages
Returns the enum constant of this class with the specified name.static Pages[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
get
- Parameters:
pageId
- The id of the navigation point- Returns:
- The navigation point or
null
, if not found - Throws:
NullPointerException
- If the specified id isnull
-
remove
- Parameters:
pageId
- The id of the navigation point that needs to be removed
-
isExists
- Parameters:
pageId
- The page id- Returns:
- If
true
, there's a navigation point with the specified id in the cache, otherwisefalse
-