- All Implemented Interfaces:
As
public class Datum1
extends Object
implements As
- Author:
- Fabrizio Giudici
-
Nested Class Summary
Nested classes/interfaces inherited from interface it.tidalwave.util.As
As.Type<T>
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
maybeAs
@Nonnull
public <T> Optional<T> maybeAs(@Nonnull
Class<? extends T> roleType)
- Specified by:
maybeAs
in interface As
-
asMany
@Nonnull
public <T> Collection<T> asMany(@Nonnull
Class<? extends T> roleType)
- Specified by:
asMany
in interface As