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 TypeMethodDescriptionvoidAdds a chart to the collection.intcompareTo(AirportCharts<?> ac2) Returns a particular ChartReturns the Airport.Returns the chart names.Returns the Charts.iterator()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
compareToin interfaceComparable<T extends Chart>
-