Record Class GoBuildSettings
java.lang.Object
java.lang.Record
ghidra.app.util.bin.format.golang.GoBuildSettings
- Record Components:
key- string name of propertyvalue- string value of property
-
Constructor Summary
ConstructorsConstructorDescriptionGoBuildSettings(String key, String value) Creates an instance of aGoBuildSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static GoBuildSettingsfromString(String s) Parses a "key=value" string and returns the parts as aGoBuildSettings.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
GoBuildSettings
-
-
Method Details
-
fromString
Parses a "key=value" string and returns the parts as aGoBuildSettings.- Parameters:
s- "key=value" string- Returns:
- new
GoBuildSettingsinstance - Throws:
IOException- if error splitting the string into key and value
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
key
-
value
-