Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public T odeberKoren() throws NoSuchElementException {
- if(koren==null){
- throw new NoSuchElementException();
- }
- if(koren.pravyPotomek==null && koren.levyPotomek==null){
- T OD=koren.data;
- zrus();
- return (T) OD;
- }
- throw new NoSuchElementException();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement