public abstract static class DoubleValueStream.AbstractDoubleValueStream extends Object implements DoubleValueStream.CastingDoubleValueStream
DoubleValueStream.CastingDoubleValueStream
that automatically casts to all types if DoubleValueStream.streamDoubles(java.util.function.DoubleConsumer)
is implemented.DoubleValueStream.AbstractDoubleValueStream, DoubleValueStream.CastingDoubleValueStream
StringValueStream.AbstractStringValueStream, StringValueStream.CastingStringValueStream
AnalyticsValueStream.AbstractAnalyticsValueStream, AnalyticsValueStream.ExpressionType
Constructor and Description |
---|
AbstractDoubleValueStream() |
Modifier and Type | Method and Description |
---|---|
AnalyticsValueStream |
convertToConstant()
Converts this value to a
ConstantValue if it's expression type is AnalyticsValueStream.ExpressionType.CONST . |
void |
streamObjects(Consumer<Object> cons)
Stream the object representations of all current values, if any exist.
|
void |
streamStrings(Consumer<String> cons)
Stream the String representations of all current values, if any exist.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
streamDoubles
createExpressionString, determineMappingPhase, getExpressionStr, getExpressionType, getName
public void streamStrings(Consumer<String> cons)
StringValueStream
streamStrings
in interface StringValueStream
cons
- The consumer to accept the valuespublic void streamObjects(Consumer<Object> cons)
AnalyticsValueStream
streamObjects
in interface AnalyticsValueStream
cons
- The consumer to accept the valuespublic AnalyticsValueStream convertToConstant()
AnalyticsValueStream
ConstantValue
if it's expression type is AnalyticsValueStream.ExpressionType.CONST
.
If the value is reduced then no conversion will occur and the value itself will be returned.convertToConstant
in interface AnalyticsValueStream
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.