ExampleTable.getAttributes and ExampleTable.addAttributes
e4gle
New Altair Community Member
Why, for the love of god, ExampleTable.getAttributes returns Attribute[] , but ExampleTable.addAttributes requires as an argument Collection<Argument> ? Wouldn't it be better to decide between an array and collection, so I can easily add to one exampletable attributes from another exampletable?
0
Answers
-
Hi,
Maybe. This method is your friend:
Arrays.asList(attributes)
Best,
Simon
0