mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 22:07:59 +01:00
Remove Flow. It could've just been a single method.
This commit is contained in:
parent
5851b1b46f
commit
d664cabb1a
1 changed files with 0 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
||||||
package com.voxelmodpack.hdskins.util;
|
|
||||||
|
|
||||||
import com.google.common.base.Optional;
|
|
||||||
import com.google.common.collect.Streams;
|
|
||||||
|
|
||||||
import java.util.stream.Stream;
|
|
||||||
|
|
||||||
public interface Flow<T> {
|
|
||||||
|
|
||||||
static <T> Stream<T> from(T obj) {
|
|
||||||
return Streams.stream(Optional.fromNullable(obj));
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue