Just wondering if MATLAB has an开发者_运维技巧 efficient dynamically expanding primitive, something akin to Java Collections? I realise that the Java API is always an option, but it can be a complete pain to use. Of course something like the ArrayList would be simple to implement, but I was specifically wondering about built-in data structures.
Thanks very much.
Map Containers should fit your criteria of built-in data structure.
Java Collections Framework might not be best as example for 'expanding primitive'. It is a framework implemented based on the Java language. Even in Java, 'primitive data types' are breaking pure object orientation.
精彩评论