
com.ochafik.util.IntArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jnaerator Show documentation
Show all versions of jnaerator Show documentation
OSGi bundle for JNAerator
/**
*
*/
package com.ochafik.util;
import java.util.Iterator;
public interface IntArray extends Iterable {
public int[] getBackingArray();
public int size();
public int get(int pos);
public int[] toArray();
public class IntIterator implements Iterator {
int i = -1;
IntArray array;
public boolean hasNext() {
return i < array.size() - 1;
}
public Integer next() {
return array.get(++i);
}
public void remove() {
throw new UnsupportedOperationException();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy