{"action":"closed","issue":{"url":"https://api.github.com/repos/DanerSound/AlgoritmiOrdinamento/issues/5","repository_url":"https://api.github.com/repos/DanerSound/AlgoritmiOrdinamento","labels_url":"https://api.github.com/repos/DanerSound/AlgoritmiOrdinamento/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/DanerSound/AlgoritmiOrdinamento/issues/5/comments","events_url":"https://api.github.com/repos/DanerSound/AlgoritmiOrdinamento/issues/5/events","html_url":"https://github.com/DanerSound/AlgoritmiOrdinamento/issues/5","id":343360090,"node_id":"MDU6SXNzdWUzNDMzNjAwOTA=","number":5,"title":"Missunderstanding","user":{"login":"Wabri","id":12409541,"node_id":"MDQ6VXNlcjEyNDA5NTQx","avatar_url":"https://avatars2.githubusercontent.com/u/12409541?v=4","gravatar_id":"","url":"https://api.github.com/users/Wabri","html_url":"https://github.com/Wabri","followers_url":"https://api.github.com/users/Wabri/followers","following_url":"https://api.github.com/users/Wabri/following{/other_user}","gists_url":"https://api.github.com/users/Wabri/gists{/gist_id}","starred_url":"https://api.github.com/users/Wabri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wabri/subscriptions","organizations_url":"https://api.github.com/users/Wabri/orgs","repos_url":"https://api.github.com/users/Wabri/repos","events_url":"https://api.github.com/users/Wabri/events{/privacy}","received_events_url":"https://api.github.com/users/Wabri/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-21T22:24:03Z","updated_at":"2018-07-24T21:18:39Z","closed_at":"2018-07-24T21:18:39Z","author_association":"NONE","body":"Non riesco a comprendere queste due funzioni:\r\n\r\n1.  addFirst:https://github.com/DanerSound/AlgoritmiOrdinamento/blob/52c66f53f5cc8523e18cb29a877a6de87a76bbed/AlgoritmiOrdinamento/src/chain/ChainOfInts.java#L37\r\n2. preInsert: https://github.com/DanerSound/AlgoritmiOrdinamento/blob/52c66f53f5cc8523e18cb29a877a6de87a76bbed/AlgoritmiOrdinamento/src/chain/ChainOfInts.java#L42\r\n\r\nSe non ho capito male il primo serve a aggiungere in testa, mentre il secondo in coda. sbaglio?\r\n\r\nSolo qui nel metodo removeFirst ho compreso l'architettura della chain: https://github.com/DanerSound/AlgoritmiOrdinamento/blob/52c66f53f5cc8523e18cb29a877a6de87a76bbed/AlgoritmiOrdinamento/src/chain/ChainOfInts.java#L47\r\nSecondo me è possibile gestirla in maniera meno complessa di come hai fatto, eliminando il nodo nullo che funziona un po' da flag. Sicuramente i metodi di add e remove in coda e in testa diventano molto più leggeri. "}}
{"actor":{"display_login":"Wabri"}}