Dear Wiki user, You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The following page has been changed by BryanDuxbury: http://wiki.apache.org/thrift/ThriftTypes ------------------------------------------------------------------------------ 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. + * '''{{{set<}}}''type''{{{>}}}''': An unordered set of unique elements. Translates to an STL {{{set}}}, Java {{{HashSet}}}, {{{set}}} in Python, etc. * '''{{{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.
