Search:

Type: Posts; User: Eriosblood

Page 1 of 2 1 2

Search: Search took 0.16 seconds.

  1. Sequence with linked list and Generics *2 Errors*

    Hello! Ran the J-unit tests, runs 19/19 with 2 Errors located in my methods: addAll & concatenation.
    I truly appreciate the help friends!



    public void addAll(LinkedSeq<E> addend)
    {
    ...
  2. Sequence with linked list and Generics *2 Errors*

    Hello! Ran the J-unit tests, runs 19/19 with 2 Errors located in my methods: addAll & concatenation.
    I truly appreciate the help friends!



    public void addAll(LinkedSeq<E> addend)
    {
    ...
  3. Re: Help With Sequence Array, Current Index, 3 Errors, 6 Failures

    Alright alright been working on it and got to 0 Errors now and one Failure in the method **addAll**


    public void addAll(DoubleArraySeq addend)
    {
    if (addend == null)

    throw new...
  4. Re: Help With Sequence Array, Current Index, 3 Errors, 6 Failures

    testStart



    public void testStart( ) {
    DoubleArraySeq s = new DoubleArraySeq( );

    s.addBefore(23);
    s.addBefore(14);
    s.addBefore(-15.2);
  5. Help With Sequence Array, Current Index, 3 Errors, 6 Failures

    Not quite sure exactly where the bug is, have been testing it with Junit and it has 3 Errors and 6 Failures.

    *Test Start Fails: (assertEquals("Two addAfters", "17.0 9.0 (34.0) -15.2 14.0...
  6. Code compiles, Is it logically correct?

    I think it is correct, just looking for a second opinion as my level of experience is questionable.



    /******************************************************************************
    * A...
  7. Re: Game of Life, help with Array Object? Quite puzzled

    Think you could fix it in 10 minutes and save my ass? Lol just kidding, you have done enough. Thanks for the help. Have a good night.
  8. Re: Game of Life, help with Array Object? Quite puzzled

    I have absolutely no idea. Honestly just want to Q.Q
  9. Re: Game of Life, help with Array Object? Quite puzzled

    Ok found something. It says matrix has the value null at this spot.


    public static void printWorld(boolean[][] matrix) {
    for (int r=0; r<matrix.length; r++) {
    for (int c=0;...
  10. Re: Game of Life, help with Array Object? Quite puzzled

    I don't even know where the compiler is. Pretty sad.
  11. Re: Game of Life, help with Array Object? Quite puzzled

    When compiled from console I get this.

    Exception in thread "main" java.lang.NullPointerException
    at Console.printWorld(Console.java:41)
    at Console.playLife(Console.java:56)
    at...
  12. Re: Game of Life, help with Array Object? Quite puzzled

    Ahhhh I do not want to be an inconvenience and ask for the code but maybe an outline or something, I'm desperate
  13. Re: Game of Life, help with Array Object? Quite puzzled

    I just do not understand what I am supposed to write and change, this is all foreign to me I just began this class and have been looking at this all night. Extremely stressed. Due within the hour and...
  14. Re: Game of Life, help with Array Object? Quite puzzled

    That is to create an array of true/false values depending on whether or not life exists in those areas. If true it will be a '#' and false a '-'.
  15. Re: Game of Life, help with Array Object? Quite puzzled

    I believe it will be used from the console class, I am not entirely sure. I am hardly experienced with java and just got thrown into the language with hardly any good verbal explanation in class....
  16. Re: Game of Life, help with Array Object? Quite puzzled

    Should I get rid of the println statements that are asking for the rows/colums/seeds/birthHigh etc? Since I am passing parameters to the construct? I also really have no idea how to increment the...
  17. Re: Game of Life, help with Array Object? Quite puzzled

    Copied the files in ~hutchens162/labs/life and now I have.


    import java.util.Scanner;


    public class Console {

    /**
    * @param args unused
  18. Re: Game of Life, help with Array Object? Quite puzzled

    I just don't understand where to begin/what to do. Add objects to the methods? It is supposed to match up with some sort of interface? I am just quite bewildered.
  19. Re: Game of Life, help with Array Object? Quite puzzled

    Oh I am sorry, quite rude of me. My apologies.

    Overview
    This lab extends the game of Life assignment that was started in the Life Matrix assignment and continued in the Life Update assignment....
  20. Re: Game of Life, help with Array Object? Quite puzzled

    Thanks for the quick reply, greatly appreciated, been working all day on this. The clues are in the file I attached in my first post.
  21. Re: Game of Life, help with Array Object? Quite puzzled

    Even more confused now.
  22. Re: Game of Life, help with Array Object? Quite puzzled

    Thank you. Reading now.
  23. Game of Life, help with Array Object? Quite puzzled

    I've been asked to change my game of life code to include objects, and I'm not quite exactly sure how to go about doing that. Haven't worked with objects yet, and am a very mediocre beginning...
  24. Re: Game of Life Matrix...Needs troubleshoot, specific output

    Wow thank you very much, very insightful! Here are my rules.
  25. Game of Life Matrix...Needs troubleshoot, specific output

    Well I have the program written, just have the problem that I'm not getting the output I desire.


    import java.util.Random;
    import java.util.Scanner;


    //This program creates a board of -'s...
Results 1 to 25 of 38
Page 1 of 2 1 2