greptilian logo

IRC log for #friendlyjava, 2019-03-11

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
07:30 deavmiLaptop joined ##friendlyjava
11:48 deavmi joined ##friendlyjava
13:23 deavmi joined ##friendlyjava
13:42 deavmi joined ##friendlyjava
13:56 deavmi joined ##friendlyjava
14:01 deavmi joined ##friendlyjava
14:03 deavmi joined ##friendlyjava
16:07 deavmi joined ##friendlyjava
19:11 nanoz joined ##friendlyjava
21:51 kirua joined ##friendlyjava
21:55 kirua hello
21:55 kirua hello streams ?
22:01 pdurbin what about them?
22:55 kirua sonar tells me to replace that Lambdas should be replaced with method references here  :  taskTypes = types.stream().filter(type -> AgentSpecificity.TASK_TYPES.contains(TaskType.​lookUp(type))).collect(Collectors.mapping(type -> TaskType.lookUp(type), Collectors.toList())); but i don't know how to do that
22:57 aditsu kirua: 'type -> TaskType.lookUp(type)' is probably the same as 'TaskType::lookUp'
22:59 kirua how can i understand that?
22:59 aditsu um.. by learning about method references?
23:00 kirua lol i mean it's not intuitive
23:01 aditsu also, I don't know how a sonar is telling you that, normally it just tells you about underwater objects and vessels :p
23:02 aditsu kirua: it's actually quite intuitive, if you have a function f, you can describe it as 'f', or as 'x -> f(x)', it's the same thing
23:02 kirua aha, i see
23:02 kirua thx aditsu, you helped me a lot !
23:21 kirua joined ##friendlyjava
23:44 kirua joined ##friendlyjava

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode