Options

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

  • Options
    fischerfischer Member Posts: 439 Maven
    Hi,

    Maybe. This method is your friend:

      Arrays.asList(attributes)

    Best,
    Simon

Sign In or Register to comment.