Results for “java constructor vs method python code example 1 site:bugs.java.com pc”
bugs.java.com
Bug ID: JDK-4619333 stddoclet: Separate out static factory methods...
For example, "static Integer Integer.valueOf(String)" fits this pattern and is indeed a static factory. What surprised me was how extensive static factories are used in the JDK.The summary table order would make sense with the constructors first and static factory methods second.