Item 1: Consider static factory methods instead of constructors
阅读更多1.Oneadvantageofstaticfactorymethodsisthat,unlikeconstructors,theyhavenames.BigInteger(int,int,Random),whichreturnsaBigIntegerthatisprobablyprime,wouldhavebeenbetterexpressedasastaticfactorymethod