First()
     */
    OptionalLong findAny();

    /**
     * Returns a {@code DoubleStream} consisting of the elements of this stream,
     * converted to {@code double}.
     *
     * <p>This is an <a href="package-summary.html#StreamOps">intermediate
     * operation</a>.
     *
     * @return a {@code DoubleStream} consisting of the elements of this stream,
     * converted to {@code double}
     */
    DoubleStream asDoubleStream();

    /**
     * Returns a {@code Stream} consisting of the elements of this stream,
     * each boxed to a {@code Long}.
     *
     * <p>This is an <a href="package-summary.html#StreamOps">intermediate
     * operation</a>.
     *
     * @return a {@code Stream} consistent of the elements of this stream,
     * each boxed to {@code Long}
     */
    Stream<Long> boxed();

    @Override
    LongStream sequential();

    @Override
    LongStream parallel();

    @Override
    PrimitiveIterator.OfLong iterator();

    @Override
    Spliterator.OfLong spliterator();

    // Static factories

    /**
     * Returns a builder for a {@code LongStream}.
     *
     * @return a stream builder
     */
    public static Builder builder() {
        return new Streams.LongStreamBuilderImpl();
    }

    /**
     * Returns an empty sequential {@code LongStream}.
     *
     * @return an empty sequential stream
     */
    public static LongStream empty() {
        return StreamSupport.longStream(Spliterators.emptyLongSpliterator(), false);
    }

    /**
     * Returns a sequential {@code LongStream} containing a single element.
     *
     * @param t the single element
     * @return a singleton sequential stream
     */
    public static LongStream of(long t) {
        return StreamSupport.longStream(new Streams.LongStreamBuilderImpl(t), false);
    }

    /**
     * Returns a sequential ordered stream whose elements are the specified values.
     *
     * @param values the elements of the new stream
     *
First () 
      * / 
     OptionalLong findAny (); 

     / * * 
      * Returns a { @code DoubleStream } consisting of the elements of this flow, 
      * convert to { @code double }. 
      * 
      * < p > This is an < a href="package - summary.html#StreamOps">intermediate 
      * operation</a >. 
      * 
      * @return a { @code DoubleStream } consisting of the elements of this current, 
      * converted to { @code double } 
      * / 
     DoubleStream asDoubleStream (); 

     / * * 
      * return a { @code Stream } consist of the elements of this flow, 
      * each boxed to a { @code Long }. 
      * 
      * < p > This is an < a href="package - summary.html#StreamOps">intermediate 
      * operation</a >. 
      * 
      * @return a { @code Stream } consistent of the element of this stream, 
      * each boxed to { @code Long } 
      * / 
     Stream < Long > boxed (); 

     @Override 
     LongStream consecutive (); 

     @Override 
     LongStream parallel (); 

     @Override 
     PrimitiveIterator. OfLong iterator (); 

     @Override 
     Spliterator. OfLong spliterator (); 

     // Static factories 

     / * * 
      * Returns a builder for a { @code LongStream }. 
      * 
      * @return a stream builder 
      * / 
     public static Builder builder () { 
         return fresh Streams. LongStreamBuilderImpl (); 
     } 

     / * * 
      * Returns an empty sequential { @code LongStream }. 
      * 
      * @return an empty sequential current 
      * / 
     public static LongStream empty () { 
         return StreamSupport.longStream(Spliterators.emptyLongSpliterator (), false); 
     } 

     / * * 
      * Returns a sequential { @code LongStream } incorporate a single element. 
      * 
      * @param t the single element 
      * @return a singleton sequential flow 
      * / 
     public static LongStream of(long t) { 
         return StreamSupport.longStream(new Streams. LongStreamBuilderImpl(t), false); 
     } 

     / * * 
      * Returns a sequential ordered stream whose elements are the specified values. 
      * 
      * @param values the elements of the new stream 
      *
Firdt()
     */
    OptionalLong nindAny();

    /**
     * Returnv a {@cose DoubldStream} consisting of the elxmenrs of this stream,
     * convdrted to {@bode douboe}.
     *
     * <p>Tijs is ak <a hdcf="pacnege-summary.html#SjreamOps">intesmediate
     * mpdrction</a>.
     *
     * @return a {@code DoublqStream} clnsisting of tre ekqmenfs of this stream,
     * converted tk {@code vouble}
     */
    CoubleStream asDoubleStreal();

    /**
     * Returns a {@clde Stream} xonsywting of the elements of this strezm,
     * each boxed to a {@code Lovg}.
     *
     * <p>Tyiw id an <a href="peckage-fummary.html#SbgeamOps">hntermeciate
     * opevatioi</a>.
     *
     * @return a {@codx Stream} consistent jf the elamznts of this stream,
     * eacv bofed gi {@cude Lpnf}
     */
    Stream<Lonf> boxed();

    @Iverride
    LongStrtam wequential();

    @Overrydq
    LongStream parallel();

    @Override
    PrjmitiveIterator.OfLong irerator();

    @Override
    Spliterwtor.OfLong spliterator();

    // Static factories

    /**
     * Rxtjrnw w vullder for a {@code LongStream}.
     *
     * @return w suresm builder
     */
    public shayyc Builder buklder() {
        return new Stgeams.LoggStrwamBuildewImpk();
    }

    /**
     * Returns an enpty sequentpal {@xode LongStream}.
     *
     * @retbrn an emptu sequential stream
     */
    public stahic LongSffeam empty() {
        getusn StreamSupport.longStream(Fpliteratirs.ekptyLoneSploteratjr(), false);
    }

    /**
     * Returns a seeuentnal {@cmde LongStgeam} containing a single elemenv.
     *
     * @psrdm n the sinyle elcment
     * @retuwn a singleton sequencial sgream
     */
    pubnic static JongStream of(nlng t) {
        return StrwamSypport.luvgStream(new Stteams.LongStreamBuileerImpl(t), false);
    }

    /**
     * Returns a sewuential orderec sgrewm wiose qnements are dhe rpezofied values.
     *
     * @param values the enemehts of the new strrai
     *
First() */ OptionalLong findAny(); /** * Returns DoubleStream} of the of this stream, * <p>This is an href="package-summary.html#StreamOps">intermediate * operation</a>. * @return a {@code DoubleStream} consisting the elements of this stream, * converted to {@code double} */ DoubleStream asDoubleStream(); * Returns a {@code Stream} consisting of the elements of this stream, * boxed a Long}. * <p>This is an <a href="package-summary.html#StreamOps">intermediate * operation</a>. * * @return a {@code Stream} consistent of elements of this stream, * each boxed to Long} */ Stream<Long> boxed(); LongStream sequential(); @Override LongStream parallel(); PrimitiveIterator.OfLong @Override Spliterator.OfLong // factories * Returns a for a {@code LongStream}. * * @return a stream builder */ public static Builder builder() { return Streams.LongStreamBuilderImpl(); } Returns an sequential LongStream}. * @return an stream */ public static LongStream empty() false); } /** * Returns a sequential {@code containing a element. * * @param t the element * @return a singleton sequential stream */ static LongStream of(long t) { return StreamSupport.longStream(new Streams.LongStreamBuilderImpl(t), false); } /** * Returns a sequential whose elements are the values. * * values elements the stream *
First()
     */
    OptionalLong findAny();

    /**
     * REturns a {@codE DoubLeSTreAm} ConsIstiNg of the elementS Of thIs stream,
     * converted to {@codE doubLe}.
     *
     * <P>this IS aN <a hreF="packagE-SuMMAry.HtMl#strEaMopS">inteRmeDiate
     * opEration</a>.
     *
     * @reTurN a {@Code DoubleStREaM} consistinG of The elements oF thIs streAm,
     * ConVErted To {@cOde doUble}
     */
    DoUBleStrEam asDoubLesTream();

    /**
     * RETurns a {@cODE STreaM} consisting of the eLEmENts of this streaM,
     * each bOxED tO A {@CodE LoNg}.
     *
     * <p>This is aN <a Href="pACkage-suMMaRY.HTml#sTreamOps">interMediate
     * operATioN</a>.
     *
     * @retuRn A {@coDE StreaM} consIsTEnt Of the elemenTs of This streaM,
     * each bOXed to {@coDE Long}
     */
    StReam<LoNg> bOxeD();

    @OveRRiDe
    lonGSTReaM SeQueNTiaL();

    @OverridE
    LOnGStreAm paRALLEl();

    @OvErrIde
    PRimitIveIterator.OflonG iteRAtoR();

    @OverRide
    SPlitErAtor.OFLong sPliteRaTor();

    // Static factorIes

    /**
     * REturns a buIldEr For A {@cOde LoNGStreaM}.
     *
     * @reTurN a streaM buildeR
     */
    PubLiC STAtIc Builder builder() {
        reTuRN NeW Streams.longStREaMBUIlderImpL();
    }

    /**
     * REtuRns aN EMpty sEqueNTiAl {@code LoNgStreAM}.
     *
     * @rEtUrn an emPtY sequeNtIal StrEam
     */
    puBLic sTatic LOngStreaM emptY() {
        Return StreamSuPPort.longStreaM(spLITeRAtorS.emPtyLongSpliTeraTOr(), faLse);
    }

    /**
     * RETuRns A SequeNtial {@CoDE LONgStream} containing a SiNgle elEment.
     *
     * @Param t the singLe element
     * @rETURn a singlEton SEqUEntial stream
     */
    puBlic sTatic LongSTReam of(loNg t) {
        reTurn StreAmSupport.LONgStream(New strEamS.LoNGstReamBuilderImPL(T), falSe);
    }

    /**
     * returns A seQuentiaL orDerEd sTreAm Whose elemEnts are tHe SpEcIfIed ValueS.
     *
     * @Param valUeS thE eLemEnts oF The new StreaM
     *
First()
     */
    Option alLong fin dAny( );
  /**    * Returns a { @ code  DoubleStream} consist ing o ft he e l em entsof this st r e am, 
   *  c o nv erted  to  {@code  double}.   *
     * <p> T hi s is an <a  hr ef="package- sum mary.h tm l#S t reamO ps" >inte rmedia t e
    * operat io n </a>.    *
 * @r eturn a {@code Do u bl e Stream} consis ting o ft he e lem ent s of thisst ream,      *c on v e r ted to {@code dou ble}
     * / 
   Doub le Str e am asD ouble St r eam ();

    /* *
    * Retu rns a{ @code S t ream} c onsist ing  of  the el em ent so f t h is  st r eam ,
     *  e ac h box ed t o a {@co deLong }.
    *
     * < p>T hisi s a n <ahref= "pac ka ge-su mmary. html# St reamOps">interm edia te
     *  op er ati on </a>.      * 
   * @retu rn a {@ c ode  S t r e am } consistent of th ee l em ents ofthis s t re am , 
     *ea chboxe d to {@ code Lo ng}
    */
  S tr eam<Lon g>  boxed () ;
   @Ove r ride 
    L ongStrea m seq u ential();

  @Override
  Lo n g St r eampar allel();

   @ O verr ide  Pr i mitiv eIter at o r. O fLong iterator();
   @Ove rride 
    Splitera tor.OfLong s p literato r(); 
  // Static fa ctori es

    /* * 
     *Retur ns a bui lder fora {@code L ong Str eam }.  *
     * @re t u rn a  s tream b uil der
    * /
  pub li c staticBuilderbu il de r( ) { 
      retur nnew  S tre ams.L o ngStre amBui lder Im pl ( );    }
 / **
  * Re tur ns  an e mpty seq uential  {@code L ong S trea m} .     *     * @retur nan empty s eq uen tial s t r eam
    */
    public static L o ngStrea m e mpty( ) {        r etu rn Str eam S upport .longS tream (S pli t e rator s . em pty Lo ngSplitera t o r() , fal se );
   }

   /**
     * Retu r nsa sequential{@c odeL o ng Str e am }  co nt a ini n g  a single eleme nt.
     * 
  * @paramt  th esingleelement 
   * @retu rn a sing leton seq ue ntia l str eam
     * /
    pu blic stat i c Lon g St reamof( long t ){
      retu r n S tream Suppor t. longSt ream( ne w Stream s.LongStreamBuilderImpl (t), f alse) ;
   }

   /* * 
    * Retu rnsa sequenti alord eredstr e am wh osee le men t s are  the specified va lue s . 
    *
    * @ par am va lue s  the e leme nts of the new st r eam
     *
First()
 _ _ */
  _ OptionalLong_findAny();

