diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml index ea635f5..482cf7b 100644 --- a/src/main/AndroidManifest.xml +++ b/src/main/AndroidManifest.xml @@ -4,7 +4,7 @@ diff --git a/src/main/java/nyc/c4q/AbstractAwesomeClass.java b/src/main/java/nyc/c4q/AbstractAwesomeClass.java index e3f9c21..2b89b9e 100644 --- a/src/main/java/nyc/c4q/AbstractAwesomeClass.java +++ b/src/main/java/nyc/c4q/AbstractAwesomeClass.java @@ -7,11 +7,12 @@ public abstract class AbstractAwesomeClass implements AwesomeInterface { @Override public int getData() { - return 0; + return 4; } @Override public void setData(int someData) { } + } diff --git a/src/main/java/nyc/c4q/AwesomeContainer.java b/src/main/java/nyc/c4q/AwesomeContainer.java index 64e9fd9..fd97923 100644 --- a/src/main/java/nyc/c4q/AwesomeContainer.java +++ b/src/main/java/nyc/c4q/AwesomeContainer.java @@ -3,16 +3,20 @@ import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; +import java.util.List; +import java.util.ListIterator; /** * Created by amyquispe on 5/19/15. */ public class AwesomeContainer { - public static Collection createAwesomeContainer(){ - return null; - } + public static void addAwesomeObject(Collection awesomeContainer){ return; } -} + + public static void createAwesomeContainer() { + + } + } diff --git a/src/main/java/nyc/c4q/ConcreteAwesomeClass.java b/src/main/java/nyc/c4q/ConcreteAwesomeClass.java index f39acca..0b4ef0e 100644 --- a/src/main/java/nyc/c4q/ConcreteAwesomeClass.java +++ b/src/main/java/nyc/c4q/ConcreteAwesomeClass.java @@ -7,5 +7,7 @@ public class ConcreteAwesomeClass extends AbstractAwesomeClass { public ConcreteAwesomeClass(){ } public ConcreteAwesomeClass(int startData){ + } + } diff --git a/src/main/java/nyc/c4q/List.java b/src/main/java/nyc/c4q/List.java new file mode 100644 index 0000000..9e21f76 --- /dev/null +++ b/src/main/java/nyc/c4q/List.java @@ -0,0 +1,19 @@ +package nyc.c4q; + +import java.util.ArrayList; +import java.util.Collection; + +/** + * Created by c4q-joshelynvivas on 5/19/15. + */ +public interface List extends Collection{ + + @Override + boolean addAll(Collection collection); + + @Override + boolean contains(Object o); + + @Override + boolean containsAll(Collection collection); +} diff --git a/src/main/java/nyc/c4q/SubFunClass.java b/src/main/java/nyc/c4q/SubFunClass.java index ef94dce..69a06d8 100644 --- a/src/main/java/nyc/c4q/SubFunClass.java +++ b/src/main/java/nyc/c4q/SubFunClass.java @@ -3,7 +3,19 @@ /** * Created by amyquispe on 5/19/15. */ -public class SubFunClass { + +public class SubFunClass extends SuperFunClass implements AwesomeInterface{ public SubFunClass(){ } + + @Override + public int getData() { + return 0; + } + + @Override + public void setData(int someData) { + + } } + diff --git a/src/main/res/layout/activity_initial.xml b/src/main/res/layout/activity_initial.xml index 49e22b0..e42b095 100644 --- a/src/main/res/layout/activity_initial.xml +++ b/src/main/res/layout/activity_initial.xml @@ -1,18 +1,38 @@ - - - - - + + android:orientation="horizontal" + android:id="@+id/counterLayout"> +