Example usage for org.apache.commons.collections.primitives ByteList add

List of usage examples for org.apache.commons.collections.primitives ByteList add

Introduction

In this page you can find the example usage for org.apache.commons.collections.primitives ByteList add.

Prototype

boolean add(byte element);

Source Link

Document

Appends the specified element to the end of me (optional operation).

Usage

From source file:de.unibayreuth.bayeos.goat.table.MassenTableModel.java

private void removeRows(int[] r) {
    ByteList stat = new ArrayByteList(r.length);
    IntList von = new ArrayIntList(r.length);
    DoubleList wert = new ArrayDoubleList(r.length);

    for (int i = 0; i < r.length; i++) {
        stat.add(statusList.get(r[i]));
        von.add(vonList.get(r[i]));/* www  . jav  a  2  s  .  c  o  m*/
        wert.add(wertList.get(r[i]));
    }
    statusList.removeAll(stat);
    vonList.removeAll(von);
    wertList.removeAll(wert);
}