capacity property
Maximum number of elements that can be stored in the list.
Once this limit is reached, adding new elements will remove the oldest ones.
Implementation
final int capacity;
Maximum number of elements that can be stored in the list.
Once this limit is reached, adding new elements will remove the oldest ones.
final int capacity;