public final class Option extends Object
Constructor and Description |
---|
Option(String name,
Object value) |
Option(String name,
Object value,
boolean isParenthesized) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
static Option |
findByName(List<Option> options,
String name)
Return the option with the specified name from the supplied list or null.
|
String |
getName() |
Object |
getValue() |
int |
hashCode() |
static Map<String,Object> |
optionsAsMap(List<Option> options) |
String |
toDeclaration() |
String |
toString() |
Copyright © 2022 Square, Inc.. All rights reserved.