Class CachingDerivedString<T extends CachingDerivedString<T>>
java.lang.Object
org.opendaylight.yangtools.yang.common.DerivedString<T>
org.opendaylight.yangtools.yang.common.CachingDerivedString<T>
- Type Parameters:
T
- derived string type
- All Implemented Interfaces:
Serializable
,Comparable<T>
,Immutable
,CanonicalValue<T>
@Beta
@NonNullByDefault
public abstract class CachingDerivedString<T extends CachingDerivedString<T>>
extends DerivedString<T>
A opportunistically-caching
DerivedString
. Canonical name is cached at first encounter.- Author:
- Robert Varga
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
-
Method Summary
Methods inherited from class org.opendaylight.yangtools.yang.common.DerivedString
equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opendaylight.yangtools.yang.common.CanonicalValue
support, validator
Methods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
CachingDerivedString
protected CachingDerivedString() -
CachingDerivedString
-
-
Method Details
-
toCanonicalString
Description copied from interface:CanonicalValue
Return the canonical string representation of this value.- Returns:
- Canonical string
-
computeCanonicalString
Return the canonical string representation of this object's value.- Returns:
- Canonical string
-