Class: MDArray::IteratorFastFloat

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



795
796
797
# File 'lib/mdarray/counter.rb', line 795

def get_current
  @iterator.getFloatCurrent
end

#get_nextObject



799
800
801
# File 'lib/mdarray/counter.rb', line 799

def get_next
  @iterator.getFloatNext
end

#set_current(value) ⇒ Object



803
804
805
# File 'lib/mdarray/counter.rb', line 803

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

#set_next(value) ⇒ Object



807
808
809
# File 'lib/mdarray/counter.rb', line 807

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