Class Datum1

  • All Implemented Interfaces:
    As

    public class Datum1
    extends java.lang.Object
    implements As
    Author:
    Fabrizio Giudici
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface it.tidalwave.util.As

        As.Type<T extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      Datum1()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> java.util.Collection<T> asMany​(java.lang.Class<? extends T> roleType)  
      <T> java.util.Optional<T> maybeAs​(java.lang.Class<? extends T> roleType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Datum1

        public Datum1()
    • Method Detail

      • maybeAs

        @Nonnull
        public <T> java.util.Optional<T> maybeAs​(@Nonnull
                                                 java.lang.Class<? extends T> roleType)
        Specified by:
        maybeAs in interface As
      • asMany

        @Nonnull
        public <T> java.util.Collection<T> asMany​(@Nonnull
                                                  java.lang.Class<? extends T> roleType)
        Specified by:
        asMany in interface As