Skip to content

[additional] SynchronizedCollection #22

Description

@wooyounggggg

연관 챕터

#20

조사 내용

책 내용에 의하면 apache의 SynchronizedCollection의 removeIf의 동기화 로직이 재정의 되어 있지 않다고 나와 있으나, 4.4 버전부터 업데이트 되어 현재는 synchronize 로직을 제공하는 것으로 확인됩니다.

/**
 * @since 4.4
 */
@Override
public boolean removeIf(final Predicate<? super E> filter) {
    synchronized (lock) {
        return decorated().removeIf(filter);
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions