Questions tagged as 'stream'

0
answers

Having StreamStream how can we get the Stream containing more elements in the other stream

I have 3 interfaces public interface IGhOrg { int getId(); String getLogin(); String getName(); String getLocation(); Stream<IGhRepo> getRepos(); } public interface IGhRepo { int getId(); int getSize();...
asked by 27.06.2016 / 05:20
2
answers

Error when putting puts of a variable within the DEF

Hello. I can not print variable that is inside a def. Script class LogParser def initialize (ip, data, code) log = File.open("/project/log_sec/log/log.txt").each do |file| parse = file.split(" ") data = parse[0] time = parse[1]...
asked by 18.11.2015 / 19:39