Package uk.m0nom.adifproc.adif3.contacts
Class Station
java.lang.Object
uk.m0nom.adifproc.adif3.contacts.Station
One end of a QSO this captures both station related information and the QSOs that the station has participated in
For the purposes of comparison a station is considered unique if it is both the same callsign and location
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActivity(Activity activity) voidbooleandoingSameActivityAs(Station other) booleanStations are considered equal if they have the same callsign and are in the same location (or have no location set)getActivity(ActivityType type) getKey()Unique key for this station including callsign and either coords/grid or both/neitherbooleaninthashCode()booleanisDoing(ActivityType type)
-
Constructor Details
-
Station
public Station() -
Station
-
-
Method Details
-
addQso
-
addActivity
-
isDoing
-
getActivity
-
hasActivity
public boolean hasActivity() -
doingSameActivityAs
-
equals
Stations are considered equal if they have the same callsign and are in the same location (or have no location set) -
hashCode
public int hashCode() -
getKey
Unique key for this station including callsign and either coords/grid or both/neither- Returns:
- unique key for this station
-