@SuppressWarnings("StringSplitter")
  public static @NonNull CaffeineSpec parse(@NonNull String specification) {
    CaffeineSpec spec = new CaffeineSpec(specification);
    for (String option : specification.split(SPLIT_OPTIONS)) {
      spec.parseOption(option.trim());
    }
    return spec;
  }
@ SuppressWarnings ( "StringSplitter" ) public static @ NonNull CaffeineSpec parse ( @ NonNull String specification ) { CaffeineSpec spec = new CaffeineSpec ( specification ) ; for ( String option : specification . split ( SPLIT_OPTIONS ) ) { spec . parseOption ( option . trim ( ) ) ; } return spec ; }
Creates a CaffeineSpec from a string.

@param specification the string form
@return the parsed specification