Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Users.applyAll(u -> u.watchOut(true), u -> u.setCry(false), u -> u.setPout(false));
Users.each(u -> u.tell(He.getName() + " is coming to " + TownRegistry.getCommonName()));
List<Object> list = He.composeList();
He.validate(() -> list);
He.validate(() -> list);
List<Object> naughty = He.filter(He.UserType.NAUGHTY, () -> list);
List<Object> nice = He.filter(He.UserType.NICE, () -> list);
He.with(naughty, nice).arrive(TownRegistry.next());
Users.each(u -> u.setStateObserver(User.State.SLEEPING, He.asObserver()));
Users.each(u -> u.setStateObserver(User.State.AWAKE, He.asObserver()));
He.subscriptions().monitorEvents(s -> s.type == He.EventType.BAD);
He.subscriptions().monitorEvents(s -> s.type == He.EventType.GOOD);
He.subscriptions().each(s -> He.advisor(He.EventType.GOOD).advice(s));
random