summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/nio/PointerBuffer.java
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-10-17 21:34:47 -0700
committerHarvey Harrison <[email protected]>2013-10-17 21:34:47 -0700
commit7607867f0bba56792cad320695d6209b49acce9d (patch)
tree36f348562c272f5b994c12519c27d5b06b233566 /src/java/com/jogamp/common/nio/PointerBuffer.java
parent791a2749886f02ec7b8db25bf8862e8269b96da5 (diff)
gluegen: add all missing @Override annotations
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/java/com/jogamp/common/nio/PointerBuffer.java')
-rw-r--r--src/java/com/jogamp/common/nio/PointerBuffer.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/nio/PointerBuffer.java b/src/java/com/jogamp/common/nio/PointerBuffer.java
index 4a479f0..5d470d5 100644
--- a/src/java/com/jogamp/common/nio/PointerBuffer.java
+++ b/src/java/com/jogamp/common/nio/PointerBuffer.java
@@ -117,6 +117,7 @@ public class PointerBuffer extends AbstractBuffer<PointerBuffer> {
/**
* Relative bulk get method. Copy the source values <code> src[position .. capacity] [</code>
* to this buffer and increment the position by <code>capacity-position</code>. */
+ @Override
public final PointerBuffer put(PointerBuffer src) {
if (remaining() < src.remaining()) {
throw new IndexOutOfBoundsException();
@@ -147,6 +148,7 @@ public class PointerBuffer extends AbstractBuffer<PointerBuffer> {
}
/** Relative get method. Get the pointer value at the current position and increment the position by one. */
+ @Override
public final long get() {
long r = get(position);
position++;
@@ -154,6 +156,7 @@ public class PointerBuffer extends AbstractBuffer<PointerBuffer> {
}
/** Absolute get method. Get the pointer value at the given index */
+ @Override
public final long get(int idx) {
if (0 > idx || idx >= capacity) {
throw new IndexOutOfBoundsException();
@@ -184,6 +187,7 @@ public class PointerBuffer extends AbstractBuffer<PointerBuffer> {
}
/** Absolute put method. Put the pointer value at the given index */
+ @Override
public final PointerBuffer put(int idx, long v) {
if (0 > idx || idx >= capacity) {
throw new IndexOutOfBoundsException();
@@ -197,6 +201,7 @@ public class PointerBuffer extends AbstractBuffer<PointerBuffer> {
}
/** Relative put method. Put the pointer value at the current position and increment the position by one. */
+ @Override
public final PointerBuffer put(long value) {
put(position, value);
position++;