Control Surface API  3.0.3
ObjectArrayValue.java
1 package com.bitwig.extension.controller.api;
2 
3 
5 
9 public interface ObjectArrayValue<ObjectType> extends Value<ObjectValueChangedCallback<ObjectType[]>>
10 {
14  ObjectType[] get();
15 
19  default ObjectType get(int index)
20  {
21  return get()[index];
22  }
23 
27  default boolean isEmpty()
28  {
29  return get().length == 0;
30  }
31 }