@sitevision/api 1.0.20 → 1.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/hidden/javax/jcr/Binary/index.d.ts +86 -0
  2. package/hidden/javax/jcr/Credentials/index.d.ts +11 -0
  3. package/hidden/javax/jcr/ImportUUIDBehavior/index.d.ts +11 -0
  4. package/hidden/javax/jcr/Item/index.d.ts +353 -0
  5. package/hidden/javax/jcr/ItemVisitor/index.d.ts +41 -0
  6. package/hidden/javax/jcr/NamespaceRegistry/index.d.ts +100 -0
  7. package/hidden/javax/jcr/Node/index.d.ts +2808 -0
  8. package/hidden/javax/jcr/NodeIterator/index.d.ts +18 -0
  9. package/hidden/javax/jcr/Property/index.d.ts +801 -0
  10. package/hidden/javax/jcr/PropertyIterator/index.d.ts +17 -0
  11. package/hidden/javax/jcr/RangeIterator/index.d.ts +75 -0
  12. package/hidden/javax/jcr/Repository/index.d.ts +318 -0
  13. package/hidden/javax/jcr/RepositoryFactory/index.d.ts +90 -0
  14. package/hidden/javax/jcr/Value/index.d.ts +190 -0
  15. package/hidden/javax/jcr/ValueFactory/index.d.ts +179 -0
  16. package/hidden/javax/jcr/Workspace/index.d.ts +1061 -0
  17. package/hidden/javax/jcr/lock/Lock/index.d.ts +142 -0
  18. package/hidden/javax/jcr/lock/LockManager/index.d.ts +217 -0
  19. package/hidden/javax/jcr/nodetype/ItemDefinition/index.d.ts +219 -0
  20. package/hidden/javax/jcr/nodetype/NodeDefinition/index.d.ts +158 -0
  21. package/hidden/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +74 -0
  22. package/hidden/javax/jcr/nodetype/NodeType/index.d.ts +349 -0
  23. package/hidden/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +248 -0
  24. package/hidden/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +16 -0
  25. package/hidden/javax/jcr/nodetype/NodeTypeManager/index.d.ts +218 -0
  26. package/hidden/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +98 -0
  27. package/hidden/javax/jcr/nodetype/PropertyDefinition/index.d.ts +536 -0
  28. package/hidden/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +97 -0
  29. package/hidden/javax/jcr/observation/Event/index.d.ts +133 -0
  30. package/hidden/javax/jcr/observation/EventIterator/index.d.ts +20 -0
  31. package/hidden/javax/jcr/observation/EventJournal/index.d.ts +22 -0
  32. package/hidden/javax/jcr/observation/EventListener/index.d.ts +23 -0
  33. package/hidden/javax/jcr/observation/EventListenerIterator/index.d.ts +20 -0
  34. package/hidden/javax/jcr/observation/ObservationManager/index.d.ts +227 -0
  35. package/hidden/javax/jcr/query/Query/index.d.ts +201 -0
  36. package/hidden/javax/jcr/query/QueryManager/index.d.ts +73 -0
  37. package/hidden/javax/jcr/query/QueryResult/index.d.ts +51 -0
  38. package/hidden/javax/jcr/query/Row/index.d.ts +159 -0
  39. package/hidden/javax/jcr/query/RowIterator/index.d.ts +20 -0
  40. package/hidden/javax/jcr/query/qom/And/index.d.ts +26 -0
  41. package/hidden/javax/jcr/query/qom/BindVariableValue/index.d.ts +15 -0
  42. package/hidden/javax/jcr/query/qom/ChildNode/index.d.ts +27 -0
  43. package/hidden/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +27 -0
  44. package/hidden/javax/jcr/query/qom/Column/index.d.ts +39 -0
  45. package/hidden/javax/jcr/query/qom/Comparison/index.d.ts +82 -0
  46. package/hidden/javax/jcr/query/qom/Constraint/index.d.ts +13 -0
  47. package/hidden/javax/jcr/query/qom/DescendantNode/index.d.ts +31 -0
  48. package/hidden/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +29 -0
  49. package/hidden/javax/jcr/query/qom/DynamicOperand/index.d.ts +9 -0
  50. package/hidden/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +41 -0
  51. package/hidden/javax/jcr/query/qom/FullTextSearch/index.d.ts +89 -0
  52. package/hidden/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +24 -0
  53. package/hidden/javax/jcr/query/qom/Join/index.d.ts +36 -0
  54. package/hidden/javax/jcr/query/qom/JoinCondition/index.d.ts +9 -0
  55. package/hidden/javax/jcr/query/qom/Length/index.d.ts +24 -0
  56. package/hidden/javax/jcr/query/qom/Literal/index.d.ts +18 -0
  57. package/hidden/javax/jcr/query/qom/LowerCase/index.d.ts +26 -0
  58. package/hidden/javax/jcr/query/qom/NodeLocalName/index.d.ts +16 -0
  59. package/hidden/javax/jcr/query/qom/NodeName/index.d.ts +16 -0
  60. package/hidden/javax/jcr/query/qom/Not/index.d.ts +20 -0
  61. package/hidden/javax/jcr/query/qom/Operand/index.d.ts +9 -0
  62. package/hidden/javax/jcr/query/qom/Or/index.d.ts +30 -0
  63. package/hidden/javax/jcr/query/qom/Ordering/index.d.ts +53 -0
  64. package/hidden/javax/jcr/query/qom/PropertyExistence/index.d.ts +24 -0
  65. package/hidden/javax/jcr/query/qom/PropertyValue/index.d.ts +25 -0
  66. package/hidden/javax/jcr/query/qom/QueryObjectModel/index.d.ts +64 -0
  67. package/hidden/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +9 -0
  68. package/hidden/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +638 -0
  69. package/hidden/javax/jcr/query/qom/SameNode/index.d.ts +27 -0
  70. package/hidden/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +36 -0
  71. package/hidden/javax/jcr/query/qom/Selector/index.d.ts +35 -0
  72. package/hidden/javax/jcr/query/qom/Source/index.d.ts +9 -0
  73. package/hidden/javax/jcr/query/qom/StaticOperand/index.d.ts +10 -0
  74. package/hidden/javax/jcr/query/qom/UpperCase/index.d.ts +26 -0
  75. package/hidden/javax/jcr/retention/Hold/index.d.ts +34 -0
  76. package/hidden/javax/jcr/retention/RetentionManager/index.d.ts +189 -0
  77. package/hidden/javax/jcr/retention/RetentionPolicy/index.d.ts +21 -0
  78. package/hidden/javax/jcr/security/AccessControlEntry/index.d.ts +24 -0
  79. package/hidden/javax/jcr/security/AccessControlList/index.d.ts +91 -0
  80. package/hidden/javax/jcr/security/AccessControlManager/index.d.ts +297 -0
  81. package/hidden/javax/jcr/security/AccessControlPolicy/index.d.ts +11 -0
  82. package/hidden/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +20 -0
  83. package/hidden/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +22 -0
  84. package/hidden/javax/jcr/security/Privilege/index.d.ts +117 -0
  85. package/hidden/javax/jcr/version/Version/index.d.ts +121 -0
  86. package/hidden/javax/jcr/version/VersionHistory/index.d.ts +307 -0
  87. package/hidden/javax/jcr/version/VersionIterator/index.d.ts +20 -0
  88. package/hidden/javax/jcr/version/VersionManager/index.d.ts +1082 -0
  89. package/hidden/senselogic/sitevision/api/base/Builder/index.d.ts +102 -0
  90. package/hidden/senselogic/sitevision/api/base/Filter/index.d.ts +25 -0
  91. package/hidden/senselogic/sitevision/api/base/FilterSplit/index.d.ts +50 -0
  92. package/hidden/senselogic/sitevision/api/base/Loadable/index.d.ts +15 -0
  93. package/hidden/senselogic/sitevision/api/base/Resolver/index.d.ts +31 -0
  94. package/hidden/senselogic/sitevision/api/base/Wrapper/index.d.ts +24 -0
  95. package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +417 -0
  96. package/hidden/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +80 -0
  97. package/hidden/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +100 -0
  98. package/hidden/senselogic/sitevision/api/i18n/Currency/index.d.ts +120 -0
  99. package/hidden/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +45 -0
  100. package/hidden/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +65 -0
  101. package/hidden/senselogic/sitevision/api/mail/Mail/index.d.ts +32 -0
  102. package/hidden/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +15 -0
  103. package/hidden/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +23 -0
  104. package/hidden/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +23 -0
  105. package/hidden/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +642 -0
  106. package/hidden/senselogic/sitevision/api/render/BuddyIconRenderer/BuddyIconInfo/index.d.ts +51 -0
  107. package/hidden/senselogic/sitevision/api/render/ImageScaler/index.d.ts +58 -0
  108. package/hidden/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +301 -0
  109. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ArticleUtilConstants/index.d.ts +85 -0
  110. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ExceptionSuppressingProxyConstants/index.d.ts +31 -0
  111. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/IndexingUtilConstants/index.d.ts +31 -0
  112. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/LinkPageUtilConstants/index.d.ts +67 -0
  113. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MathInstanceConstants/index.d.ts +25 -0
  114. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MimeTypeUtilConstants/index.d.ts +19 -0
  115. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/NodeTypeUtilConstants/index.d.ts +1243 -0
  116. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/OutputUtilConstants/index.d.ts +31 -0
  117. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PageUtilConstants/index.d.ts +91 -0
  118. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletContextUtilConstants/index.d.ts +27 -0
  119. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletUtilConstants/index.d.ts +19 -0
  120. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/QueryStringUtilConstants/index.d.ts +19 -0
  121. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchHitConstants/index.d.ts +25 -0
  122. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchResultConstants/index.d.ts +37 -0
  123. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/VersionUtilConstants/index.d.ts +25 -0
  124. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +8 -0
  125. package/hidden/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +50 -0
  126. package/hidden/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +89 -0
  127. package/hidden/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +119 -0
  128. package/hidden/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +272 -0
  129. package/hidden/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +43 -0
  130. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +94 -0
  131. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +117 -0
  132. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +90 -0
  133. package/hidden/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +89 -0
  134. package/hidden/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +45 -0
  135. package/hidden/senselogic/sitevision/api/search/SearchHit/index.d.ts +1176 -0
  136. package/hidden/senselogic/sitevision/api/search/SearchResult/index.d.ts +414 -0
  137. package/hidden/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +27 -0
  138. package/hidden/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +61 -0
  139. package/hidden/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +277 -0
  140. package/hidden/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +25 -0
  141. package/hidden/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +29 -0
  142. package/hidden/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +25 -0
  143. package/hidden/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +35 -0
  144. package/hidden/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +25 -0
  145. package/hidden/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +29 -0
  146. package/hidden/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +82 -0
  147. package/hidden/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +21 -0
  148. package/hidden/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +70 -0
  149. package/hidden/senselogic/sitevision/api/security/MessageDigester/index.d.ts +50 -0
  150. package/hidden/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +72 -0
  151. package/hidden/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +29 -0
  152. package/hidden/senselogic/sitevision/api/security/SecretStore/index.d.ts +55 -0
  153. package/hidden/senselogic/sitevision/api/security/UserUtil/index.d.ts +80 -0
  154. package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +36 -0
  155. package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +32 -0
  156. package/hidden/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +599 -0
  157. package/hidden/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +20 -0
  158. package/hidden/senselogic/sitevision/api/xml/XmlElement/index.d.ts +55 -0
  159. package/hidden/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +17 -0
  160. package/package.json +2 -4
  161. package/server/AliasUtil/index.d.ts +25 -0
  162. package/server/AliasUtil/index.js +10 -0
  163. package/server/ArchiveUtil/index.d.ts +65 -11
  164. package/server/ArraysInstance/index.d.ts +1846 -0
  165. package/server/ArticleUtil/index.d.ts +381 -69
  166. package/server/AuthenticationUtil/index.d.ts +106 -0
  167. package/server/BookmarkUtil/index.d.ts +36 -28
  168. package/server/BuddyIconRenderer/index.d.ts +240 -0
  169. package/server/ClientUtil/index.d.ts +18 -4
  170. package/server/CollaborationFactory/index.d.ts +42 -25
  171. package/server/CollaborationGroupFolderUtil/index.d.ts +40 -29
  172. package/server/CollaborationGroupTemplateUtil/index.d.ts +71 -39
  173. package/server/CollaborationGroupUtil/index.d.ts +128 -55
  174. package/server/CollectionsInstance/index.d.ts +738 -0
  175. package/server/ColorUtil/index.d.ts +22 -17
  176. package/server/CompoundAndFilterBuilder/index.d.ts +60 -0
  177. package/server/CompoundComparatorBuilder/index.d.ts +63 -0
  178. package/server/CompoundOrFilterBuilder/index.d.ts +59 -0
  179. package/server/ContentNodeUtil/index.d.ts +76 -0
  180. package/server/CurrencyFactory/index.d.ts +135 -0
  181. package/server/DateUtil/index.d.ts +154 -77
  182. package/server/DecorationUtil/index.d.ts +23 -0
  183. package/server/DeviceUtil/index.d.ts +36 -0
  184. package/server/DirectoryUtil/index.d.ts +107 -47
  185. package/server/DocTypeUtil/index.d.ts +149 -0
  186. package/server/EndecUtil/index.d.ts +537 -91
  187. package/server/ExtendedDismaxParserBuilder/index.d.ts +311 -0
  188. package/server/FileIconRenderer/index.d.ts +346 -0
  189. package/server/FileUtil/index.d.ts +462 -0
  190. package/server/FilterBuilder/index.d.ts +120 -0
  191. package/server/FolderUtil/index.d.ts +161 -0
  192. package/server/FontUtil/index.d.ts +49 -0
  193. package/server/FormatterBuilderFactory/index.d.ts +129 -0
  194. package/server/HighlightBuilder/index.d.ts +194 -0
  195. package/server/IconUtil/index.d.ts +37 -0
  196. package/server/ImageLinkRenderer/index.d.ts +134 -0
  197. package/server/ImageRenderer/index.d.ts +613 -231
  198. package/server/ImageUtil/index.d.ts +430 -0
  199. package/server/IndexUtil/index.d.ts +71 -0
  200. package/server/IndexingUtil/index.d.ts +92 -0
  201. package/server/InstanceCreatorUtil/index.d.ts +661 -0
  202. package/server/InstanceTypeUtil/index.d.ts +202 -0
  203. package/server/JwtUtil/index.d.ts +217 -0
  204. package/server/LandingPageUtil/index.d.ts +67 -50
  205. package/server/LinkPageUtil/index.d.ts +468 -0
  206. package/server/LinkRenderer/index.d.ts +1157 -0
  207. package/server/LinkTargetBuilder/index.d.ts +146 -0
  208. package/server/LinkValueBuilder/index.d.ts +129 -52
  209. package/server/ListWrapper/index.d.ts +172 -0
  210. package/server/LocaleUtil/index.d.ts +695 -61
  211. package/server/LogUtil/index.d.ts +118 -77
  212. package/server/MailBuilder/index.d.ts +238 -0
  213. package/server/MailUtil/index.d.ts +98 -0
  214. package/server/MathInstance/index.d.ts +681 -0
  215. package/server/MessageDigesterFactory/index.d.ts +49 -0
  216. package/server/MetadataDefinitionUtil/index.d.ts +118 -0
  217. package/server/MetadataUtil/index.d.ts +524 -79
  218. package/server/MimeTypeUtil/index.d.ts +316 -0
  219. package/server/MonitorBuilder/index.d.ts +51 -0
  220. package/server/NodeComparatorUtil/index.d.ts +397 -0
  221. package/server/NodeFactoryUtil/index.d.ts +32 -0
  222. package/server/NodeFilterUtil/index.d.ts +924 -0
  223. package/server/NodeIteratorUtil/index.d.ts +322 -72
  224. package/server/NodeResolverUtil/index.d.ts +767 -0
  225. package/server/NodeTreeUtil/index.d.ts +339 -63
  226. package/server/NodeTypeUtil/index.d.ts +391 -197
  227. package/server/OfflineVersionPropertyUtil/index.d.ts +30 -0
  228. package/server/OnlineVersionPropertyUtil/index.d.ts +30 -0
  229. package/server/OutputUtil/index.d.ts +641 -0
  230. package/server/PageUtil/index.d.ts +330 -0
  231. package/server/PermissionUtil/index.d.ts +650 -0
  232. package/server/PortletContextUtil/index.d.ts +118 -37
  233. package/server/PortletContextUtil/index.js +1 -0
  234. package/server/PortletUtil/index.d.ts +40 -0
  235. package/server/PrincipalUtil/index.d.ts +51 -0
  236. package/server/Properties/index.d.ts +185 -38
  237. package/server/PropertyUtil/index.d.ts +2330 -406
  238. package/server/PublishingUtil/index.d.ts +385 -49
  239. package/server/QueryStringUtil/index.d.ts +737 -0
  240. package/server/RedirectUtil/index.d.ts +98 -0
  241. package/server/RelatedValueBuilder/index.d.ts +81 -39
  242. package/server/Requester/index.d.ts +441 -65
  243. package/server/ResourceLocatorUtil/index.d.ts +483 -227
  244. package/server/RestApi/index.d.ts +208 -23
  245. package/server/RestAppInvokerFactory/index.d.ts +73 -0
  246. package/server/RoleAssignmentBuilder/index.d.ts +60 -0
  247. package/server/RoleMatcherBuilder/index.d.ts +59 -0
  248. package/server/RoleUtil/index.d.ts +57 -0
  249. package/server/ScriptUtil/index.d.ts +625 -143
  250. package/server/SearchFactory/index.d.ts +133 -0
  251. package/server/SearchUtil/index.d.ts +164 -0
  252. package/server/SearcherBuilder/index.d.ts +260 -0
  253. package/server/Session/index.d.ts +1758 -0
  254. package/server/SimpleUserUtil/index.d.ts +39 -30
  255. package/server/SiteCookieUtil/index.d.ts +78 -53
  256. package/server/SortBuilder/index.d.ts +111 -0
  257. package/server/SpellCheckBuilder/index.d.ts +68 -0
  258. package/server/StandardParserBuilder/index.d.ts +112 -0
  259. package/server/StructureUtil/index.d.ts +167 -0
  260. package/server/SubscriberUtil/index.d.ts +122 -0
  261. package/server/SubscriptionUtil/index.d.ts +197 -0
  262. package/server/SystemUserUtil/index.d.ts +201 -98
  263. package/server/TagUtil/index.d.ts +193 -0
  264. package/server/TemplateUtil/index.d.ts +217 -0
  265. package/server/TemporaryFileNodeBuilder/index.d.ts +63 -0
  266. package/server/TemporaryNodeBuilder/index.d.ts +241 -0
  267. package/server/TextModuleRendererBuilder/index.d.ts +68 -0
  268. package/server/TimestampUtil/index.d.ts +98 -82
  269. package/server/TranslationUtil/index.d.ts +175 -0
  270. package/server/TrashcanUtil/index.d.ts +193 -24
  271. package/server/UserDataUtil/index.d.ts +167 -85
  272. package/server/UserFactory/index.d.ts +45 -30
  273. package/server/UserFieldRenderer/index.d.ts +258 -0
  274. package/server/UserIdentityUtil/index.d.ts +61 -29
  275. package/server/UserUtil/index.d.ts +69 -28
  276. package/server/Utils/index.d.ts +870 -12
  277. package/server/VelocityRenderer/index.d.ts +248 -0
  278. package/server/VersionUtil/index.d.ts +15 -12
  279. package/server/WebContentUtil/index.d.ts +644 -0
  280. package/server/WebResourceFactory/index.d.ts +66 -0
  281. package/server/XSLTUtil/index.d.ts +49 -10
  282. package/server/XmlParserUtil/index.d.ts +82 -81
  283. package/builtins/Binary/index.d.ts +0 -3
  284. package/builtins/Calendar/index.d.ts +0 -3
  285. package/builtins/Collection/index.d.ts +0 -3
  286. package/builtins/Date/index.d.ts +0 -3
  287. package/builtins/InputStream/index.d.ts +0 -3
  288. package/builtins/Instant/index.d.ts +0 -3
  289. package/builtins/List/index.d.ts +0 -3
  290. package/builtins/LocalDateTime/index.d.ts +0 -3
  291. package/builtins/Locale/index.d.ts +0 -3
  292. package/builtins/Node/index.d.ts +0 -3
  293. package/builtins/NodeIterator/index.d.ts +0 -27
  294. package/builtins/Property/index.d.ts +0 -3
  295. package/builtins/Serializable/index.d.ts +0 -3
  296. package/builtins/Set/index.d.ts +0 -3
  297. package/builtins/Throwable/index.d.ts +0 -3
  298. package/builtins/byte/index.d.ts +0 -3
