Class: MDArray::IteratorFastDouble

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

- (Object) get_current



854
855
856
# File 'lib/mdarray/counter.rb', line 854

def get_current
  @iterator.getDoubleCurrent
end

- (Object) get_next



858
859
860
# File 'lib/mdarray/counter.rb', line 858

def get_next
  @iterator.getDoubleNext
end

- (Object) set_current(value)



862
863
864
# File 'lib/mdarray/counter.rb', line 862

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

- (Object) set_next(value)



866
867
868
# File 'lib/mdarray/counter.rb', line 866

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