Make Column implement the Columnable interface. See the Javadocs for a description of its methods.
Implement the logic of the Column.getVisibleColumns() method.
The Column.configureColumns() method is already implemented. Don't change it.
Don't create additional fields.
Your own enum
- 28
Locked
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
matemate123
30 April, 20:00
Definitely takes time to understand what's going on in code, but with some amount of equanimity, it's nice task!
0
Justin Smith
17 January 2022, 22:30
The main complexity of this task is having an array with integer indexes that contain integer values that represent another ordering system. Since arrays do not have an indexOf method (unfortunately) it's kind of tedious but necessary to search for values to get the right index.
Definitely a good task, though. Before this chapter I had previously thought enums were very simple, I didn't even realize they could contain other methods.
0