Java List Remove remove(List models, int start, int count)

Here you can find the source of remove(List models, int start, int count)

Description

remove

License

Apache License

Declaration

static void remove(List models, int start, int count) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.List;

public class Main {
    static void remove(List models, int start, int count) {
        models.subList(start, start + count).clear();
    }/* w  w  w.  j a v a2  s  .  com*/
}

Related

  1. remove(Collection entityList1, Collection entityList2, Comparator comparator)
  2. remove(final List list, final int index, final T defaultValue)
  3. remove(final List list, final T... objects)
  4. remove(List aList, Object anObj)
  5. remove(List list, List elements)
  6. remove(List list, Class type)
  7. remove(List as, int start, int end)
  8. remove(List list, E element)