Class AirportCharts<T extends Chart>
java.lang.Object
org.deltava.beans.schedule.AirportCharts<T>
- Type Parameters:
T
- the Chart type
- All Implemented Interfaces:
Serializable
,Comparable<AirportCharts<?>>
,Iterable<T>
public class AirportCharts<T extends Chart>
extends Object
implements Iterable<T>, Serializable, Comparable<AirportCharts<?>>
A bean to store a collection of Charts associated with an Airport.
- Since:
- 5.0
- Version:
- 7.2
- Author:
- Luke
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes the collection.AirportCharts
(Airport a, Collection<T> charts) Initializes the collection. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a chart to the collection.int
compareTo
(AirportCharts<?> ac2) Returns a particular ChartReturns the Airport.Returns the chart names.Returns the Charts.iterator()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AirportCharts
-
AirportCharts
Initializes the collection.- Parameters:
a
- the Airportcharts
- the charts to include
-
-
Method Details
-
getAirport
-
get
-
getCharts
-
getChartNames
Returns the chart names.- Returns:
- a Collection of Chart names
-
add
-
iterator
-
compareTo
- Specified by:
compareTo
in interfaceComparable<T extends Chart>
-