List در جاوا

  • List is another interface present in java API for collection.
  • list has of 4 different implemented classes {Array list, link list; stack and vector}
  • list supports the duplicate values and stores the data in the same manner how we had provided.
  • Array list support all feature of list. but store the data in Array format.
  • Array list is not synchronized by nature.
  • Array list w1 = new Array list (10) Array list increases the size by 50 % of it's initial size.
  • Array list is not synchronized but vector is synchronized.
  • vector is same as array list. but it is not synchronized by default. the size of the vector increases by double the initial size.

نظرات 0 + ارسال نظر
برای نمایش آواتار خود در این وبلاگ در سایت Gravatar.com ثبت نام کنید. (راهنما)
ایمیل شما بعد از ثبت نمایش داده نخواهد شد