public interface InitialValueAwareOptimizer
Marker interface for optimizer which wish to know the user-specified initial value. <p/> Used instead of constructor injection since that is already a public understanding and because not all optimizers care.
Modifier and Type | Method and Description |
---|---|
void |
injectInitialValue(long initialValue)
Reports the user specified initial value to the optimizer.
|
void injectInitialValue(long initialValue)
Reports the user specified initial value to the optimizer. <p/> <tt>-1</tt> is used to indicate that the user did not specify.
initialValue
- The initial value specified by the user, or <tt>-1</tt> to indicate that the
user did not specify.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.