public final class OptionalLazyUserInfo extends java.lang.Object implements org.dmfs.optional.Optional<UriEncoded>, Parsed
Optional UriEncoded user info.| Constructor and Description |
|---|
OptionalLazyUserInfo(UriEncoded encodedAuthority) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPresent() |
int |
parsedLength()
The length of the component in the source.
|
UriEncoded |
value() |
UriEncoded |
value(UriEncoded defaultValue) |
public OptionalLazyUserInfo(UriEncoded encodedAuthority)
public boolean isPresent()
isPresent in interface org.dmfs.jems.optional.Optional<UriEncoded>public UriEncoded value(UriEncoded defaultValue)
public UriEncoded value() throws java.util.NoSuchElementException
value in interface org.dmfs.jems.optional.Optional<UriEncoded>java.util.NoSuchElementExceptionpublic int parsedLength()
ParsedparsedLength in interface Parsed