ニュートンが「7色」としたのは、音楽と関係づけて「各色の帯のはばが、音楽の音階の間の高さに対応している」と結論するためでした。なぜ音楽と関係づけさせたかったのかというと、ニュートンの時代の300年前のヨーロッパでは、音楽が学問のひとつで、音楽と自然現象を結び付けることが大事なことと考えられていたからです。たぶん、そうすることが当時はかっこよく感じられたのでしょう。
実はニュートン自身は、虹の色が無数にあることを知っていたということです。
⇧ 虹は、実際何色なんじゃろか...どうもボクです。
虹は、さておき、
8-bit color graphics are a method of storing image information in a computer's memory or in an image file, so that each pixel is represented by one 8-bit byte. The maximum number of colors that can be displayed at any one time is 256 or 28.
⇧ コンピューターで、1byte は、8bit だから~、それが、8-bit colorの生き様ですよと。一度に表現できる色は、256色が限界なんですと。
なんか、
ディープカラーは、10億色かそれ以上の色からなる色域を表現可能なものを指す。ディープカラーのシステムでは、xvYCC、sRGB、YCbCr という色空間を使用できる。
30/36/48/64ビットのものがある。R/G/Bそれぞれに10ビットを割り当てる(全体で30ビットの)ビデオカードが1990年代後半市場に登場した。例えばMacintosh用の Radius ThunderPower というカードがあり、30ビットカラー画像の編集をサポートするためのQuickDrawとAdobe Photoshopのプラグインを同梱していた。
⇧ 64-bit とかもイケるんですかね?
まぁ、今回は、256 って数字に着目したいんですと。
⇧ 256 って、Wikipedia に掲載されてるんだ、「255の次で257の前の数である。」って...
と言うか、
256歳まで生きた男性、その名を李青曇(り・せいどん)さんという。
⇧ 人間って、256年も生きれるの!?
Wikipedia さんにも掲載されてた...oh, my gosh
李 青曇(り せいどん)は、中国の漢方医で、「256歳まで生きていた」とされる人物(満年齢では255-256歳、数え年では257歳)。ギネス非公認記録で、実在したという証拠(写真など)がある人物としては、世界一長生きした人物であるとされる。1736年生まれの197歳という説もある。
⇧ 197歳だったとしても、化け物やん...
ハッシュ関数なんかでも、
⇧ 「SHA-256」って感じで、「256」って数字が出てきますね。
はい、そんな、「256」と言えば?
そうだね、「Windowsのパス制限」だね。
だが、しかし!
2016年8月に公開された Windows 10 Anniversary Update で、260文字のファイルパスの制限を解除できるようになりました。 この制限解除で普通に rm のコマンドだけでファイルが削除できます。
260文字のファイルパスの制限を解除(して node_modules 削除 : Windows 10) - BEACHSIDE BLOG
⇧ 2016年の8月には、パス制限の解除ができたんですと!
まぁ、知らんかったのですが。
脱線しましたが、今回は、ディレクトリ(サブディレクトリを含む)に存在するファイルのパスをすべて列挙して、パス長を数える、ってのをJavaで実装してみました。
レッツトライ~。
ファイル全検索
適当なディレクトリで、おもむろに、以下のコマンドを実施。
tree /f
⇧ ってな具合に、ファイル数は、187個であると。
このディレクトリにあるファイルをプログラミングで全検索してみたいと思います。
そんでは、Javaで実装してみました。
事前にアウトプット用のファイルを作成しておきます。
⇧ 上記サイト様を参考にさせていただき、コーディングはこんな感じ。
import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.nio.file.Files; import java.nio.file.Paths; import java.util.List; import java.util.stream.Collectors; public class TestChechDirectoryOrFile { private static String LINE_SEPARATOR = System.getProperty("line.separator"); public static void main(String[] args) { // このへんのファイルや、ディレクトリはご自分の環境に合わせてください File targetFile = new File("C:\\Users\\Toshinobu\\Desktop\\soft_work\\Scala\\TestReflection"); File outPutFile = new File("C:\\temp\\filepath.txt"); try { StringBuilder sb = new StringBuilder(); PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter(outPutFile))); List<File> fileList = findAllFile("C:\\Users\\Toshinobu\\Desktop\\soft_work\\Scala\\TestReflection"); for (File file: fileList) { sb.append(file.getAbsolutePath().length()) .append(":") .append(file) .append(LINE_SEPARATOR); } pw.println(sb.toString()); pw.close(); } catch (IOException e) { // TODO 自動生成された catch ブロック e.printStackTrace(); } } public static List<File> findAllFile (String absolutePath) throws IOException { return Files.walk(Paths.get(absolutePath)) .map(path -> path.toFile()) .filter(file -> file.isFile()) .collect(Collectors.toList()); } }
⇧ ってな感じで、ファイルを保存。
例外が発生したら、PrintWriterが閉じられない問題のあるコードになってしまっていますが...
そしたらば、main メソッドを含むJavaファイルを選択した状態で右クリックし、「実行(R)」>「Java アプリケーション」でプログラムを実行。
そうすると、outPutFileに指定したファイルに書き込みされます。
出力結果
200:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection\scala-2.12\bloop-internal-classes\classes-Metals-qJW81uuKQtWatH2WyB0tOg==-vdc-EpKcSUakYZ6Uc0_RFw==\CubeCalculator$.class 199:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection\scala-2.12\bloop-internal-classes\classes-Metals-qJW81uuKQtWatH2WyB0tOg==-vdc-EpKcSUakYZ6Uc0_RFw==\CubeCalculator.class 245:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection\scala-2.12\bloop-internal-classes\classes-Metals-qJW81uuKQtWatH2WyB0tOg==-vdc-EpKcSUakYZ6Uc0_RFw==\META-INF\semanticdb\src\main\scala\CubeCalculator.scala.semanticdb 245:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection\scala-2.12\bloop-internal-classes\classes-Metals-qJW81uuKQtWatH2WyB0tOg==-vdc-EpKcSUakYZ6Uc0_RFw==\META-INF\semanticdb\src\main\scala\TestReflection.scala.semanticdb 215:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection\scala-2.12\bloop-internal-classes\classes-Metals-qJW81uuKQtWatH2WyB0tOg==-vdc-EpKcSUakYZ6Uc0_RFw==\TestReflection$$typecreator1$1.class 200:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection\scala-2.12\bloop-internal-classes\classes-Metals-qJW81uuKQtWatH2WyB0tOg==-vdc-EpKcSUakYZ6Uc0_RFw==\TestReflection$.class 199:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection\scala-2.12\bloop-internal-classes\classes-Metals-qJW81uuKQtWatH2WyB0tOg==-vdc-EpKcSUakYZ6Uc0_RFw==\TestReflection.class 208:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection\scala-2.12\bloop-internal-classes\test-classes-Metals-qJW81uuKQtWatH2WyB0tOg==-JZFOafxTSzqrn8pDzatTkQ==\CubeCalculatorTest.class 254:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection\scala-2.12\bloop-internal-classes\test-classes-Metals-qJW81uuKQtWatH2WyB0tOg==-JZFOafxTSzqrn8pDzatTkQ==\META-INF\semanticdb\src\test\scala\CubeCalculatorTest.scala.semanticdb 107:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection\testreflection-analysis.bin 112:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection\testreflection-test-analysis.bin 89:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection-test.json 84:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.bloop\testreflection.json 78:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.metals\metals.h2.db 76:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.metals\metals.log 104:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.metals\readonly\scala\reflect\api\Types.scala 77:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\.vscode\launch.json 67:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\build.sbt 98:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\.bloop\testreflection-build.json 82:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\build.properties 84:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\active.json 116:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\config-classes\$5985a533b599b3bccbff$.class 115:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\config-classes\$5985a533b599b3bccbff.cache 115:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\config-classes\$5985a533b599b3bccbff.class 116:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\config-classes\$d28df13c422fd7676411$.class 115:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\config-classes\$d28df13c422fd7676411.cache 115:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\config-classes\$d28df13c422fd7676411.class 195:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\default\testreflection-build\scala_2.12\sbt_1.0\0.1.0-SNAPSHOT\resolved.xml.properties 188:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\default\testreflection-build\scala_2.12\sbt_1.0\0.1.0-SNAPSHOT\resolved.xml.xml 166:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\default-testreflection-build-compile-internal.xml 157:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\default-testreflection-build-compile.xml 158:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\default-testreflection-build-optional.xml 156:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\default-testreflection-build-plugin.xml 153:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\default-testreflection-build-pom.xml 158:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\default-testreflection-build-provided.xml 166:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\default-testreflection-build-runtime-internal.xml 157:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\default-testreflection-build-runtime.xml 160:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\default-testreflection-build-scala-tool.xml 163:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\default-testreflection-build-test-internal.xml 154:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\default-testreflection-build-test.xml 131:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\ivy-report.css 131:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\scala-2.12\sbt-1.0\resolution-cache\reports\ivy-report.xsl 116:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\$global\$global\$global\streams\out 152:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\$global\dependencyPositions\$global\streams\update_cache_2.12\input_dsp 153:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\$global\dependencyPositions\$global\streams\update_cache_2.12\output_dsp 125:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\$global\ivyConfiguration\$global\streams\out 115:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\$global\ivySbt\$global\streams\out 127:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\$global\projectDescriptors\$global\streams\out 115:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\$global\update\$global\streams\out 136:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\$global\update\$global\streams\update_cache_2.12\inputs 136:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\$global\update\$global\streams\update_cache_2.12\output 131:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\$global\$global\discoveredMainClasses\data 122:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\bloopGenerate\$global\streams\out 116:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\compile\$global\streams\out 130:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\compileIncremental\$global\streams\export 127:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\compileIncremental\$global\streams\out 133:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\copyResources\$global\streams\copy-resources 122:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\copyResources\$global\streams\out 131:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\dependencyClasspath\$global\streams\export 128:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\exportedProducts\$global\streams\export 139:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\externalDependencyClasspath\$global\streams\export 139:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\internalDependencyClasspath\$global\streams\export 128:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\managedClasspath\$global\streams\export 130:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\unmanagedClasspath\$global\streams\export 125:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\compile\unmanagedJars\$global\streams\export 117:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\it\bloopGenerate\$global\streams\out 131:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\runtime\dependencyClasspath\$global\streams\export 128:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\runtime\exportedProducts\$global\streams\export 139:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\runtime\externalDependencyClasspath\$global\streams\export 125:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\runtime\fullClasspath\$global\streams\export 139:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\runtime\internalDependencyClasspath\$global\streams\export 128:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\runtime\managedClasspath\$global\streams\export 130:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\runtime\unmanagedClasspath\$global\streams\export 125:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\runtime\unmanagedJars\$global\streams\export 119:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\project\target\streams\test\bloopGenerate\$global\streams\out 93:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\src\main\scala\CubeCalculator.scala 93:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\src\main\scala\TestReflection.scala 97:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\src\test\scala\CubeCalculatorTest.scala 73:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\.history 105:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\classes\CubeCalculator$.class 104:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\classes\CubeCalculator.class 120:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\classes\TestReflection$$typecreator1$1.class 105:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\classes\TestReflection$.class 104:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\classes\TestReflection.class 153:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\default\testreflection$sources\1.2.8\resolved.xml.properties 146:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\default\testreflection$sources\1.2.8\resolved.xml.xml 150:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\default\testreflection_2.12\1.2.8\resolved.xml.properties 143:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\default\testreflection_2.12\1.2.8\resolved.xml.xml 194:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\org.scala-sbt.temp\temp-module-98ec89c315ed408f615fff2c4774286d17323b01\1.2.5\resolved.xml.properties 187:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\org.scala-sbt.temp\temp-module-98ec89c315ed408f615fff2c4774286d17323b01\1.2.5\resolved.xml.xml 152:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection$sources-compile-internal.xml 143:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection$sources-compile.xml 144:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection$sources-optional.xml 142:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection$sources-plugin.xml 139:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection$sources-pom.xml 144:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection$sources-provided.xml 152:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection$sources-runtime-internal.xml 143:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection$sources-runtime.xml 146:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection$sources-scala-tool.xml 149:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection$sources-test-internal.xml 140:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection$sources-test.xml 149:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection_2.12-compile-internal.xml 140:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection_2.12-compile.xml 141:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection_2.12-optional.xml 139:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection_2.12-plugin.xml 136:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection_2.12-pom.xml 141:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection_2.12-provided.xml 149:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection_2.12-runtime-internal.xml 140:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection_2.12-runtime.xml 143:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection_2.12-scala-tool.xml 146:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection_2.12-test-internal.xml 137:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\default-testreflection_2.12-test.xml 115:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\ivy-report.css 115:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\ivy-report.xsl 184:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\org.scala-sbt.temp-temp-module-98ec89c315ed408f615fff2c4774286d17323b01-compile.xml 185:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\org.scala-sbt.temp-temp-module-98ec89c315ed408f615fff2c4774286d17323b01-optional.xml 185:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\org.scala-sbt.temp-temp-module-98ec89c315ed408f615fff2c4774286d17323b01-provided.xml 184:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\org.scala-sbt.temp-temp-module-98ec89c315ed408f615fff2c4774286d17323b01-runtime.xml 181:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\resolution-cache\reports\org.scala-sbt.temp-temp-module-98ec89c315ed408f615fff2c4774286d17323b01-test.xml 113:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\test-classes\CubeCalculatorTest.class 105:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\scala-2.12\testreflection_2.12-1.2.8.jar 108:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\$global\$global\$global\streams\out 144:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\$global\dependencyPositions\$global\streams\update_cache_2.12\input_dsp 145:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\$global\dependencyPositions\$global\streams\update_cache_2.12\output_dsp 117:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\$global\ivyConfiguration\$global\streams\out 107:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\$global\ivySbt\$global\streams\out 119:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\$global\projectDescriptors\$global\streams\out 114:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\$global\testListeners\$global\streams\out 107:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\$global\update\$global\streams\out 128:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\$global\update\$global\streams\update_cache_2.12\inputs 128:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\$global\update\$global\streams\update_cache_2.12\output 118:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\$global\updateClassifiers\$global\streams\out 123:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\$global\$global\discoveredMainClasses\data 106:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\bgRun\$global\streams\out 114:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\bloopGenerate\$global\streams\out 108:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\compile\$global\streams\out 122:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\compileIncremental\$global\streams\export 119:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\compileIncremental\$global\streams\out 133:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\compileIncSetup\$global\streams\inc_compile_2.12.zip 125:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\copyResources\$global\streams\copy-resources 114:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\copyResources\$global\streams\out 123:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\dependencyClasspath\$global\streams\export 123:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\exportedProductJars\$global\streams\export 120:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\exportedProducts\$global\streams\export 131:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\externalDependencyClasspath\$global\streams\export 131:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\internalDependencyClasspath\$global\streams\export 110:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\mainClass\$global\streams\out 120:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\managedClasspath\$global\streams\export 114:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\packageBin\$global\streams\inputs 111:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\packageBin\$global\streams\out 114:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\packageBin\$global\streams\output 122:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\unmanagedClasspath\$global\streams\export 117:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\compile\unmanagedJars\$global\streams\export 109:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\it\bloopGenerate\$global\streams\out 129:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\runtime\dependencyClasspathAsJars\$global\streams\export 123:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\runtime\exportedProductJars\$global\streams\export 120:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\runtime\exportedProducts\$global\streams\export 131:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\runtime\externalDependencyClasspath\$global\streams\export 123:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\runtime\fullClasspathAsJars\$global\streams\export 128:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\runtime\internalDependencyAsJars\$global\streams\export 120:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\runtime\managedClasspath\$global\streams\export 122:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\runtime\unmanagedClasspath\$global\streams\export 117:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\runtime\unmanagedJars\$global\streams\export 115:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\$global\$global\definedTestNames\data 120:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\$global\$global\discoveredMainClasses\data 111:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\bloopGenerate\$global\streams\out 105:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\compile\$global\streams\out 119:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\compileIncremental\$global\streams\export 116:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\compileIncremental\$global\streams\out 130:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\compileIncSetup\$global\streams\inc_compile_2.12.zip 122:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\copyResources\$global\streams\copy-resources 111:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\copyResources\$global\streams\out 110:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\definedTests\$global\streams\out 120:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\dependencyClasspath\$global\streams\export 117:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\exportedProducts\$global\streams\export 128:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\externalDependencyClasspath\$global\streams\export 114:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\fullClasspath\$global\streams\export 128:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\internalDependencyClasspath\$global\streams\export 118:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\loadedTestFrameworks\$global\streams\out 117:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\managedClasspath\$global\streams\export 102:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\test\$global\streams\out 114:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\test\$global\streams\succeeded_tests 130:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\test\isModule=false name=CubeCalculatorTest\test\out 119:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\unmanagedClasspath\$global\streams\export 114:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\streams\test\unmanagedJars\$global\streams\export 100:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\test-reports\CubeCalculatorTest.xml 105:C:\Users\Toshinobu\Desktop\soft_work\Scala\TestReflection\target\test-reports\TEST-CubeCalculatorTest.xml
⇧ サクラエディタとか、行数が表示できるものだと、187行ってなってるから、ファイル数は合ってるっぽい。
かなり突貫作業でコーディングしたものなので、ファイル数や、256文字超過したファイルを分かるように、プログラミングを改良したほうが良さげですが。あと、例外の絡みも考慮せねばですね。
時間あるときにトライしていきますかね。
今回はこのへんで。