|
|
|
@ -16,14 +16,15 @@
|
|
|
|
|
|
|
|
|
|
package com.zaxxer.hikari.util;
|
|
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
import java.lang.reflect.Array;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.Collection;
|
|
|
|
|
import java.util.Comparator;
|
|
|
|
|
import java.util.Iterator;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.ListIterator;
|
|
|
|
|
import java.util.NoSuchElementException;
|
|
|
|
|
import java.util.RandomAccess;
|
|
|
|
|
import java.util.Spliterator;
|
|
|
|
|
import java.util.function.Consumer;
|
|
|
|
|
import java.util.function.Predicate;
|
|
|
|
@ -34,7 +35,7 @@ import java.util.function.UnaryOperator;
|
|
|
|
|
*
|
|
|
|
|
* @author Brett Wooldridge
|
|
|
|
|
*/
|
|
|
|
|
public final class FastList<T> extends ArrayList<T>
|
|
|
|
|
public final class FastList<T> implements List<T>, RandomAccess, Serializable
|
|
|
|
|
{
|
|
|
|
|
private static final long serialVersionUID = -4598088075242913858L;
|
|
|
|
|
|
|
|
|
@ -323,20 +324,6 @@ public final class FastList<T> extends ArrayList<T>
|
|
|
|
|
throw new UnsupportedOperationException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
|
@Override
|
|
|
|
|
public void trimToSize()
|
|
|
|
|
{
|
|
|
|
|
throw new UnsupportedOperationException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
|
@Override
|
|
|
|
|
public void ensureCapacity(int minCapacity)
|
|
|
|
|
{
|
|
|
|
|
throw new UnsupportedOperationException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
|
@Override
|
|
|
|
|
public Object clone()
|
|
|
|
@ -344,13 +331,6 @@ public final class FastList<T> extends ArrayList<T>
|
|
|
|
|
throw new UnsupportedOperationException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
|
@Override
|
|
|
|
|
protected void removeRange(int fromIndex, int toIndex)
|
|
|
|
|
{
|
|
|
|
|
throw new UnsupportedOperationException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */
|
|
|
|
|
public void forEach(Consumer<? super T> action)
|
|
|
|
|
{
|
|
|
|
|