|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.bom.util.IlrParameterTypeIterator
public class IlrParameterTypeIterator
Iterates over the types of parameters.
Constructor Summary | |
---|---|
IlrParameterTypeIterator(IlrMethod method)
Creates an iterator to iterate over the types of the parameters of a method. |
|
IlrParameterTypeIterator(Iterator parameterIterator)
Creates an iterator to iterate over the types of the parameters. |
|
IlrParameterTypeIterator(List parameters)
Creates an iterator to iterate over the types of the parameters. |
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
Object |
next()
Returns the next element in the iteration. |
void |
remove()
Throws UnsupportedOperationException . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrParameterTypeIterator(List parameters)
parameters
- A list of IlrParameter
s.public IlrParameterTypeIterator(Iterator parameterIterator)
parameterIterator
- An iterator over IlrParameter/code>s.
IlrParameterTypeIterator
public IlrParameterTypeIterator(IlrMethod method)
- Creates an iterator to iterate over the types of the parameters of a method.
- Parameters:
method
- An IlrMethod.
Method Detail
hasNext
public boolean hasNext()
- Returns
true
if the iteration has more elements. In other
words, returns true
if next
returns an element
rather than throwing an exception.
- Specified by:
hasNext
in interface Iterator
- Returns:
true
if the iterator has more elements.
next
public Object next()
- Returns the next element in the iteration.
- Specified by:
next
in interface Iterator
- Throws:
NoSuchElementException
- If the iteration has no more elements.
- Returns:
- The next element in the iteration.
remove
public void remove()
- Throws
UnsupportedOperationException
.
- Specified by:
remove
in interface Iterator
- Throws:
UnsupportedOperationException
- If the remove
operation is not supported by this iterator.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Rule Execution Server API
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
© Copyright IBM Corp. 1987, 2013