Empty list: What is the difference between Arrays.asList() and Collections.emptyList()?

ساخت وبلاگ

Vote count: 0

If i need an empty list, I could used Arrays.asList() or Collections.emptyList(), what is the difference between these two calls, which I should use?

asked 4 mins ago

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 267 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 15:28