Gjsify LogoGjsify Logo

The #GSequenceIter struct is an opaque data type representing an iterator pointing into a #GSequence.

record

Hierarchy

  • SequenceIter

Index

Constructors

Properties

name: string

Methods

  • Returns a negative number if a comes before b, 0 if they are equal, and a positive number if a comes after b.

    The a and b iterators must point into the same sequence.

    Parameters

    Returns number

  • getPosition(): number
  • isBegin(): boolean
  • isEnd(): boolean
  • Returns the #GSequenceIter which is delta positions away from iter. If iter is closer than -delta positions to the beginning of the sequence, the begin iterator is returned. If iter is closer than delta positions to the end of the sequence, the end iterator is returned.

    Parameters

    • delta: number

      A positive or negative number indicating how many positions away from iter the returned #GSequenceIter will be

    Returns SequenceIter

  • Returns an iterator pointing to the next position after iter. If iter is the end iterator, the end iterator is returned.

    Returns SequenceIter

  • Returns an iterator pointing to the previous position before iter. If iter is the begin iterator, the begin iterator is returned.

    Returns SequenceIter

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method