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