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
| /** | |
| * This class loader loads encrypted class files. | |
| */ | |
| class CryptoClassLoader extends ClassLoader | |
| { | |
| /** | |
| * Constructs a crypto class loader. | |
| * @param k the decryption key | |
| */ | |
| public CryptoClassLoader(int k) |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="init()" viewSourceURL="srcview/index.html"> | |
| <mx:Script> | |
| <![CDATA[ | |
| import mx.charts.series.ColumnSeries; | |
| import mx.charts.series.BarSeries; | |
| import mx.charts.series.BarSet; | |
| import mx.collections.ArrayCollection; | |
| import mx.charts.ColumnChart; |
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 streams | |
| class Pouring (capacity : Vector[Int]) { | |
| //States | |
| type State = Vector[Int] | |
| val initialState = capacity map (x => 0) | |
| //Moves | |
| trait Move { |
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
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <title> Canvas Test</title> | |
| </head> | |
| <body> | |
| <canvas id="canvas"> | |
| <script> | |
| canvas.height = window.screen.height; | |
| canvas.width = window.screen.width; |
OlderNewer