Split S2Edge and UndirectedEdge up to make equals() method correct.
Before this CL it was possible to have instances of S2Edge such that:

a.equals(b) ==/==> b.equals(a)
b.equals(a) && b.equals(c) ==/==> a.equals(c)

Undirected edges are just fundamentally a different type to an S2Edge
and should be treated as such. Additionally they are only used privately
in one place and never using polymorphic behaviour.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=25140523
2 files changed
tree: 562d8745c391646a3ae46a3a541975262a32ea63
  1. lib/
  2. src/
  3. tests/
  4. .classpath
  5. .gitignore
  6. .project
  7. build.xml
  8. LICENSE