Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions android/guava/src/com/google/common/cache/CacheBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -549,10 +549,10 @@ public CacheBuilder<K, V> maximumWeight(long maximumWeight) {

/**
* Specifies the weigher to use in determining the weight of entries. Entry weight is taken into
* consideration by {@link #maximumWeight(long)} when determining which entries to evict, and use
* of this method requires a corresponding call to {@link #maximumWeight(long)} prior to calling
* {@link #build}. Weights are measured and recorded when entries are inserted into the cache, and
* are thus effectively static during the lifetime of a cache entry.
* consideration by {@link #maximumWeight(long)} when determining whether the cache is over
* capacity, and use of this method requires a corresponding call to {@link #maximumWeight(long)}
* prior to calling {@link #build}. Weights are measured and recorded when entries are inserted
* into the cache, and are thus effectively static during the lifetime of a cache entry.
*
* <p>When the weight of an entry is zero it will not be considered for size-based eviction
* (though it still may be evicted by other means).
Expand Down
8 changes: 4 additions & 4 deletions guava/src/com/google/common/cache/CacheBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -549,10 +549,10 @@ public CacheBuilder<K, V> maximumWeight(long maximumWeight) {

/**
* Specifies the weigher to use in determining the weight of entries. Entry weight is taken into
* consideration by {@link #maximumWeight(long)} when determining which entries to evict, and use
* of this method requires a corresponding call to {@link #maximumWeight(long)} prior to calling
* {@link #build}. Weights are measured and recorded when entries are inserted into the cache, and
* are thus effectively static during the lifetime of a cache entry.
* consideration by {@link #maximumWeight(long)} when determining whether the cache is over
* capacity, and use of this method requires a corresponding call to {@link #maximumWeight(long)}
* prior to calling {@link #build}. Weights are measured and recorded when entries are inserted
* into the cache, and are thus effectively static during the lifetime of a cache entry.
*
* <p>When the weight of an entry is zero it will not be considered for size-based eviction
* (though it still may be evicted by other means).
Expand Down
Loading