Changeset 6510 for lang/scala
- Timestamp:
- 02/10/08 21:08:50 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/scala/sandbox/src/jp/gr/java_conf/mizu/io/IO.scala
r5749 r6510 85 85 } 86 86 87 implicit def toFilenameFilter(filter :(File, String) => Boolean) = { 88 new FilenameFilter { 89 def accept(dir :File, name :String) :Boolean = filter(dir, name) 90 } 91 } 92 93 implicit def toFileFilter(filter :File => Boolean) = { 94 new FileFilter { 95 def accept(pathname :File) :Boolean = filter(pathname) 96 } 97 } 98 87 99 def openIn[T](file :File)(proc: RichInputStream => T) = { 88 100 val in = new RichInputStream(
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)