public final class Unguardeds extends Object
Modifier and Type | Method and Description |
---|---|
static <D extends Descriptor,T> |
transformPage(Function<D,T> extractor,
List<D> page)
Transform a page of descriptors to unguarded form.
|
public static <D extends Descriptor,T> ImmutableList<T> transformPage(Function<D,T> extractor, List<D> page)
D
- Descriptor type in the original page to be transformedT
- Unguarded descriptor typeextractor
- Function
to extract unguarded descriptor content for storage.page
- Page to transform