Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- assertEquals(auto2, evidence1.vratSeznamVolnychAut());
- public Collection<Auto> vratSeznamVolnychAut(){
- {
- Collection<Auto> pomocnySeznam = new ArrayList<>();
- for (Auto auto : seznam){
- if(auto.getZakaznik() == null){
- pomocnySeznam.add(auto);
- }
- }
- return pomocnySeznam;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement