Author: jensg
Date: Sun Sep 27 15:55:33 2015
New Revision: 1705550
URL: http://svn.apache.org/viewvc?rev=1705550&view=rev
Log:
Fixed layout of containers section
Modified:
thrift/cms-site/trunk/content/docs/types.md
Modified: thrift/cms-site/trunk/content/docs/types.md
URL:
http://svn.apache.org/viewvc/thrift/cms-site/trunk/content/docs/types.md?rev=1705550&r1=1705549&r2=1705550&view=diff
==============================================================================
--- thrift/cms-site/trunk/content/docs/types.md (original)
+++ thrift/cms-site/trunk/content/docs/types.md Sun Sep 27 15:55:33 2015
@@ -31,9 +31,9 @@ Thrift containers are strongly typed con
There are three container types:
-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.
+ * 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.
Container elements may be of any valid Thrift Type.