Examples of Base


Examples of com.cburch.logisim.std.base.Base

public class Builtin extends Library {
  private List<Library> libraries = null;

  public Builtin() {
    libraries = Arrays.asList(new Library[] {
      new Base(),
      new Gates(),
      new Wiring(),
      new Plexers(),
      new Arithmetic(),
      new Memory(),
View Full Code Here

Examples of com.cburch.logisim.std.base.Base

  }
 
  private void selectSelectTool(Project proj) {
    for (Library sub : proj.getLogisimFile().getLibraries()) {
      if (sub instanceof Base) {
        Base base = (Base) sub;
        Tool tool = base.getTool("Edit Tool");
        if (tool != null) proj.setTool(tool);
      }
    }
  }
View Full Code Here

Examples of com.softwarementors.extjs.djn.test.ServerMethodReturnTest.Base

  }

 
  @DirectMethod
  public Base test_fieldInDerivedClassFieldExclusion() {
    Base result = new Derived("b", 33);
    JsonDeserializationManager mgr = JsonDeserializationManager.getManager();
    mgr.excludeFieldPaths("v2");
   
    return result;
  }
View Full Code Here

Examples of de.innovationgate.wgpublisher.webtml.Base

   * @param id The ID of the WebTML tag.
   */
  public TMLContext getContextFromTag(String id) {
   
    java.util.Map tags = (java.util.Map) _pageContext.getRequest().getAttribute("TagIds"); // Get a map of tags, keyed by their tag ids
    Base tag = (Base) tags.get(id); // Fetch the tag with id "fetchMe"
    return tag.getTMLContext(); // Get the TMLContext-Object
   
  }
View Full Code Here

Examples of de.mhus.framework.mod.Base

     */
    public ModTest( String testName )
    {
        super( testName );
       
        base = new Base();
       
    }
View Full Code Here

Examples of de.mhus.framework.mod.Base

public class BundleTest extends TestCase {

 
  public void testBundle() throws Exception {
    Base base = new Base();
   
    ModManager bundleManager = new ModManager(base);
    ModManager modManager = new ModManager(base);
   
    // Create Config
View Full Code Here

Examples of game.base.Base

      Vector2f position = new Vector2f(x, y);
      Player player = game.getPlayerManager().getPlayer(playerName);
     
     
      //Base base = new Base(id, might, player, position, nbAgents);
      Base base = new Base(might, player, position, nbAgents);
      base.setId(index)
      ++index;
      game.getBaseManager().addBase(base);
     
    }
  }
View Full Code Here

Examples of jscicalc.Base

    java.util.regex.Matcher m = octothorp.matcher( line );
    if( m.find() ){
        System.out.println( m.replaceAll( "" ) );
        continue;
    }
    Base b = Base.DECIMAL;
    m = hex.matcher( line );
    if( m.find() ){
        line = m.replaceAll( "" );
        b = Base.HEXADECIMAL;
    }
View Full Code Here

Examples of metodos.Base

    public void mostrar() {

        this.limpiarPantalla();
        int choosen = 0;
        Scanner in = new Scanner(this.in);
        Base base = new Base();


        if (!this.getTitulo().equals("")) {
            int ancho_titulo = this.titulo.length();
            ancho_titulo = ancho_titulo < 60 ? 60 : ancho_titulo;
            System.out.println(base.repetir("-", ancho_titulo  ));
            System.out.println("-" + base.redondear(this.titulo, ancho_titulo-2, true) + "-");
            System.out.println(base.repetir("-", ancho_titulo ));
        }
        int i = 0;
        for (i = 0; i < lista.size(); ++i) {
            MenuItem mi = lista.get(i);
            System.out.printf("[%d] %s \n", i + 1, mi.getTexto());
        }

        System.out.printf("[%d] %s \n", i + 1, "Salir");

        System.out.println();
        System.out.print("Selecciona una Opcion:");

        try {
            choosen = in.nextInt();
        } catch (Exception e1) {
        }




        if (choosen == lista.size() + 1) {

            System.out.println("");
            System.out.println(base.repetir("*", 60));
            System.out.println(base.redondear("Adios, que tengas buen dia...", 60, true));
            System.out.println(base.repetir("*", 60));


            System.exit(1);
        } else if (choosen > lista.size() || choosen < 1) {


            System.out.println("");
            System.out.println(base.repetir("*", 60));
            System.out.println(base.redondear("Opcion Invalida, Presione Enter Para ir al Menu...", 60, true));
            System.out.println(base.repetir("*", 60));
            in.nextLine();
            in.nextLine();
            this.mostrar();
        } else {

            MenuItem mi = lista.get(choosen - 1);
            MenuCallback mc = mi.getMenuCallback();

            this.limpiarPantalla();

            if (!mi.isMenu() && !mi.getTexto().equals("Regresar")) {

                System.out.println(base.repetir("-", 60));
                System.out.println(base.redondear(mi.getTexto(), 60, true));
                System.out.println(base.repetir("-", 60));

                System.out.println("");
            }
            mc.ejecutar();


            System.out.println("");

            System.out.println(base.repetir("*", 60));
            System.out.println(base.redondear("Presione ENTER para ir al menu...", 60, true));
            System.out.println(base.repetir("*", 60));

            in.nextLine();
            in.nextLine();
            this.mostrar();
        }
View Full Code Here

Examples of org.apache.abdera.model.Base

    }

    public static Entry unpublish(Entry entry) {
        if (entry == null)
            return null;
        Base base = entry.getParentElement();
        if (base == null || !(base instanceof Feed))
            return null;
        Feed feed = (Feed)base;
        Unpublished unpub = getUnpublished(feed, true);
        Entry newentry = (Entry)entry.clone();
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.