karagenit/forks

Result: Object to Store Fork & Point Value

Closed this issue · 0 comments

We want to sort the list of Forks (not just the name, the actual object) but can't use the object as a key (and using the points as a key is bad cause that isn't unique). We don't want to have to calculate the point value every time, so we need to define our own class which stores both the fork and point value and which we can sort by.