Skip to content

Apache collections: migrate from cardinality(O obj, Iterable<? super O> coll) to IterableUtils.frequency(Iterable, Object) #37

@yeikel

Description

@yeikel
cardinality(O objIterable<? super Ocoll)

Deprecatedsince 4.1, use IterableUtils.frequency(Iterable, Objectinstead. Be aware that the order of parameters has changed.

https://commons.apache.org/proper/commons-collections/apidocs/org/apache/commons/collections4/CollectionUtils.html#cardinality-O-java.lang.Iterable-

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Recipes Wanted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions