Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public SLL brisi_pomali_od(int iznos) {
- SLLNode nod1 = first;
- SLL lista = new SLL();
- SLLNode nod2 = lista.getFirst();
- while(nod1 != null)
- {
- if(nod1.plata >= iznos)
- {
- lista.insertLast(nod1.id, nod1.plata);
- }
- nod1=nod1.succ;
- }
- return lista;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement