karagenit / forks

Find Most Updated Forks of a Github Repository
http://caleb.techhounds.com/forks
MIT License
1 stars 0 forks source link

Result: Object to Store Fork & Point Value #29

Closed karagenit closed 7 years ago

karagenit commented 7 years ago

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.