${...} is the property placeholder syntax. It can only be used to dereference properties.
#{...} is SpEL syntax, which is far more capable and complex. It can also handle property placeholders, and a lot more besides.
Both are valid, and neither is deprecated.
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 MyClass{ | |
private static String staticFieldValue; | |
public static void setStaticField(String staticFieldValue){ | |
this.staticFieldValue = staticFieldValue; | |
} | |
} |
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
Linux - ぜんぶTIME_WAITのせいだ! - Qiita / | |
http://qiita.com/kuni-nakaji/items/c07004c7d9e5bb683bc2 | |
TCP/IP で TIME_WAIT が残る時間を短くする / | |
http://network.station.ez-net.jp/server/linux/network/time_wait.asp | |
TCPのTIME_WAITを無くす! | 田舎に住みたいエンジニアの日記 / | |
http://blog.ybbo.net/?p=128 | |
TIME_WAIT状態のTCPコネクションを早く終了させるべくKernelをリビルド - 元RX-7乗りの適当な日々 / |
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
for i in `ls rev_result*` ; do mv $i ${i/ev_result/messages} | |
http://motw.mods.jp/shellscript/rename.html |
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
for i in `ls *.properties`;do native2ascii -reverse $i rev_$i;done | |
http://www.javadrive.jp/start/encoding/index3.html |
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.google.common.base.Supplier; | |
import com.google.common.base.Suppliers; | |
import com.google.common.cache.CacheBuilder; | |
import com.google.common.cache.CacheLoader; | |
import com.google.common.cache.LoadingCache; | |
public class Snipets{ | |
private Supplier<String> sampleSupplier; | |
private LoadingCache<String, List<Long>> sampleCache; |
According to this page... http://oshiete.goo.ne.jp/qa/8168163.html
> ■質問1
> jQueryの「$(document).ready(function()」と「$(window).load(function()」は何が違うのでしょうか?
readyは「DOM要素の準備が完了した時」に呼び出される「jQueryイベント」であり、loadは生JavaScriptのonloadに相当する「Webブラウザ組み込みJavaScriptイベント」だ。
https://google.github.io/truth/
- we do no need using many static import
- hamcrest does not propose us which is better assertion method
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
<dependency> | |
<groupId>com.google.code.findbugs</groupId> | |
<artifactId>jsr305</artifactId> | |
<version>3.0.0</version> | |
</dependency> |