Class ArrayElementsAccessor

  • All Implemented Interfaces:
    ElementsAccessor

    public class ArrayElementsAccessor
    extends Object
    implements ElementsAccessor
    Implementation of ElementsAccessor that returns an iterator over a Java array.
    • Constructor Detail

      • ArrayElementsAccessor

        public ArrayElementsAccessor()
    • Method Detail

      • getElements

        public Enumeration<?> getElements​(Object target)
        Returns an iterator over the elements of the given target object.
        Specified by:
        getElements in interface ElementsAccessor
        Parameters:
        target - the object to get the elements of
        Returns:
        an iterator over the elements of the given object