org.apache.struts2.sitegraph.entities

## Class Target

- java.lang.Object
- - org.apache.struts2.sitegraph.entities.Target

- All Implemented Interfaces:
    Comparable<Target>

      public class Target
      extends Object
      implements Comparable<Target>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Target(String target, int type)`

  - ### Method Summary

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

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

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

- - ### Constructor Detail

    - #### Target

          public Target(String target,
                        int type)

  - ### Method Detail

    - #### getTarget

          public String getTarget()

    - #### getType

          public int getType()

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### compareTo

          public int compareTo(Target o)

      Specified by:
        `compareTo` in interface `Comparable<Target>`

Copyright © 2000–2023 Apache Software Foundation. All rights reserved.