aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/zwobble/mammoth/util/MammothIterables.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/zwobble/mammoth/util/MammothIterables.java')
-rw-r--r--src/main/java/org/zwobble/mammoth/util/MammothIterables.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main/java/org/zwobble/mammoth/util/MammothIterables.java b/src/main/java/org/zwobble/mammoth/util/MammothIterables.java
deleted file mode 100644
index 89caf61..0000000
--- a/src/main/java/org/zwobble/mammoth/util/MammothIterables.java
+++ /dev/null
@@ -1,11 +0,0 @@
-package org.zwobble.mammoth.util;
-
-import com.google.common.collect.Iterables;
-
-import java.util.Optional;
-
-public class MammothIterables {
- public static <T> Optional<T> tryGetLast(Iterable<T> iterable) {
- return Optional.ofNullable(Iterables.getLast(iterable, null));
- }
-}