Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34057

Re: own stream reduction

From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: own stream reduction
Date 2016-04-02 10:23 -0400
Organization A noiseless patient Spider
Message-ID <ndokfn$7bb$1@dont-email.me> (permalink)
References <feb2691d-116f-4519-9c4d-3e01294703aa@googlegroups.com>

Show all headers | View raw


On 4/2/2016 10:10 AM, Philipp Kraus wrote:
> Hello,
>
> I try to buld an own reduction stream reduction for my data structure.
> [...]
> I'm searching for a tutorial or example how I can create an own reduce operator of my own type.

     The Java Tutorial has a page showing how a few simple reduction
operations can be built "from the ground up:"

http://docs.oracle.com/javase/tutorial/collections/streams/reduction.html

     Also, the Javadoc for java.util.stream has some material that
looks useful.

-- 
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

own stream reduction Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2016-04-02 07:10 -0700
  Re: own stream reduction Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-04-02 10:23 -0400
    Re: own stream reduction Sebastian <news@seyweiler.dyndns.org> - 2016-04-02 23:10 +0200
      Re: own stream reduction Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2016-04-03 08:32 -0700

csiph-web