package renamed
This commit is contained in:
committed by
giuseppe.bueti
parent
002d086437
commit
fb4f9b36a5
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.baeldung.doublecolumn;
|
||||
package com.baeldung.doublecolon;
|
||||
|
||||
public class Computer {
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
package com.baeldung.doublecolumn;
|
||||
package com.baeldung.doublecolon;
|
||||
|
||||
import com.baeldung.doublecolon.function.ComputerPredicate;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.baeldung.doublecolumn.function.ComputerPredicate;
|
||||
|
||||
public class ComputerUtils {
|
||||
|
||||
public static final ComputerPredicate after2010Predicate = (c) -> (c.getAge() > 2010);
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.baeldung.doublecolumn.function;
|
||||
package com.baeldung.doublecolon.function;
|
||||
|
||||
import com.baeldung.doublecolumn.Computer;
|
||||
import com.baeldung.doublecolon.Computer;
|
||||
|
||||
@FunctionalInterface
|
||||
public interface ComputerPredicate {
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.baeldung.doublecolumn.function;
|
||||
package com.baeldung.doublecolon.function;
|
||||
|
||||
import java.util.Objects;
|
||||
import java.util.function.Function;
|
||||
Reference in New Issue
Block a user