Skip to content

Conversation

@bluecrush
Copy link

SeqContainsAnyFunction
SeqDisjunctionFunction
SeqIntersectionFunction
SeqIsEqualFunction
SeqIsSubSeqFunction
SeqSubtractFunction
SeqUnionFunction

}
Collection<?> coll1 = (Collection<?>) seq1;
Collection<?> coll2 = (Collection<?>) seq2;
if (coll1.size() < coll2.size()) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe Collections.disjoint can be used here:
https://docs.oracle.com/javase/7/docs/api/java/util/Collections.html#disjoint(java.util.Collection,%20java.util.Collection)

return Collections.disjoint(coll1, coll2)? AviatorBoolean.FALSE : AviatorBoolean.TRUE

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants