Package com.bumptech.glide.load
Class Options
- java.lang.Object
-
- com.bumptech.glide.load.Options
-
-
Field Summary
-
Fields inherited from interface com.bumptech.glide.load.Key
CHARSET, STRING_CHARSET_NAME
-
-
Constructor Summary
Constructors Constructor Description Options()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)For caching to work correctly, implementations must implement this method andKey.hashCode().<T> Tget(Option<T> option)inthashCode()For caching to work correctly, implementations must implement this method andKey.equals(Object).voidputAll(Options other)<T> Optionsset(Option<T> option, T value)java.lang.StringtoString()voidupdateDiskCacheKey(java.security.MessageDigest messageDigest)Adds all uniquely identifying information to the given digest.
-
-
-
Method Detail
-
putAll
public void putAll(@NonNull Options other)
-
get
@Nullable public <T> T get(@NonNull Option<T> option)
-
equals
public boolean equals(java.lang.Object o)
Description copied from interface:KeyFor caching to work correctly, implementations must implement this method andKey.hashCode().
-
hashCode
public int hashCode()
Description copied from interface:KeyFor caching to work correctly, implementations must implement this method andKey.equals(Object).
-
updateDiskCacheKey
public void updateDiskCacheKey(@NonNull java.security.MessageDigest messageDigest)Description copied from interface:KeyAdds all uniquely identifying information to the given digest.Note - Using
MessageDigest.reset()inside of this method will result in undefined behavior.- Specified by:
updateDiskCacheKeyin interfaceKey
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-