This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2008 Sun Microsystems, Inc. All rights reserved. | |
* Use is subject to license terms. | |
*/ | |
#ifndef _SYS_ISA_DEFS_H | |
#define _SYS_ISA_DEFS_H | |
/* | |
* This header file serves to group a set of well known defines and to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import info.collide.sqlspaces.client.TupleSpace | |
import info.collide.sqlspaces.commons._ | |
object ScalaDom { | |
import scala.xml._ | |
import org.w3c.dom.{Document => JDocument, Node => JNode} | |
import javax.xml.parsers.DocumentBuilderFactory | |
def dom(n: Node): JDocument = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package calculator; | |
public class CalculatorController { | |
private enum Operation { | |
NOP, ADDITION, SUBSTRACTION, MULTIPLICATION, DIVISION | |
} | |
private static final String INIT_DISPLAY_VALUE = "0."; |
NewerOlder