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-2.0.10-java lib/pacer/pipe/vertices_pipe.rb
pacer-2.0.10.pre-java lib/pacer/pipe/vertices_pipe.rb
pacer-2.0.8-java lib/pacer/pipe/vertices_pipe.rb
pacer-2.0.6-java lib/pacer/pipe/vertices_pipe.rb
pacer-2.0.4.pre-java lib/pacer/pipe/vertices_pipe.rb
pacer-2.0.0.pre-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.6.0-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.5.4-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.5.3-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.5.2-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.5.1-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.4.2-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.4.1-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.4.0-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.3.5-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.3.4-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.3.3-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.3.2-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.3.1-java lib/pacer/pipe/vertices_pipe.rb
pacer-1.2.0-java lib/pacer/pipe/vertices_pipe.rb