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 com.ucguy4u.functional.java; | |
import java.util.Arrays; | |
import java.util.stream.IntStream; | |
import java.util.stream.Stream; | |
/** | |
* | |
* @author chauhanuday |
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 com.ucguy4u.functional.java; | |
import java.util.Arrays; | |
import java.util.List; | |
import static java.util.stream.Collectors.toList; | |
import java.util.stream.Stream; | |
/** | |
* | |
* @author Chauhanuday |
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 com.ucguy4u.functional.java; | |
import java.util.*; | |
import java.util.stream.Collectors; | |
import static java.util.Arrays.asList; | |
/** | |
* @author chauhanuday | |
*/ | |
public class Lambdas_04 { |
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 com.ucguy4u.functional.java; | |
/** | |
* @author chauhanuday | |
*/ | |
public class Lambdas_03 { | |
public static void main(String[] args) { | |
// example of passing multiple values to a method using lambda | |
// notice that I do NOT have to specify the data type of a and b | |
Calculate add = (a, b) -> a + b; |
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 com.ucguy4u.functional.java; | |
import java.math.BigInteger; | |
import java.util.function.Consumer; | |
import java.util.function.Function; | |
import java.util.function.IntFunction; | |
import java.util.function.UnaryOperator; | |
/** |
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 com.ucguy4u.functional.java; | |
import java.util.Arrays; | |
import java.util.function.BiFunction; | |
import java.util.function.Consumer; | |
/** | |
* | |
* @author chauhanuday |
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 com.ucguy4u.functional.java; | |
import java.util.function.*; | |
/** | |
* | |
* @author chauhanuday | |
*/ | |
public class Lambdas { |
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"?> | |
<settings> | |
<proxies> | |
<proxy> | |
<id>httpproxy</id> | |
<active>true</active> | |
<protocol>http</protocol> | |
<host>your-proxy-host</host> | |
<port>your-proxy-port</port> | |
<nonProxyHosts>local.net|some.host.com</nonProxyHosts> |
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"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.ucguy4u</groupId> | |
<artifactId>datastructures</artifactId> | |
<packaging>jar</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<name>datastructures</name> | |
<url>http://maven.apache.org</url> | |
<build> |
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
<?php | |
$CC="gcc"; | |
$out="a"; | |
$code=$_POST["code"]; | |
$input=$_POST["input"]; | |
$filename_code="main.c"; | |
$filename_in="input.txt"; | |
$filename_error="error.txt"; | |
$executable="a"; | |
$command=$CC." -lm ".$filename_code; |
NewerOlder