gson-comments/gson/docs/javadocs/index-files/index-6.html

255 lines
18 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_13) on Tue Jul 01 12:16:36 PDT 2008 -->
<TITLE>
G-Index
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="G-Index";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="index-5.html"><B>PREV LETTER</B></A>&nbsp;
&nbsp;<A HREF="index-7.html"><B>NEXT LETTER</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?index-filesindex-6.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="index-6.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="index-1.html">A</A> <A HREF="index-2.html">C</A> <A HREF="index-3.html">D</A> <A HREF="index-4.html">E</A> <A HREF="index-5.html">F</A> <A HREF="index-6.html">G</A> <A HREF="index-7.html">H</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">J</A> <A HREF="index-10.html">R</A> <A HREF="index-11.html">S</A> <A HREF="index-12.html">T</A> <A HREF="index-13.html">V</A> <HR>
<A NAME="_G_"><!-- --></A><H2>
<B>G</B></H2>
<DL>
<DT><A HREF="../com/google/gson/JsonArray.html#get(int)"><B>get(int)</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
<DD>Returns the ith element of the array.
<DT><A HREF="../com/google/gson/JsonObject.html#get(java.lang.String)"><B>get(String)</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonObject.html" title="class in com.google.gson">JsonObject</A>
<DD>Returns the member with the specified name.
<DT><A HREF="../com/google/gson/reflect/TypeToken.html#get(java.lang.reflect.Type)"><B>get(Type)</B></A> -
Static method in class com.google.gson.reflect.<A HREF="../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect">TypeToken</A>
<DD>Gets type token for the given <code>Type</code> instance.
<DT><A HREF="../com/google/gson/reflect/TypeToken.html#get(java.lang.Class)"><B>get(Class&lt;T&gt;)</B></A> -
Static method in class com.google.gson.reflect.<A HREF="../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect">TypeToken</A>
<DD>Gets type token for the given <code>Class</code> instance.
<DT><A HREF="../com/google/gson/JsonArray.html#getAsBoolean()"><B>getAsBoolean()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
<DD>convenience method to get this array as a boolean if it contains a single element.
<DT><A HREF="../com/google/gson/JsonElement.html#getAsBoolean()"><B>getAsBoolean()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
<DD>convenience method to get this element as a boolean value.
<DT><A HREF="../com/google/gson/JsonPrimitive.html#getAsBoolean()"><B>getAsBoolean()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
<DD>convenience method to get this element as a boolean value.
<DT><A HREF="../com/google/gson/JsonArray.html#getAsDouble()"><B>getAsDouble()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
<DD>convenience method to get this array as a double if it contains a single element.
<DT><A HREF="../com/google/gson/JsonElement.html#getAsDouble()"><B>getAsDouble()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
<DD>convenience method to get this element as a primitive double value.
<DT><A HREF="../com/google/gson/JsonPrimitive.html#getAsDouble()"><B>getAsDouble()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
<DD>convenience method to get this element as a primitive double.
<DT><A HREF="../com/google/gson/JsonArray.html#getAsFloat()"><B>getAsFloat()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
<DD>convenience method to get this array as a float if it contains a single element.
<DT><A HREF="../com/google/gson/JsonElement.html#getAsFloat()"><B>getAsFloat()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
<DD>convenience method to get this element as a primitive float value.
<DT><A HREF="../com/google/gson/JsonPrimitive.html#getAsFloat()"><B>getAsFloat()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
<DD>convenience method to get this element as a float.
<DT><A HREF="../com/google/gson/JsonArray.html#getAsInt()"><B>getAsInt()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
<DD>convenience method to get this array as an integer if it contains a single element.
<DT><A HREF="../com/google/gson/JsonElement.html#getAsInt()"><B>getAsInt()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
<DD>convenience method to get this element as a primitive integer value.
<DT><A HREF="../com/google/gson/JsonPrimitive.html#getAsInt()"><B>getAsInt()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
<DD>convenience method to get this element as a primitive integer.
<DT><A HREF="../com/google/gson/JsonElement.html#getAsJsonArray()"><B>getAsJsonArray()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
<DD>convenience method to get this element as a <A HREF="../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A>.
<DT><A HREF="../com/google/gson/JsonObject.html#getAsJsonArray(java.lang.String)"><B>getAsJsonArray(String)</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonObject.html" title="class in com.google.gson">JsonObject</A>
<DD>Convenience method to get the specified member as a JsonArray.
<DT><A HREF="../com/google/gson/JsonElement.html#getAsJsonObject()"><B>getAsJsonObject()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
<DD>convenience method to get this element as a <A HREF="../com/google/gson/JsonObject.html" title="class in com.google.gson"><CODE>JsonObject</CODE></A>.
<DT><A HREF="../com/google/gson/JsonObject.html#getAsJsonObject(java.lang.String)"><B>getAsJsonObject(String)</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonObject.html" title="class in com.google.gson">JsonObject</A>
<DD>Convenience method to get the specified member as a JsonObject.
<DT><A HREF="../com/google/gson/JsonElement.html#getAsJsonPrimitive()"><B>getAsJsonPrimitive()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
<DD>convenience method to get this element as a <A HREF="../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>.
<DT><A HREF="../com/google/gson/JsonObject.html#getAsJsonPrimitive(java.lang.String)"><B>getAsJsonPrimitive(String)</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonObject.html" title="class in com.google.gson">JsonObject</A>
<DD>Convenience method to get the specified member as a JsonPrimitive element.
<DT><A HREF="../com/google/gson/JsonArray.html#getAsLong()"><B>getAsLong()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
<DD>convenience method to get this array as a long if it contains a single element.
<DT><A HREF="../com/google/gson/JsonElement.html#getAsLong()"><B>getAsLong()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
<DD>convenience method to get this element as a primitive long value.
<DT><A HREF="../com/google/gson/JsonPrimitive.html#getAsLong()"><B>getAsLong()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
<DD>convenience method to get this element as a primitive long.
<DT><A HREF="../com/google/gson/JsonArray.html#getAsNumber()"><B>getAsNumber()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
<DD>convenience method to get this array as a <CODE>Number</CODE> if it contains a single element.
<DT><A HREF="../com/google/gson/JsonElement.html#getAsNumber()"><B>getAsNumber()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
<DD>convenience method to get this element as a <CODE>Number</CODE>.
<DT><A HREF="../com/google/gson/JsonPrimitive.html#getAsNumber()"><B>getAsNumber()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
<DD>convenience method to get this element as a Number.
<DT><A HREF="../com/google/gson/JsonArray.html#getAsShort()"><B>getAsShort()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
<DD>convenience method to get this array as a primitive short if it contains a single element.
<DT><A HREF="../com/google/gson/JsonElement.html#getAsShort()"><B>getAsShort()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
<DD>convenience method to get this element as a primitive short value.
<DT><A HREF="../com/google/gson/JsonPrimitive.html#getAsShort()"><B>getAsShort()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
<DD>convenience method to get this element as a primitive short.
<DT><A HREF="../com/google/gson/JsonArray.html#getAsString()"><B>getAsString()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
<DD>convenience method to get this array as a <CODE>String</CODE> if it contains a single element.
<DT><A HREF="../com/google/gson/JsonElement.html#getAsString()"><B>getAsString()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
<DD>convenience method to get this element as a string value.
<DT><A HREF="../com/google/gson/JsonPrimitive.html#getAsString()"><B>getAsString()</B></A> -
Method in class com.google.gson.<A HREF="../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
<DD>convenience method to get this element as a String.
<DT><A HREF="../com/google/gson/reflect/TypeToken.html#getRawType()"><B>getRawType()</B></A> -
Method in class com.google.gson.reflect.<A HREF="../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect">TypeToken</A>
<DD>Gets the raw type.
<DT><A HREF="../com/google/gson/reflect/TypeToken.html#getType()"><B>getType()</B></A> -
Method in class com.google.gson.reflect.<A HREF="../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect">TypeToken</A>
<DD>Gets underlying <code>Type</code> instance.
<DT><A HREF="../com/google/gson/Gson.html" title="class in com.google.gson"><B>Gson</B></A> - Class in <A HREF="../com/google/gson/package-summary.html">com.google.gson</A><DD>This is the main class for using Gson.<DT><A HREF="../com/google/gson/Gson.html#Gson()"><B>Gson()</B></A> -
Constructor for class com.google.gson.<A HREF="../com/google/gson/Gson.html" title="class in com.google.gson">Gson</A>
<DD>Constructs a Gson object with default configuration.
<DT><A HREF="../com/google/gson/GsonBuilder.html" title="class in com.google.gson"><B>GsonBuilder</B></A> - Class in <A HREF="../com/google/gson/package-summary.html">com.google.gson</A><DD>Use this builder to construct a <A HREF="../com/google/gson/Gson.html" title="class in com.google.gson"><CODE>Gson</CODE></A> instance when you need to set configuration
options other than the default.<DT><A HREF="../com/google/gson/GsonBuilder.html#GsonBuilder()"><B>GsonBuilder()</B></A> -
Constructor for class com.google.gson.<A HREF="../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A>
<DD>Creates a GsonBuilder instance that can be used to build Gson with various configuration
settings.
</DL>
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="index-5.html"><B>PREV LETTER</B></A>&nbsp;
&nbsp;<A HREF="index-7.html"><B>NEXT LETTER</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?index-filesindex-6.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="index-6.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<A HREF="index-1.html">A</A> <A HREF="index-2.html">C</A> <A HREF="index-3.html">D</A> <A HREF="index-4.html">E</A> <A HREF="index-5.html">F</A> <A HREF="index-6.html">G</A> <A HREF="index-7.html">H</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">J</A> <A HREF="index-10.html">R</A> <A HREF="index-11.html">S</A> <A HREF="index-12.html">T</A> <A HREF="index-13.html">V</A> <HR>
</BODY>
</HTML>