Package com.bumptech.glide.util
package com.bumptech.glide.util
-
ClassDescriptionUtilities for interacting with
ByteBuffers.AnArrayMapthat caches its hashCode to support efficient lookup.Uses the content length as the basis for the return value ofContentLengthInputStream.available()and verifies that at least content length bytes are returned from the various read methods.Deprecated.In some cases, callers may not handle getting 0 or -1 return values from methods, which can lead to infinite loops (see #4438).AnInputStreamthat catches, stores and rethrowsIOExceptions during read and skip calls.GenericExecutorimplementations.AListPreloader.PreloadSizeProviderwith a fixed width and height.Similar tocom.google.common.base.Suppliers, but named to reduce import confusion.Produces a non-null instance ofT.A class for logging elapsed real time in millis.LruCache<T,Y> A general purpose size limited cache that evicts items using an LRU algorithm.PreventsInputStreamsfrom overflowing their buffer by reading data past their read limit.A key of twoClasses to be used in hashed collections.Contains common assertions.Indicates that target's visibility can be relaxed to avoid synthetic methods.A collection of assorted utility classes.AListPreloader.PreloadSizeProviderthat will extract the preload size from a givenView.