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
{ | |
"id": "intro", | |
"name": "Introduction", | |
"steps": [ | |
{ | |
"id": "welcome", | |
"text": "Hi {{user.firstName}}, my name is <b>{{chat.botName}}</b> and I'm looking forward to chatting with you", | |
"type": "single-select", | |
"onBeforeCreate": "System.out.println(\"Before created: \" + step.getId())", | |
"onCreate": "System.out.println(\"Created: \" + step.getId())", |
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 BinaryTree { | |
private Node root; | |
public void insert(int value) { | |
if (root == null) { | |
root = new Node(value); | |
} else { | |
root.insert(value); | |
} |
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 BinaryTree { | |
private Node root; | |
public boolean search(int value) { | |
return root != null && root.search(value); | |
} | |
} | |
public class Node { |
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 BinaryTree { | |
public boolean search(int value) { | |
return search(value, this.root); | |
} | |
private boolean search(int value, Node root) { | |
if (root.getValue() == value) { | |
return true; |
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 scrabble; | |
package com.seanscompany.coolwebapp.scrabble; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
public class Scrabble { |
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 com.lti.civil.*; | |
import java.util.List; | |
public class LtiCivilTest { | |
public static void main(String[] args) throws Exception { | |
System.out.println("Testing LTI CIVIL"); |
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"?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | |
xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.google.code</groupId> | |
<artifactId>google-closure-templates</artifactId> | |
<version>20120815</version> |