Author: buildbot
Date: Sun Sep 27 15:55:38 2015
New Revision: 966998
Log:
Staging update by buildbot for thrift
Modified:
websites/staging/thrift/trunk/content/ (props changed)
websites/staging/thrift/trunk/content/docs/types.html
Propchange: websites/staging/thrift/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Sep 27 15:55:38 2015
@@ -1 +1 @@
-1705448
+1705550
Modified: websites/staging/thrift/trunk/content/docs/types.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/types.html (original)
+++ websites/staging/thrift/trunk/content/docs/types.html Sun Sep 27 15:55:38
2015
@@ -106,10 +106,12 @@ h2:hover > .headerlink, h3:hover > .head
<h3 id="containers">Containers<a class="headerlink" href="#containers"
title="Permanent link">¶</a></h3>
<p>Thrift containers are strongly typed containers that map to commonly used
and commonly available container types in most programming languages.</p>
<p>There are three container types:</p>
-<p>list<type>: An ordered list of elements. Translates to an STL vector, Java
ArrayList, native arrays in scripting languages, etc.
-set<type>: An unordered set of unique elements. Translates to an STL set, Java
HashSet, set in Python, etc. Note: PHP does not support sets, so it is treated
similar to a List
-map<type1,type2>: A map of strictly unique keys to values. Translates to an
STL map, Java HashMap, PHP associative array, Python/Ruby dictionary, etc.
-While defaults are provided, the type mappings are not explicitly fixed.
Custom code generator directives have been added to allow substitution of
custom types in various destination languages.</p>
+<ul>
+<li>list<type>: An ordered list of elements. Translates to an STL vector, Java
ArrayList, native arrays in scripting languages, etc.</li>
+<li>set<type>: An unordered set of unique elements. Translates to an STL set,
Java HashSet, set in Python, etc. Note: PHP does not support sets, so it is
treated similar to a List</li>
+<li>map<type1,type2>: A map of strictly unique keys to values. Translates to
an STL map, Java HashMap, PHP associative array, Python/Ruby dictionary, etc.
+While defaults are provided, the type mappings are not explicitly fixed.
Custom code generator directives have been added to allow substitution of
custom types in various destination languages.</li>
+</ul>
<p>Container elements may be of any valid Thrift Type.</p>
<p>N.B.: For maximal compatibility, the key type for map should be a basic
type rather than a struct or container type. There are some languages which do
not support more complex key types in their native map types. In addition the
JSON protocol only supports key types that are base types.</p>
<h3 id="exceptions">Exceptions<a class="headerlink" href="#exceptions"
title="Permanent link">¶</a></h3>