Class Arguments


  • public class Arguments
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Arguments​(java.lang.Object[] args)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int length()  
      <T> T nth​(int index)  
      <T> java.util.Optional<T> ofType​(java.lang.Class<T> klass)  
      • Methods inherited from class java.lang.Object

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

      • Arguments

        public Arguments​(@Nullable
                         java.lang.Object[] args)
    • Method Detail

      • nth

        public <T> T nth​(int index)
      • length

        public int length()
      • ofType

        @CheckReturnValue
        @Nonnull
        public <T> java.util.Optional<T> ofType​(@Nonnull
                                                java.lang.Class<T> klass)