public final class CollectionFacetUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<ObjectAdapter> |
convertToAdapterList(ObjectAdapter collection) |
static Object[] |
convertToArray(ObjectAdapter collection)
Deprecated.
- use instead
convertToList(ObjectAdapter). |
static List<Object> |
convertToList(ObjectAdapter collection) |
static ObjectAdapter |
firstElement(ObjectAdapter collection) |
static CollectionFacet |
getCollectionFacetFromSpec(ObjectAdapter objectRepresentingCollection) |
static int |
size(ObjectAdapter collection) |
public static CollectionFacet getCollectionFacetFromSpec(ObjectAdapter objectRepresentingCollection)
public static int size(ObjectAdapter collection)
public static ObjectAdapter firstElement(ObjectAdapter collection)
@Deprecated public static Object[] convertToArray(ObjectAdapter collection)
convertToList(ObjectAdapter).public static List<Object> convertToList(ObjectAdapter collection)
public static List<ObjectAdapter> convertToAdapterList(ObjectAdapter collection)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.