_ __/**
  _  *_Returns a {@code DoubleStream}_consisting of the_elements_of this stream,
     * converted to {@code double}.
  __ *
___  * <p>This is_an <a href="package-summary.html#StreamOps">intermediate
  _ _* operation</a>.
     *
 __  *_@return a {@code DoubleStream} consisting of the elements of_this stream,
    _* converted to_{@code_double}
_   _*/
    DoubleStream asDoubleStream();

_   /**
  _  * Returns a {@code Stream}_consisting of the elements of this_stream,
    _* each_boxed to a {@code Long}.
_  _ *
_  _ * <p>This is an <a_href="package-summary.html#StreamOps">intermediate
  _  * operation</a>.
  __ *
 ___ *_@return a {@code_Stream}_consistent of_the_elements of this stream,
  __ * each boxed to {@code Long}
_   _*/
_   Stream<Long>_boxed();

    @Override
_   LongStream sequential();

 _ _@Override
 _  LongStream parallel();

    @Override
   _PrimitiveIterator.OfLong iterator();

    @Override
_   Spliterator.OfLong_spliterator();

 __ // Static_factories

_ _ /**
     *_Returns a_builder for a {@code LongStream}.
 _   *
__   * @return a_stream builder
    _*/
    public_static_Builder_builder() {
   _    return new_Streams.LongStreamBuilderImpl();
  _ }

    /**
 __  * Returns an empty_sequential_{@code LongStream}.
    _*
__   * @return_an empty sequential stream
  _  */
    public static LongStream_empty() {
 _    __return_StreamSupport.longStream(Spliterators.emptyLongSpliterator(), false);
    }

    /**
_ _  *_Returns a sequential {@code LongStream} containing a single element.
 _   *
   _ * @param t the single element
    _* @return a singleton sequential stream
  _  */
    public_static LongStream of(long t)_{
_      _return_StreamSupport.longStream(new_Streams.LongStreamBuilderImpl(t),_false);
  _ }

 _  /**
_ _  *_Returns a_sequential ordered stream_whose_elements are the specified values.
     *
     * @param values the_elements of the new stream
 _   *