capacity property

int capacity
final

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;