|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.deployment.SuffixOrderHelper.EnhancedSuffix
public static final class SuffixOrderHelper.EnhancedSuffix
Inner class that encapsulates an enhanceSuffix consisting of suffix + order
| Field Summary | |
|---|---|
int |
order
The order, by convention a 3 digit number, e.g. |
String |
suffix
The suffix, e.g. |
| Constructor Summary | |
|---|---|
SuffixOrderHelper.EnhancedSuffix(String enhancedSuffix)
CTOR that parses an enhancedSuffix string of the form: [order:]suffix If the optional 'order' is missing, use DEFAULT_RELATIVE_ORDER |
|
SuffixOrderHelper.EnhancedSuffix(String suffix,
int order)
Simple CTOR |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Override equals to allow EnhancedSuffix to be searchable using ArrayList.indexOf()/ArrayList.lastIndexOf() Base equality on both suffix and order |
int |
hashCode()
Use both fields |
String |
toString()
Pretty print |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String suffix
public int order
| Constructor Detail |
|---|
public SuffixOrderHelper.EnhancedSuffix(String suffix,
int order)
public SuffixOrderHelper.EnhancedSuffix(String enhancedSuffix)
throws IllegalArgumentException
IllegalArgumentException| Method Detail |
|---|
public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||