java(42) Language: English


Useful Java Things to remember

----------------------------------------------------------------------[ Meta ]--

name		java
section		42
description	Useful Java Things to remember
tags		java patterns
encoding	utf8
compliance	informal
lang		en
creation	2014/09/12 23:11:05
version		1.0.0.0
copyright	Copyright (c) 2014 Ma_Sys.ma.
		For further info send an e-mail to Ma_Sys.ma@web.de.

----------------------------------------------[ Combine multiple collections ]--

url(http://stackoverflow.com/questions/4896662/combine-multiple-collections-
					into-a-single-logical-collection)

	Iterables.concat()

-------------------------------------------[ Prevent File Descriptor Leakage ]--

url(http://bryanmarty.com/blog/2012/01/22/process-leaking-file-descriptors/)

	Process p = Runtime.getRuntime().exec(...);
	p.getInputStream().close();
	p.getOutputStream().close();
	p.getErrorStream().close();


Zum Seitenanfang