Daily scala

A short daily dose of scala examples and occasionally explanations.

Friday, October 5, 2012

Scala-IO Core: Unmanaged Resources

›
The main design of Scala-IO is around automatic closing of resources each time a resource is accessed in order to ensure that a programmer c...
4 comments:
Wednesday, September 26, 2012

Scala-IO Core: To Resource Converters

›
In order to simplify integration with existing libraries, most commonly Java libraries, Scala-IO provides a JavaConverters object with impli...
1 comment:
Wednesday, September 19, 2012

Scala-IO Core: Reusable Resources

›
One aspect of resources in Scala-IO that can cause problems is the construction of resource objects.  The factory methods that are provided...
Thursday, September 13, 2012

Scala-IO Core: ReadChars and WriteChars

›
The Input and Output objects of Scala-IO assume that the underlying data is composed of bytes.  However, another common pattern is to have t...
1 comment:
Thursday, August 30, 2012

On Vacation

›
I am getting a lot of emails about Scala-IO and my posts.  Just want to let everyone know I am on vacation until September 10th or so.  I ha...
Sunday, August 19, 2012

Scala-IO Core: Seekable

›
At the same level of abstraction as Input and Output is the fine trait called Seekable.  As the name implies it provides random access style...
Tuesday, August 14, 2012

Scala-IO Core: Output - OutputConverter

›
As mentioned in the last post on Output, it is possible to write arbitrary objects to an output object and have it serialized to disk. Th...
6 comments:
›
Home
View web version

About Me

Unknown
View my complete profile
Powered by Blogger.