com.notuvy.net.webcache
Enum CacheSortOrder
java.lang.Object
java.lang.Enum<CacheSortOrder>
com.notuvy.net.webcache.CacheSortOrder
- All Implemented Interfaces:
- Serializable, Comparable<CacheSortOrder>
public enum CacheSortOrder
- extends Enum<CacheSortOrder>
Created by IntelliJ IDEA.
User: murali
Date: Sep 11, 2008
Time: 12:35:32 PM
CREATION
public static final CacheSortOrder CREATION
LAST_ACCESS
public static final CacheSortOrder LAST_ACCESS
URL
public static final CacheSortOrder URL
values
public static CacheSortOrder[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CacheSortOrder c : CacheSortOrder.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CacheSortOrder valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException
- if the argument is null
getName
public String getName()
getCode
public String getCode()
comparator
public abstract Comparator<com.notuvy.net.webcache.CachedItem> comparator()
extractTime
public Date extractTime(com.notuvy.net.webcache.CachedItem pItem)
lookup
public static CacheSortOrder lookup(String pCode)
Copyright © 2013. All Rights Reserved.