src/main/java/org/intellimate/izou/sdk/frameworks/presence/provider/template/PresenceConstant.java
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))
            );
    }
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))
            );
    }
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
updates the boolean whether it is the mode vague