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, #next

Constructor Details

This class inherits a constructor from MDArray::IteratorFast

Instance Method Details

- (Object) get_current



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

def get_current
  @iterator.getFloatCurrent
end

- (Object) get_next



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

def get_next
  @iterator.getFloatNext
end

- (Object) set_current(value)



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

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

- (Object) set_next(value)



749
750
751
# File 'lib/mdarray/counter.rb', line 749

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