Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新建 com.feilong.core.util.CollectionsUtil.newHashSet(Collection) 带参的方法 #373

Closed
venusdrogon opened this issue Jul 17, 2022 · 0 comments
Labels
enhancement New feature or request feilong-core feilong-core
Milestone

Comments

@venusdrogon
Copy link
Collaborator

venusdrogon commented Jul 17, 2022

新建 com.feilong.core.util.CollectionsUtil.newHashSet(Collection) 带参的方法

    private void allExist(String deviceMac,Collection<Long> albumIds){
        Validate.notBlank(deviceMac, "deviceMac can't be blank!");
        Validate.notEmpty(albumIds, "albumIds can't be null/empty!");

        //---------------------------------------------------------------
        Set<Long> albumIdSet = new HashSet<>(albumIds);

...

}
@venusdrogon venusdrogon added this to the 3.1.1 milestone Jul 17, 2022
@venusdrogon venusdrogon added enhancement New feature or request feilong-core feilong-core labels Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feilong-core feilong-core
Projects
None yet
Development

No branches or pull requests

1 participant