private void updateVague ( ) { generateResource ( PresenceResource . ID ) . orElse ( CompletableFuture . completedFuture ( new ArrayList <> ( ) ) ) . thenAccept ( list -> mostVague . set ( list . stream ( ) . map ( Presence :: importPresence ) . filter ( Optional :: isPresent ) . map ( Optional :: get ) . map ( Presence :: getLevel ) . noneMatch ( level -> level . compareTo ( getLevel ( ) ) > 0 ) ) ) ; }
updates the boolean whether it is the mode vague