public enum GravatarImageResolutionCacheInstance extends Enum<GravatarImageResolutionCacheInstance> implements GravatarImageResolutionCache
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasGravatarCreator(User user) |
void |
loadIfUnknown(User user) |
com.google.common.base.Optional<GravatarUrlCreator> |
urlCreatorFor(User user) |
static GravatarImageResolutionCacheInstance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GravatarImageResolutionCacheInstance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GravatarImageResolutionCacheInstance INSTANCE
public static GravatarImageResolutionCacheInstance[] values()
for (GravatarImageResolutionCacheInstance c : GravatarImageResolutionCacheInstance.values()) System.out.println(c);
public static GravatarImageResolutionCacheInstance valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic com.google.common.base.Optional<GravatarUrlCreator> urlCreatorFor(User user)
urlCreatorFor in interface GravatarImageResolutionCachepublic void loadIfUnknown(User user)
loadIfUnknown in interface GravatarImageResolutionCachepublic boolean hasGravatarCreator(User user)
hasGravatarCreator in interface GravatarImageResolutionCacheCopyright © 2016–2021. All rights reserved.