groovy / 3.0 / org / codehaus / groovy / util / intarrayiterable.html

[Java] Class IntArrayIterable

  • org.codehaus.groovy.util.IntArrayIterable
All Implemented Interfaces and Traits:
Iterable
public class IntArrayIterable
extends Object
implements Iterable

Allow an int array to be used where an Iterable is expected.

Since:
3.0.8

Constructor Summary

Constructors
Constructor and description
IntArrayIterable (int[] array)

Methods Summary

Methods
Type Params Return Type Name and description
public Iterator<Integer> iterator()

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Constructor Detail

public IntArrayIterable(int[] array)

Method Detail

@Override public Iterator<Integer> iterator()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.9/html/gapi/org/codehaus/groovy/util/IntArrayIterable.html