Control Surface API  3.0.3
HardwareDeviceMatcherList.java
1 package com.bitwig.extension.controller;
2 
3 import java.util.ArrayList;
4 import java.util.Collections;
5 import java.util.List;
6 
13 {
21  public void add(final HardwareDeviceMatcher... deviceMatchers)
22  {
23  mList.add(deviceMatchers);
24  }
25 
27  public int getCount()
28  {
29  return mList.size();
30  }
31 
32  public HardwareDeviceMatcher[] getHardwareDeviceMatchersAt(final int index)
33  {
34  return mList.get(index);
35  }
36 
37  public List<HardwareDeviceMatcher[]> getList()
38  {
39  return Collections.unmodifiableList(mList);
40  }
41 
42  private final List<HardwareDeviceMatcher[]> mList = new ArrayList<>(2);
43 }
void add(final HardwareDeviceMatcher...deviceMatchers)