class IdHolderList extends ArrayList<IdHolder> {

    private static final IdHolderList EMPTY_P = new IdHolderList(true);
    private static final IdHolderList EMPTY_NP = new IdHolderList(false);

    private static final long serialVersionUID = -738694176552424990L;

    private final boolean paging;

    public static IdHolderList empty(boolean paging) {<FILL_FUNCTION_BODY>}

    public IdHolderList(boolean paging) {
        this.paging = paging;
    }

    public boolean paging() {
        return this.paging;
    }

    @Override
    public boolean add(IdHolder holder) {
        E.checkArgument(this.paging == holder.paging(),
                        "The IdHolder to be linked must be " +
                        "in same paging mode");
        return super.add(holder);
    }

    @Override
    public boolean addAll(Collection<? extends IdHolder> idHolders) {
        for (IdHolder idHolder : idHolders) {
            this.add(idHolder);
        }
        return true;
    }
}

        IdHolderList empty = paging ? EMPTY_P : EMPTY_NP;
        empty.clear();
        return empty;
    
<methods>public void <init>() ,public void <init>(int) ,public void <init>(Collection<? extends org.apache.hugegraph.backend.page.IdHolder>) ,public boolean add(org.apache.hugegraph.backend.page.IdHolder) ,public void add(int, org.apache.hugegraph.backend.page.IdHolder) ,public boolean addAll(Collection<? extends org.apache.hugegraph.backend.page.IdHolder>) ,public boolean addAll(int, Collection<? extends org.apache.hugegraph.backend.page.IdHolder>) ,public void clear() ,public java.lang.Object clone() ,public boolean contains(java.lang.Object) ,public void ensureCapacity(int) ,public boolean equals(java.lang.Object) ,public void forEach(Consumer<? super org.apache.hugegraph.backend.page.IdHolder>) ,public org.apache.hugegraph.backend.page.IdHolder get(int) ,public int hashCode() ,public int indexOf(java.lang.Object) ,public boolean isEmpty() ,public Iterator<org.apache.hugegraph.backend.page.IdHolder> iterator() ,public int lastIndexOf(java.lang.Object) ,public ListIterator<org.apache.hugegraph.backend.page.IdHolder> listIterator() ,public ListIterator<org.apache.hugegraph.backend.page.IdHolder> listIterator(int) ,public org.apache.hugegraph.backend.page.IdHolder remove(int) ,public boolean remove(java.lang.Object) ,public boolean removeAll(Collection<?>) ,public boolean removeIf(Predicate<? super org.apache.hugegraph.backend.page.IdHolder>) ,public void replaceAll(UnaryOperator<org.apache.hugegraph.backend.page.IdHolder>) ,public boolean retainAll(Collection<?>) ,public org.apache.hugegraph.backend.page.IdHolder set(int, org.apache.hugegraph.backend.page.IdHolder) ,public int size() ,public void sort(Comparator<? super org.apache.hugegraph.backend.page.IdHolder>) ,public Spliterator<org.apache.hugegraph.backend.page.IdHolder> spliterator() ,public List<org.apache.hugegraph.backend.page.IdHolder> subList(int, int) ,public java.lang.Object[] toArray() ,public T[] toArray(T[]) ,public void trimToSize() <variables>private static final java.lang.Object[] DEFAULTCAPACITY_EMPTY_ELEMENTDATA,private static final int DEFAULT_CAPACITY,private static final java.lang.Object[] EMPTY_ELEMENTDATA,transient java.lang.Object[] elementData,private static final long serialVersionUID,private int size