PageRenderTime 54ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/Generated/v4.1/Java.Util.cs

https://gitlab.com/Pfhoenix/api
C# | 1062 lines | 377 code | 74 blank | 611 comment | 0 complexity | 1f3e3cfd7026c847babb5b519496c2fa MD5 | raw file
  1. // Copyright (C) 2014 dot42
  2. //
  3. // Original filename: Java.Util.cs
  4. //
  5. // Licensed under the Apache License, Version 2.0 (the "License");
  6. // you may not use this file except in compliance with the License.
  7. // You may obtain a copy of the License at
  8. //
  9. // http://www.apache.org/licenses/LICENSE-2.0
  10. //
  11. // Unless required by applicable law or agreed to in writing, software
  12. // distributed under the License is distributed on an "AS IS" BASIS,
  13. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. // See the License for the specific language governing permissions and
  15. // limitations under the License.
  16. #pragma warning disable 1717
  17. namespace Java.Util
  18. {
  19. /// <summary>
  20. /// <para>An <c> IllegalFormatCodePointException </c> will be thrown if an invalid Unicode code point (defined by Character#isValidCodePoint(int)) is passed as a parameter to a Formatter.</para><para><para>java.lang.RuntimeException </para></para>
  21. /// </summary>
  22. /// <java-name>
  23. /// java/util/IllegalFormatCodePointException
  24. /// </java-name>
  25. [Dot42.DexImport("java/util/IllegalFormatCodePointException", AccessFlags = 33)]
  26. public partial class IllegalFormatCodePointException : global::Java.Util.IllegalFormatException, global::Java.Io.ISerializable
  27. /* scope: __dot42__ */
  28. {
  29. /// <summary>
  30. /// <para>Constructs a new <c> IllegalFormatCodePointException </c> which is specified by the invalid Unicode code point.</para><para></para>
  31. /// </summary>
  32. [Dot42.DexImport("<init>", "(I)V", AccessFlags = 1)]
  33. public IllegalFormatCodePointException(int c) /* MethodBuilder.Create */
  34. {
  35. }
  36. /// <summary>
  37. /// <para>Returns the invalid Unicode code point.</para><para></para>
  38. /// </summary>
  39. /// <returns>
  40. /// <para>the invalid Unicode code point. </para>
  41. /// </returns>
  42. /// <java-name>
  43. /// getCodePoint
  44. /// </java-name>
  45. [Dot42.DexImport("getCodePoint", "()I", AccessFlags = 1)]
  46. public virtual int GetCodePoint() /* MethodBuilder.Create */
  47. {
  48. return default(int);
  49. }
  50. /// <java-name>
  51. /// getMessage
  52. /// </java-name>
  53. [Dot42.DexImport("getMessage", "()Ljava/lang/String;", AccessFlags = 1)]
  54. public override string GetMessage() /* MethodBuilder.Create */
  55. {
  56. return default(string);
  57. }
  58. [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
  59. internal IllegalFormatCodePointException() /* TypeBuilder.AddDefaultConstructor */
  60. {
  61. }
  62. /// <summary>
  63. /// <para>Returns the invalid Unicode code point.</para><para></para>
  64. /// </summary>
  65. /// <returns>
  66. /// <para>the invalid Unicode code point. </para>
  67. /// </returns>
  68. /// <java-name>
  69. /// getCodePoint
  70. /// </java-name>
  71. public int CodePoint
  72. {
  73. [Dot42.DexImport("getCodePoint", "()I", AccessFlags = 1)]
  74. get{ return GetCodePoint(); }
  75. }
  76. }
  77. /// <summary>
  78. /// <para>AbstractSequentialList is an abstract implementation of the List interface. This implementation does not support adding. A subclass must implement the abstract method listIterator().</para><para><para>1.2 </para></para>
  79. /// </summary>
  80. /// <java-name>
  81. /// java/util/AbstractSequentialList
  82. /// </java-name>
  83. [Dot42.DexImport("java/util/AbstractSequentialList", AccessFlags = 1057, Signature = "<E:Ljava/lang/Object;>Ljava/util/AbstractList<TE;>;")]
  84. public abstract partial class AbstractSequentialList<E> : global::Java.Util.AbstractList<E>
  85. /* scope: __dot42__ */
  86. {
  87. /// <summary>
  88. /// <para>Constructs a new instance of this AbstractSequentialList. </para>
  89. /// </summary>
  90. [Dot42.DexImport("<init>", "()V", AccessFlags = 4)]
  91. protected internal AbstractSequentialList() /* MethodBuilder.Create */
  92. {
  93. }
  94. /// <summary>
  95. /// <para>Inserts the specified object into this List at the specified location. The object is inserted before any previous element at the specified location. If the location is equal to the size of this List, the object is added at the end. </para><para>Concrete implementations that would like to support the add functionality must override this method.</para><para></para>
  96. /// </summary>
  97. /// <java-name>
  98. /// add
  99. /// </java-name>
  100. [Dot42.DexImport("add", "(ILjava/lang/Object;)V", AccessFlags = 1, Signature = "(ITE;)V")]
  101. public override void Add(int location, E @object) /* MethodBuilder.Create */
  102. {
  103. }
  104. /// <summary>
  105. /// <para>Inserts the objects in the specified Collection at the specified location in this List. The objects are added in the order they are returned from the collection's iterator.</para><para></para>
  106. /// </summary>
  107. /// <returns>
  108. /// <para><c> true </c> if this List is modified, <c> false </c> otherwise. </para>
  109. /// </returns>
  110. /// <java-name>
  111. /// addAll
  112. /// </java-name>
  113. [Dot42.DexImport("addAll", "(ILjava/util/Collection;)Z", AccessFlags = 1, Signature = "(ILjava/util/Collection<+TE;>;)Z")]
  114. public override bool AddAll(int location, global::Java.Util.ICollection<E> collection) /* MethodBuilder.Create */
  115. {
  116. return default(bool);
  117. }
  118. /// <summary>
  119. /// <para>Returns the element at the specified location in this list.</para><para></para>
  120. /// </summary>
  121. /// <returns>
  122. /// <para>the element at the specified index. </para>
  123. /// </returns>
  124. /// <java-name>
  125. /// get
  126. /// </java-name>
  127. [Dot42.DexImport("get", "(I)Ljava/lang/Object;", AccessFlags = 1, Signature = "(I)TE;")]
  128. public override E Get(int location) /* MethodBuilder.Create */
  129. {
  130. return default(E);
  131. }
  132. /// <summary>
  133. /// <para>Returns an iterator on the elements of this list. The elements are iterated in the same order as they occur in the list.</para><para><para>Iterator </para></para>
  134. /// </summary>
  135. /// <returns>
  136. /// <para>an iterator on the elements of this list. </para>
  137. /// </returns>
  138. /// <java-name>
  139. /// iterator
  140. /// </java-name>
  141. [Dot42.DexImport("iterator", "()Ljava/util/Iterator;", AccessFlags = 1, Signature = "()Ljava/util/Iterator<TE;>;")]
  142. public override global::Java.Util.IIterator<E> Iterator() /* MethodBuilder.Create */
  143. {
  144. return default(global::Java.Util.IIterator<E>);
  145. }
  146. /// <summary>
  147. /// <para>Returns a list iterator on the elements of this list. The elements are iterated in the same order as they occur in the list. The iteration starts at the specified location.</para><para><para>ListIterator </para></para>
  148. /// </summary>
  149. /// <returns>
  150. /// <para>a ListIterator on the elements of this list. </para>
  151. /// </returns>
  152. /// <java-name>
  153. /// listIterator
  154. /// </java-name>
  155. [Dot42.DexImport("listIterator", "(I)Ljava/util/ListIterator;", AccessFlags = 1025, Signature = "(I)Ljava/util/ListIterator<TE;>;")]
  156. public override global::Java.Util.IListIterator<E> ListIterator(int location) /* MethodBuilder.Create */
  157. {
  158. return default(global::Java.Util.IListIterator<E>);
  159. }
  160. /// <summary>
  161. /// <para>Removes the object at the specified location from this list.</para><para></para>
  162. /// </summary>
  163. /// <returns>
  164. /// <para>the removed object. </para>
  165. /// </returns>
  166. /// <java-name>
  167. /// remove
  168. /// </java-name>
  169. [Dot42.DexImport("remove", "(I)Ljava/lang/Object;", AccessFlags = 1, Signature = "(I)TE;")]
  170. public override E Remove(int location) /* MethodBuilder.Create */
  171. {
  172. return default(E);
  173. }
  174. /// <summary>
  175. /// <para>Replaces the element at the specified location in this list with the specified object.</para><para></para>
  176. /// </summary>
  177. /// <returns>
  178. /// <para>the previous element at the index. </para>
  179. /// </returns>
  180. /// <java-name>
  181. /// set
  182. /// </java-name>
  183. [Dot42.DexImport("set", "(ILjava/lang/Object;)Ljava/lang/Object;", AccessFlags = 1, Signature = "(ITE;)TE;")]
  184. public override E Set(int location, E @object) /* MethodBuilder.Create */
  185. {
  186. return default(E);
  187. }
  188. }
  189. /// <summary>
  190. /// <para><c> Collections </c> contains static methods which operate on <c> Collection </c> classes.</para><para><para>1.2 </para></para>
  191. /// </summary>
  192. /// <java-name>
  193. /// java/util/Collections
  194. /// </java-name>
  195. [Dot42.DexImport("java/util/Collections", AccessFlags = 33)]
  196. public partial class Collections
  197. /* scope: __dot42__ */
  198. {
  199. /// <summary>
  200. /// <para>An empty immutable instance of List. </para>
  201. /// </summary>
  202. /// <java-name>
  203. /// EMPTY_LIST
  204. /// </java-name>
  205. [Dot42.DexImport("EMPTY_LIST", "Ljava/util/List;", AccessFlags = 25)]
  206. public static readonly global::Java.Util.IList<object> EMPTY_LIST;
  207. /// <summary>
  208. /// <para>An empty immutable instance of Set. </para>
  209. /// </summary>
  210. /// <java-name>
  211. /// EMPTY_SET
  212. /// </java-name>
  213. [Dot42.DexImport("EMPTY_SET", "Ljava/util/Set;", AccessFlags = 25)]
  214. public static readonly global::Java.Util.ISet<object> EMPTY_SET;
  215. /// <summary>
  216. /// <para>An empty immutable instance of Map. </para>
  217. /// </summary>
  218. /// <java-name>
  219. /// EMPTY_MAP
  220. /// </java-name>
  221. [Dot42.DexImport("EMPTY_MAP", "Ljava/util/Map;", AccessFlags = 25)]
  222. public static readonly global::Java.Util.IMap<object, object> EMPTY_MAP;
  223. [Dot42.DexImport("<init>", "()V", AccessFlags = 0)]
  224. internal Collections() /* MethodBuilder.Create */
  225. {
  226. }
  227. /// <summary>
  228. /// <para>Performs a binary search for the specified element in the specified sorted list. The list needs to be already sorted in natural sorting order. Searching in an unsorted array has an undefined result. It's also undefined which element is found if there are multiple occurrences of the same element.</para><para></para>
  229. /// </summary>
  230. /// <returns>
  231. /// <para>the non-negative index of the element, or a negative index which is the <c> -index - 1 </c> where the element would be inserted </para>
  232. /// </returns>
  233. /// <java-name>
  234. /// binarySearch
  235. /// </java-name>
  236. [Dot42.DexImport("binarySearch", "(Ljava/util/List;Ljava/lang/Object;)I", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/List<+Ljava/lang/Comparable<-TT;>;>;TT;)I")]
  237. public static int BinarySearch<T>(global::Java.Util.IList<global::System.IComparable<T>> list, T @object) /* MethodBuilder.Create */
  238. {
  239. return default(int);
  240. }
  241. /// <summary>
  242. /// <para>Performs a binary search for the specified element in the specified sorted list using the specified comparator. The list needs to be already sorted according to the comparator passed. Searching in an unsorted array has an undefined result. It's also undefined which element is found if there are multiple occurrences of the same element.</para><para></para>
  243. /// </summary>
  244. /// <returns>
  245. /// <para>the non-negative index of the element, or a negative index which is the <c> -index - 1 </c> where the element would be inserted. </para>
  246. /// </returns>
  247. /// <java-name>
  248. /// binarySearch
  249. /// </java-name>
  250. [Dot42.DexImport("binarySearch", "(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;)I", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/List<+TT;>;TT;Ljava/util/Comparator<-TT;>;)I")]
  251. public static int BinarySearch<T>(global::Java.Util.IList<T> list, T @object, global::Java.Util.IComparator<T> comparator) /* MethodBuilder.Create */
  252. {
  253. return default(int);
  254. }
  255. /// <summary>
  256. /// <para>Copies the elements from the source list to the destination list. At the end both lists will have the same objects at the same index. If the destination array is larger than the source list, the elements in the destination list with <c> index &gt;= source.size() </c> will be unchanged.</para><para></para>
  257. /// </summary>
  258. /// <java-name>
  259. /// copy
  260. /// </java-name>
  261. [Dot42.DexImport("copy", "(Ljava/util/List;Ljava/util/List;)V", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/List<-TT;>;Ljava/util/List<+TT;>;)V")]
  262. public static void Copy<T>(global::Java.Util.IList<T> destination, global::Java.Util.IList<T> source) /* MethodBuilder.Create */
  263. {
  264. }
  265. /// <summary>
  266. /// <para>Returns an <c> Enumeration </c> on the specified collection.</para><para></para>
  267. /// </summary>
  268. /// <returns>
  269. /// <para>an Enumeration. </para>
  270. /// </returns>
  271. /// <java-name>
  272. /// enumeration
  273. /// </java-name>
  274. [Dot42.DexImport("enumeration", "(Ljava/util/Collection;)Ljava/util/Enumeration;", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;)Ljava/util/Enumeration<TT;>;")]
  275. public static global::Java.Util.IEnumeration<T> Enumeration<T>(global::Java.Util.ICollection<T> collection) /* MethodBuilder.Create */
  276. {
  277. return default(global::Java.Util.IEnumeration<T>);
  278. }
  279. /// <summary>
  280. /// <para>Fills the specified list with the specified element.</para><para></para>
  281. /// </summary>
  282. /// <java-name>
  283. /// fill
  284. /// </java-name>
  285. [Dot42.DexImport("fill", "(Ljava/util/List;Ljava/lang/Object;)V", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/List<-TT;>;TT;)V")]
  286. public static void Fill<T>(global::Java.Util.IList<T> list, T @object) /* MethodBuilder.Create */
  287. {
  288. }
  289. /// <summary>
  290. /// <para>Searches the specified collection for the maximum element.</para><para></para>
  291. /// </summary>
  292. /// <returns>
  293. /// <para>the maximum element in the Collection. </para>
  294. /// </returns>
  295. /// <java-name>
  296. /// max
  297. /// </java-name>
  298. [Dot42.DexImport("max", "(Ljava/util/Collection;)Ljava/lang/Object;", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;:Ljava/lang/Comparable<-TT;>;>(Ljava/util/Collection<+TT;>;)" +
  299. "TT;")]
  300. public static T Max<T>(global::Java.Util.ICollection<T> collection) /* MethodBuilder.Create */
  301. {
  302. return default(T);
  303. }
  304. /// <summary>
  305. /// <para>Searches the specified collection for the maximum element using the specified comparator.</para><para></para>
  306. /// </summary>
  307. /// <returns>
  308. /// <para>the maximum element in the Collection. </para>
  309. /// </returns>
  310. /// <java-name>
  311. /// max
  312. /// </java-name>
  313. [Dot42.DexImport("max", "(Ljava/util/Collection;Ljava/util/Comparator;)Ljava/lang/Object;", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/Collection<+TT;>;Ljava/util/Comparator<-TT;>;)T" +
  314. "T;")]
  315. public static T Max<T>(global::Java.Util.ICollection<T> collection, global::Java.Util.IComparator<T> comparator) /* MethodBuilder.Create */
  316. {
  317. return default(T);
  318. }
  319. /// <summary>
  320. /// <para>Searches the specified collection for the minimum element.</para><para></para>
  321. /// </summary>
  322. /// <returns>
  323. /// <para>the minimum element in the collection. </para>
  324. /// </returns>
  325. /// <java-name>
  326. /// min
  327. /// </java-name>
  328. [Dot42.DexImport("min", "(Ljava/util/Collection;)Ljava/lang/Object;", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;:Ljava/lang/Comparable<-TT;>;>(Ljava/util/Collection<+TT;>;)" +
  329. "TT;")]
  330. public static T Min<T>(global::Java.Util.ICollection<T> collection) /* MethodBuilder.Create */
  331. {
  332. return default(T);
  333. }
  334. /// <summary>
  335. /// <para>Searches the specified collection for the minimum element using the specified comparator.</para><para></para>
  336. /// </summary>
  337. /// <returns>
  338. /// <para>the minimum element in the collection. </para>
  339. /// </returns>
  340. /// <java-name>
  341. /// min
  342. /// </java-name>
  343. [Dot42.DexImport("min", "(Ljava/util/Collection;Ljava/util/Comparator;)Ljava/lang/Object;", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/Collection<+TT;>;Ljava/util/Comparator<-TT;>;)T" +
  344. "T;")]
  345. public static T Min<T>(global::Java.Util.ICollection<T> collection, global::Java.Util.IComparator<T> comparator) /* MethodBuilder.Create */
  346. {
  347. return default(T);
  348. }
  349. /// <summary>
  350. /// <para>Returns a list containing the specified number of the specified element. The list cannot be modified. The list is serializable.</para><para></para>
  351. /// </summary>
  352. /// <returns>
  353. /// <para>a list containing <c> length </c> copies of the element. </para>
  354. /// </returns>
  355. /// <java-name>
  356. /// nCopies
  357. /// </java-name>
  358. [Dot42.DexImport("nCopies", "(ILjava/lang/Object;)Ljava/util/List;", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(ITT;)Ljava/util/List<TT;>;")]
  359. public static global::Java.Util.IList<T> NCopies<T>(int length, T @object) /* MethodBuilder.Create */
  360. {
  361. return default(global::Java.Util.IList<T>);
  362. }
  363. /// <summary>
  364. /// <para>Modifies the specified <c> List </c> by reversing the order of the elements.</para><para></para>
  365. /// </summary>
  366. /// <java-name>
  367. /// reverse
  368. /// </java-name>
  369. [Dot42.DexImport("reverse", "(Ljava/util/List;)V", AccessFlags = 9, Signature = "(Ljava/util/List<*>;)V")]
  370. public static void Reverse(global::Java.Util.IList<object> list) /* MethodBuilder.Create */
  371. {
  372. }
  373. /// <summary>
  374. /// <para>A comparator which reverses the natural order of the elements. The <c> Comparator </c> that's returned is Serializable.</para><para></para>
  375. /// </summary>
  376. /// <returns>
  377. /// <para>a <c> Comparator </c> instance. </para>
  378. /// </returns>
  379. /// <java-name>
  380. /// reverseOrder
  381. /// </java-name>
  382. [Dot42.DexImport("reverseOrder", "()Ljava/util/Comparator;", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>()Ljava/util/Comparator<TT;>;")]
  383. public static global::Java.Util.IComparator<T> ReverseOrder<T>() /* MethodBuilder.Create */
  384. {
  385. return default(global::Java.Util.IComparator<T>);
  386. }
  387. /// <summary>
  388. /// <para>Returns a Comparator that reverses the order of the <c> Comparator </c> passed. If the <c> Comparator </c> passed is <c> null </c> , then this method is equivalent to reverseOrder(). </para><para>The <c> Comparator </c> that's returned is Serializable if the <c> Comparator </c> passed is serializable or <c> null </c> .</para><para><para>1.5 </para></para>
  389. /// </summary>
  390. /// <returns>
  391. /// <para>a <c> Comparator </c> instance. </para>
  392. /// </returns>
  393. /// <java-name>
  394. /// reverseOrder
  395. /// </java-name>
  396. [Dot42.DexImport("reverseOrder", "(Ljava/util/Comparator;)Ljava/util/Comparator;", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/Comparator<TT;>;)Ljava/util/Comparator<TT;>;")]
  397. public static global::Java.Util.IComparator<T> ReverseOrder<T>(global::Java.Util.IComparator<T> c) /* MethodBuilder.Create */
  398. {
  399. return default(global::Java.Util.IComparator<T>);
  400. }
  401. /// <summary>
  402. /// <para>Moves every element of the list to a random new position in the list.</para><para></para>
  403. /// </summary>
  404. /// <java-name>
  405. /// shuffle
  406. /// </java-name>
  407. [Dot42.DexImport("shuffle", "(Ljava/util/List;)V", AccessFlags = 9, Signature = "(Ljava/util/List<*>;)V")]
  408. public static void Shuffle(global::Java.Util.IList<object> list) /* MethodBuilder.Create */
  409. {
  410. }
  411. /// <summary>
  412. /// <para>Moves every element of the list to a random new position in the list using the specified random number generator.</para><para></para>
  413. /// </summary>
  414. /// <java-name>
  415. /// shuffle
  416. /// </java-name>
  417. [Dot42.DexImport("shuffle", "(Ljava/util/List;Ljava/util/Random;)V", AccessFlags = 9, Signature = "(Ljava/util/List<*>;Ljava/util/Random;)V")]
  418. public static void Shuffle(global::Java.Util.IList<object> list, global::System.Random random) /* MethodBuilder.Create */
  419. {
  420. }
  421. /// <summary>
  422. /// <para>Returns a set containing the specified element. The set cannot be modified. The set is serializable.</para><para></para>
  423. /// </summary>
  424. /// <returns>
  425. /// <para>a set containing the element. </para>
  426. /// </returns>
  427. /// <java-name>
  428. /// singleton
  429. /// </java-name>
  430. [Dot42.DexImport("singleton", "(Ljava/lang/Object;)Ljava/util/Set;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(TE;)Ljava/util/Set<TE;>;")]
  431. public static global::Java.Util.ISet<E> Singleton<E>(E @object) /* MethodBuilder.Create */
  432. {
  433. return default(global::Java.Util.ISet<E>);
  434. }
  435. /// <summary>
  436. /// <para>Returns a list containing the specified element. The list cannot be modified. The list is serializable.</para><para></para>
  437. /// </summary>
  438. /// <returns>
  439. /// <para>a list containing the element. </para>
  440. /// </returns>
  441. /// <java-name>
  442. /// singletonList
  443. /// </java-name>
  444. [Dot42.DexImport("singletonList", "(Ljava/lang/Object;)Ljava/util/List;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(TE;)Ljava/util/List<TE;>;")]
  445. public static global::Java.Util.IList<E> SingletonList<E>(E @object) /* MethodBuilder.Create */
  446. {
  447. return default(global::Java.Util.IList<E>);
  448. }
  449. /// <summary>
  450. /// <para>Returns a Map containing the specified key and value. The map cannot be modified. The map is serializable.</para><para></para>
  451. /// </summary>
  452. /// <returns>
  453. /// <para>a Map containing the key and value. </para>
  454. /// </returns>
  455. /// <java-name>
  456. /// singletonMap
  457. /// </java-name>
  458. [Dot42.DexImport("singletonMap", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;", AccessFlags = 9, Signature = "<K:Ljava/lang/Object;V:Ljava/lang/Object;>(TK;TV;)Ljava/util/Map<TK;TV;>;")]
  459. public static global::Java.Util.IMap<K, V> SingletonMap<K, V>(K key, V value) /* MethodBuilder.Create */
  460. {
  461. return default(global::Java.Util.IMap<K, V>);
  462. }
  463. /// <summary>
  464. /// <para>Sorts the specified list in ascending natural order. The algorithm is stable which means equal elements don't get reordered.</para><para></para>
  465. /// </summary>
  466. /// <java-name>
  467. /// sort
  468. /// </java-name>
  469. [Dot42.DexImport("sort", "(Ljava/util/List;)V", AccessFlags = 9, Signature = "<T::Ljava/lang/Comparable<-TT;>;>(Ljava/util/List<TT;>;)V")]
  470. public static void Sort<T>(global::Java.Util.IList<T> list) /* MethodBuilder.Create */
  471. {
  472. }
  473. /// <summary>
  474. /// <para>Sorts the specified list using the specified comparator. The algorithm is stable which means equal elements don't get reordered.</para><para></para>
  475. /// </summary>
  476. /// <java-name>
  477. /// sort
  478. /// </java-name>
  479. [Dot42.DexImport("sort", "(Ljava/util/List;Ljava/util/Comparator;)V", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/List<TT;>;Ljava/util/Comparator<-TT;>;)V")]
  480. public static void Sort<T>(global::Java.Util.IList<T> list, global::Java.Util.IComparator<T> comparator) /* MethodBuilder.Create */
  481. {
  482. }
  483. /// <summary>
  484. /// <para>Swaps the elements of list <c> list </c> at indices <c> index1 </c> and <c> index2 </c> .</para><para><para>1.4 </para></para>
  485. /// </summary>
  486. /// <java-name>
  487. /// swap
  488. /// </java-name>
  489. [Dot42.DexImport("swap", "(Ljava/util/List;II)V", AccessFlags = 9, Signature = "(Ljava/util/List<*>;II)V")]
  490. public static void Swap(global::Java.Util.IList<object> list, int index1, int index2) /* MethodBuilder.Create */
  491. {
  492. }
  493. /// <summary>
  494. /// <para>Replaces all occurrences of Object <c> obj </c> in <c> list </c> with <c> newObj </c> . If the <c> obj </c> is <c> null </c> , then all occurrences of <c> null </c> are replaced with <c> newObj </c> .</para><para></para>
  495. /// </summary>
  496. /// <returns>
  497. /// <para>true, if at least one occurrence of <c> obj </c> has been found in <c> list </c> . </para>
  498. /// </returns>
  499. /// <java-name>
  500. /// replaceAll
  501. /// </java-name>
  502. [Dot42.DexImport("replaceAll", "(Ljava/util/List;Ljava/lang/Object;Ljava/lang/Object;)Z", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/List<TT;>;TT;TT;)Z")]
  503. public static bool ReplaceAll<T>(global::Java.Util.IList<T> list, T obj, T obj2) /* MethodBuilder.Create */
  504. {
  505. return default(bool);
  506. }
  507. /// <summary>
  508. /// <para>Rotates the elements in <c> list </c> by the distance <c> dist </c> </para><para>e.g. for a given list with elements [1, 2, 3, 4, 5, 6, 7, 8, 9, 0], calling rotate(list, 3) or rotate(list, -7) would modify the list to look like this: [8, 9, 0, 1, 2, 3, 4, 5, 6, 7]</para><para></para>
  509. /// </summary>
  510. /// <java-name>
  511. /// rotate
  512. /// </java-name>
  513. [Dot42.DexImport("rotate", "(Ljava/util/List;I)V", AccessFlags = 9, Signature = "(Ljava/util/List<*>;I)V")]
  514. public static void Rotate(global::Java.Util.IList<object> lst, int dist) /* MethodBuilder.Create */
  515. {
  516. }
  517. /// <summary>
  518. /// <para>Searches the <c> list </c> for <c> sublist </c> and returns the beginning index of the first occurrence. </para><para>-1 is returned if the <c> sublist </c> does not exist in <c> list </c> .</para><para></para>
  519. /// </summary>
  520. /// <returns>
  521. /// <para>the beginning index of the first occurrence of <c> sublist </c> in <c> list </c> , or -1. </para>
  522. /// </returns>
  523. /// <java-name>
  524. /// indexOfSubList
  525. /// </java-name>
  526. [Dot42.DexImport("indexOfSubList", "(Ljava/util/List;Ljava/util/List;)I", AccessFlags = 9, Signature = "(Ljava/util/List<*>;Ljava/util/List<*>;)I")]
  527. public static int IndexOfSubList(global::Java.Util.IList<object> list, global::Java.Util.IList<object> sublist) /* MethodBuilder.Create */
  528. {
  529. return default(int);
  530. }
  531. /// <summary>
  532. /// <para>Searches the <c> list </c> for <c> sublist </c> and returns the beginning index of the last occurrence. </para><para>-1 is returned if the <c> sublist </c> does not exist in <c> list </c> .</para><para></para>
  533. /// </summary>
  534. /// <returns>
  535. /// <para>the beginning index of the last occurrence of <c> sublist </c> in <c> list </c> , or -1. </para>
  536. /// </returns>
  537. /// <java-name>
  538. /// lastIndexOfSubList
  539. /// </java-name>
  540. [Dot42.DexImport("lastIndexOfSubList", "(Ljava/util/List;Ljava/util/List;)I", AccessFlags = 9, Signature = "(Ljava/util/List<*>;Ljava/util/List<*>;)I")]
  541. public static int LastIndexOfSubList(global::Java.Util.IList<object> list, global::Java.Util.IList<object> sublist) /* MethodBuilder.Create */
  542. {
  543. return default(int);
  544. }
  545. /// <summary>
  546. /// <para>Returns an <c> ArrayList </c> with all the elements in the <c> enumeration </c> . The elements in the returned <c> ArrayList </c> are in the same order as in the <c> enumeration </c> .</para><para></para>
  547. /// </summary>
  548. /// <returns>
  549. /// <para>an <c> ArrayList </c> from <c> enumeration </c> . </para>
  550. /// </returns>
  551. /// <java-name>
  552. /// list
  553. /// </java-name>
  554. [Dot42.DexImport("list", "(Ljava/util/Enumeration;)Ljava/util/ArrayList;", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/Enumeration<TT;>;)Ljava/util/ArrayList<TT;>;")]
  555. public static global::Java.Util.ArrayList<T> List<T>(global::Java.Util.IEnumeration<T> enumeration) /* MethodBuilder.Create */
  556. {
  557. return default(global::Java.Util.ArrayList<T>);
  558. }
  559. /// <summary>
  560. /// <para>Returns a wrapper on the specified collection which synchronizes all access to the collection.</para><para></para>
  561. /// </summary>
  562. /// <returns>
  563. /// <para>a synchronized Collection. </para>
  564. /// </returns>
  565. /// <java-name>
  566. /// synchronizedCollection
  567. /// </java-name>
  568. [Dot42.DexImport("synchronizedCollection", "(Ljava/util/Collection;)Ljava/util/Collection;", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;)Ljava/util/Collection<TT;>;")]
  569. public static global::Java.Util.ICollection<T> SynchronizedCollection<T>(global::Java.Util.ICollection<T> collection) /* MethodBuilder.Create */
  570. {
  571. return default(global::Java.Util.ICollection<T>);
  572. }
  573. /// <summary>
  574. /// <para>Returns a wrapper on the specified List which synchronizes all access to the List.</para><para></para>
  575. /// </summary>
  576. /// <returns>
  577. /// <para>a synchronized List. </para>
  578. /// </returns>
  579. /// <java-name>
  580. /// synchronizedList
  581. /// </java-name>
  582. [Dot42.DexImport("synchronizedList", "(Ljava/util/List;)Ljava/util/List;", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/List<TT;>;)Ljava/util/List<TT;>;")]
  583. public static global::Java.Util.IList<T> SynchronizedList<T>(global::Java.Util.IList<T> list) /* MethodBuilder.Create */
  584. {
  585. return default(global::Java.Util.IList<T>);
  586. }
  587. /// <summary>
  588. /// <para>Returns a wrapper on the specified map which synchronizes all access to the map.</para><para></para>
  589. /// </summary>
  590. /// <returns>
  591. /// <para>a synchronized Map. </para>
  592. /// </returns>
  593. /// <java-name>
  594. /// synchronizedMap
  595. /// </java-name>
  596. [Dot42.DexImport("synchronizedMap", "(Ljava/util/Map;)Ljava/util/Map;", AccessFlags = 9, Signature = "<K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/util/Map<TK;TV;>;)Ljava/util/Map" +
  597. "<TK;TV;>;")]
  598. public static global::Java.Util.IMap<K, V> SynchronizedMap<K, V>(global::Java.Util.IMap<K, V> map) /* MethodBuilder.Create */
  599. {
  600. return default(global::Java.Util.IMap<K, V>);
  601. }
  602. /// <summary>
  603. /// <para>Returns a wrapper on the specified set which synchronizes all access to the set.</para><para></para>
  604. /// </summary>
  605. /// <returns>
  606. /// <para>a synchronized set. </para>
  607. /// </returns>
  608. /// <java-name>
  609. /// synchronizedSet
  610. /// </java-name>
  611. [Dot42.DexImport("synchronizedSet", "(Ljava/util/Set;)Ljava/util/Set;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(Ljava/util/Set<TE;>;)Ljava/util/Set<TE;>;")]
  612. public static global::Java.Util.ISet<E> SynchronizedSet<E>(global::Java.Util.ISet<E> set) /* MethodBuilder.Create */
  613. {
  614. return default(global::Java.Util.ISet<E>);
  615. }
  616. /// <summary>
  617. /// <para>Returns a wrapper on the specified sorted map which synchronizes all access to the sorted map.</para><para></para>
  618. /// </summary>
  619. /// <returns>
  620. /// <para>a synchronized sorted map. </para>
  621. /// </returns>
  622. /// <java-name>
  623. /// synchronizedSortedMap
  624. /// </java-name>
  625. [Dot42.DexImport("synchronizedSortedMap", "(Ljava/util/SortedMap;)Ljava/util/SortedMap;", AccessFlags = 9, Signature = "<K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/util/SortedMap<TK;TV;>;)Ljava/ut" +
  626. "il/SortedMap<TK;TV;>;")]
  627. public static global::Java.Util.ISortedMap<K, V> SynchronizedSortedMap<K, V>(global::Java.Util.ISortedMap<K, V> map) /* MethodBuilder.Create */
  628. {
  629. return default(global::Java.Util.ISortedMap<K, V>);
  630. }
  631. /// <summary>
  632. /// <para>Returns a wrapper on the specified sorted set which synchronizes all access to the sorted set.</para><para></para>
  633. /// </summary>
  634. /// <returns>
  635. /// <para>a synchronized sorted set. </para>
  636. /// </returns>
  637. /// <java-name>
  638. /// synchronizedSortedSet
  639. /// </java-name>
  640. [Dot42.DexImport("synchronizedSortedSet", "(Ljava/util/SortedSet;)Ljava/util/SortedSet;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(Ljava/util/SortedSet<TE;>;)Ljava/util/SortedSet<TE;>;")]
  641. public static global::Java.Util.ISortedSet<E> SynchronizedSortedSet<E>(global::Java.Util.ISortedSet<E> set) /* MethodBuilder.Create */
  642. {
  643. return default(global::Java.Util.ISortedSet<E>);
  644. }
  645. /// <summary>
  646. /// <para>Returns a wrapper on the specified collection which throws an <c> UnsupportedOperationException </c> whenever an attempt is made to modify the collection.</para><para></para>
  647. /// </summary>
  648. /// <returns>
  649. /// <para>an unmodifiable collection. </para>
  650. /// </returns>
  651. /// <java-name>
  652. /// unmodifiableCollection
  653. /// </java-name>
  654. [Dot42.DexImport("unmodifiableCollection", "(Ljava/util/Collection;)Ljava/util/Collection;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(Ljava/util/Collection<+TE;>;)Ljava/util/Collection<TE;>;")]
  655. public static global::Java.Util.ICollection<E> UnmodifiableCollection<E>(global::Java.Util.ICollection<E> collection) /* MethodBuilder.Create */
  656. {
  657. return default(global::Java.Util.ICollection<E>);
  658. }
  659. /// <summary>
  660. /// <para>Returns a wrapper on the specified list which throws an <c> UnsupportedOperationException </c> whenever an attempt is made to modify the list.</para><para></para>
  661. /// </summary>
  662. /// <returns>
  663. /// <para>an unmodifiable List. </para>
  664. /// </returns>
  665. /// <java-name>
  666. /// unmodifiableList
  667. /// </java-name>
  668. [Dot42.DexImport("unmodifiableList", "(Ljava/util/List;)Ljava/util/List;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(Ljava/util/List<+TE;>;)Ljava/util/List<TE;>;")]
  669. public static global::Java.Util.IList<E> UnmodifiableList<E>(global::Java.Util.IList<E> list) /* MethodBuilder.Create */
  670. {
  671. return default(global::Java.Util.IList<E>);
  672. }
  673. /// <summary>
  674. /// <para>Returns a wrapper on the specified map which throws an <c> UnsupportedOperationException </c> whenever an attempt is made to modify the map.</para><para></para>
  675. /// </summary>
  676. /// <returns>
  677. /// <para>a unmodifiable map. </para>
  678. /// </returns>
  679. /// <java-name>
  680. /// unmodifiableMap
  681. /// </java-name>
  682. [Dot42.DexImport("unmodifiableMap", "(Ljava/util/Map;)Ljava/util/Map;", AccessFlags = 9, Signature = "<K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/util/Map<+TK;+TV;>;)Ljava/util/M" +
  683. "ap<TK;TV;>;")]
  684. public static global::Java.Util.IMap<K, V> UnmodifiableMap<K, V>(global::Java.Util.IMap<K, V> map) /* MethodBuilder.Create */
  685. {
  686. return default(global::Java.Util.IMap<K, V>);
  687. }
  688. /// <summary>
  689. /// <para>Returns a wrapper on the specified set which throws an <c> UnsupportedOperationException </c> whenever an attempt is made to modify the set.</para><para></para>
  690. /// </summary>
  691. /// <returns>
  692. /// <para>a unmodifiable set </para>
  693. /// </returns>
  694. /// <java-name>
  695. /// unmodifiableSet
  696. /// </java-name>
  697. [Dot42.DexImport("unmodifiableSet", "(Ljava/util/Set;)Ljava/util/Set;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(Ljava/util/Set<+TE;>;)Ljava/util/Set<TE;>;")]
  698. public static global::Java.Util.ISet<E> UnmodifiableSet<E>(global::Java.Util.ISet<E> set) /* MethodBuilder.Create */
  699. {
  700. return default(global::Java.Util.ISet<E>);
  701. }
  702. /// <summary>
  703. /// <para>Returns a wrapper on the specified sorted map which throws an <c> UnsupportedOperationException </c> whenever an attempt is made to modify the sorted map.</para><para></para>
  704. /// </summary>
  705. /// <returns>
  706. /// <para>a unmodifiable sorted map </para>
  707. /// </returns>
  708. /// <java-name>
  709. /// unmodifiableSortedMap
  710. /// </java-name>
  711. [Dot42.DexImport("unmodifiableSortedMap", "(Ljava/util/SortedMap;)Ljava/util/SortedMap;", AccessFlags = 9, Signature = "<K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/util/SortedMap<TK;+TV;>;)Ljava/u" +
  712. "til/SortedMap<TK;TV;>;")]
  713. public static global::Java.Util.ISortedMap<K, V> UnmodifiableSortedMap<K, V>(global::Java.Util.ISortedMap<K, V> map) /* MethodBuilder.Create */
  714. {
  715. return default(global::Java.Util.ISortedMap<K, V>);
  716. }
  717. /// <summary>
  718. /// <para>Returns a wrapper on the specified sorted set which throws an <c> UnsupportedOperationException </c> whenever an attempt is made to modify the sorted set.</para><para></para>
  719. /// </summary>
  720. /// <returns>
  721. /// <para>a unmodifiable sorted set. </para>
  722. /// </returns>
  723. /// <java-name>
  724. /// unmodifiableSortedSet
  725. /// </java-name>
  726. [Dot42.DexImport("unmodifiableSortedSet", "(Ljava/util/SortedSet;)Ljava/util/SortedSet;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(Ljava/util/SortedSet<TE;>;)Ljava/util/SortedSet<TE;>;")]
  727. public static global::Java.Util.ISortedSet<E> UnmodifiableSortedSet<E>(global::Java.Util.ISortedSet<E> set) /* MethodBuilder.Create */
  728. {
  729. return default(global::Java.Util.ISortedSet<E>);
  730. }
  731. /// <summary>
  732. /// <para>Returns the number of elements in the <c> Collection </c> that match the <c> Object </c> passed. If the <c> Object </c> is <c> null </c> , then the number of <c> null </c> elements is returned.</para><para><para>1.5 </para></para>
  733. /// </summary>
  734. /// <returns>
  735. /// <para>the number of matching elements. </para>
  736. /// </returns>
  737. /// <java-name>
  738. /// frequency
  739. /// </java-name>
  740. [Dot42.DexImport("frequency", "(Ljava/util/Collection;Ljava/lang/Object;)I", AccessFlags = 9, Signature = "(Ljava/util/Collection<*>;Ljava/lang/Object;)I")]
  741. public static int Frequency(global::Java.Util.ICollection<object> c, object o) /* MethodBuilder.Create */
  742. {
  743. return default(int);
  744. }
  745. /// <summary>
  746. /// <para>Returns a type-safe empty, immutable List.</para><para><para>1.5 </para><para>EMPTY_LIST </para></para>
  747. /// </summary>
  748. /// <returns>
  749. /// <para>an empty List. </para>
  750. /// </returns>
  751. /// <java-name>
  752. /// emptyList
  753. /// </java-name>
  754. [Dot42.DexImport("emptyList", "()Ljava/util/List;", AccessFlags = 25, Signature = "<T:Ljava/lang/Object;>()Ljava/util/List<TT;>;")]
  755. public static global::Java.Util.IList<T> EmptyList<T>() /* MethodBuilder.Create */
  756. {
  757. return default(global::Java.Util.IList<T>);
  758. }
  759. /// <summary>
  760. /// <para>Returns a type-safe empty, immutable Set.</para><para><para>1.5 </para><para>EMPTY_SET </para></para>
  761. /// </summary>
  762. /// <returns>
  763. /// <para>an empty Set. </para>
  764. /// </returns>
  765. /// <java-name>
  766. /// emptySet
  767. /// </java-name>
  768. [Dot42.DexImport("emptySet", "()Ljava/util/Set;", AccessFlags = 25, Signature = "<T:Ljava/lang/Object;>()Ljava/util/Set<TT;>;")]
  769. public static global::Java.Util.ISet<T> EmptySet<T>() /* MethodBuilder.Create */
  770. {
  771. return default(global::Java.Util.ISet<T>);
  772. }
  773. /// <summary>
  774. /// <para>Returns a type-safe empty, immutable Map.</para><para><para>1.5 </para><para>EMPTY_MAP </para></para>
  775. /// </summary>
  776. /// <returns>
  777. /// <para>an empty Map. </para>
  778. /// </returns>
  779. /// <java-name>
  780. /// emptyMap
  781. /// </java-name>
  782. [Dot42.DexImport("emptyMap", "()Ljava/util/Map;", AccessFlags = 25, Signature = "<K:Ljava/lang/Object;V:Ljava/lang/Object;>()Ljava/util/Map<TK;TV;>;")]
  783. public static global::Java.Util.IMap<K, V> EmptyMap<K, V>() /* MethodBuilder.Create */
  784. {
  785. return default(global::Java.Util.IMap<K, V>);
  786. }
  787. /// <summary>
  788. /// <para>Returns a dynamically typesafe view of the specified collection. Trying to insert an element of the wrong type into this collection throws a <c> ClassCastException </c> . At creation time the types in <c> c </c> are not checked for correct type.</para><para></para>
  789. /// </summary>
  790. /// <returns>
  791. /// <para>a typesafe collection. </para>
  792. /// </returns>
  793. /// <java-name>
  794. /// checkedCollection
  795. /// </java-name>
  796. [Dot42.DexImport("checkedCollection", "(Ljava/util/Collection;Ljava/lang/Class;)Ljava/util/Collection;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(Ljava/util/Collection<TE;>;Ljava/lang/Class<TE;>;)Ljava/ut" +
  797. "il/Collection<TE;>;")]
  798. public static global::Java.Util.ICollection<E> CheckedCollection<E>(global::Java.Util.ICollection<E> c, global::System.Type type) /* MethodBuilder.Create */
  799. {
  800. return default(global::Java.Util.ICollection<E>);
  801. }
  802. /// <summary>
  803. /// <para>Returns a dynamically typesafe view of the specified map. Trying to insert an element of the wrong type into this map throws a <c> ClassCastException </c> . At creation time the types in <c> m </c> are not checked for correct type.</para><para></para>
  804. /// </summary>
  805. /// <returns>
  806. /// <para>a typesafe map. </para>
  807. /// </returns>
  808. /// <java-name>
  809. /// checkedMap
  810. /// </java-name>
  811. [Dot42.DexImport("checkedMap", "(Ljava/util/Map;Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/Map;", AccessFlags = 9, Signature = "<K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/util/Map<TK;TV;>;Ljava/lang/Clas" +
  812. "s<TK;>;Ljava/lang/Class<TV;>;)Ljava/util/Map<TK;TV;>;")]
  813. public static global::Java.Util.IMap<K, V> CheckedMap<K, V>(global::Java.Util.IMap<K, V> m, global::System.Type keyType, global::System.Type valueType) /* MethodBuilder.Create */
  814. {
  815. return default(global::Java.Util.IMap<K, V>);
  816. }
  817. /// <summary>
  818. /// <para>Returns a dynamically typesafe view of the specified list. Trying to insert an element of the wrong type into this list throws a <c> ClassCastException </c> . At creation time the types in <c> list </c> are not checked for correct type.</para><para></para>
  819. /// </summary>
  820. /// <returns>
  821. /// <para>a typesafe list. </para>
  822. /// </returns>
  823. /// <java-name>
  824. /// checkedList
  825. /// </java-name>
  826. [Dot42.DexImport("checkedList", "(Ljava/util/List;Ljava/lang/Class;)Ljava/util/List;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(Ljava/util/List<TE;>;Ljava/lang/Class<TE;>;)Ljava/util/Lis" +
  827. "t<TE;>;")]
  828. public static global::Java.Util.IList<E> CheckedList<E>(global::Java.Util.IList<E> list, global::System.Type type) /* MethodBuilder.Create */
  829. {
  830. return default(global::Java.Util.IList<E>);
  831. }
  832. /// <summary>
  833. /// <para>Returns a dynamically typesafe view of the specified set. Trying to insert an element of the wrong type into this set throws a <c> ClassCastException </c> . At creation time the types in <c> s </c> are not checked for correct type.</para><para></para>
  834. /// </summary>
  835. /// <returns>
  836. /// <para>a typesafe set. </para>
  837. /// </returns>
  838. /// <java-name>
  839. /// checkedSet
  840. /// </java-name>
  841. [Dot42.DexImport("checkedSet", "(Ljava/util/Set;Ljava/lang/Class;)Ljava/util/Set;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(Ljava/util/Set<TE;>;Ljava/lang/Class<TE;>;)Ljava/util/Set<" +
  842. "TE;>;")]
  843. public static global::Java.Util.ISet<E> CheckedSet<E>(global::Java.Util.ISet<E> s, global::System.Type type) /* MethodBuilder.Create */
  844. {
  845. return default(global::Java.Util.ISet<E>);
  846. }
  847. /// <summary>
  848. /// <para>Returns a dynamically typesafe view of the specified sorted map. Trying to insert an element of the wrong type into this sorted map throws a <c> ClassCastException </c> . At creation time the types in <c> m </c> are not checked for correct type.</para><para></para>
  849. /// </summary>
  850. /// <returns>
  851. /// <para>a typesafe sorted map. </para>
  852. /// </returns>
  853. /// <java-name>
  854. /// checkedSortedMap
  855. /// </java-name>
  856. [Dot42.DexImport("checkedSortedMap", "(Ljava/util/SortedMap;Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/SortedMap;", AccessFlags = 9, Signature = "<K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/util/SortedMap<TK;TV;>;Ljava/lan" +
  857. "g/Class<TK;>;Ljava/lang/Class<TV;>;)Ljava/util/SortedMap<TK;TV;>;")]
  858. public static global::Java.Util.ISortedMap<K, V> CheckedSortedMap<K, V>(global::Java.Util.ISortedMap<K, V> m, global::System.Type keyType, global::System.Type valueType) /* MethodBuilder.Create */
  859. {
  860. return default(global::Java.Util.ISortedMap<K, V>);
  861. }
  862. /// <summary>
  863. /// <para>Returns a dynamically typesafe view of the specified sorted set. Trying to insert an element of the wrong type into this sorted set throws a <c> ClassCastException </c> . At creation time the types in <c> s </c> are not checked for correct type.</para><para></para>
  864. /// </summary>
  865. /// <returns>
  866. /// <para>a typesafe sorted set. </para>
  867. /// </returns>
  868. /// <java-name>
  869. /// checkedSortedSet
  870. /// </java-name>
  871. [Dot42.DexImport("checkedSortedSet", "(Ljava/util/SortedSet;Ljava/lang/Class;)Ljava/util/SortedSet;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(Ljava/util/SortedSet<TE;>;Ljava/lang/Class<TE;>;)Ljava/uti" +
  872. "l/SortedSet<TE;>;")]
  873. public static global::Java.Util.ISortedSet<E> CheckedSortedSet<E>(global::Java.Util.ISortedSet<E> s, global::System.Type type) /* MethodBuilder.Create */
  874. {
  875. return default(global::Java.Util.ISortedSet<E>);
  876. }
  877. /// <summary>
  878. /// <para>Adds all the specified elements to the specified collection.</para><para></para>
  879. /// </summary>
  880. /// <returns>
  881. /// <para>true if the collection changed during insertion. </para>
  882. /// </returns>
  883. /// <java-name>
  884. /// addAll
  885. /// </java-name>
  886. [Dot42.DexImport("addAll", "(Ljava/util/Collection;[Ljava/lang/Object;)Z", AccessFlags = 137, Signature = "<T:Ljava/lang/Object;>(Ljava/util/Collection<-TT;>;[TT;)Z")]
  887. public static bool AddAll<T>(global::Java.Util.ICollection<T> c, params T[] a) /* MethodBuilder.Create */
  888. {
  889. return default(bool);
  890. }
  891. /// <summary>
  892. /// <para>Returns whether the specified collections have no elements in common.</para><para></para>
  893. /// </summary>
  894. /// <returns>
  895. /// <para><c> true </c> if the collections have no elements in common, <c> false </c> otherwise. </para>
  896. /// </returns>
  897. /// <java-name>
  898. /// disjoint
  899. /// </java-name>
  900. [Dot42.DexImport("disjoint", "(Ljava/util/Collection;Ljava/util/Collection;)Z", AccessFlags = 9, Signature = "(Ljava/util/Collection<*>;Ljava/util/Collection<*>;)Z")]
  901. public static bool Disjoint(global::Java.Util.ICollection<object> c1, global::Java.Util.ICollection<object> c2) /* MethodBuilder.Create */
  902. {
  903. return default(bool);
  904. }
  905. /// <summary>
  906. /// <para>Returns a set backed by <c> map </c> .</para><para><para>1.6 </para></para>
  907. /// </summary>
  908. /// <java-name>
  909. /// newSetFromMap
  910. /// </java-name>
  911. [Dot42.DexImport("newSetFromMap", "(Ljava/util/Map;)Ljava/util/Set;", AccessFlags = 9, Signature = "<E:Ljava/lang/Object;>(Ljava/util/Map<TE;Ljava/lang/Boolean;>;)Ljava/util/Set<TE;" +
  912. ">;")]
  913. public static global::Java.Util.ISet<E> NewSetFromMap<E>(global::Java.Util.IMap<E, bool?> map) /* MethodBuilder.Create */
  914. {
  915. return default(global::Java.Util.ISet<E>);
  916. }
  917. /// <summary>
  918. /// <para>Returns a last-in, first-out queue as a view of <c> deque </c> .</para><para><para>1.6 </para></para>
  919. /// </summary>
  920. /// <java-name>
  921. /// asLifoQueue
  922. /// </java-name>
  923. [Dot42.DexImport("asLifoQueue", "(Ljava/util/Deque;)Ljava/util/Queue;", AccessFlags = 9, Signature = "<T:Ljava/lang/Object;>(Ljava/util/Deque<TT;>;)Ljava/util/Queue<TT;>;")]
  924. public static global::Java.Util.IQueue<T> AsLifoQueue<T>(global::Java.Util.IDeque<T> deque) /* MethodBuilder.Create */
  925. {
  926. return default(global::Java.Util.IQueue<T>);
  927. }
  928. }
  929. /// <summary>
  930. /// <para>This abstract class provides a simple wrapper for objects of type <c> EventListener </c> . </para>
  931. /// </summary>
  932. /// <java-name>
  933. /// java/util/EventListenerProxy
  934. /// </java-name>
  935. [Dot42.DexImport("java/util/EventListenerProxy", AccessFlags = 1057)]
  936. public abstract partial class EventListenerProxy : global::Java.Util.IEventListener
  937. /* scope: __dot42__ */
  938. {
  939. /// <summary>
  940. /// <para>Creates a new <c> EventListener </c> proxy instance.</para><para></para>
  941. /// </summary>
  942. [Dot42.DexImport("<init>", "(Ljava/util/EventListener;)V", AccessFlags = 1)]
  943. public EventListenerProxy(global::Java.Util.IEventListener listener) /* MethodBuilder.Create */
  944. {
  945. }
  946. /// <summary>
  947. /// <para>Returns the wrapped <c> EventListener </c> .</para><para></para>
  948. /// </summary>
  949. /// <returns>
  950. /// <para>the wrapped <c> EventListener </c> . </para>
  951. /// </returns>
  952. /// <java-name>
  953. /// getListener
  954. /// </java-name>
  955. [Dot42.DexImport("getListener", "()Ljava/util/EventListener;", AccessFlags = 1)]
  956. public virtual global::Java.Util.IEventListener GetListener() /* MethodBuilder.Create */
  957. {
  958. return default(global::Java.Util.IEventListener);
  959. }
  960. [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
  961. internal EventListenerProxy() /* TypeBuilder.AddDefaultConstructor */
  962. {
  963. }
  964. /// <summary>
  965. /// <para>Returns the wrapped <c> EventListener </c> .</para><para></para>
  966. /// </summary>
  967. /// <returns>
  968. /// <para>the wrapped <c> EventListener </c> . </para>
  969. /// </returns>
  970. /// <java-name>
  971. /// getListener
  972. /// </java-name>
  973. public global::Java.Util.IEventListener Listener
  974. {
  975. [Dot42.DexImport("getListener", "()Ljava/util/EventListener;", AccessFlags = 1)]
  976. get{ return GetListener(); }
  977. }
  978. }
  979. /// <summary>
  980. /// <para>Class <c> AbstractCollection </c> is an abstract implementation of the <c> Collection </c> interface. A subclass must implement the abstract methods <c> iterator() </c> and <c> size() </c> to create an immutable collection. To create a modifiable collection it's necessary to override the <c> add() </c> method that currently throws an <c> UnsupportedOperationException </c> .</para><para><para>1.2 </para></para>
  981. /// </summary>
  982. /// <java-name>
  983. /// java/util/AbstractCollection
  984. /// </java-name>
  985. [Dot42.DexImport("java/util/AbstractCollection", AccessFlags = 1057, Signature = "<E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Collection<TE;>;")]
  986. public abstract partial class AbstractCollection<E> : global::Java.Util.ICollection<E>
  987. /* scope: __dot42__ */
  988. {