Examples of dispose()


Examples of com.badlogic.gdx.physics.box2d.CircleShape.dispose()

    final float radius = pRadius / pPixelToMeterRatio;
    circlePoly.setRadius(radius);

    circleBody.createFixture(pFixtureDef);

    circlePoly.dispose();

    return circleBody;
  }

  public static Body createLineBody(final PhysicsWorld pPhysicsWorld, final Line pLine, final FixtureDef pFixtureDef) {
View Full Code Here

Examples of com.badlogic.gdx.physics.box2d.PolygonShape.dispose()

    boxPoly.setAsBox(halfWidth, halfHeight);
    pFixtureDef.shape = boxPoly;

    boxBody.createFixture(pFixtureDef);

    boxPoly.dispose();

    boxBody.setTransform(boxBody.getWorldCenter(), MathUtils.degToRad(pRotation));

    return boxBody;
  }
View Full Code Here

Examples of com.bj58.spat.gaea.client.communication.socket.CSocket.dispose()

            } catch (Throwable ex) {
                logger.error("Server get socket Exception", ex);
                throw ex;
            }finally {
              if(socket != null){
                socket.dispose();
              }
            }
            byte[] buffer = socket.receive(p.getSessionID(), currUserCount);
            Protocol result = Protocol.fromBytes(buffer,socket.isRights(),socket.getDESKey());
            if (this.state == ServerState.Testing) {
View Full Code Here

Examples of com.ca.directory.jxplorer.tree.NewEntryWin.dispose()

                {
                    wait();
                }
                catch (Exception e)
                {
                    userData.dispose();
                }
            }
        }

        if (userData.newObjectClasses != null)    //TE: if the user has selected one or more object classes - add them to the entry in the directory.
View Full Code Here

Examples of com.cburch.logisim.gui.main.Frame.dispose()

    } else if (src == open) {
      ProjectActions.doOpen(proj == null ? null : proj.getFrame().getCanvas(), proj);
    } else if (src == close) {
      Frame frame = proj.getFrame();
      if (frame.confirmClose()) {
        frame.dispose();
        OptionsFrame f = proj.getOptionsFrame(false);
        if (f != null) f.dispose();
      }
    } else if (src == save) {
      ProjectActions.doSave(proj);
View Full Code Here

Examples of com.cburch.logisim.gui.opts.OptionsFrame.dispose()

    } else if (src == close) {
      Frame frame = proj.getFrame();
      if (frame.confirmClose()) {
        frame.dispose();
        OptionsFrame f = proj.getOptionsFrame(false);
        if (f != null) f.dispose();
      }
    } else if (src == save) {
      ProjectActions.doSave(proj);
    } else if (src == saveAs) {
      ProjectActions.doSaveAs(proj);
View Full Code Here

Examples of com.clarkparsia.modularity.IncrementalClassifier.dispose()

    modular.classify();
    assertFalse( modular.isEntailed( subClassOf( A, B ) ) );
    assertTrue( modular.isEntailed( subClassOf( B, C ) ) );
    assertTrue( modular.isEntailed( subClassOf( D, D ) ) );

    modular.dispose();
  }
 

  @Test
  public void deleteNonLocal() throws OWLException {
View Full Code Here

Examples of com.clarkparsia.owlapi.explanation.BlackBoxExplanation.dispose()

        gbe.dispose();
        reasoner.dispose();
      }
      else {
        BlackBoxExplanation bbe = (BlackBoxExplanation) expGen.getSingleExplanationGenerator();
        bbe.dispose();
        reasoner.getManager().removeOntologyChangeListener( bbe.getDefinitionTracker() );
      }
    }
  }
View Full Code Here

Examples of com.clarkparsia.owlapi.explanation.GlassBoxExplanation.dispose()

    super.after();
   
    if( expGen != null ) {
      if( useGlassBox ) {
        GlassBoxExplanation gbe = (GlassBoxExplanation) expGen.getSingleExplanationGenerator();
        gbe.dispose();
        reasoner.dispose();
      }
      else {
        BlackBoxExplanation bbe = (BlackBoxExplanation) expGen.getSingleExplanationGenerator();
        bbe.dispose();
View Full Code Here

Examples of com.clarkparsia.pellet.owlapiv3.PelletReasoner.dispose()

      for( OWLAxiom axiom : explanation ) {
        if( log.isLoggable( Level.FINER ) )
          log.finer( "Try pruning " + axiom );
       
        if( !incremental) {
          reasoner.dispose();
        }
       
        OntologyUtils.removeAxioms( debuggingOntology, axiom );
       
        if( !incremental) {
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.