Skip to content
This repository was archived by the owner on Feb 17, 2020. It is now read-only.

Commit 3cb8bc6

Browse files
committed
Revert "Consolidate Checksum classes into own package"
Thew world is not yet ready for you.
1 parent 525d45f commit 3cb8bc6

4 files changed

Lines changed: 17 additions & 14 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package net.squanchy.support.lang;
2+
3+
public interface Func0<V> {
4+
5+
V call();
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package net.squanchy.support.lang;
2+
3+
public interface Func1<T, R> {
4+
5+
R call(T t);
6+
}

app/src/main/java/net/squanchy/support/lang/FunctionalInterfaces.kt

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package net.squanchy.support.lang;
2+
3+
public interface Predicate<T> extends Func1<T, Boolean> {
4+
// Just a convenience subclass of Func1
5+
}

0 commit comments

Comments
 (0)