public class APIEntry extends Object
SchoolEntry and SmogEntry| Constructor and Description |
|---|
APIEntry(SchoolEntry schoolEntry,
SmogEntry smogEntry)
Default constructor of
APIEntry |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Compares the equality of
APIEntry |
SchoolEntry |
getSchoolEntry()
Returns
SchoolEntry associated with specific air pollution data |
SmogEntry |
getSmogEntry()
Returns
SmogEntry associated with specific air pollution data |
int |
hashCode()
Calculates hashcode of specific
APIEntry |
String |
toString()
|
public APIEntry(SchoolEntry schoolEntry, SmogEntry smogEntry)
APIEntryschoolEntry - Associated SchoolEntrysmogEntry - Associated SmogEntrypublic SchoolEntry getSchoolEntry()
SchoolEntry associated with specific air pollution dataSchoolEntrypublic SmogEntry getSmogEntry()
SmogEntry associated with specific air pollution dataSmogEntrypublic String toString()
Copyright © 2023. All rights reserved.