Skip to content

Commit 5ae4fb9

Browse files
committed
Javadoc
1 parent 7ab92fa commit 5ae4fb9

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public ConcurrentReferenceHashMap<K, V> get() {
194194
* Sets the estimated number of concurrently updating threads. The implementation performs internal sizing to try to accommodate this many threads.
195195
*
196196
* @param concurrencyLevel estimated number of concurrently updating threads
197-
* @return this instance.
197+
* @return {@code this} instance.
198198
*/
199199
public Builder<K, V> setConcurrencyLevel(final int concurrencyLevel) {
200200
this.concurrencyLevel = concurrencyLevel;
@@ -205,7 +205,7 @@ public Builder<K, V> setConcurrencyLevel(final int concurrencyLevel) {
205205
* Sets the initial capacity. The implementation performs internal sizing to accommodate this many elements.
206206
*
207207
* @param initialCapacity the initial capacity.
208-
* @return this instance.
208+
* @return {@code this} instance.
209209
*/
210210
public Builder<K, V> setInitialCapacity(final int initialCapacity) {
211211
this.initialCapacity = initialCapacity;
@@ -216,7 +216,7 @@ public Builder<K, V> setInitialCapacity(final int initialCapacity) {
216216
* Sets the reference type to use for keys.
217217
*
218218
* @param keyReferenceType the reference type to use for keys.
219-
* @return this instance.
219+
* @return {@code this} instance.
220220
*/
221221
public Builder<K, V> setKeyReferenceType(final ReferenceType keyReferenceType) {
222222
this.keyReferenceType = keyReferenceType;
@@ -227,7 +227,7 @@ public Builder<K, V> setKeyReferenceType(final ReferenceType keyReferenceType) {
227227
* Sets the load factor factor, used to control resizing. Resizing may be performed when the average number of elements per bin exceeds this threshold.
228228
*
229229
* @param loadFactor the load factor factor, used to control resizing
230-
* @return this instance.
230+
* @return {@code this} instance.
231231
*/
232232
public Builder<K, V> setLoadFactor(final float loadFactor) {
233233
this.loadFactor = loadFactor;
@@ -238,7 +238,7 @@ public Builder<K, V> setLoadFactor(final float loadFactor) {
238238
* Sets the behavioral options.
239239
*
240240
* @param options the behavioral options.
241-
* @return this instance.
241+
* @return {@code this} instance.
242242
*/
243243
public Builder<K, V> setOptions(final EnumSet<Option> options) {
244244
this.options = options;
@@ -249,7 +249,7 @@ public Builder<K, V> setOptions(final EnumSet<Option> options) {
249249
* Sets the values to load into a new map.
250250
*
251251
* @param sourceMap the values to load into a new map.
252-
* @return this instance.
252+
* @return {@code this} instance.
253253
*/
254254
public Builder<K, V> setSourceMap(final Map<? extends K, ? extends V> sourceMap) {
255255
this.sourceMap = sourceMap;
@@ -260,7 +260,7 @@ public Builder<K, V> setSourceMap(final Map<? extends K, ? extends V> sourceMap)
260260
* Sets the reference type to use for values.
261261
*
262262
* @param valueReferenceType the reference type to use for values.
263-
* @return this instance.
263+
* @return {@code this} instance.
264264
*/
265265
public Builder<K, V> setValueReferenceType(final ReferenceType valueReferenceType) {
266266
this.valueReferenceType = valueReferenceType;
@@ -270,7 +270,7 @@ public Builder<K, V> setValueReferenceType(final ReferenceType valueReferenceTyp
270270
/**
271271
* Sets key reference type to {@link ReferenceType#SOFT}.
272272
*
273-
* @return this instance.
273+
* @return {@code this} instance.
274274
*/
275275
public Builder<K, V> softKeys() {
276276
setKeyReferenceType(ReferenceType.SOFT);
@@ -280,7 +280,7 @@ public Builder<K, V> softKeys() {
280280
/**
281281
* Sets value reference type to {@link ReferenceType#SOFT}.
282282
*
283-
* @return this instance.
283+
* @return {@code this} instance.
284284
*/
285285
public Builder<K, V> softValues() {
286286
setValueReferenceType(ReferenceType.SOFT);
@@ -290,7 +290,7 @@ public Builder<K, V> softValues() {
290290
/**
291291
* Sets key reference type to {@link ReferenceType#STRONG}.
292292
*
293-
* @return this instance.
293+
* @return {@code this} instance.
294294
*/
295295
public Builder<K, V> strongKeys() {
296296
setKeyReferenceType(ReferenceType.STRONG);
@@ -300,7 +300,7 @@ public Builder<K, V> strongKeys() {
300300
/**
301301
* Sets value reference type to {@link ReferenceType#STRONG}.
302302
*
303-
* @return this instance.
303+
* @return {@code this} instance.
304304
*/
305305
public Builder<K, V> strongValues() {
306306
setValueReferenceType(ReferenceType.STRONG);
@@ -310,7 +310,7 @@ public Builder<K, V> strongValues() {
310310
/**
311311
* Sets key reference type to {@link ReferenceType#WEAK}.
312312
*
313-
* @return this instance.
313+
* @return {@code this} instance.
314314
*/
315315
public Builder<K, V> weakKeys() {
316316
setKeyReferenceType(ReferenceType.WEAK);
@@ -320,7 +320,7 @@ public Builder<K, V> weakKeys() {
320320
/**
321321
* Sets value reference type to {@link ReferenceType#WEAK}.
322322
*
323-
* @return this instance.
323+
* @return {@code this} instance.
324324
*/
325325
public Builder<K, V> weakValues() {
326326
setValueReferenceType(ReferenceType.WEAK);

0 commit comments

Comments
 (0)