title: What does << mean in Java?
body: <p>I can't find out what <code>&lt;&lt;</code> means in Java because I can't search for it on Google - I am absolutely lost!</p>
  
  <p>The code in question is:</p>
  
  <pre><code>public int getRGB() {
      return ((red &lt;&lt; 16) | (green &lt;&lt; 8) | blue);
  }
  </code></pre>
  
  <p>It's taken from: <a href="http://java.sun.com/docs/books/tutorial/essential/concurrency/example/ImmutableRGB.java" rel="noreferrer">http://java.sun.com/docs/books/tutorial/essential/concurrency/example/ImmutableRGB.java</a></p>
  
  <p>I would really appreciate someone telling me, thanks!</p>