Consistent javadoc references to java.util.concurrent and javax.enterprise.concurrent
This commit is contained in:
@@ -48,7 +48,7 @@ import java.util.concurrent.locks.ReentrantLock;
|
||||
* references at any time, so it may appear that an unknown thread is silently removing
|
||||
* entries.
|
||||
*
|
||||
* <p>If not explicitly specified this implementation will use
|
||||
* <p>If not explicitly specified, this implementation will use
|
||||
* {@linkplain SoftReference soft entry references}.
|
||||
*
|
||||
* @param <K> The key type
|
||||
@@ -425,7 +425,6 @@ public class ConcurrentReferenceHashMap<K, V> extends AbstractMap<K, V> implemen
|
||||
setReferences(createReferenceArray(this.initialSize));
|
||||
}
|
||||
|
||||
|
||||
public Reference<K, V> getReference(Object key, int hash, Restructure restructure) {
|
||||
if (restructure == Restructure.WHEN_NECESSARY) {
|
||||
restructureIfNecessary(false);
|
||||
@@ -895,6 +894,7 @@ public class ConcurrentReferenceHashMap<K, V> extends AbstractMap<K, V> implemen
|
||||
* The types of restructuring that can be performed.
|
||||
*/
|
||||
protected static enum Restructure {
|
||||
|
||||
WHEN_NECESSARY, NEVER
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user