Wednesday, September 7, 2011

Repast Simphony Projections

  • Interface Projection
    • http://repast.sourceforge.net/docs/api/repastjava/repast/simphony/space/projection/Projection.html
    • interface ContinuousSpace
      • AbstractContinuousSpace
      • ContextPhysics
      • ContextSpace
      • DefaultContinuousSpace 
      • DefaultPhysicsSpace
      • Projected3DSpace
    • interface Geography
      • ContextGeography
      • DefaultGeography
    • interface Grid
      • AbstractGrid, 
      • ContextFastSingleGrid, 
      • ContextGrid, 
      • DefaultGrid, 
      • FastDenseSingleOccuGrid, 
      • Projected3DGrid
    • interface NetWork
      • ContextJungNetwork, 
      • DirectedJungNetwork, 
      • JungNetwork, 
      • UndirectedJungNetwork
    • interface PysicsSpace
      • ContextPhysics
      • DefaultPhysicsSpace
    • Implementing Classes
      • Abstract
        1. AbstractContinuousSpace, 
        2. AbstractGrid, 
      • Concrete 
        1. ContextFastSingleGrid, 
        2. ContextGeography, 
        3. ContextGrid, 
        4. ContextJungNetwork, 
        5. ContextPhysics, 
        6. ContextSpace, 
        7. DefaultContinuousSpace, 
        8. DefaultGeography, 
        9. DefaultGrid, 
        10. DefaultPhysicsSpace, 
        11. DefaultProjection, 
        12. DirectedJungNetwork, 
        13. FastDenseSingleOccuGrid, 
        14. JungNetwork, 
        15. Projected3DGrid, 
        16. Projected3DSpace, 
        17. UndirectedJungNetwork

Monday, August 22, 2011

How Do I Include a Class

If the class is not in a package, simple put the compiled class file in the same directory and the class you are compiling.

If the class is in a package, build a directory structure beneight the directory of the file you are trying to compile that mirrors the package structure.


Printing Multiple Integer Variable to Screen

http://answers.yahoo.com/question/index?qid=20070823130012AA3mejM

System.out.println("something=" + var1);

Thursday, August 11, 2011

Java Review: Tuesday, August 9, 2011

Need to do a quick review of Java:


What is Java?
  • A high-level programming language
  • characterized by following buzzwords:
  • Java VM (Virtual Machine)
  • bytecodes
  • Java Platform
    • two componets
      • Java Virtual Machine
      • Java Application Programming Interface (API)
    • advances in compiler and virtual machine technologies are bringing performance close to that of native code
  • Development tools
    • compiler 
      • javac
    • launcher
      • java
    • documentation tool
      • javadoc
  • API
    • basic objects
    • networking
    • security
    • XML generation
    • DB access
    • Java SE 6 Documentation
      • JDK
        • Java Language
        • Tools and Tool APIs
          • java
          • javac
          • javacdoc
          • apt
          • jar
          • javap
          • etc.
        • JRE
          • RIAs (Rich Internet Applications)
            • Java Web Start
            • Applet/Java Plug-in
          • User Interface Toolkets
            • AWT
            • Swing
            • Java 2D
          • Integration Libraries
            • IDL (Interface description language
            • JDBC
            • JNDI
            • RMI
            • RMI-IIOP
            • Scripting
          • Other base libraries
            • Beans
            • Intl Support
            • Input/Output
            • JMX (Java Management Extensions)
            • JNI
            • Math
            • etc.
          • lang and util base libraries
            • java.lang
            • java.util
            • java.concurrent
            • java.util.jar
            • java.util.zip
            • etc.
          • Java Virtual Machine
            • Java Hotspot Client and Server VM
  • Documentation has not been updated for Java 1.7

Java System Properties

http://download.oracle.com/javase/tutorial/essential/environment/sysprop.html

Need to get the java file type identifier window running under Linux.

Written currently for DOS/Window's separators.

Also used the "user.dir" property to see where the application was running in Eclipse.

String separator =  System.getProperty("file.separator");