Package org.apache.struts2.util

# Class MakeIterator

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

public class MakeIterator extends Object
MakeIterator.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MakeIterator()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### MakeIterator

    public MakeIterator()

- ## Method Details

  - ### 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)