Class: MDArray::IteratorFastBoolean

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



651
652
653
# File 'lib/mdarray/counter.rb', line 651

def get_current
  @iterator.getBoolenaCurrent
end

#get_nextObject



655
656
657
# File 'lib/mdarray/counter.rb', line 655

def get_next
  @iterator.getBooleanNext
end

#set_current(value) ⇒ Object



659
660
661
# File 'lib/mdarray/counter.rb', line 659

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

#set_next(value) ⇒ Object



663
664
665
# File 'lib/mdarray/counter.rb', line 663

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