Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Convert Single Object To List

DZone's Guide to

Convert Single Object To List

· Java Zone
Free Resource

Try Okta to add social login, MFA, and OpenID Connect support to your Java app in minutes. Create a free developer account today and never build auth again.


List list = java.util.Arrays.asList("foo");


Build and launch faster with Okta’s user management API. Register today for the free forever developer edition!

Topics:
java

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}