Home | History | Annotate | Download | only in stream

Lines Matching refs:characteristics

32  * Flags corresponding to characteristics of streams and operations. Flags are
37 * Stream flags may be used to describe characteristics of several different
45 * <caption>Type Characteristics</caption>
106 * may describe all the characteristics of a given stream entity, and that, for
115 * characteristics that stream has; when describing a stream operation, one need
133 * With the exception of {@link #SHORT_CIRCUIT}, stream characteristics can be
134 * derived from the equivalent {@link java.util.Spliterator} characteristics:
137 * {@link java.util.Spliterator#SIZED}. A spliterator characteristics bit set
142 * produce a valid spliterator characteristics bit set that can be converted to
146 * The source of a stream encapsulates a spliterator. The characteristics of
153 * flagsFromSplitr = fromCharacteristics(s.characteristics());
160 * characteristics. Similarly, a terminal operation, performed on an input
162 * operation characteristics. Preservation means that if that characteristic
216 * Characteristics belong to certain types, see the Type enum. Bit masks for
235 // The following flags correspond to characteristics on Spliterator
300 // The following Spliterator characteristics are not currently used but a
310 // spliterator characteristics.
343 * The flag is associated with spliterator characteristics.
527 * The bit mask for spliterator characteristics
734 int characteristics = spliterator.characteristics();
735 if ((characteristics & Spliterator.SORTED) != 0 && spliterator.getComparator() != null) {
738 return characteristics & SPLITERATOR_CHARACTERISTICS_MASK & ~Spliterator.SORTED;
741 return characteristics & SPLITERATOR_CHARACTERISTICS_MASK;
748 * @param characteristics the spliterator characteristic bit set.
751 public static int fromCharacteristics(int characteristics) {
752 return characteristics & SPLITERATOR_CHARACTERISTICS_MASK;