public class UESURIHelper
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
UESURIHelper()
Creates a new instance of UESURIHelper.
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
areEqual(java.util.List<UESURIPart> aFirst,
Tests for equality two UESURIPart lists.
|
private static boolean |
areEqual(java.lang.String aFirst,
Compares two Strings.
|
private static boolean |
areEqual(UESURIPart aFirst,
Test for equality two UESURI parts.
|
static boolean |
isInvariable(UESURI aUri)
Invariable UESURI is such an UESURI that clearly and permanently identifies
one particular object.
|
static boolean |
isSame(UESURI aFirst,
Compares two UESURI in all their parts.
|
static boolean |
isSameEntity(UESURI aFirst,
Compares two UESURI according their territory and entity part.
|
Invariable UESURI is such an UESURI that clearly and permanently identifies one particular object. Such UESURI must have ID specified for territory and for all UESURI parts which forms UESURI entity part (artifact and object when there is an object part in the UESURI).
When UESURI is invariable, the UESURI can be used as a key in cache or Hash-like collections (e.g. HashMap).
aUri
- Tested UESURI.aFirst
- First compared UESURI.aSecond
- Second compared UESURI.InsufficientUESURIRTException
- When UESURI contains some incomparable UESURIPart.aFirst
- First compared UESURI.aSecond
- Second compared UESURI.InsufficientUESURIRTException
- When UESURI contains some incomparable UESURIPart.aFirst
- First compared UESURI part list.aSecond
- Second compared UESURI part list.aFirst
- First UESURI part.aSecond
- Second UESURI part.InsufficientUESURIRTException
- When UESURI parts aren't comparable.aFirst
- First compared String.aSecond
- Second compared String.