Skip to content

Add List.isSingle()#84

Merged
mperry merged 1 commit into
functionaljava:masterfrom
dobesv:list-issingle
Jan 16, 2015
Merged

Add List.isSingle()#84
mperry merged 1 commit into
functionaljava:masterfrom
dobesv:list-issingle

Conversation

@dobesv

@dobesv dobesv commented Jan 16, 2015

Copy link
Copy Markdown
Contributor

This is a method I have found useful in various places, hopefully others will too. The name isSingle is to be symmetrical with the static method List.single() which creates a list with one element.

mperry added a commit that referenced this pull request Jan 16, 2015
@mperry
mperry merged commit 18ae251 into functionaljava:master Jan 16, 2015
@mperry mperry added this to the v4.3 milestone Jan 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants