core/src/main/java/org/hitogo/core/HitogoController.java
protected void internalCloseAll(@NonNull Iterator<AlertImpl> it, @IntRange(from = 0) long currentLongest) {
        while (it.hasNext()) {
            AlertImpl object = it.next();
            if (object != null && object.isAttached()) {
                if (object.getAnimationDuration() > currentLongest) {
                    currentLongest = object.getAnimationDuration();
                }

                internalMakeInvisible(object);
                it.remove();
            }
        }
    }
/**
     * Closes all alerts by the given iterator object. <b>Internal use only.</b>
     *
     * @param it             Iterator object that will be used to close it's <b>attached</b> alerts
     * @param currentLongest Time in ms of the longest closing animation. That value can be used to
     *                       delay certain action until all alerts have been closed.
     * @since 1.0.0
     */
Closes all alerts by the given iterator object. Internal use only.
@param it             Iterator object that will be used to close it's attached alerts
@param currentLongest Time in ms of the longest closing animation. That value can be used to
delay certain action until all alerts have been closed.
Closes all alerts by the given iterator object . Internal use only . @param it Iterator object that will be used to close it ' s attached alerts @param currentLongest Time in ms of the longest closing animation . That value can be used to delay certain action until all alerts have been closed .
protected void internalCloseAll(@NonNull Iterator<AlertImpl> it, @IntRange(from = 0) long currentLongest) {
        while (it.hasNext()) {
            AlertImpl object = it.next();
            if (object != null && object.isAttached()) {
                if (object.getAnimationDuration() > currentLongest) {
                    currentLongest = object.getAnimationDuration();
                }
                internalMakeInvisible(object);
                it.remove();
            }
        }
    }
protected void internalCloseAll ( @ NonNull Iterator < AlertImpl > it , @ IntRange ( from = 0 ) long currentLongest ) { while ( it . hasNext ( ) ) { AlertImpl object = it . next ( ) ; if ( object != null && object . isAttached ( ) ) { if ( object . getAnimationDuration ( ) > currentLongest ) { currentLongest = object . getAnimationDuration ( ) ; } internalMakeInvisible ( object ) ; it . remove ( ) ; } } }
Closes all alerts by the given iterator object.
Closes all alerts by the given iterator object .