public class CountryImpl extends RelayAggregateImpl implements Country
relays
Constructor and Description |
---|
CountryImpl(java.util.List<Relay> relays) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.RenderedImage |
generateBadge() |
java.lang.String |
getCountry() |
java.lang.String |
getCountryName() |
getAdvertisedBandwidth, getExitProbability, getGuardProbability, getMiddleProbability, getRelayCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdvertisedBandwidth, getExitProbability, getGuardProbability, getMiddleProbability, getRelayCount
public CountryImpl(java.util.List<Relay> relays)
public java.lang.String getCountry()
getCountry
in interface Country
public java.lang.String getCountryName()
getCountryName
in interface Country
public java.awt.image.RenderedImage generateBadge()
generateBadge
in interface Country