Skip to content

Commit 2958663

Browse files
committed
LastRecentlyUsed: add missing @OVERRIDES
1 parent e4398d4 commit 2958663

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/scijava/util/LastRecentlyUsed.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public int lookup(final T value) {
121121
* @param value the value of the entry
122122
* @return whether the entry was added
123123
*/
124+
@Override
124125
public boolean add(final T value) {
125126
return add(value, false);
126127
}
@@ -154,6 +155,7 @@ public boolean replace(final int index, T newValue) {
154155
/**
155156
* Empties the data structure.
156157
*/
158+
@Override
157159
public void clear() {
158160
top = bottom = 0;
159161
map.clear();
@@ -258,6 +260,7 @@ public <S> S[] toArray(final S[] array) {
258260
*
259261
* @return the iterator
260262
*/
263+
@Override
261264
public Iterator<T> iterator() {
262265
return new Iterator<T>() {
263266

0 commit comments

Comments
 (0)