static StringBuilder newStringBuilderForCollection(int size){
  checkNonnegative(size,"size");
  return new StringBuilder((int)Math.min(size * 8L,Ints.MAX_POWER_OF_TWO));
}

static StringBuilder newStringBuilderForCollection ( int size ) { checkNonnegative ( size , "size" ) ; return new StringBuilder ( ( int ) Math . min ( size * 8L , Ints . MAX_POWER_OF_TWO ) ) ; }
returns best - effort - sized stringbuilder based on the given collection size .
