public class ConverterUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ConverterUtil.LazyConverter<S,T> |
Modifier and Type | Method and Description |
---|---|
static <S,T> java.lang.Iterable<T> |
lazyConvert(java.lang.Iterable<S> items,
Converter<S,T> converter)
This method will take an Iterable of type S, and using the passed converter, return an Iterable of type T that it will lazily convert.
|
public static <S,T> java.lang.Iterable<T> lazyConvert(java.lang.Iterable<S> items, Converter<S,T> converter)
items
- converter
- Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.