Package one.microstream.util.iterables
Class RandomArrayIterator.Factory<E>
- java.lang.Object
-
- one.microstream.util.iterables.RandomArrayIterator.Factory<E>
-
- All Implemented Interfaces:
Iterable<E>
- Enclosing class:
- RandomArrayIterator<E>
public static final class RandomArrayIterator.Factory<E> extends Object implements Iterable<E>
-
-
Method Summary
Modifier and Type Method Description RandomArrayIterator.Factory<E>
decrementCount(int amount)
int
getCount()
RandomArrayIterator.Factory<E>
incrementCount(int amount)
RandomArrayIterator<E>
iterator()
RandomArrayIterator.Factory<E>
setCount(int count)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
Factory
public Factory(E[] array, int count)
-
-
Method Detail
-
getCount
public int getCount()
-
setCount
public RandomArrayIterator.Factory<E> setCount(int count)
- Parameters:
count
- the count to set
-
incrementCount
public RandomArrayIterator.Factory<E> incrementCount(int amount)
- Parameters:
amount
-
-
decrementCount
public RandomArrayIterator.Factory<E> decrementCount(int amount)
- Parameters:
amount
-
-
iterator
public RandomArrayIterator<E> iterator()
- Specified by:
iterator
in interfaceIterable<E>
- See Also:
Iterable.iterator()
-
-