1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//www.w3.org/TR/html4/strict.dtd"> 2<HTML style="overflow:auto;"> 3<HEAD> 4<meta name="generator" content="JDiff v1.1.0"> 5<!-- Generated by the JDiff Javadoc doclet --> 6<!-- (http://www.jdiff.org) --> 7<meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared."> 8<meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet"> 9<TITLE> 10java.util.Collections 11</TITLE> 12<link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" /> 13<link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" /> 14<noscript> 15<style type="text/css"> 16body{overflow:auto;} 17#body-content{position:relative; top:0;} 18#doc-content{overflow:visible;border-left:3px solid #666;} 19#side-nav{padding:0;} 20#side-nav .toggle-list ul {display:block;} 21#resize-packages-nav{border-bottom:3px solid #666;} 22</style> 23</noscript> 24<style type="text/css"> 25</style> 26</HEAD> 27<BODY> 28<!-- Start of nav bar --> 29<a name="top"></a> 30<div id="header" style="margin-bottom:0;padding-bottom:0;"> 31<div id="headerLeft"> 32<a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a> 33</div> 34 <div id="headerRight"> 35 <div id="headerLinks"> 36<!-- <img src="/assets/images/icon_world.jpg" alt="" /> --> 37<span class="text"> 38<!-- <a href="#">English</a> | --> 39<nobr><a href="//developer.android.com" target="_top">Android Developers</a> | <a href="//www.android.com" target="_top">Android.com</a></nobr> 40</span> 41</div> 42 <div class="and-diff-id" style="margin-top:6px;margin-right:8px;"> 43 <table class="diffspectable"> 44 <tr> 45 <td colspan="2" class="diffspechead">API Diff Specification</td> 46 </tr> 47 <tr> 48 <td class="diffspec" style="padding-top:.25em">To Level:</td> 49 <td class="diffvaluenew" style="padding-top:.25em">24</td> 50 </tr> 51 <tr> 52 <td class="diffspec">From Level:</td> 53 <td class="diffvalueold">23</td> 54 </tr> 55 <tr> 56 <td class="diffspec">Generated</td> 57 <td class="diffvalue">2016.06.13 13:31</td> 58 </tr> 59 </table> 60 </div><!-- End and-diff-id --> 61 <div class="and-diff-id" style="margin-right:8px;"> 62 <table class="diffspectable"> 63 <tr> 64 <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a> 65 </tr> 66 </table> 67 </div> <!-- End and-diff-id --> 68 </div> <!-- End headerRight --> 69 </div> <!-- End header --> 70<div id="body-content" xstyle="padding:12px;padding-right:18px;"> 71<div id="doc-content" style="position:relative;"> 72<div id="mainBodyFluid"> 73<H2> 74Class java.util.<A HREF="../../../../reference/java/util/Collections.html" target="_top"><font size="+2"><code>Collections</code></font></A> 75</H2> 76<a NAME="constructors"></a> 77<a NAME="methods"></a> 78<p> 79<a NAME="Changed"></a> 80<TABLE summary="Changed Methods" WIDTH="100%"> 81<TR> 82 <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD> 83</TH> 84<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 85 <TD VALIGN="TOP" WIDTH="25%"> 86 <A NAME="java.util.Collections.synchronizedSet_changed(java.util.Set<T>)"></A> 87 <nobr><code>Set<T></code> <A HREF="../../../../reference/java/util/Collections.html#synchronizedSet(java.util.Set<T>)" target="_top"><code>synchronizedSet</code></A>(<code>Set<T></code>) </nobr> 88 </TD> 89 <TD VALIGN="TOP" WIDTH="30%"> 90Change in return type from <code>Set<E></code> to <code>Set<T></code>.<br> 91 Change in signature from <code>Set<E></code> to <code>Set<T></code>.<br> 92 </TD> 93 <TD> </TD> 94</TR> 95<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 96 <TD VALIGN="TOP" WIDTH="25%"> 97 <A NAME="java.util.Collections.synchronizedSortedSet_changed(java.util.SortedSet<T>)"></A> 98 <nobr><code>SortedSet<T></code> <A HREF="../../../../reference/java/util/Collections.html#synchronizedSortedSet(java.util.SortedSet<T>)" target="_top"><code>synchronizedSortedSet</code></A>(<code>SortedSet<T></code>) </nobr> 99 </TD> 100 <TD VALIGN="TOP" WIDTH="30%"> 101Change in return type from <code>SortedSet<E></code> to <code>SortedSet<T></code>.<br> 102 Change in signature from <code>SortedSet<E></code> to <code>SortedSet<T></code>.<br> 103 </TD> 104 <TD> </TD> 105</TR> 106<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 107 <TD VALIGN="TOP" WIDTH="25%"> 108 <A NAME="java.util.Collections.unmodifiableCollection_changed(java.util.Collection<? extends T>)"></A> 109 <nobr><code>Collection<T></code> <A HREF="../../../../reference/java/util/Collections.html#unmodifiableCollection(java.util.Collection<? extends T>)" target="_top"><code>unmodifiableCollection</code></A>(<code>Collection<? extends T></code>) </nobr> 110 </TD> 111 <TD VALIGN="TOP" WIDTH="30%"> 112Change in return type from <code>Collection<E></code> to <code>Collection<T></code>.<br> 113 Change in signature from (<code>Collection<? extends E></code>) to (<code>Collection<? extends T></code>).<br> 114 </TD> 115 <TD> </TD> 116</TR> 117<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 118 <TD VALIGN="TOP" WIDTH="25%"> 119 <A NAME="java.util.Collections.unmodifiableList_changed(java.util.List<? extends T>)"></A> 120 <nobr><code>List<T></code> <A HREF="../../../../reference/java/util/Collections.html#unmodifiableList(java.util.List<? extends T>)" target="_top"><code>unmodifiableList</code></A>(<code>List<? extends T></code>) </nobr> 121 </TD> 122 <TD VALIGN="TOP" WIDTH="30%"> 123Change in return type from <code>List<E></code> to <code>List<T></code>.<br> 124 Change in signature from (<code>List<? extends E></code>) to (<code>List<? extends T></code>).<br> 125 </TD> 126 <TD> </TD> 127</TR> 128<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 129 <TD VALIGN="TOP" WIDTH="25%"> 130 <A NAME="java.util.Collections.unmodifiableSet_changed(java.util.Set<? extends T>)"></A> 131 <nobr><code>Set<T></code> <A HREF="../../../../reference/java/util/Collections.html#unmodifiableSet(java.util.Set<? extends T>)" target="_top"><code>unmodifiableSet</code></A>(<code>Set<? extends T></code>) </nobr> 132 </TD> 133 <TD VALIGN="TOP" WIDTH="30%"> 134Change in return type from <code>Set<E></code> to <code>Set<T></code>.<br> 135 Change in signature from (<code>Set<? extends E></code>) to (<code>Set<? extends T></code>).<br> 136 </TD> 137 <TD> </TD> 138</TR> 139<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 140 <TD VALIGN="TOP" WIDTH="25%"> 141 <A NAME="java.util.Collections.unmodifiableSortedSet_changed(java.util.SortedSet<T>)"></A> 142 <nobr><code>SortedSet<T></code> <A HREF="../../../../reference/java/util/Collections.html#unmodifiableSortedSet(java.util.SortedSet<T>)" target="_top"><code>unmodifiableSortedSet</code></A>(<code>SortedSet<T></code>) </nobr> 143 </TD> 144 <TD VALIGN="TOP" WIDTH="30%"> 145Change in return type from <code>SortedSet<E></code> to <code>SortedSet<T></code>.<br> 146 Change in signature from <code>SortedSet<E></code> to <code>SortedSet<T></code>.<br> 147 </TD> 148 <TD> </TD> 149</TR> 150</TABLE> 151 152<a NAME="fields"></a> 153 </div> 154 <div id="footer"> 155 <div id="copyright"> 156 Except as noted, this content is licensed under 157 <a href="//creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>. 158 For details and restrictions, see the <a href="/license.html">Content License</a>. 159 </div> 160 <div id="footerlinks"> 161 <p> 162 <a href="//www.android.com/terms.html">Site Terms of Service</a> - 163 <a href="//www.android.com/privacy.html">Privacy Policy</a> - 164 <a href="//www.android.com/branding.html">Brand Guidelines</a> 165 </p> 166 </div> 167 </div> <!-- end footer --> 168 </div><!-- end doc-content --> 169 </div> <!-- end body-content --> 170<script src="//www.google-analytics.com/ga.js" type="text/javascript"> 171</script> 172<script type="text/javascript"> 173 try { 174 var pageTracker = _gat._getTracker("UA-5831155-1"); 175 pageTracker._setAllowAnchor(true); 176 pageTracker._initData(); 177 pageTracker._trackPageview(); 178 } catch(e) {} 179</script> 180</BODY> 181</HTML> 182