Example #1
0
 public void set(Byte o) {
   if (hasPrevious()) {
     m_array.set(m_index, o);
   }
 }
Example #2
0
 public Byte previous() {
   if (!hasPrevious()) throw new NoSuchElementException();
   return m_array.get(m_index--);
 }
Example #3
0
 public boolean hasNext() {
   return nextIndex() < m_array.size();
 }
Example #4
0
 public Byte next() {
   if (!hasNext()) throw new NoSuchElementException();
   return m_array.get(++m_index);
 }
Example #5
0
 public void undo() {
   m_bytes.m_bytes = m_old;
 }