title: What Does The Colon Mean In Java?
body: <p>What does the colon mean in Java?  I have this:</p>
  
  <pre><code>public static List&lt;String&gt; findAllAnagrams(List&lt;String&gt; words) {
      List&lt;String&gt; result = new LinkedList&lt;String&gt;();
      for(String i : words){
          for (String j : words){
              if (result.contains(i)) {
                  break;
              }
              else if (i == j) {
  
              } else {
                  if (areAnagrams(i,j)){
                      result.add(i);
                      System.out.println(result);
                  }
              }
          }
      }          
      return result;
  }
  </code></pre>