public Categories(boolean fixed,String defaultScheme,Category... categories){
  this.fixed=fixed;
  this.defaultScheme=defaultScheme;
  if (categories.length != 0) {
    this.categories=Arrays.asList(categories);
  }
}

public Categories ( boolean fixed , String defaultScheme , Category ... categories ) { this . fixed = fixed ; this . defaultScheme = defaultScheme ; if ( categories . length != 0 ) { this . categories = Arrays . asList ( categories ) ; } }
constructs a categories instance with in - line category descriptions .
