ExampleTable.getAttributes and ExampleTable.addAttributes

e4gle
e4gle New Altair Community Member
edited November 5 in Community Q&A
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?

Answers

  • fischer
    fischer New Altair Community Member
    Hi,

    Maybe. This method is your friend:

      Arrays.asList(attributes)

    Best,
    Simon