Results 1 to 2 of 2

Thread: parameterize

  1. #1
    Gilgamesh is offline Member
    Join Date
    Nov 2007
    Posts
    20
    Rep Power
    0

    Default parameterize

    I used this
    Java Code:
    saysString[] criteria = new String[tokenVector.size()];
    tokenVector.toArray(criteria);
    to convert from Vector to Array but it says The method toArray(Object[]) belongs to the raw type Vector. References to generic type Vector <E> should be parameterized Whats this?

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •