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