Toxiclibs + GPU (openGL) processing 3

It’s not a variable but an interface. Classes & interfaces act as datatypes too: :face_with_monocle:
Docs.Oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html

The class Collections isn’t the same as the interface Collection: :expressionless:
Docs.Oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collections.html

For the interface Collection, it’s this import statement instead: :innocent:
import java.util.Collection;

It’d be better if @hamoid’s code had included all the needed import statements as well. :stuck_out_tongue_winking_eye:

1 Like