Class: MDArray::IteratorFastChar

Inherits:
IteratorFast show all
Defined in:
lib/mdarray/counter.rb

Overview



Instance Attribute Summary

Attributes inherited from IteratorFast

#iterator, #mdarray

Instance Method Summary collapse

Methods inherited from IteratorFast

#get_current_counter, #has_next?, #initialize, #jget_current_counter, #next

Constructor Details

This class inherits a constructor from MDArray::IteratorFast

Instance Method Details

#get_currentObject



699
700
701
# File 'lib/mdarray/counter.rb', line 699

def get_current
  @iterator.getCharCurrent
end

#get_nextObject



703
704
705
# File 'lib/mdarray/counter.rb', line 703

def get_next
  @iterator.getCharNext
end

#set_current(value) ⇒ Object



707
708
709
# File 'lib/mdarray/counter.rb', line 707

def set_current(value)
  @iterator.setCharCurrent(value)
end

#set_next(value) ⇒ Object



711
712
713
# File 'lib/mdarray/counter.rb', line 711

def set_next(value)
  @iterator.setCharNext(value)
end