<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>methods &amp;mdash;   christova  </title>
    <link>https://christova.writeas.com/tag:methods</link>
    <description>&lt;b&gt;&lt;h3&gt;Tech Articles&lt;/h3&gt;&lt;/b&gt;&lt;br/&gt;&lt;b&gt;Collated from various sources. Full copyright remains with original authors.&lt;/b&gt;</description>
    <pubDate>Wed, 06 May 2026 11:57:14 +0000</pubDate>
    <item>
      <title>Java String Methods</title>
      <link>https://christova.writeas.com/java-string-methods-s6dm?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[&#xA;&#xA;#java #string #methods #stringMethods]]&gt;</description>
      <content:encoded><![CDATA[<p><img src="https://i.snap.as/KRY3Nzog.jpg" alt=""/></p>

<p><a href="https://christova.writeas.com/tag:java" class="hashtag"><span>#</span><span class="p-category">java</span></a> <a href="https://christova.writeas.com/tag:string" class="hashtag"><span>#</span><span class="p-category">string</span></a> <a href="https://christova.writeas.com/tag:methods" class="hashtag"><span>#</span><span class="p-category">methods</span></a> <a href="https://christova.writeas.com/tag:stringMethods" class="hashtag"><span>#</span><span class="p-category">stringMethods</span></a></p>
]]></content:encoded>
      <guid>https://christova.writeas.com/java-string-methods-s6dm</guid>
      <pubDate>Mon, 16 Mar 2026 11:39:43 +0000</pubDate>
    </item>
    <item>
      <title>The 18 Most Used Java List Methods</title>
      <link>https://christova.writeas.com/the-18-most-used-java-list-methods?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[&#xA;&#xA;1. add(E element) - Adds the specified element to the end of the list.&#xA;2. addAll(Collection? extends E c) - Adds all elements of the specified collection to the end of the list.&#xA;3. remove(Object o) - Removes the first occurrence of the specified element from the list.&#xA;4. remove(int index) - Removes the element at the specified position in the list.&#xA;5. get(int index) - Returns the element at the specified position in the list.&#xA;6. set(int index, E element) - Replaces the element at the specified position in the list with the specified element.&#xA;7. indexOf(Object o) - Returns the index of the first occurrence of the specified element in the list.&#xA;8. contains(Object o) - Returns true if the list contains the specified element.&#xA;9. size() - Returns the number of elements in the list.&#xA;10. isEmpty() - Returns true if the list contains no elements.&#xA;11. clear() - Removes all elements from the list.&#xA;12. toArray() - Returns an array containing all the elements in the list.&#xA;13. subList(int fromIndex, int toIndex) - Returns a view of the portion of the list between the specified fromIndex, inclusive, and toIndex, exclusive.&#xA;14. addAll(int index, Collection? extends E c) - Inserts all elements of the specified collection into the list, starting at the specified position.&#xA;15. iterator() - Returns an iterator over the elements in the list.&#xA;16. sort(Comparator? super E c) - Sorts the elements of the list according to the specified comparator.&#xA;17. replaceAll(UnaryOperatorE operator) - Replaces each element of the list with the result of applying the given operator.&#xA;18. forEach(Consumer? super E action) - Performs the given action for each element of the list until all elements have been processed or the action throws an exception.&#xA;&#xA;#java #list #methods]]&gt;</description>
      <content:encoded><![CDATA[<p><img src="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8fa5fb06-4085-4236-9230-d81be58fac5a_1120x1360.gif" alt=""/></p>
<ul><li>1. add(E element) – Adds the specified element to the end of the list.</li>
<li>2. addAll(Collection&lt;? extends E&gt; c) – Adds all elements of the specified collection to the end of the list.</li>
<li>3. remove(Object o) – Removes the first occurrence of the specified element from the list.</li>
<li>4. remove(int index) – Removes the element at the specified position in the list.</li>
<li>5. get(int index) – Returns the element at the specified position in the list.</li>
<li>6. set(int index, E element) – Replaces the element at the specified position in the list with the specified element.</li>
<li>7. indexOf(Object o) – Returns the index of the first occurrence of the specified element in the list.</li>
<li>8. contains(Object o) – Returns true if the list contains the specified element.</li>
<li>9. size() – Returns the number of elements in the list.</li>
<li>10. isEmpty() – Returns true if the list contains no elements.</li>
<li>11. clear() – Removes all elements from the list.</li>
<li>12. toArray() – Returns an array containing all the elements in the list.</li>
<li>13. subList(int fromIndex, int toIndex) – Returns a view of the portion of the list between the specified fromIndex, inclusive, and toIndex, exclusive.</li>
<li>14. addAll(int index, Collection&lt;? extends E&gt; c) – Inserts all elements of the specified collection into the list, starting at the specified position.</li>
<li>15. iterator() – Returns an iterator over the elements in the list.</li>
<li>16. sort(Comparator&lt;? super E&gt; c) – Sorts the elements of the list according to the specified comparator.</li>
<li>17. replaceAll(UnaryOperator operator) – Replaces each element of the list with the result of applying the given operator.</li>
<li>18. forEach(Consumer&lt;? super E&gt; action) – Performs the given action for each element of the list until all elements have been processed or the action throws an exception.</li></ul>

<p><a href="https://christova.writeas.com/tag:java" class="hashtag"><span>#</span><span class="p-category">java</span></a> <a href="https://christova.writeas.com/tag:list" class="hashtag"><span>#</span><span class="p-category">list</span></a> <a href="https://christova.writeas.com/tag:methods" class="hashtag"><span>#</span><span class="p-category">methods</span></a></p>
]]></content:encoded>
      <guid>https://christova.writeas.com/the-18-most-used-java-list-methods</guid>
      <pubDate>Fri, 30 Aug 2024 20:11:52 +0000</pubDate>
    </item>
  </channel>
</rss>