@@ -0,0 +1,738 @@
1
+ /**
2
+ * Sorts the specified list into ascending order, according to the <i>natural ordering</i> of its elements.
3
+ * @param <T> the class of the objects in the list
4
+ * @param aList the list to be sorted.
5
+ * @throws ClassCastException if the list contains elements that are not <i>mutually comparable</i> (for example, strings and integers).
6
+ * @throws UnsupportedOperationException if the specified list's list-iterator does not support the <tt>set</tt> operation.
7
+ */
8
+ export function sort(aList: unknown[]): void;
9
+
10
+ /**
11
+ * Sorts the specified list according to the order induced by the specified comparator.
12
+ * @param <T> the class of the objects in the list
13
+ * @param aList the list to be sorted.
14
+ * @param aComparator the comparator to determine the order of the list. A <tt>null</tt> value indicates that the elements' <i>natural ordering</i> should be used.
15
+ * @throws ClassCastException if the list contains elements that are not <i>mutually comparable</i> using the specified comparator.
16
+ * @throws UnsupportedOperationException if the specified list's list-iterator does not support the <tt>set</tt> operation.
17
+ */
18
+ export function sort(aList: unknown[], aComparator: unknown): void;
19
+
20
+ /**
21
+ * Searches the specified list for the specified object using the binary search algorithm.
22
+ * @param <T> the class of the objects in the list
23
+ * @param aList the list to be searched.
24
+ * @param aKey the key to be searched for.
25
+ * @return the index of the search key, if it is contained in the list; otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The <i>insertion point</i> is defined as the point at which the key would be inserted into the list: the index of the first element greater than the key, or <tt>aList.size()</tt> if all elements in the list are less than the specified key. Note that this guarantees that the return value will be &gt;= 0 if and only if the key is found.
26
+ * @throws ClassCastException if the list contains elements that are not <i>mutually comparable</i> (for example, strings and integers), or the search key is not mutually comparable with the elements of the list.
27
+ */
28
+ export function binarySearch(aList: unknown[], aKey: unknown): number;
29
+
30
+ /**
31
+ * Searches the specified list for the specified object using the binary search algorithm.
32
+ * @param <T> the class of the objects in the list
33
+ * @param aList the list to be searched.
34
+ * @param aKey the key to be searched for.
35
+ * @param aComparator the comparator by which the list is ordered. A <tt>null</tt> value indicates that the elements' Comparable natural ordering should be used.
36
+ * @return the index of the search key, if it is contained in the list; otherwise, <tt>(-(<i>insertion point</i>) - 1)</tt>. The <i>insertion point</i> is defined as the point at which the key would be inserted into the list: the index of the first element greater than the key, or <tt>aList.size()</tt> if all elements in the list are less than the specified key. Note that this guarantees that the return value will be &gt;= 0 if and only if the key is found.
37
+ * @throws ClassCastException if the list contains elements that are not <i>mutually comparable</i> using the specified comparator, or the search key is not mutually comparable with the elements of the list using this comparator.
38
+ */
39
+ export function binarySearch(
40
+ aList: unknown[],
41
+ aKey: unknown,
42
+ aComparator: unknown
43
+ ): number;
44
+
45
+ /**
46
+ * Reverses the order of the elements in the specified list.
47
+ * @param aList the list whose elements are to be reversed.
48
+ * @throws UnsupportedOperationException if the specified list or its list-iterator does not support the <tt>set</tt> operation.
49
+ */
50
+ export function reverse(aList: unknown[]): void;
51
+
52
+ /**
53
+ * Randomly permutes the specified list using a default source of randomness.
54
+ * @param aList the list to be shuffled.
55
+ * @throws UnsupportedOperationException if the specified list or its list-iterator does not support the <tt>set</tt> operation.
56
+ */
57
+ export function shuffle(aList: unknown[]): void;
58
+
59
+ /**
60
+ * Randomly permute the specified list using the specified source of randomness.
61
+ * @param aList the list to be shuffled.
62
+ * @param aRandom the source of randomness to use to shuffle the list.
63
+ * @throws UnsupportedOperationException if the specified list or its list-iterator does not support the <tt>set</tt> operation.
64
+ */
65
+ export function shuffle(aList: unknown[], aRandom: unknown): void;
66
+
67
+ /**
68
+ * Swaps the elements at the specified positions in the specified list.
69
+ * @param aList The list in which to swap elements.
70
+ * @param anIndex the index of one element to be swapped.
71
+ * @param anAnotherIndex the index of the other element to be swapped.
72
+ * @throws IndexOutOfBoundsException if either <tt>anIndex</tt> or <tt>j</tt> is out of range (anIndex &lt; 0 || anIndex &gt;= aList.size() || anAnotherIndex &lt; 0 || anAnotherIndex &gt;= aList.size()).
73
+ */
74
+ export function swap(
75
+ aList: unknown[],
76
+ anIndex: number,
77
+ anAnotherIndex: number
78
+ ): void;
79
+
80
+ /**
81
+ * Replaces all of the elements of the specified list with the specified element.
82
+ * @param <T> the class of the objects in the list
83
+ * @param aList the list to be filled with the specified element.
84
+ * @param aValue The element with which to fill the specified list.
85
+ * @throws UnsupportedOperationException if the specified list or its list-iterator does not support the <tt>set</tt> operation.
86
+ */
87
+ export function fill(aList: unknown[], aValue: unknown): void;
88
+
89
+ /**
90
+ * Copies all of the elements from one list into another.
91
+ * @param <T> the class of the objects in the list
92
+ * @param aDestination The destination list.
93
+ * @param aSource The source list.
94
+ * @throws IndexOutOfBoundsException if the destination list is too small to contain the entire source List.
95
+ * @throws UnsupportedOperationException if the destination list's list-iterator does not support the <tt>set</tt> operation.
96
+ */
97
+ export function copy(aDestination: unknown[], aSource: unknown[]): void;
98
+
99
+ /**
100
+ * Returns the minimum element of the given collection, according to the <i>natural ordering</i> of its elements.
101
+ * @param <T> the class of the objects in the collection
102
+ * @param aCollection the collection whose minimum element is to be determined.
103
+ * @return the minimum element of the given collection, according to the <i>natural ordering</i> of its elements.
104
+ * @throws ClassCastException if the collection contains elements that are not <i>mutually comparable</i> (for example, strings and integers).
105
+ * @throws NoSuchElementException if the collection is empty.
106
+ */
107
+ export function min(aCollection: unknown): unknown;
108
+
109
+ /**
110
+ * Returns the minimum element of the given collection, according to the order induced by the specified comparator.
111
+ * @param <T> the class of the objects in the collection
112
+ * @param aCollection the collection whose minimum element is to be determined.
113
+ * @param aComparator the comparator with which to determine the minimum element. A <tt>null</tt> value indicates that the elements' <i>natural ordering</i> should be used.
114
+ * @return the minimum element of the given collection, according to the specified comparator.
115
+ * @throws ClassCastException if the collection contains elements that are not <i>mutually comparable</i> using the specified comparator.
116
+ * @throws NoSuchElementException if the collection is empty.
117
+ */
118
+ export function min(aCollection: unknown, aComparator: unknown): unknown;
119
+
120
+ /**
121
+ * Returns the maximum element of the given collection, according to the
122
+ * <i>natural ordering</i> of its elements.
123
+ * @param <T> the class of the objects in the collection
124
+ * @param aCollection the collection whose maximum element is to be determined.
125
+ * @return the maximum element of the given collection, according to the <i>natural ordering</i> of its elements.
126
+ * @throws ClassCastException if the collection contains elements that are not <i>mutually comparable</i> (for example, strings and integers).
127
+ * @throws NoSuchElementException if the collection is empty.
128
+ */
129
+ export function max(aCollection: unknown): unknown;
130
+
131
+ /**
132
+ * Returns the maximum element of the given collection, according to the
133
+ * order induced by the specified comparator.
134
+ * @param <T> the class of the objects in the collection
135
+ * @param aCollection the collection whose maximum element is to be determined.
136
+ * @param aComparator the comparator with which to determine the maximum element. A <tt>null</tt> value indicates that the elements' <i>natural ordering</i> should be used.
137
+ * @return the maximum element of the given collection, according to the specified comparator.
138
+ * @throws ClassCastException if the collection contains elements that are not <i>mutually comparable</i> using the specified comparator.
139
+ * @throws NoSuchElementException if the collection is empty.
140
+ */
141
+ export function max(aCollection: unknown, aComparator: unknown): unknown;
142
+
143
+ /**
144
+ * Rotates the elements in the specified list by the specified distance.
145
+ * @param aList the list to be rotated.
146
+ * @param aDistance the distance to rotate the list. There are no constraints on this value; it may be zero, negative, or greater than <tt>aList.size()</tt>.
147
+ * @throws UnsupportedOperationException if the specified list or its list-iterator does not support the <tt>set</tt> operation.
148
+ */
149
+ export function rotate(aList: unknown[], aDistance: number): void;
150
+
151
+ /**
152
+ * Replaces all occurrences of one specified value in a list with another.
153
+ * @param <T> the class of the objects in the list
154
+ * @param aList the list in which replacement is to occur.
155
+ * @param anOldValue the old value to be replaced.
156
+ * @param aNewValue the new value with which <tt>anOldValue</tt> is to be replaced.
157
+ * @return <tt>true</tt> if <tt>aList</tt> contained one or more elements <tt>e</tt> such that <tt>(anOldValue==null ? e==null : anOldValue.equals(e))</tt>.
158
+ * @throws UnsupportedOperationException if the specified list or its list-iterator does not support the <tt>set</tt> operation.
159
+ */
160
+ export function replaceAll(
161
+ aList: unknown[],
162
+ anOldValue: unknown,
163
+ aNewValue: unknown
164
+ ): boolean;
165
+
166
+ /**
167
+ * Returns the starting position of the first occurrence of the specified
168
+ * target list within the specified source list, or -1 if there is no such occurrence.
169
+ * @param aSource the list in which to search for the first occurrence of <tt>target</tt>.
170
+ * @param aTarget the list to search for as a subList of <tt>aSource</tt>.
171
+ * @return the starting position of the first occurrence of the specified target list within the specified source list, or -1 if there is no such occurrence.
172
+ */
173
+ export function indexOfSubList(aSource: unknown[], aTarget: unknown[]): number;
174
+
175
+ /**
176
+ * Returns the starting position of the last occurrence of the specified
177
+ * target list within the specified source list, or -1 if there is no such occurrence.
178
+ * @param aSource the list in which to search for the last occurrence of <tt>target</tt>.
179
+ * @param aTarget the list to search for as a subList of <tt>aSource</tt>.
180
+ * @return the starting position of the last occurrence of the specified target list within the specified source list, or -1 if there is no such occurrence.
181
+ */
182
+ export function lastIndexOfSubList(
183
+ aSource: unknown[],
184
+ aTarget: unknown[]
185
+ ): number;
186
+
187
+ /**
188
+ * Returns an unmodifiable view of the specified collection.
189
+ * @param <T> the class of the objects in the collection
190
+ * @param aCollection the collection for which an unmodifiable view is to be returned.
191
+ * @return an unmodifiable view of the specified collection.
192
+ */
193
+ export function unmodifiableCollection(aCollection: unknown): unknown;
194
+
195
+ /**
196
+ * Returns an unmodifiable view of the specified set.
197
+ * @param <T> the class of the objects in the set
198
+ * @param aSet the set for which an unmodifiable view is to be returned.
199
+ * @return an unmodifiable view of the specified set.
200
+ */
201
+ export function unmodifiableSet(aSet: Set<unknown>): Set<unknown>;
202
+
203
+ /**
204
+ * Returns an unmodifiable view of the specified sorted set.
205
+ * @param <T> the class of the objects in the set
206
+ * @param aSet the sorted set for which an unmodifiable view is to be returned.
207
+ * @return an unmodifiable view of the specified sorted set.
208
+ */
209
+ export function unmodifiableSortedSet(aSet: unknown): unknown;
210
+
211
+ /**
212
+ * Returns an unmodifiable view of the specified list.
213
+ * @param <T> the class of the objects in the list
214
+ * @param aList the list for which an unmodifiable view is to be returned.
215
+ * @return an unmodifiable view of the specified list.
216
+ */
217
+ export function unmodifiableList(aList: unknown[]): unknown[];
218
+
219
+ /**
220
+ * Returns an unmodifiable view of the specified map.
221
+ * @param <K> the class of the map keys
222
+ * @param <V> the class of the map values
223
+ * @param aMap the map for which an unmodifiable view is to be returned.
224
+ * @return an unmodifiable view of the specified map.
225
+ */
226
+ export function unmodifiableMap(
227
+ aMap: Record<unknown, unknown>
228
+ ): Record<unknown, unknown>;
229
+
230
+ /**
231
+ * Returns an unmodifiable view of the specified sorted map.
232
+ * @param <K> the class of the map keys
233
+ * @param <V> the class of the map values
234
+ * @param aMap the sorted map for which an unmodifiable view is to be returned.
235
+ * @return an unmodifiable view of the specified sorted map.
236
+ */
237
+ export function unmodifiableSortedMap(aMap: unknown): unknown;
238
+
239
+ /**
240
+ * Returns a synchronized (thread-safe) collection backed by the specified collection.
241
+ * @param <T> the class of the objects in the collection
242
+ * @param aCollection the collection to be "wrapped" in a synchronized collection.
243
+ * @return a synchronized view of the specified collection.
244
+ */
245
+ export function synchronizedCollection(aCollection: unknown): unknown;
246
+
247
+ /**
248
+ * Returns a synchronized (thread-safe) set backed by the specified set.
249
+ * @param <T> the class of the objects in the set
250
+ * @param aSet the set to be "wrapped" in a synchronized set.
251
+ * @return a synchronized view of the specified set.
252
+ */
253
+ export function synchronizedSet(aSet: Set<unknown>): Set<unknown>;
254
+
255
+ /**
256
+ * Returns a synchronized (thread-safe) sorted set backed by the specified sorted set.
257
+ * @param <T> the class of the objects in the set
258
+ * @param aSet the sorted set to be "wrapped" in a synchronized sorted set.
259
+ * @return a synchronized view of the specified sorted set.
260
+ */
261
+ export function synchronizedSortedSet(aSet: unknown): unknown;
262
+
263
+ /**
264
+ * Returns a synchronized (thread-safe) list backed by the specified list.
265
+ * @param <T> the class of the objects in the list
266
+ * @param aList the list to be "wrapped" in a synchronized list.
267
+ * @return a synchronized view of the specified list.
268
+ */
269
+ export function synchronizedList(aList: unknown[]): unknown[];
270
+
271
+ /**
272
+ * Returns a synchronized (thread-safe) map backed by the specified map.
273
+ * @param <K> the class of the map keys
274
+ * @param <V> the class of the map values
275
+ * @param aMap the map to be "wrapped" in a synchronized map.
276
+ * @return a synchronized view of the specified map.
277
+ */
278
+ export function synchronizedMap(
279
+ aMap: Record<unknown, unknown>
280
+ ): Record<unknown, unknown>;
281
+
282
+ /**
283
+ * Returns a synchronized (thread-safe) sorted map backed by the specified sorted map.
284
+ * @param <K> the class of the map keys
285
+ * @param <V> the class of the map values
286
+ * @param aMap the sorted map to be "wrapped" in a synchronized sorted map.
287
+ * @return a synchronized view of the specified sorted map.
288
+ */
289
+ export function synchronizedSortedMap(aMap: unknown): unknown;
290
+
291
+ /**
292
+ * Returns a dynamically typesafe view of the specified collection.
293
+ * @param <E> the class of the objects in the collection
294
+ * @param aCollection the collection for which a dynamically typesafe view is to be returned
295
+ * @param aType the type of element that <tt>aCollection</tt> is permitted to hold
296
+ * @return a dynamically typesafe view of the specified collection
297
+ */
298
+ export function checkedCollection(
299
+ aCollection: unknown,
300
+ aType: unknown
301
+ ): unknown;
302
+
303
+ /**
304
+ * Returns a dynamically typesafe view of the specified set.
305
+ * @param <E> the class of the objects in the set
306
+ * @param aSet the set for which a dynamically typesafe view is to be returned
307
+ * @param aType the type of element that <tt>aSet</tt> is permitted to hold
308
+ * @return a dynamically typesafe view of the specified set
309
+ */
310
+ export function checkedSet(aSet: Set<unknown>, aType: unknown): Set<unknown>;
311
+
312
+ /**
313
+ * Returns a dynamically typesafe view of the specified sorted set.
314
+ * @param <E> the class of the objects in the set
315
+ * @param aSet the sorted set for which a dynamically typesafe view is to be returned
316
+ * @param aType the type of element that <tt>aSet</tt> is permitted to hold
317
+ * @return a dynamically typesafe view of the specified sorted set
318
+ */
319
+ export function checkedSortedSet(aSet: unknown, aType: unknown): unknown;
320
+
321
+ /**
322
+ * Returns a dynamically typesafe view of the specified list.
323
+ * @param <E> the class of the objects in the list
324
+ * @param aList the list for which a dynamically typesafe view is to be returned
325
+ * @param aType the type of element that <tt>aList</tt> is permitted to hold
326
+ * @return a dynamically typesafe view of the specified list
327
+ */
328
+ export function checkedList(aList: unknown[], aType: unknown): unknown[];
329
+
330
+ /**
331
+ * Returns a dynamically typesafe view of the specified map.
332
+ * @param <K> the class of the map keys
333
+ * @param <V> the class of the map values
334
+ * @param aMap the map for which a dynamically typesafe view is to be returned
335
+ * @param aKeyType the type of key that <tt>aMap</tt> is permitted to hold
336
+ * @param aValueType the type of value that <tt>aMap</tt> is permitted to hold
337
+ * @return a dynamically typesafe view of the specified map
338
+ */
339
+ export function checkedMap(
340
+ aMap: Record<unknown, unknown>,
341
+ aKeyType: unknown,
342
+ aValueType: unknown
343
+ ): Record<unknown, unknown>;
344
+
345
+ /**
346
+ * Returns a dynamically typesafe view of the specified sorted map.
347
+ * @param <K> the class of the map keys
348
+ * @param <V> the class of the map values
349
+ * @param aMap the map for which a dynamically typesafe view is to be returned
350
+ * @param aKeyType the type of key that <tt>aMap</tt> is permitted to hold
351
+ * @param aValueType the type of value that <tt>aMap</tt> is permitted to hold
352
+ * @return a dynamically typesafe view of the specified map
353
+ */
354
+ export function checkedSortedMap(
355
+ aMap: unknown,
356
+ aKeyType: unknown,
357
+ aValueType: unknown
358
+ ): unknown;
359
+
360
+ /**
361
+ * Returns the empty set (immutable).
362
+ * @param <T> the class of the objects in the set
363
+ * @return the empty set
364
+ */
365
+ export function emptySet(): Set<unknown>;
366
+
367
+ /**
368
+ * Returns the empty list (immutable).
369
+ * @param <T> the class of the objects in the list
370
+ * @return the empty list
371
+ */
372
+ export function emptyList(): unknown[];
373
+
374
+ /**
375
+ * Returns the empty map (immutable).
376
+ * @param <K> the class of the map keys
377
+ * @param <V> the class of the map values
378
+ * @return the empty map
379
+ */
380
+ export function emptyMap(): Record<unknown, unknown>;
381
+
382
+ /**
383
+ * Returns an immutable set containing only the specified object.
384
+ * @param <T> the class of the objects in the set
385
+ * @param aValue the sole object to be stored in the returned set.
386
+ * @return an immutable set containing only the specified object.
387
+ */
388
+ export function singleton(aValue: unknown): Set<unknown>;
389
+
390
+ /**
391
+ * Returns an immutable list containing only the specified object.
392
+ * @param <T> the class of the objects in the list
393
+ * @param aValue the sole object to be stored in the returned list.
394
+ * @return an immutable list containing only the specified object.
395
+ */
396
+ export function singletonList(aValue: unknown): unknown[];
397
+
398
+ /**
399
+ * Returns an immutable map, mapping only the specified key to the specified value.
400
+ * @param <K> the class of the map keys
401
+ * @param <V> the class of the map values
402
+ * @param key the sole key to be stored in the returned map.
403
+ * @param aValue the value to which the returned map maps <tt>key</tt>.
404
+ * @return an immutable map containing only the specified key-value mapping.
405
+ */
406
+ export function singletonMap(
407
+ key: unknown,
408
+ aValue: unknown
409
+ ): Record<unknown, unknown>;
410
+
411
+ /**
412
+ * Returns an immutable list consisting of <tt>n</tt> copies of the specified object.
413
+ * @param <T> the class of the objects in the list
414
+ * @param aCount the number of elements in the returned list.
415
+ * @param aValue the element to appear repeatedly in the returned list.
416
+ * @return an immutable list consisting of <tt>aCount</tt> copies of the specified object.
417
+ * @throws IllegalArgumentException if <tt>aCount &lt; 0</tt>.
418
+ */
419
+ export function nCopies(aCount: number, aValue: unknown): unknown[];
420
+
421
+ /**
422
+ * Returns a comparator that imposes the reverse of the <i>natural ordering</i> on a collection of objects that implement
423
+ * the <tt>Comparable</tt> interface.
424
+ * @param <T> the class of the objects compared by the comparator
425
+ * @return a comparator that imposes the reverse of the <i>natural ordering</i> on a collection of objects that implement the <tt>Comparable</tt> interface.
426
+ */
427
+ export function reverseOrder(): unknown;
428
+
429
+ /**
430
+ * Returns a comparator that imposes the reverse ordering of the specified comparator.
431
+ * @param <T> the class of the objects compared by the comparator
432
+ * @param aComparator the Comparator
433
+ * @return a comparator that imposes the reverse ordering of the specified comparator.
434
+ */
435
+ export function reverseOrder(aComparator: unknown): unknown;
436
+
437
+ /**
438
+ * Returns an enumeration over the specified collection.
439
+ * @param <T> the class of the objects in the collection
440
+ * @param aCollection the collection for which an enumeration is to be returned.
441
+ * @return an enumeration over the specified collection.
442
+ */
443
+ export function enumeration(aCollection: unknown): unknown;
444
+
445
+ /**
446
+ * Returns an array list containing the elements returned by the specified enumeration in the order they are returned by the enumeration.
447
+ * @param <T> the class of the objects in the enumeration
448
+ * @param anEnumeration enumeration providing elements for the returned array list
449
+ * @return an array list containing the elements returned by the specified enumeration.
450
+ */
451
+ export function list(anEnumeration: unknown): unknown;
452
+
453
+ /**
454
+ * Returns the number of elements in the specified collection equal to the specified object.
455
+ * @param aCollection the collection in which to determine the frequency of <tt>aValue</tt>
456
+ * @param aValue the object whose frequency is to be determined
457
+ * @return the number of elements in {@code aCollection} equal to {@code aValue}
458
+ * @throws NullPointerException if <tt>aCollection</tt> is null
459
+ */
460
+ export function frequency(aCollection: unknown, aValue: unknown): number;
461
+
462
+ /**
463
+ * Returns <tt>true</tt> if the two specified collections have no elements in common.
464
+ * @param aCollection a collection
465
+ * @param anAnotherCollection a collection
466
+ * @return {@code true} if the two specified collections have no elements in common.
467
+ * @throws NullPointerException if either collection is null
468
+ */
469
+ export function disjoint(
470
+ aCollection: unknown,
471
+ anAnotherCollection: unknown
472
+ ): boolean;
473
+
474
+ /**
475
+ * Adds all of the specified elements to the specified collection.
476
+ * @param <T> the class of the elements to add and of the collection
477
+ * @param aCollection the collection into which <tt>elements</tt> are to be inserted
478
+ * @param aValues the elements to insert into <tt>aCollection</tt>
479
+ * @return <tt>true</tt> if the collection changed as a result of the call
480
+ * @throws UnsupportedOperationException if <tt>aCollection</tt> does not support the <tt>add</tt> operation
481
+ * @throws NullPointerException if <tt>aValues</tt> contains one or more null values and <tt>aCollection</tt> does not permit null elements, or if <tt>aCollection</tt> or <tt>aValues</tt> are <tt>null</tt>
482
+ * @throws IllegalArgumentException if some property of a value in <tt>aValues</tt> prevents it from being added to <tt>aCollection</tt>
483
+ */
484
+ export function addAll(aCollection: unknown, aValues: unknown): boolean;
485
+
486
+ /**
487
+ * Returns a set backed by the specified map.
488
+ * @param <E> the class of the map keys and of the objects in the returned set
489
+ * @param aMap the backing map
490
+ * @return the set backed by the map
491
+ * @throws IllegalArgumentException if <tt>aMap</tt> is not empty
492
+ */
493
+ export function newSetFromMap(aMap: Record<unknown, unknown>): Set<unknown>;
494
+
495
+ /**
496
+ * Returns a view of a <code>Deque</code> as a Last-in-first-out (Lifo) <code>Queue</code>.
497
+ * @param <T> the class of the objects in the deque
498
+ * @param aDeque the deque
499
+ * @return the queue
500
+ */
501
+ export function asLifoQueue(aDeque: unknown): unknown;
502
+
503
+ /**
504
+ * Returns an iterator that has no elements.
505
+ * @param <T> type of elements, if there were any, in the iterator
506
+ * @return an empty iterator
507
+ * @since Sitevision 4.0
508
+ * @since Java 1.7
509
+ */
510
+ export function emptyIterator(): unknown;
511
+
512
+ /**
513
+ * Returns a list iterator that has no elements.
514
+ * @param <T> type of elements, if there were any, in the iterator
515
+ * @return an empty list iterator
516
+ * @since Sitevision 4.0
517
+ * @since Java 1.7
518
+ */
519
+ export function emptyListIterator(): unknown[];
520
+
521
+ /**
522
+ * Returns an enumeration that has no elements.
523
+ * @param <T> the class of the objects in the enumeration
524
+ * @return an empty enumeration
525
+ * @since Sitevision 4.0
526
+ * @since Java 1.7
527
+ */
528
+ export function emptyEnumeration(): unknown;
529
+
530
+ /**
531
+ * Returns an unmodifiable view of the specified navigable set.
532
+ * @param <T> the class of the objects in the set
533
+ * @param s the navigable set for which an unmodifiable view is to be returned
534
+ * @return an unmodifiable view of the specified navigable set
535
+ * @since Sitevision 4.0
536
+ * @since Java 1.8
537
+ */
538
+ export function unmodifiableNavigableSet(s: unknown): unknown;
539
+
540
+ /**
541
+ * Returns an unmodifiable view of the specified navigable map.
542
+ * @param <K> the class of the map keys
543
+ * @param <V> the class of the map values
544
+ * @param m the navigable map for which an unmodifiable view is to be returned
545
+ * @return an unmodifiable view of the specified navigable map
546
+ * @since Sitevision 4.0
547
+ * @since Java 1.8
548
+ */
549
+ export function unmodifiableNavigableMap(m: unknown): unknown;
550
+
551
+ /**
552
+ * Returns a synchronized (thread-safe) navigable set backed by the
553
+ * specified navigable set.
554
+ * @param <T> the class of the objects in the set
555
+ * @param s the navigable set to be "wrapped" in a synchronized navigableset
556
+ * @return a synchronized view of the specified navigable set
557
+ * @since Sitevision 4.0
558
+ * @since Java 1.8
559
+ */
560
+ export function synchronizedNavigableSet(s: unknown): unknown;
561
+
562
+ /**
563
+ * Returns a synchronized (thread-safe) navigable map backed by the
564
+ * specified navigable map.
565
+ * @param <K> the class of the map keys
566
+ * @param <V> the class of the map values
567
+ * @param m the navigable map to be "wrapped" in a synchronized navigable map
568
+ * @return a synchronized view of the specified navigable map.
569
+ * @since Sitevision 4.0
570
+ * @since Java 1.8
571
+ */
572
+ export function synchronizedNavigableMap(m: unknown): unknown;
573
+
574
+ /**
575
+ * Returns a dynamically typesafe view of the specified queue.
576
+ * @param <E> the class of the objects in the queue
577
+ * @param queue the queue for which a dynamically typesafe view is to be returned
578
+ * @param type the type of element that {@code queue} is permitted to hold
579
+ * @return a dynamically typesafe view of the specified queue
580
+ * @since Sitevision 4.0
581
+ * @since Java 1.8
582
+ */
583
+ export function checkedQueue(queue: unknown, type: unknown): unknown;
584
+
585
+ /**
586
+ * Returns a dynamically typesafe view of the specified navigable set.
587
+ * @param <E> the class of the objects in the set
588
+ * @param s the navigable set for which a dynamically typesafe view is to be returned
589
+ * @param type the type of element that {@code s} is permitted to hold
590
+ * @return a dynamically typesafe view of the specified navigable set
591
+ * @since Sitevision 4.0
592
+ * @since Java 1.8
593
+ */
594
+ export function checkedNavigableSet(s: unknown, type: unknown): unknown;
595
+
596
+ /**
597
+ * Returns a dynamically typesafe view of the specified navigable map.
598
+ * @param <K> type of map keys
599
+ * @param <V> type of map values
600
+ * @param m the map for which a dynamically typesafe view is to be returned
601
+ * @param keyType the type of key that {@code m} is permitted to hold
602
+ * @param valueType the type of value that {@code m} is permitted to hold
603
+ * @return a dynamically typesafe view of the specified map
604
+ * @since Sitevision 4.0
605
+ * @since Java 1.8
606
+ */
607
+ export function checkedNavigableMap(
608
+ m: unknown,
609
+ keyType: unknown,
610
+ valueType: unknown
611
+ ): unknown;
612
+
613
+ /**
614
+ * Returns an empty sorted set (immutable).
615
+ * @param <E> type of elements, if there were any, in the set
616
+ * @return the empty sorted set
617
+ * @since Sitevision 4.0
618
+ * @since Java 1.8
619
+ */
620
+ export function emptySortedSet(): unknown;
621
+
622
+ /**
623
+ * Returns an empty navigable set (immutable).
624
+ * @param <E> type of elements, if there were any, in the set
625
+ * @return the empty navigable set
626
+ * @since Sitevision 4.0
627
+ * @since Java 1.8
628
+ */
629
+ export function emptyNavigableSet(): unknown;
630
+
631
+ /**
632
+ * Returns an empty sorted map (immutable).
633
+ * @param <K> the class of the map keys
634
+ * @param <V> the class of the map values
635
+ * @return an empty sorted map
636
+ * @since Sitevision 4.0
637
+ * @since Java 1.8
638
+ */
639
+ export function emptySortedMap(): unknown;
640
+
641
+ /**
642
+ * Returns an empty navigable map (immutable).
643
+ * @param <K> the class of the map keys
644
+ * @param <V> the class of the map values
645
+ * @return an empty navigable map
646
+ * @since Sitevision 4.0
647
+ * @since Java 1.8
648
+ */
649
+ export function emptyNavigableMap(): unknown;
650
+
651
+ /**
652
+ * Instance wrapper for the <code>java.util.Collections</code> class that delegates all method calls to
653
+ * the corresponding <code>Collections</code> method.
654
+ *
655
+ * <p>
656
+ * <em>Note! Method documentations in this interface are only excerpts. For full documentation, see official java.util.Collections Javadoc</em>
657
+ * </p>
658
+ *
659
+ * <p>
660
+ * An instance of the Sitevision class implementing this interface can be obtained via {@link InstanceCreatorUtil#getCollectionsInstance()}.
661
+ * See {@link InstanceCreatorUtil} for how to obtain an instance of the <code>InstanceCreatorUtil</code> interface.
662
+ * </p>Sorts the specified list into ascending order, according to the <i>natural ordering</i> of its elements.Sorts the specified list according to the order induced by the specified comparator.Searches the specified list for the specified object using the binary search algorithm.Searches the specified list for the specified object using the binary search algorithm.Reverses the order of the elements in the specified list.Randomly permutes the specified list using a default source of randomness.Randomly permute the specified list using the specified source of randomness.Swaps the elements at the specified positions in the specified list.Replaces all of the elements of the specified list with the specified element.Copies all of the elements from one list into another.Returns the minimum element of the given collection, according to the <i>natural ordering</i> of its elements.Returns the minimum element of the given collection, according to the order induced by the specified comparator.Returns the maximum element of the given collection, according to the
663
+ * <i>natural ordering</i> of its elements.Returns the maximum element of the given collection, according to the
664
+ * order induced by the specified comparator.Rotates the elements in the specified list by the specified distance.Replaces all occurrences of one specified value in a list with another.Returns the starting position of the first occurrence of the specified
665
+ * target list within the specified source list, or -1 if there is no such occurrence.Returns the starting position of the last occurrence of the specified
666
+ * target list within the specified source list, or -1 if there is no such occurrence.Returns an unmodifiable view of the specified collection.Returns an unmodifiable view of the specified set.Returns an unmodifiable view of the specified sorted set.Returns an unmodifiable view of the specified list.Returns an unmodifiable view of the specified map.Returns an unmodifiable view of the specified sorted map.Returns a synchronized (thread-safe) collection backed by the specified collection.Returns a synchronized (thread-safe) set backed by the specified set.Returns a synchronized (thread-safe) sorted set backed by the specified sorted set.Returns a synchronized (thread-safe) list backed by the specified list.Returns a synchronized (thread-safe) map backed by the specified map.Returns a synchronized (thread-safe) sorted map backed by the specified sorted map.Returns a dynamically typesafe view of the specified collection.Returns a dynamically typesafe view of the specified set.Returns a dynamically typesafe view of the specified sorted set.Returns a dynamically typesafe view of the specified list.Returns a dynamically typesafe view of the specified map.Returns a dynamically typesafe view of the specified sorted map.Returns the empty set (immutable).Returns the empty list (immutable).Returns the empty map (immutable).Returns an immutable set containing only the specified object.Returns an immutable list containing only the specified object.Returns an immutable map, mapping only the specified key to the specified value.Returns an immutable list consisting of <tt>n</tt> copies of the specified object.Returns a comparator that imposes the reverse of the <i>natural ordering</i> on a collection of objects that implement
667
+ * the <tt>Comparable</tt> interface.Returns a comparator that imposes the reverse ordering of the specified comparator.Returns an enumeration over the specified collection.Returns an array list containing the elements returned by the specified enumeration in the order they are returned by the enumeration.Returns the number of elements in the specified collection equal to the specified object.Returns <tt>true</tt> if the two specified collections have no elements in common.Adds all of the specified elements to the specified collection.Returns a set backed by the specified map.Returns a view of a <code>Deque</code> as a Last-in-first-out (Lifo) <code>Queue</code>.Returns an iterator that has no elements.Returns a list iterator that has no elements.Returns an enumeration that has no elements.Returns an unmodifiable view of the specified navigable set.Returns an unmodifiable view of the specified navigable map.Returns a synchronized (thread-safe) navigable set backed by the
668
+ * specified navigable set.Returns a synchronized (thread-safe) navigable map backed by the
669
+ * specified navigable map.Returns a dynamically typesafe view of the specified queue.Returns a dynamically typesafe view of the specified navigable set.Returns a dynamically typesafe view of the specified navigable map.Returns an empty sorted set (immutable).Returns an empty navigable set (immutable).Returns an empty sorted map (immutable).Returns an empty navigable map (immutable).The empty set (immutable).The empty list (immutable).The empty map (immutable).
670
+ * @author Magnus Lövgren
671
+ * @since Sitevision 3.1
672
+ */
673
+ declare namespace CollectionsInstance {
674
+ export {
675
+ sort,
676
+ binarySearch,
677
+ reverse,
678
+ shuffle,
679
+ swap,
680
+ fill,
681
+ copy,
682
+ min,
683
+ max,
684
+ rotate,
685
+ replaceAll,
686
+ indexOfSubList,
687
+ lastIndexOfSubList,
688
+ unmodifiableCollection,
689
+ unmodifiableSet,
690
+ unmodifiableSortedSet,
691
+ unmodifiableList,
692
+ unmodifiableMap,
693
+ unmodifiableSortedMap,
694
+ synchronizedCollection,
695
+ synchronizedSet,
696
+ synchronizedSortedSet,
697
+ synchronizedList,
698
+ synchronizedMap,
699
+ synchronizedSortedMap,
700
+ checkedCollection,
701
+ checkedSet,
702
+ checkedSortedSet,
703
+ checkedList,
704
+ checkedMap,
705
+ checkedSortedMap,
706
+ emptySet,
707
+ emptyList,
708
+ emptyMap,
709
+ singleton,
710
+ singletonList,
711
+ singletonMap,
712
+ nCopies,
713
+ reverseOrder,
714
+ enumeration,
715
+ list,
716
+ frequency,
717
+ disjoint,
718
+ addAll,
719
+ newSetFromMap,
720
+ asLifoQueue,
721
+ emptyIterator,
722
+ emptyListIterator,
723
+ emptyEnumeration,
724
+ unmodifiableNavigableSet,
725
+ unmodifiableNavigableMap,
726
+ synchronizedNavigableSet,
727
+ synchronizedNavigableMap,
728
+ checkedQueue,
729
+ checkedNavigableSet,
730
+ checkedNavigableMap,
731
+ emptySortedSet,
732
+ emptyNavigableSet,
733
+ emptySortedMap,
734
+ emptyNavigableMap,
735
+ };
736
+ }
737
+
738
+ export default CollectionsInstance;