Class Position.Builder

  • Enclosing class:
    Position

    public static class Position.Builder
    extends Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public Position build()
        Builds a Position.
        Returns:
        the new Position instance
      • before

        public Position.Builder before​(String before)
        Set the before.
        Parameters:
        before - the before
        Returns:
        the Position builder
      • after

        public Position.Builder after​(String after)
        Set the after.
        Parameters:
        after - the after
        Returns:
        the Position builder
      • index

        public Position.Builder index​(long index)
        Set the index.
        Parameters:
        index - the index
        Returns:
        the Position builder