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
/* | |
So what does this code do? Here's an example: | |
A.java | |
class A { | |
int x = 3; | |
int y = 4; | |
} | |
B.java |
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
// This is a description of Genders, Sexual interests and orientations through the means of code. | |
// Femboys | |
class Guy : Girl | |
// Lesbians | |
class Girl { | |
fun wooHoo(otherGirl: girl) { | |
otherGirl.scissor(this); | |
} |
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
/** | |
* Given a geoJson object, outputs a matrix with "0's" as open paths and "1's" as obstacles. | |
* @param geoJson Serialized GeoJson file to parse | |
* @param start Starting point for the path search | |
* @param end Ending point for the path | |
*/ | |
function geoToMat(geoJson: Buffer, start: Point, end: Point): Double[][] { | |
var bbox = WhateverService.generateBbox(start, end); | |
var geoParsed: GeoJsonObject = GeoJsonParser.parse(geoJson); // parse serialized geojson into object |
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 tester; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.util.*; | |
public class Test { | |
public static void main(String[] args) { |