org.apache.storm.trident.util

## Class IndexedEdge<T>

- java.lang.Object
- - org.apache.storm.trident.util.IndexedEdge<T>

- All Implemented Interfaces:
    Serializable, Comparable

      public class IndexedEdge<T>
      extends Object
      implements Comparable, Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `index`
    `T` | `source`
    `T` | `target`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `IndexedEdge(T source, T target, int index)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(Object t)`
    `boolean` | `equals(Object o)`
    `int` | `hashCode()`

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

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

- - ### Field Detail

    - #### source

          public T source

    - #### target

          public T target

    - #### index

          public int index

  - ### Constructor Detail

    - #### IndexedEdge

          public IndexedEdge(T source,
                             T target,
                             int index)

  - ### Method Detail

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### compareTo

          public int compareTo(Object t)

      Specified by:
        `compareTo` in interface `Comparable`

Copyright © 2021 The Apache Software Foundation. All rights reserved.