Skip to content

Commit 0153f0e

Browse files
committed
FQCN is not needed
1 parent ffe1af2 commit 0153f0e

File tree

1 file changed

+12
-11
lines changed
  • src/main/java/org/apache/commons/collections4

1 file changed

+12
-11
lines changed

src/main/java/org/apache/commons/collections4/Get.java

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
package org.apache.commons.collections4;
1818

1919
import java.util.Collection;
20+
import java.util.Map;
2021
import java.util.Set;
2122

2223
/**
23-
* The "read" subset of the {@link java.util.Map} interface.
24+
* The "read" subset of the {@link Map} interface.
2425
*
2526
* @param <K> the type of the keys in this map
2627
* @param <V> the type of the values in this map
@@ -34,7 +35,7 @@ public interface Get<K, V> {
3435
*
3536
* @param key key whose presence in this map is to be tested
3637
* @return {@code true} if this map contains a mapping for the specified key
37-
* @see java.util.Map#containsKey(Object)
38+
* @see Map#containsKey(Object)
3839
*/
3940
boolean containsKey(Object key);
4041

@@ -43,40 +44,40 @@ public interface Get<K, V> {
4344
*
4445
* @param value value whose presence in this map is to be tested
4546
* @return {@code true} if this map maps one or more keys to the specified value
46-
* @see java.util.Map#containsValue(Object)
47+
* @see Map#containsValue(Object)
4748
*/
4849
boolean containsValue(Object value);
4950

5051
/**
5152
* Gets a set view of the mappings contained in this map.
5253
*
5354
* @return a set view of the mappings contained in this map.
54-
* @see java.util.Map#entrySet()
55+
* @see Map#entrySet()
5556
*/
56-
Set<java.util.Map.Entry<K, V>> entrySet();
57+
Set<Map.Entry<K, V>> entrySet();
5758

5859
/**
5960
* Gets a value at a given key.
6061
*
6162
* @param key the key whose associated value is to be returned
6263
* @return the value to which the specified key is mapped, or {@code null} if this map contains no mapping for the key
63-
* @see java.util.Map#get(Object)
64+
* @see Map#get(Object)
6465
*/
6566
V get(Object key);
6667

6768
/**
6869
* Tests whether this instance contains any key-value mappings.
6970
*
7071
* @return {@code true} if this map contains no key-value mappings
71-
* @see java.util.Map#isEmpty()
72+
* @see Map#isEmpty()
7273
*/
7374
boolean isEmpty();
7475

7576
/**
7677
* Gets a view of the keys contained in this map.
7778
*
7879
* @return a set view of the keys contained in this map
79-
* @see java.util.Map#keySet()
80+
* @see Map#keySet()
8081
*/
8182
Set<K> keySet();
8283

@@ -85,23 +86,23 @@ public interface Get<K, V> {
8586
*
8687
* @param key key whose mapping is to be removed from the map
8788
* @return the previous value associated with {@code key}, or {@code null} if there was no mapping for {@code key}.
88-
* @see java.util.Map#remove(Object)
89+
* @see Map#remove(Object)
8990
*/
9091
V remove(Object key);
9192

9293
/**
9394
* Gets the number of key-value mappings in this map.
9495
*
9596
* @return the number of key-value mappings in this map.
96-
* @see java.util.Map#size()
97+
* @see Map#size()
9798
*/
9899
int size();
99100

100101
/**
101102
* Gets a a collection view of the values contained in this map.
102103
*
103104
* @return a collection view of the values contained in this map.
104-
* @see java.util.Map#values()
105+
* @see Map#values()
105106
*/
106107
Collection<V> values();
107108

0 commit comments

Comments
 (0)