@Immutable public final class Links extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
target(Link<T> link)
Returns the nullable target of the given
link.
|
@CheckForNull public static <T> T target(@CheckForNull Link<T> link)
null
if and only if either the given
link is null
or its target is null
.T
- The type of the target.link
- a nullable link.Copyright © 2012–2014 Schlichtherle IT Services. All rights reserved.