Package | Description |
---|---|
org.unix4j.unix.grep |
Contains private classes used by the
grep command. |
Modifier and Type | Method and Description |
---|---|
static GrepOption |
GrepOption.findByAcronym(char acronym)
Returns the option with the given
acronym , or null if no
such option is found. |
static GrepOption |
GrepOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrepOption[] |
GrepOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
EnumSet<GrepOption> |
GrepOption.asSet()
Returns a new set with
this active option. |
EnumSet<GrepOption> |
GrepOptionSet_Fcilnvx.asSet()
Returns the set with the active options.
|
Iterator<GrepOption> |
GrepOption.iterator()
Returns an immutable iterator returning o single element:
this
option. |
Iterator<GrepOption> |
GrepOptionSet_Fcilnvx.iterator()
Returns an immutable iterator with the active options of this option set.
|
Class<GrepOption> |
GrepOption.optionType() |
Class<GrepOption> |
GrepOptionSet_Fcilnvx.optionType() |
Modifier and Type | Method and Description |
---|---|
boolean |
GrepOption.isSet(GrepOption option) |
boolean |
GrepOptionSet_Fcilnvx.isSet(GrepOption option) |
boolean |
GrepOption.useAcronymFor(GrepOption option)
Returns true if the
acronym should be used for
the specified option in string representations. |
boolean |
GrepOptionSet_Fcilnvx.useAcronymFor(GrepOption option)
Returns true if the
acronym should be used in
for the specified option string representations. |
Constructor and Description |
---|
Default(GrepOption... options)
Constructor for an option set with the given active options.
|
Default(GrepOption option)
Constructor for an option set with a single active option.
|
Constructor and Description |
---|
Default(OptionSet<GrepOption> optionSet)
Constructor for an option set initialized with the options given by
another option set.
|
Copyright © 2024. All rights reserved.