Examples of transform()


Examples of org.gradle.api.internal.file.BasicFileResolver.transform()

            startParameter.setProjectDir(layout.getProjectDir());
        }
        startParameter.setSearchUpwards(layout.getSearchUpwards());

        if (options.hasOption(BUILD_FILE)) {
            startParameter.setBuildFile(resolver.transform(options.option(BUILD_FILE).getValue()));
        }
        if (options.hasOption(SETTINGS_FILE)) {
            startParameter.setSettingsFile(resolver.transform(options.option(SETTINGS_FILE).getValue()));
        }

Examples of org.gwtopenmaps.openlayers.client.Bounds.transform()

        map.addMapMoveEndListener(new MapMoveEndListener() {

          @Override
          public void onMapMoveEnd(MapMoveEndEvent eventObject) {
            Bounds extent = map.getExtent();
            extent.transform(DEFAULT_PROJECTION, new Projection("EPSG:900913"));

            // set up autocomplete search box for this place
            AutocompleteType[] types = new AutocompleteType[2];
            types[0] = AutocompleteType.ESTABLISHMENT;
            types[1] = AutocompleteType.GEOCODE;

Examples of org.gwtopenmaps.openlayers.client.LonLat.transform()

        return markerLayer;
    }

    public LonLat createLonLat(double longitude, double latitude) {
        LonLat lonLat = new LonLat(longitude, latitude);
        lonLat.transform(new Projection("EPSG:4326").getProjectionCode(), map.getProjection());
        return lonLat;
    }

    public Point createPoint(double x, double y) {
        Point point = new Point(x, y);

Examples of org.gwtopenmaps.openlayers.client.geometry.Point.transform()

        return lonLat;
    }

    public Point createPoint(double x, double y) {
        Point point = new Point(x, y);
        point.transform(new Projection("EPSG:4326"), new Projection(map.getProjection()));
        return point;
    }

    private void initMapLayers(Map map) {
        map.addLayer(OSM.Mapnik("OpenStreetMap"));

Examples of org.hibernate.bytecode.ClassTransformer.transform()

      logger.verbose( "skipping file : " + file.toURL() );
      return;
    }

    logger.info( "processing class [" + descriptor.getName() + "]; file = " + file.toURL() );
    byte[] transformedBytes = transformer.transform(
        getClass().getClassLoader(),
        descriptor.getName(),
        null,
        null,
        descriptor.getBytes()

Examples of org.hibernate.bytecode.spi.ClassTransformer.transform()

      logger.debug( "no trasformer for class file : " + file.getAbsolutePath() );
      return;
    }

    logger.info( "processing class : " + descriptor.getName() + ";  file = " + file.getAbsolutePath() );
    final byte[] transformedBytes = transformer.transform(
        getClass().getClassLoader(),
        descriptor.getName(),
        null,
        null,
        descriptor.getBytes()

Examples of org.hibernate.ejb.instrument.InterceptFieldClassFileTransformer.transform()

      throw new ClassNotFoundException( name + " not found", e );
    }
    InterceptFieldClassFileTransformer t = new InterceptFieldClassFileTransformer( entities );
    byte[] transformed = new byte[0];
    try {
      transformed = t.transform(
          getParent(),
          name,
          null,
          null,
          originalClass

Examples of org.infoglue.cms.util.graphics.ThumbnailGenerator.transform()

      logger.info("The file allready exists so we don't need to dump it again..");
      return outputFile;
    }
   
    ThumbnailGenerator tg = ThumbnailGenerator.getInstance();
    tg.transform(filePath + File.separator + fileName, filePath + File.separator + thumbnailFile, width, height, 100);
   
    logger.info("Time for dumping file " + fileName + ":" + (System.currentTimeMillis() - timer));
   
    return outputFile;
  }

Examples of org.jamesii.gui.visualization.chart.axes.IAxis.transform()

      referenceAxis.setMinimum(min);
      referenceAxis.setMaximum(max);

      for (int j = 0; j < 1000; j++) {
        double v = Math.random() * (max - min) + min;
        assertEquals(referenceAxis.transform(v), axis.transform(v), 0.00000001);
      }
    }

    for (int i = 0; i < 100; i++) {
      double min = Math.random() * 100000 - 50000;

Examples of org.jamesii.gui.visualization.chart.axes.MidLogarithmicAxis.transform()

      referenceAxis.setMinimum(min);
      referenceAxis.setMaximum(max);

      for (int j = 0; j < 1000; j++) {
        double v = Math.random() * (max - min) + min;
        assertEquals(referenceAxis.transform(v), axis.transform(v), 0.00000001);
      }
    }

    for (int i = 0; i < 100; i++) {
      double min = Math.random() * 100000 - 50000;
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.