So far these are my changes to the method.
public String merge (Sequence other)
{
for (int i =0; i < other.values.size(); i++)
{ // System.out.println("change");
...
Type: Posts; User: kkruz
So far these are my changes to the method.
public String merge (Sequence other)
{
for (int i =0; i < other.values.size(); i++)
{ // System.out.println("change");
...
The Following is my sequence class. I have two Sequences. I am passing the other sequence into the merge method . I am using modulo and an if statement insert at each even iteration of the elements...
I am trying to alternate the numbers of two Sequences. Right now getting an infinite loop.
any suggestions? Here is my method.
public ArrayList<Integer> merge (Sequence other)
{
for...
Hello Community noob here.