Package ai.vespa.validation
Class StringWrapper<T extends StringWrapper<T>>
java.lang.Object
ai.vespa.validation.StringWrapper<T>
- Type Parameters:
T
- child type
- All Implemented Interfaces:
Comparable<T>
- Direct Known Subclasses:
PatternedStringWrapper
public abstract class StringWrapper<T extends StringWrapper<T>>
extends Object
implements Comparable<T>
Abstract wrapper for glorified strings, to ease adding new such wrappers.
What's in a name?
That which we call a String
by any other name would smell as foul.
No? 'Tis not sooth?
No ... I see it now!
Baptiz'd a-new, the String—
no more a String,
no less a value
—
it bringeth counsel
and is proof against their enmity.
- Author:
- jonmv
-
Constructor Summary
-
Method Summary