@Authors(value="Nikolche Mihajlovski") @Since(value="5.3.0") public class SlidingWindowList<E> extends AbstractListDecorator<E>
decorated| Constructor and Description |
|---|
SlidingWindowList(int maxSize) |
SlidingWindowList(int maxSize,
double stretchingFactor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E element) |
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> elements) |
boolean |
addAll(int index,
Collection<? extends E> elements) |
clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArraydecorated, equals, hashCode, toStringclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic SlidingWindowList(int maxSize)
public SlidingWindowList(int maxSize,
double stretchingFactor)
public boolean add(E element)
add in interface Collection<E>add in interface List<E>add in class AbstractListDecorator<E>public void add(int index,
E element)
public boolean addAll(Collection<? extends E> elements)
addAll in interface Collection<E>addAll in interface List<E>addAll in class AbstractListDecorator<E>public boolean addAll(int index,
Collection<? extends E> elements)
Copyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.