Package org.graalvm.options
Interface OptionDescriptors
- All Superinterfaces:
Iterable<OptionDescriptor>
An interface to a set of
OptionDescriptor
s.- Since:
- 19.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final OptionDescriptors
An empty set of option descriptors. -
Method Summary
Modifier and TypeMethodDescriptionstatic OptionDescriptors
create
(List<OptionDescriptor> descriptors) Creates anOptionDescriptors
instance from a list.static OptionDescriptors
createUnion
(OptionDescriptors... descriptors) Creates a union options descriptor out of multiple given descriptors.Gets theOptionDescriptor
matching a given option name ornull
if this option descriptor set does not contain a matching option name.iterator()
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
EMPTY
An empty set of option descriptors.- Since:
- 19.0
-
-
Method Details
-
get
Gets theOptionDescriptor
matching a given option name ornull
if this option descriptor set does not contain a matching option name.- Since:
- 19.0
-
createUnion
Creates a union options descriptor out of multiple given descriptors. The operation descriptors are not checked for duplicate keys. The option descriptors are iterated in declaration order.- Since:
- 19.0
-
iterator
Iterator<OptionDescriptor> iterator()- Specified by:
iterator
in interfaceIterable<OptionDescriptor>
- Since:
- 19.0
-
create
Creates anOptionDescriptors
instance from a list. The option descriptors implementation is backed by aLinkedHashMap
that preserves ordering.- Since:
- 19.0
-