java.lang.Comparable<MappedResource<E>>@ManagedObject("Mapped Resource")
public class MappedResource<E>
extends java.lang.Object
implements java.lang.Comparable<MappedResource<E>>
| Constructor | Description |
|---|---|
MappedResource(PathSpec pathSpec,
E resource) |
| Modifier and Type | Method | 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<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.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1995–2018 Webtide. All rights reserved.