Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 2 additions & 38 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,2 @@
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
/target
/.idea/
76 changes: 50 additions & 26 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/main/java/org/example/Smartphone.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ public void setContactList(ArrayList<Contact> contactList) {
this.contactList = contactList;
}

public boolean containsAtLeast3Contacts() {
return contact.size () <= 3;
}

@Override
public boolean startRadio() {
System.out.println("Radio started");
Expand Down
Binary file added target/classes/org/example/Contact.class
Binary file not shown.
Binary file added target/classes/org/example/Friend.class
Binary file not shown.
Binary file added target/classes/org/example/Main.class
Binary file not shown.
Binary file added target/classes/org/example/Smartphone.class
Binary file not shown.
Binary file added target/classes/org/example/positionable.class
Binary file not shown.
Binary file added target/classes/org/example/startAndstoppable.class
Binary file not shown.