Class Datum1

  • All Implemented Interfaces:
    As

    public class Datum1
    extends java.lang.Object
    implements As
    Author:
    Fabrizio Giudici
    • 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<T> roleType)  
      <T> java.util.Optional<T> maybeAs​(java.lang.Class<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<T> roleType)
        Specified by:
        maybeAs in interface As
      • asMany

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