Search:

Type: Posts; User: MelkWeg

Search: Search took 0.07 seconds.

  1. Re: ClassCastException ArrayList Cannot be cast to package.name.ClassNAME can some one Help to fix?

    when you running Coverage there is Green Color on the Code.
    that means its 100% ok , if there is yellow color it means there is some thing missed as i mentioned
    in the Quote i write near to the...
  2. Replies
    7
    Views
    871

    Re: My first functioning Try Catch program

    why you using NextInt? and then Tryin to Parse Int to int value as Norm said .

    you should change your Varies to Strings , int x;
    then try to play with it :)

    and you can add e.getMessage() to...
  3. Re: ClassCastException ArrayList Cannot be cast to package.name.ClassNAME can some one Help to fix?

    i have change my Code , JUnit test Passed . but now its not seems like professional Code because there is
    yellow color when im running the Coverage.



    can i have your opinion? thank you again .
  4. Re: ClassCastException ArrayList Cannot be cast to package.name.ClassNAME can some one Help to fix?

    java.util.ArrayList .
    it is kind what im tryin to return , if there is a Reader who reads it i wanna return Enum COnstant. if there is No Reader who reads it i wanna return Empty ArrayList to avoid...
  5. Re: ClassCastException ArrayList Cannot be cast to package.name.ClassNAME can some one Help to fix?

    oh , it will sound Stupid but im sorry i barely get you.. if you think there is a better way to change the method you can give me a Hint ill try to .. , i still think with out seeing mine Project you...
  6. Re: ClassCastException ArrayList Cannot be cast to package.name.ClassNAME can some one Help to fix?

    d.getIsbn() should be match to the isbn of the Method Parm methodName(long isbn..) . if im getting you right , im kind of new with Streams..
    im tryin to return if there is a Reader who reads the...
  7. Re: ClassCastException ArrayList Cannot be cast to package.name.ClassNAME can some one Help to fix?

    it will be a Problem i dont really have idea how to because all of the Setters/getters etc.. i can post link to mine Project .. and tell you exactly which Class/Lines not working ..if its ok let me...
  8. Re: ClassCastException ArrayList Cannot be cast to package.name.ClassNAME can some one Help to fix?

    Sorry its PickRecord which is a Class , i edit the code. can take a look now , in my opinion i just missing something with the Filtering.. i can explain what i should get but the Sprint got alot of...
  9. Re: ClassCastException ArrayList Cannot be cast to package.name.ClassNAME can some one Help to fix?

    the Casting (PickPeriod) before the start of the stream...
    i know for sure the problem is in the Syntax of :



    when im trying to filter , its just making a ERROR in Syntax. and all the code...
  10. ClassCastException ArrayList Cannot be cast to package.name.ClassNAME can some one Help to fix?

    hello guys im working on Books Library Sprint .
    trying to filter by ISBN number but then when im running Junit Test the Result : ArrayList Cannot be cast to library.PickPeriod(Package Name)
    ...
Results 1 to 10 of 10