public class CollectionHelper extends Object
Constructor and Description |
---|
CollectionHelper() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
first(Iterable<T> objects)
Returns the first item in the given collection
|
static <T> T |
last(Iterable<T> objects)
Returns the last item in the given collection
|
Copyright © 2016 Red Hat. All rights reserved.