Object
NamedPath

public final class NamedPath extends Object
A path and associated name.

The name is guaranteed to be a unique identifier in the context of a given collection.

Author:
Owen Feehan
  • Constructor Details

    • NamedPath

      public NamedPath(String name, Path path)
      Creates a new NamedPath instance.
      Parameters:
      name - A unique name associated with the path
      path - The path
  • Method Details

    • getName

      public String getName()
      A unique name associated with the path
    • getPath

      public Path getPath()
      The path
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object