com.hazelcast.org.snakeyaml.engine.v1.events

## Class StreamEndEvent

- java.lang.Object
- - com.hazelcast.org.snakeyaml.engine.v1.events.Event
  - - com.hazelcast.org.snakeyaml.engine.v1.events.StreamEndEvent

-     public final class StreamEndEvent
      extends Event

  Marks the end of a stream that might have contained multiple documents.

  This event is the last event that a parser emits. Together with `StreamStartEvent` (which is the first event a parser emits) they mark the beginning and the end of a stream of documents.

  See `Event` for an exemplary output.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class com.hazelcast.org.snakeyaml.engine.v1.events.Event

      `Event.ID`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StreamEndEvent()`
    `StreamEndEvent(Optional<Mark> startMark, Optional<Mark> endMark)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Event.ID` | `getEventId()`
    `String` | `toString()`

    - ### Methods inherited from class com.hazelcast.org.snakeyaml.engine.v1.events.Event

      `equals, getEndMark, getStartMark, hashCode, isEvent`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### StreamEndEvent

          public StreamEndEvent(Optional<Mark> startMark,
                                Optional<Mark> endMark)

    - #### StreamEndEvent

          public StreamEndEvent()

  - ### Method Detail

    - #### getEventId

          public Event.ID getEventId()

      Specified by:
        `getEventId` in class `Event`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2019. All rights reserved.