Record Class SymbolSource.SymbolInfo
java.lang.Object
java.lang.Record
org.episteme.social.economics.money.SymbolSource.SymbolInfo
- Enclosing interface:
SymbolSource
-
Constructor Summary
ConstructorsConstructorDescriptionSymbolInfo(String symbol, String name, String exchange) Creates an instance of aSymbolInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.exchange()Returns the value of theexchangerecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.symbol()Returns the value of thesymbolrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SymbolInfo
-
-
Method Details
-
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). -
symbol
Returns the value of thesymbolrecord component.- Returns:
- the value of the
symbolrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
exchange
Returns the value of theexchangerecord component.- Returns:
- the value of the
exchangerecord component
-