org.apache.struts2.util

## Class MakeIterator

- java.lang.Object
- - org.apache.struts2.util.MakeIterator

-     public class MakeIterator
      extends Object

  MakeIterator.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MakeIterator()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Iterator` | `convert(Object value)`
    `static boolean` | `isIterable(Object object)` Determine whether a given object can be made into an `Iterator`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MakeIterator

          public MakeIterator()

  - ### Method Detail

    - #### isIterable

          public static boolean isIterable(Object object)

      Determine whether a given object can be made into an `Iterator`
      Parameters:
        `object` - the object to check
      Returns:
        `true` if the object can be converted to an iterator and `false` otherwise

    - #### convert

          public static Iterator convert(Object value)

Copyright © 2000–2023 Apache Software Foundation. All rights reserved.