Class MappedResource<E>

  • All Implemented Interfaces:
    java.lang.Comparable<MappedResource<E>>

    @ManagedObject("Mapped Resource")
    public class MappedResource<E>
    extends java.lang.Object
    implements java.lang.Comparable<MappedResource<E>>
    • Constructor Detail

      • MappedResource

        public MappedResource​(PathSpec pathSpec,
                              E resource)
    • Method Detail

      • compareTo

        public int compareTo​(MappedResource<E> other)
        Comparison is based solely on the pathSpec
        Specified by:
        compareTo in interface java.lang.Comparable<E>
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object