|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mangofactory.swagger.models.alternates.Alternates
public class Alternates
| Constructor Summary | |
|---|---|
Alternates()
|
|
| Method Summary | |
|---|---|
static AlternateTypeRule |
newMapRule(java.lang.Class<?> key,
java.lang.Class<?> value)
Helper method to create a new alternate for Map<K,V> that results in an alternate of type
List<Entry<K,V>>. |
static AlternateTypeRule |
newRule(java.lang.reflect.Type original,
java.lang.reflect.Type alternate)
Helper method to create a new alternate rule. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Alternates()
| Method Detail |
|---|
public static AlternateTypeRule newRule(java.lang.reflect.Type original,
java.lang.reflect.Type alternate)
original - the originalalternate - the alternate
public static AlternateTypeRule newMapRule(java.lang.Class<?> key,
java.lang.Class<?> value)
Map<K,V> that results in an alternate of type
List<Entry<K,V>>.
key - the class that represents a keyvalue - the value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||