summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/IntIntHashMap.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-02-26 18:10:53 +0100
committerSven Gothel <[email protected]>2011-02-26 18:10:53 +0100
commit837e90f090cf1627ad2897ecc1e9be428e0e3d43 (patch)
tree8a6fdd5aca35571aea852c5b19b03131275636ae /src/java/com/jogamp/common/util/IntIntHashMap.java
parent45788d1f3264725ba2e2f31f4b56d492e265b67c (diff)
parentbe26200a6d2fbeff6df49aada0bcf7cad91fe64f (diff)
Merge remote-tracking branch 'remotes/mbien/master'
Diffstat (limited to 'src/java/com/jogamp/common/util/IntIntHashMap.java')
-rw-r--r--src/java/com/jogamp/common/util/IntIntHashMap.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/java/com/jogamp/common/util/IntIntHashMap.java b/src/java/com/jogamp/common/util/IntIntHashMap.java
index e18468b..f449a95 100644
--- a/src/java/com/jogamp/common/util/IntIntHashMap.java
+++ b/src/java/com/jogamp/common/util/IntIntHashMap.java
@@ -235,8 +235,8 @@ public class /*name*/IntIntHashMap/*name*/ implements Iterable {
* Returns a new {@link Iterator}.
* Note: this Iterator does not yet support removal of elements.
*/
-// @Override
- public Iterator/*<Entry>*/ iterator() {
+ @Override
+ public Iterator<Entry> iterator() {
return new EntryIterator(table);
}
@@ -264,7 +264,7 @@ public class /*name*/IntIntHashMap/*name*/ implements Iterable {
return keyNotFoundValue;
}
-// @Override
+ @Override
public String toString() {
// TODO use StringBuilder as soon we are at language level 5
String str = "{";
@@ -279,7 +279,7 @@ public class /*name*/IntIntHashMap/*name*/ implements Iterable {
return str;
}
- private final static class EntryIterator implements Iterator/*<Entry>*/ {
+ private final static class EntryIterator implements Iterator<Entry> {
private final Entry[] entries;
@@ -292,13 +292,13 @@ public class /*name*/IntIntHashMap/*name*/ implements Iterable {
next();
}
-// @Override
+ @Override
public boolean hasNext() {
return next != null;
}
-// @Override
- public Object next() {
+ @Override
+ public Entry next() {
Entry current = next;
if(current != null && current.next != null) {
@@ -317,7 +317,7 @@ public class /*name*/IntIntHashMap/*name*/ implements Iterable {
return current;
}
-// @Override
+ @Override
public void remove() {
throw new UnsupportedOperationException("Not supported yet.");
}
@@ -361,7 +361,7 @@ public class /*name*/IntIntHashMap/*name*/ implements Iterable {
this.value = value;
}
-// @Override
+ @Override
public String toString() {
return "["+key+":"+value+"]";
}