title: How do I define what an operator does for a class in Java
body: <p>I've created a Vector class and want to add be able to add the Vector's X and Y by just doing </p>
  
  <pre><code>Vector a + Vector b
  </code></pre>
  
  <p>Is it possible to do this in Java?</p>