This file has been truncated, but you can view the full file.
This file contains hidden or 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
| {"dependencies_cache": {"https://packagecontrol.io/repository.json": [{"releases": [{"url": "https://bitbucket.org/teddy_beer_maniac/sublime-text-dependency-jinja2/get/2.8.0.zip", "platforms": ["*"], "version": "2.8.0", "sublime_text": "*"}], "load_order": "51", "issues": "https://bitbucket.org/teddy_beer_maniac/sublime-text-dependency-jinja2/issues", "description": "Python Jinja2 module", "authors": ["teddy_beer_maniac"], "name": "python-jinja2"}, {"releases": [{"url": "https://codeload.github.com/idleberg/sublime-xmltodict/zip/0.10.2", "platforms": ["*"], "version": "0.10.2", "sublime_text": "*"}], "load_order": "50", "issues": "https://github.com/idleberg/sublime-xmltodict/issues", "description": "Makes working with XML feel like you are working with JSON - https://github.com/martinblech/xmltodict", "authors": ["idleberg"], "name": "xmltodict"}, {"releases": [{"url": "https://codeload.github.com/randy3k/sublime-xdotool/zip/v3.20160714.1", "platforms": ["linux"], "version": "3.20160714.1", "sublime_text": " |
This file contains hidden or 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
| public class Race { | |
| private static boolean raceFinished = false; | |
| private static String winner; | |
| public static void main(String[] args) throws InterruptedException { | |
| Thread[] players = new Thread[10]; | |
| // Fill the array | |
| for (int i = 0; i < players.length; i++) { |
This file contains hidden or 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]>java.util.* | |
| Random | |
| >Methods: | |
| nextInt(); | |
| nextFloat(); // etc ... | |
| GregorianCalendar | |
| >Methods: | |
| calendar.get(constant); | |
| calendar.setTimeInMillis(long); | |
| calendar.setTime(Date); |
This file contains hidden or 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
| public static int parseInt(char[] charArray) { | |
| int sum = 0; | |
| for (char c : charArray) { | |
| sum = (sum * 10) + (c - '0'); | |
| } | |
| return sum; | |
| } |
This file contains hidden or 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 javafx.animation.*; | |
| import javafx.beans.property.*; | |
| import javafx.scene.layout.*; | |
| import javafx.scene.paint.*; | |
| import javafx.scene.shape.*; | |
| import javafx.util.*; | |
| public class BallPane extends Pane { | |
| public final double radius = 20; | |
| private double x = radius, y = radius; |
This file contains hidden or 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 javafx.animation.*; | |
| import javafx.beans.property.*; | |
| import javafx.scene.layout.*; | |
| import javafx.scene.paint.*; | |
| import javafx.scene.shape.*; | |
| import javafx.util.*; | |
| public class BallPane extends Pane { | |
| public final double radius = 20; | |
| private double x = radius, y = radius; |
This file contains hidden or 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 javafx.application.*; | |
| import javafx.event.*; | |
| import javafx.scene.*; | |
| import javafx.scene.input.*; | |
| import javafx.stage.*; | |
| public class BounceBallControl extends Application { | |
| /** | |
| * The main method is only needed for the IDE with limited | |
| * JavaFX support. Not needed for running from the command line. |
This file contains hidden or 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 javafx.application.*; | |
| import javafx.event.*; | |
| import javafx.scene.*; | |
| import javafx.scene.input.*; | |
| import javafx.stage.*; | |
| public class BounceBallControl extends Application { | |
| /** | |
| * The main method is only needed for the IDE with limited | |
| * JavaFX support. Not needed for running from the command line. |
This file contains hidden or 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 javafx.application.*; | |
| import javafx.event.*; | |
| import javafx.scene.*; | |
| import javafx.scene.input.*; | |
| import javafx.stage.*; | |
| public class BounceBallControl extends Application { | |
| /** | |
| * The main method is only needed for the IDE with limited | |
| * JavaFX support. Not needed for running from the command line. |
This file contains hidden or 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 Junit; | |
| import javafx.application.*; | |
| import javafx.scene.*; | |
| import javafx.scene.layout.*; | |
| import javafx.scene.paint.*; | |
| import javafx.scene.shape.*; | |
| import javafx.stage.*; | |
| public class AlwaysRectangle extends Application { |