Class BasicCollector.ArrayHelper

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ArrayHelper()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract java.lang.Object get​(java.lang.Object ctx, int index)  
      java.lang.Object get​(java.lang.Object ctx, java.lang.String name)
      Reads the so-named variable from the supplied context object.
      abstract int length​(java.lang.Object ctx)  
      • Methods inherited from class java.lang.Object

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

      • ArrayHelper

        protected ArrayHelper()
    • Method Detail

      • get

        public java.lang.Object get​(java.lang.Object ctx,
                                    java.lang.String name)
                             throws java.lang.Exception
        Description copied from interface: Mustache.VariableFetcher
        Reads the so-named variable from the supplied context object.
        Specified by:
        get in interface Mustache.VariableFetcher
        Throws:
        java.lang.Exception
      • length

        public abstract int length​(java.lang.Object ctx)
      • get

        protected abstract java.lang.Object get​(java.lang.Object ctx,
                                                int index)