com.mangofactory.swagger.models
Class Collections

java.lang.Object
  extended by com.mangofactory.swagger.models.Collections

public class Collections
extends Object


Constructor Summary
Collections()
           
 
Method Summary
static com.fasterxml.classmate.ResolvedType collectionElementType(com.fasterxml.classmate.ResolvedType type)
           
static String containerType(com.fasterxml.classmate.ResolvedType type)
           
static
<T extends Collection>
com.fasterxml.classmate.ResolvedType
elementType(com.fasterxml.classmate.ResolvedType container, Class<T> collectionType)
           
static boolean isContainerType(com.fasterxml.classmate.ResolvedType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Collections

public Collections()
Method Detail

elementType

public static <T extends Collection> com.fasterxml.classmate.ResolvedType elementType(com.fasterxml.classmate.ResolvedType container,
                                                                                      Class<T> collectionType)

collectionElementType

public static com.fasterxml.classmate.ResolvedType collectionElementType(com.fasterxml.classmate.ResolvedType type)

isContainerType

public static boolean isContainerType(com.fasterxml.classmate.ResolvedType type)

containerType

public static String containerType(com.fasterxml.classmate.ResolvedType type)


Copyright © May 2012-2014 The Mango Factory. All Rights Reserved.