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