Package com.google.common.collect
Class MoreCollectors.ToOptionalState
java.lang.Object
com.google.common.collect.MoreCollectors.ToOptionalState
- Enclosing class:
MoreCollectors
This atrocity is here to let us report several of the elements in the stream if there were more
than one, not just two.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) MoreCollectors.ToOptionalState
(package private) Object
(package private) IllegalArgumentException
multiples
(boolean overflow)
-
Field Details
-
MAX_EXTRAS
static final int MAX_EXTRAS- See Also:
-
element
-
extras
-
-
Constructor Details
-
ToOptionalState
ToOptionalState()
-
-
Method Details
-
multiples
-
add
-
combine
-
getOptional
-
getElement
Object getElement()
-