Untitled

mail@pastecode.io avatar
unknown
java
6 months ago
385 B
5
Indexable
Never
public class MultiInteger extends BaseClass{

    private int _index = 0;

    private final int[] integers;
    private int currentInteger;    

    public MultiInteger(int[] integers){
        super(something_here);
        this.currentInteger = integers[_index];
    }

    private int getNextInteger(){
        _index += 1;        
        currentInteger = integer[_index];
    }
}
Leave a Comment