Class ItemBuilder.ArrayItemAccessor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int index  
    • Constructor Summary

      Constructors 
      Constructor Description
      ArrayItemAccessor​(int index)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getMember​(IItem o)
      Gets a member value from a container object.
      • Methods inherited from class java.lang.Object

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

      • index

        private final int index
    • Constructor Detail

      • ArrayItemAccessor

        ArrayItemAccessor​(int index)
    • Method Detail

      • getMember

        public java.lang.Object getMember​(IItem o)
        Description copied from interface: IMemberAccessor
        Gets a member value from a container object.
        Specified by:
        getMember in interface IMemberAccessor<java.lang.Object,​IItem>
        Parameters:
        o - Container object
        Returns:
        member value or null if it can't be found from the provided container