How can I reference ArrayBuffer and Vector in a more general way?
For example, one of my functions takes a vector as an argument, and the other returns an ArrayBuffer. What is a regular βinterfaceβ that I can use?
For example, in Java, I could use the List or Collection interface to pass them.
source share