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
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Map; | |
/** | |
* Average Expense Calculator | |
*/ | |
public class Average_Expense_Calculator { | |
public Integer average(Map<String, List<Integer>> expenses) { |
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
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Map; | |
/** | |
* Average Expense Calculator | |
*/ | |
public class Average_Expense_Calculator { | |
public Integer average(Map<String, List<Integer>> expenses) { //Using more strict types |
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
@echo off | |
if "%1" == "java" ( | |
if "%2" == "9" ( | |
echo Using Java 9 | |
SET JAVA_HOME="%JAVA9_HOME%" | |
SET PATH="%JAVA9_HOME%\bin";%PATH% | |
) | |
if "%2" == "8" ( | |
echo Using Java 8 |
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
(function(E) { | |
var u = true; | |
var H = true; | |
var j = ""; | |
var B = {}; | |
var x = "offset", | |
t = "client"; | |
var I = function() {}; | |
var q = false; | |
var v = false; |
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
#!/bin/sh | |
#title :git-hookup | |
#description :Custom git command. | |
#author :tapan.chandra@jda.com | |
#date :20150730 | |
#version :0.5 | |
#usage :git hookup | |
#notes : | |
#============================================================================== |