Sha256: 4ce25043aac6bd4e38235b06fef617639ecedd487eaf16cb6d35652564258543

Contents?: true

Size: 359 Bytes

Versions: 26

Compression:

Stored size: 359 Bytes

Contents

module Pacer::Pipes
  class VerticesPipe < AbstractPipe
    attr_reader :starts

    def setStarts(starts)
      @starts = starts.first
      self.iter = @starts.getVertices.iterator
    end

    def processNextStart
      iter.next
    end

    def reset
      self.iter = @starts.getVertices.iterator
    end

    private

    attr_accessor :iter
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
pacer-1.1.1-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.1.0-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.0.3-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.0.2-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.0.1-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.0.0-java lib/pacer/pipe/vertices_pipe.rb