Examples of Platform


Examples of org.pdf4j.saxon.Platform

                sv = (AtomicValue)argument[2].evaluateItem(c);
                flags = sv.getStringValueCS();
            }

            try {
                final Platform platform = Configuration.getPlatform();
                final int xmlVersion = c.getConfiguration().getXMLVersion();
                re = platform.compileRegularExpression(
                        pattern, xmlVersion, RegularExpression.XPATH_SYNTAX, flags);
            } catch (XPathException err) {
                XPathException de = new XPathException(err);
                de.setErrorCode("FORX0002");
                de.setXPathContext(c);
View Full Code Here

Examples of org.sfaci.jumper2dx.characters.Platform

  /**
   * Carga las plataformas móviles de la pantalla actual
   */
  public void loadPlatforms() {
   
    Platform platform = null;
   
    // Carga los objetos móviles del nivel actual
    for (MapObject object : map.getLayers().get("objects").getObjects()) {
     
      if (object instanceof RectangleMapObject) {
        RectangleMapObject rectangleObject = (RectangleMapObject) object;
        if (rectangleObject.getProperties().containsKey(TiledMapManager.MOBILE)) {
          Rectangle rect = rectangleObject.getRectangle();
         
          Direction direction = null;
          if (Boolean.valueOf((String) rectangleObject.getProperties().get("right_direction")))
            direction = Direction.RIGHT;
          else
            direction = Direction.LEFT;
         
          platform = new Platform(rect.x, rect.y, TiledMapManager.PLATFORM_WIDTH, TiledMapManager.PLATFORM_HEIGHT,
                        Integer.valueOf((String) rectangleObject.getProperties().get("offset")), direction);
          platforms.add(platform);
        }
      }
    }
View Full Code Here

Examples of org.sonar.server.platform.Platform

  private final List components = Lists.newArrayList(WsTester.class);
  private final Properties initialProps = new Properties();

  public ServerTester() {
    homeDir = createTempDir();
    platform = new Platform();

    clusterName = "cluster-" + System.currentTimeMillis();
    clusterPort = NetworkUtils.freePort();
    Properties properties = new Properties();
    properties.setProperty(ProcessConstants.CLUSTER_NAME, clusterName);
View Full Code Here

Examples of playn.core.Platform

import playn.core.StubPlatform;

public class TypedStorageTest
{
    @Test public void testSetFor () {
        Platform pf = new StubPlatform();
        TypedStorage ts = new TypedStorage(pf.storage());
        Function<String,String> id = Functions.identity();

        RSet<String> strings = ts.setFor("strings", id, id);
        assertTrue(strings.isEmpty());
        strings.add("one");
View Full Code Here

Examples of res.elements.Platform

            //b.getCurrentSpriteSet().get(0).offsety = -0.1f;
            addElement(a);
        }
        if(type=="~")
        {
            Platform a = new Platform();
            a.setStaticSprite("res/elements/elevator.png");
            a.getCurrentSpriteSet().get(0).offsety = -0.08f;
            a.setPosition(x/2,y);
            a.setBoxShape(1.5f,0.2f);

            a.centralPosition = new Vec2(x/2,y);
            //a.friction=0;
            //b.getCurrentSpriteSet().get(0).offsety = -0.1f;
            addElement(a);
View Full Code Here

Examples of uk.ac.bbsrc.tgac.miso.core.data.Platform

    return results;
  }

  public Platform getByModel(String model) {
    List eResults = template.query(PLATFORM_SELECT_BY_MODEL, new Object[]{model}, new PlatformMapper());
    Platform e = eResults.size() > 0 ? (Platform) eResults.get(0) : null;
    return e;
 
View Full Code Here
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.