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

## Class Event

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

- Direct Known Subclasses:
    CollectionEndEvent, DocumentEndEvent, DocumentStartEvent, NodeEvent, StreamEndEvent, StreamStartEvent

      public abstract class Event
      extends Object

  Basic unit of output from a `Parser` or input of a `Emitter`.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Event.ID`

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `Optional<Mark>` | `getEndMark()`
    `abstract Event.ID` | `getEventId()`
    `Optional<Mark>` | `getStartMark()`
    `int` | `hashCode()`
    `boolean` | `isEvent(Event.ID id)`

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

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

- - ### Constructor Detail

    - #### Event

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

    - #### Event

          public Event()

  - ### Method Detail

    - #### getStartMark

          public Optional<Mark> getStartMark()

    - #### getEndMark

          public Optional<Mark> getEndMark()

    - #### isEvent

          public final boolean isEvent(Event.ID id)

    - #### getEventId

          public abstract Event.ID getEventId()

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2020. All rights reserved.