Portfolio Code | Clement Colmerauer
Repositories
Site
Software engineering : Airport library
Code
Commits
Branches
Tags
Search
Tree:
12cfefd
Branches
Tags
master
Software engineering : Airport library
build
classes
java
main
com
uca
flights
Flight.class
Initial commit
ClementColmerauer
commited
12cfefd
at 2024-10-20 09:50:50
Flight.class
Blame
History
Raw
��� 7 � - u v w x y z ; { , | , } , ~ , � u , � � � � H � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � H � � � � id Lcom/uca/flights/FlightId; departure Ljava/time/ZonedDateTime; trip Lcom/uca/flights/Trip; bookings Ljava/util/ArrayList; Signature 1Ljava/util/ArrayList<Lcom/uca/bookings/Booking;>; isReservable Z <init> � FlightIdGenerator InnerClasses ](Lcom/uca/flights/Company$FlightIdGenerator;Ljava/time/ZonedDateTime;Lcom/uca/flights/Trip;)V Code LineNumberTable LocalVariableTable this Lcom/uca/flights/Flight; gen +Lcom/uca/flights/Company$FlightIdGenerator; dep StackMapTable � getId ()Lcom/uca/flights/FlightId; getDeparture ()Ljava/time/ZonedDateTime; getArrival getDestination ()Lcom/uca/flights/Airport; getStartingAirport getDuration ()Ljava/time/Duration; getTrip ()Lcom/uca/flights/Trip; open ()V close getBookings ()Ljava/util/List; .()Ljava/util/List<Lcom/uca/bookings/Booking;>; addBooking (Lcom/uca/bookings/Booking;)V booking Lcom/uca/bookings/Booking; removeBooking ()Z delay (Ljava/time/Duration;)V duration Ljava/time/Duration; t -(Ljava/time/Duration;Lcom/uca/flights/Jump;)V j Lcom/uca/flights/Jump; -(Ljava/time/Duration;Lcom/uca/flights/Step;)V s Lcom/uca/flights/Step; getSteps ()Ljava/util/Iterator; .()Ljava/util/Iterator<Lcom/uca/flights/Step;>; getJumps .()Ljava/util/Iterator<Lcom/uca/flights/Jump;>; toString ()Ljava/lang/String; SourceFile Flight.java : V "java/lang/IllegalArgumentException "Flight id generator can't be null. : � Departure date can't be null. Trip can't be null. � J . / 0 1 2 3 8 9 java/util/ArrayList 4 5 � � � Q R � � � O � � � K � : � Booking can't be null. � � � Booked for another flight. � � � � � � _ \ Duration can't be null. � � com/uca/flights/Trip a b Jump can't be null. a f Step can't be null. a i l m o m � q r BootstrapMethods � � � � com/uca/flights/Flight java/lang/Object � )com/uca/flights/Company$FlightIdGenerator java/time/ZonedDateTime (Ljava/lang/String;)V next getLastStep ()Lcom/uca/flights/Step; com/uca/flights/Step plus >(Ljava/time/temporal/TemporalAmount;)Ljava/time/ZonedDateTime; getAirport getStart ()Lcom/uca/flights/Jump; com/uca/flights/Jump (Ljava/util/Collection;)V com/uca/bookings/Booking getFlight ()Lcom/uca/flights/Flight; contains (Ljava/lang/Object;)Z add remove clone ()Ljava/lang/Object; com/uca/flights/FlightId � � Flight departure at makeConcatWithConstants J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; com/uca/flights/Company � � � $java/lang/invoke/StringConcatFactory � Lookup �(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; � %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! , - . / 0 1 2 3 4 5 6 7 8 9 : >