@ManagedObject(value="Mapped Resource") public class MappedResource<E> extends java.lang.Object implements java.lang.Comparable<MappedResource<E>>
Constructor and Description |
---|
MappedResource(PathSpec pathSpec,
E resource) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MappedResource<E> other)
Comparison is based solely on the pathSpec
|
boolean |
equals(java.lang.Object obj) |
PathSpec |
getPathSpec() |
E |
getResource() |
int |
hashCode() |
java.lang.String |
toString() |
public int compareTo(MappedResource<E> other)
compareTo
in interface java.lang.Comparable<MappedResource<E>>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@ManagedAttribute(value="path spec", readonly=true) public PathSpec getPathSpec()
@ManagedAttribute(value="resource", readonly=true) public E getResource()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1995–2023 Webtide. All rights reserved.