Package chemaxon.reaction
Interface ReactantSetEnumeration
@PublicApi
@Deprecated(forRemoval=true)
@SubjectToRemoval(date=JUL_01_2025)
public interface ReactantSetEnumeration
Deprecated, for removal: This API element is subject to removal in a future version.
Enumerates reactant sets for
Reactor
.
Usage: see ConcurrentReactorProcessor.setReactantSetEnumerator(ReactantSetEnumeration)
.- Since:
- JChem 5.2
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Deprecated, for removal: This API element is subject to removal in a future version.Returns a number between 0 and 1 that indicates the status of the enumeration progress.boolean
hasNext()
Deprecated, for removal: This API element is subject to removal in a future version.Tests if this enumeration contains more reactant sets.Molecule[]
next()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the next reactant set if this enumeration has at least one more reactant set to provide.
-
Method Details
-
hasNext
boolean hasNext()Deprecated, for removal: This API element is subject to removal in a future version.Tests if this enumeration contains more reactant sets.- Returns:
true
if and only if this enumeration contains at least one more element to provide;false
otherwise.
-
next
Molecule[] next()Deprecated, for removal: This API element is subject to removal in a future version.Returns the next reactant set if this enumeration has at least one more reactant set to provide.- Returns:
- the next reactant set
- Throws:
NoSuchElementException
- if an error stopped the enumeration
-
getProgress
double getProgress()Deprecated, for removal: This API element is subject to removal in a future version.Returns a number between 0 and 1 that indicates the status of the enumeration progress.- Returns:
- a number that indicates the status of the enumeration progress
-