Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
APLAB-SESSION7
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
9731044
APLAB-SESSION7
Commits
46d78ba4
Commit
46d78ba4
authored
Apr 28, 2019
by
9731044
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Pipeline
#542
failed with stages
Changes
9
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
87 additions
and
0 deletions
+87
-0
.classpath
.classpath
+6
-0
.project
.project
+17
-0
org.eclipse.jdt.core.prefs
.settings/org.eclipse.jdt.core.prefs
+11
-0
Airplane.java
src/flight/manager/Airplane.java
+5
-0
Customer.java
src/flight/manager/Customer.java
+5
-0
Flight.java
src/flight/manager/Flight.java
+5
-0
Seat.java
src/flight/manager/Seat.java
+5
-0
Ticket.java
src/flight/manager/Ticket.java
+5
-0
TravelManagement.java
src/flight/manager/TravelManagement.java
+28
-0
No files found.
.classpath
0 → 100644
View file @
46d78ba4
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"
/>
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"output"
path=
"bin"
/>
</classpath>
.project
0 → 100644
View file @
46d78ba4
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>
LAB-7
</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>
org.eclipse.jdt.core.javabuilder
</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>
org.eclipse.jdt.core.javanature
</nature>
</natures>
</projectDescription>
.settings/org.eclipse.jdt.core.prefs
0 → 100644
View file @
46d78ba4
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
src/flight/manager/Airplane.java
0 → 100644
View file @
46d78ba4
package
flight
.
manager
;
public
class
Airplane
{
}
src/flight/manager/Customer.java
0 → 100644
View file @
46d78ba4
package
flight
.
manager
;
public
class
Customer
{
}
src/flight/manager/Flight.java
0 → 100644
View file @
46d78ba4
package
flight
.
manager
;
public
class
Flight
{
}
src/flight/manager/Seat.java
0 → 100644
View file @
46d78ba4
package
flight
.
manager
;
public
class
Seat
{
}
src/flight/manager/Ticket.java
0 → 100644
View file @
46d78ba4
package
flight
.
manager
;
public
class
Ticket
{
}
src/flight/manager/TravelManagement.java
0 → 100644
View file @
46d78ba4
package
flight
.
manager
;
import
java.util.ArrayList
;
public
class
TravelManagement
{
private
ArrayList
<
Flight
>
flights
;
private
ArrayList
<
Customer
>
customers
;
public
TravelManagement
()
{
}
public
void
addFlights
(
Flight
flight
)
{
flights
.
add
(
flight
);
}
public
void
removeFlight
(
Flight
flight
)
{
flights
.
remove
(
flight
);
}
public
ArrayList
getFlights
()
{
return
flights
;
}
public
ArrayList
getCustomers
()
{
return
customers
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment