src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/OptionSpec.java
changeset 50428 8c88df2e8a78
parent 47216 71c04702a3d5
equal deleted inserted replaced
50427:b06f330492cd 50428:8c88df2e8a78
    29  * However, the following notice accompanied the original version of this
    29  * However, the following notice accompanied the original version of this
    30  * file:
    30  * file:
    31  *
    31  *
    32  * The MIT License
    32  * The MIT License
    33  *
    33  *
    34  * Copyright (c) 2004-2014 Paul R. Holser, Jr.
    34  * Copyright (c) 2004-2015 Paul R. Holser, Jr.
    35  *
    35  *
    36  * Permission is hereby granted, free of charge, to any person obtaining
    36  * Permission is hereby granted, free of charge, to any person obtaining
    37  * a copy of this software and associated documentation files (the
    37  * a copy of this software and associated documentation files (the
    38  * "Software"), to deal in the Software without restriction, including
    38  * "Software"), to deal in the Software without restriction, including
    39  * without limitation the rights to use, copy, modify, merge, publish,
    39  * without limitation the rights to use, copy, modify, merge, publish,
    53  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    53  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    54  */
    54  */
    55 
    55 
    56 package jdk.internal.joptsimple;
    56 package jdk.internal.joptsimple;
    57 
    57 
    58 import java.util.Collection;
       
    59 import java.util.List;
    58 import java.util.List;
    60 
    59 
    61 /**
    60 /**
    62  * Describes options that an option parser recognizes.
    61  * Describes options that an option parser recognizes.
    63  *
    62  *
   114     V value( OptionSet detectedOptions );
   113     V value( OptionSet detectedOptions );
   115 
   114 
   116     /**
   115     /**
   117      * @return the string representations of this option
   116      * @return the string representations of this option
   118      */
   117      */
   119     Collection<String> options();
   118     List<String> options();
   120 
   119 
   121     /**
   120     /**
   122      * Tells whether this option is designated as a "help" option. The presence of a "help" option on a command line
   121      * Tells whether this option is designated as a "help" option. The presence of a "help" option on a command line
   123      * means that missing "required" options will not cause parsing to fail.
   122      * means that missing "required" options will not cause parsing to fail.
   124      *
   123      *