public final class ExchangeId extends Object implements Named, Serializable
Identifiers for common exchanges are provided in ExchangeIds.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Checks if this identifier equals another identifier.
|
String |
getName()
Returns the Market Identifier Code (MIC) identifying the exchange.
|
int |
hashCode()
Returns a suitable hash code for the identifier.
|
static ExchangeId |
of(String name)
Returns an identifier for the exchange.
|
String |
toString() |
public static ExchangeId of(String name)
name - the Market Identifier Code (MIC) identifying the exchangepublic String getName()
public boolean equals(Object obj)
The comparison checks the name.
public int hashCode()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.