Actions
Task #5861
closedstatic boolean containsSingleObject(Collection<?> collection)
Start date:
04/20/2015
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Published in build:
Description
Implement a utility method with the following signature:
static boolean containsSingleObject(Collection<?> collection)
The method returns true
when the specified collection contains exactly one element, false
otherwise.
The method name can be changed to the one you think is more suitable.
Actions