XPRMArrayIndices
- java.lang.Object
-
- com.dashoptimization.XPRMArrayIndices
-
- All Implemented Interfaces:
- java.util.Iterator
public class XPRMArrayIndices extends java.lang.Object implements java.util.Iterator
Iterator to enumerate all indices of an array.
-
-
Method Summary
Modifier and Type Method and Description boolean
hasNext()
Check whether all indices have been enumerated.java.lang.Object
next()
Next index array.void
remove()
Not supported.
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Check whether all indices have been enumerated.- Specified by:
-
hasNext
in interfacejava.util.Iterator
- Returns:
-
true
if not all indices have been enumerated
-
next
public java.lang.Object next()
Next index array.- Specified by:
-
next
in interfacejava.util.Iterator
- Returns:
- The next index array
- Throws:
-
java.util.NoSuchElementException
- If all indices have already been returned.
-
remove
public void remove()
Not supported.- Specified by:
-
remove
in interfacejava.util.Iterator
- Throws:
-
java.lang.UnsupportedOperationException
- always thrown
-
-
© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.