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


686
687
688
# File 'lib/mdarray/counter.rb', line 686

def get_current
  @iterator.getBoolenaCurrent
end

#get_nextObject


690
691
692
# File 'lib/mdarray/counter.rb', line 690

def get_next
  @iterator.getBooleanNext
end

#set_current(value) ⇒ Object


694
695
696
# File 'lib/mdarray/counter.rb', line 694

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

#set_next(value) ⇒ Object


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

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