AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | 静态 Public 属性 | 所有成员列表
com.google.gson.JsonNull类 参考
类 com.google.gson.JsonNull 继承关系图:
com.google.gson.JsonElement

Public 成员函数

 JsonNull ()
 
int hashCode ()
 
boolean equals (Object other)
 
- Public 成员函数 继承自 com.google.gson.JsonElement
boolean isJsonArray ()
 
boolean isJsonObject ()
 
boolean isJsonPrimitive ()
 
boolean isJsonNull ()
 
JsonObject getAsJsonObject ()
 
JsonArray getAsJsonArray ()
 
JsonPrimitive getAsJsonPrimitive ()
 
JsonNull getAsJsonNull ()
 
boolean getAsBoolean ()
 
Number getAsNumber ()
 
String getAsString ()
 
double getAsDouble ()
 
float getAsFloat ()
 
long getAsLong ()
 
int getAsInt ()
 
byte getAsByte ()
 
char getAsCharacter ()
 
BigDecimal getAsBigDecimal ()
 
BigInteger getAsBigInteger ()
 
short getAsShort ()
 
String toString ()
 

静态 Public 属性

static final JsonNull INSTANCE = new JsonNull()
 

额外继承的成员函数

- 包函数 继承自 com.google.gson.JsonElement
Boolean getAsBooleanWrapper ()
 

详细描述

A class representing a Json

null

value.

作者
Inderjeet Singh
Joel Leitch
自从
1.2

构造及析构函数说明

com.google.gson.JsonNull.JsonNull ( )
inline

Creates a new JsonNull object. Deprecated since Gson version 1.8. Use INSTANCE instead

成员函数说明

boolean com.google.gson.JsonNull.equals ( Object  other)
inline

All instances of JsonNull are the same

int com.google.gson.JsonNull.hashCode ( )
inline

All instances of JsonNull have the same hash code since they are indistinguishable

类成员变量说明

final JsonNull com.google.gson.JsonNull.INSTANCE = new JsonNull()
static

singleton for JsonNull

自从
1.8

该类的文档由以下文件生成: