-
public final class DiskLruCache.ValueA snapshot of the values for an entry.
-
-
Method Summary
Modifier and Type Method Description DiskLruCache.Editoredit()Returns an editor for this snapshot's entry, or null if either theentry has changed since this snapshot was created or if another editis in progress. FilegetFile(int index)StringgetString(int index)Returns the string value for {@code index}.longgetLength(int index)Returns the byte length of the value for {@code index}.-
-
Method Detail
-
edit
DiskLruCache.Editor edit()
Returns an editor for this snapshot's entry, or null if either theentry has changed since this snapshot was created or if another editis in progress.
-
getLength
long getLength(int index)
Returns the byte length of the value for
{@code index}.
-
-
-
-