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
-XX:ReservedCodeCacheSize=1024m | |
-XX:SoftRefLRUPolicyMSPerMB=50 | |
-Djava.net.preferIPv4Stack=true | |
-XX:+HeapDumpOnOutOfMemoryError | |
-XX:-OmitStackTraceInFastThrow | |
-server | |
-Xms2048m | |
-Xmx2048m | |
-XX:NewSize=512m | |
-XX:MaxNewSize=512m |
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
public class ContravariantHeritage { | |
public static void main(String[] args) { | |
new ContravariantHeritage().launch(); | |
} | |
void launch() { | |
List<Bamboo> food = new OhPanda().getMeals(); | |
System.out.println(food); | |
} |
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 io.robusta.java.pecs; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
/** | |
* Created by nicorama on 20/07/2017. | |
*/ | |
public class ContravariantHeritage { |
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
# Intall Git Bash | |
# Intall conEmu | |
# Intellij : Settings->Terminal | |
"C:\Program Files\Git\bin\sh.exe" -login -i | |
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
export HOME="~/" # or change on windows | |
export CODE="/c/code/" | |
export TOOLS="$CODE/tools/" | |
### Bash Aliases | |
alias grep='grep --color=auto' | |
alias ls='ls --color=auto' | |
alias ll='ls -alF' |
NewerOlder