public abstract static class IntValueStream.AbstractIntValueStream extends Object implements IntValueStream.CastingIntValueStream
IntValueStream.CastingIntValueStream
that automatically casts to all types if IntValueStream.streamInts(java.util.function.IntConsumer)
is implemented.IntValueStream.AbstractIntValueStream, IntValueStream.CastingIntValueStream
LongValueStream.AbstractLongValueStream, LongValueStream.CastingLongValueStream
FloatValueStream.AbstractFloatValueStream, FloatValueStream.CastingFloatValueStream
DoubleValueStream.AbstractDoubleValueStream, DoubleValueStream.CastingDoubleValueStream
StringValueStream.AbstractStringValueStream, StringValueStream.CastingStringValueStream
AnalyticsValueStream.AbstractAnalyticsValueStream, AnalyticsValueStream.ExpressionType
Constructor and Description |
---|
AbstractIntValueStream() |
Modifier and Type | Method and Description |
---|---|
AnalyticsValueStream |
convertToConstant()
Converts this value to a
ConstantValue if it's expression type is AnalyticsValueStream.ExpressionType.CONST . |
void |
streamDoubles(DoubleConsumer cons)
Stream the double representations of all current values, if any exist.
|
void |
streamFloats(FloatConsumer cons)
Stream the float representations of all current values, if any exist.
|
void |
streamLongs(LongConsumer cons)
Stream the long representations of all current values, if any exist.
|
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
streamInts
createExpressionString, determineMappingPhase, getExpressionStr, getExpressionType, getName
public void streamLongs(LongConsumer cons)
LongValueStream
streamLongs
in interface LongValueStream
cons
- The consumer to accept the valuespublic void streamFloats(FloatConsumer cons)
FloatValueStream
streamFloats
in interface FloatValueStream
cons
- The consumer to accept the valuespublic void streamDoubles(DoubleConsumer cons)
DoubleValueStream
streamDoubles
in interface DoubleValueStream
cons
- The consumer to accept the valuespublic 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.