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


734
735
736
# File 'lib/mdarray/counter.rb', line 734

def get_current
  @iterator.getCharCurrent
end

#get_nextObject


738
739
740
# File 'lib/mdarray/counter.rb', line 738

def get_next
  @iterator.getCharNext
end

#set_current(value) ⇒ Object


742
743
744
# File 'lib/mdarray/counter.rb', line 742

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

#set_next(value) ⇒ Object


746
747
748
# File 'lib/mdarray/counter.rb', line 746

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