X- Type of item
You can use it in order to create a declarative/lazy version of a filtered collection/iterable. For example, this code will create a list of two strings "hello" and "world":
Iterable<String> list = new FilteredIterable<>( new ArrayAsIterable<>( "hey", "hello", "world" ), input -> input.length() > 4 );
There is no thread-safety guarantee.
|Constructor and Description|
|Modifier and Type||Method and Description|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Copyright © 2017 Cactoos. All rights reserved.