private Set < ? > buildSet ( final ArangoCursor < ? > cursor ) { return StreamSupport . stream ( Spliterators . spliteratorUnknownSize ( cursor , 0 ) , false ) . collect ( Collectors . toSet ( ) ) ; }
Creates a Set return type from the given cursor