public ColorRecord getRandomStartingColor (String className, Random rand)
    {
        //  make sure the class exists
        ClassRecord record = getClassRecord(className);
        return (record == null) ? null : record.randomStartingColor(rand);
    }
public ColorRecord getRandomStartingColor ( String className , Random rand ) { ClassRecord record = getClassRecord ( className ) ; return ( record == null ) ? null : record . randomStartingColor ( rand ) ; }
Returns a random starting color from the specified color class.