public class StreamUtils extends Object
| Constructor and Description |
|---|
StreamUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Optional<T> |
findLastOf(Stream<T> stream)
Based on http://stackoverflow.com/questions/27547519/most-efficient-way-to-get-the-last-element-of-a-stream
|
Copyright © 2014–2016 Nikolche Mihajlovski and contributors. All rights reserved.