The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

ExampleTable.getAttributes and ExampleTable.addAttributes

e4glee4gle Member Posts: 12 Contributor II
edited November 2018 in Help
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?
Tagged:

Answers

  • fischerfischer Member Posts: 439 Maven
    Hi,

    Maybe. This method is your friend:

      Arrays.asList(attributes)

    Best,
    Simon

Sign In or Register to comment.