public static PartitionSize getSize ( String name ) { for ( PartitionSize pa : sizes ) { if ( pa . name ( ) . equals ( name ) ) { return pa ; } } return twoYearSize ; }
Get a PartitionSize object by it s name