Changing code to use interfaces instead of implementations.

This commit is contained in:
leogtzr
2017-01-21 15:47:54 -07:00
parent 6292690250
commit d6fc28e120
24 changed files with 346 additions and 13 deletions

View File

@ -167,7 +167,7 @@ public class LruCache {
* Returns cache data in list form.
*/
public List<UserAccount> getCacheDataInListForm() {
ArrayList<UserAccount> listOfCacheData = new ArrayList<>();
List<UserAccount> listOfCacheData = new ArrayList<>();
Node temp = head;
while (temp != null) {
listOfCacheData.add(temp.userAccount);