~ubuntu-branches/ubuntu/vivid/electric/vivid

« back to all changes in this revision

Viewing changes to com/sun/electric/database/geometry/PolySweepMerge.java

  • Committer: Package Import Robot
  • Author(s): Markus Koschany
  • Date: 2014-07-08 21:54:23 UTC
  • mfrom: (1.1.6) (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20140708215423-4zrgsca1e28tzcoc
Tags: 9.05+dfsg-1
* Imported Upstream version 9.05+dfsg.
* Add signing-key.pgp and check for valid upstream tarballs with uscan's
  pgpsigurlmangle feature.
* Move the package to Git.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
package com.sun.electric.database.geometry;
24
24
 
25
25
import com.sun.electric.technology.Layer;
 
26
import com.sun.electric.util.JavaCompatiblity;
26
27
import com.sun.electric.util.math.DBMath;
27
28
import com.sun.electric.util.math.FixpTransform;
28
29
 
35
36
import java.util.Collection;
36
37
import java.util.Collections;
37
38
import java.util.HashSet;
 
39
import java.util.LinkedHashSet;
38
40
import java.util.List;
39
41
import java.util.Map;
40
42
import java.util.Set;
473
475
    private static Set<Point2D> getPoints(Area area)
474
476
    {
475
477
        double [] coords = new double[6];
476
 
        Set<Point2D> pointSet = new HashSet<Point2D>();
 
478
        Set<Point2D> pointSet = JavaCompatiblity.JAVA8 ? new LinkedHashSet<Point2D>() : new HashSet<Point2D>();
477
479
 
478
480
        for(PathIterator pIt = area.getPathIterator(null); !pIt.isDone(); )
479
481
        {