Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25
  1. #21
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    11

    Default

    I think the easiest approach would be a class, since all this information is similar you can use a class and then just have a list of the class.

  2. #22
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,807
    Rep Power
    10

    Default

    Then we go full circle back to the first suggestion and you have a List of Proxy objects. Each Proxy has a host, list of ports and type.

  3. #23
    Solarsonic is offline Senior Member
    Join Date
    Mar 2011
    Posts
    261
    Rep Power
    7

    Default

    Quote Originally Posted by Junky View Post
    Then we go full circle back to the first suggestion and you have a List of Proxy objects. Each Proxy has a host, list of ports and type.
    Ok, I see the answer now, but it wouldn't be possible at all to have 3 values for a Map?

  4. #24
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    11

    Default

    I suppose you could have a map that looks like this
    Java Code:
    Map<String, Map<String, String>>
    But that would be overly complicated.

  5. #25
    Solarsonic is offline Senior Member
    Join Date
    Mar 2011
    Posts
    261
    Rep Power
    7

Page 2 of 2 FirstFirst 12

Similar Threads

  1. array lists in jsp and google api
    By gedas in forum New To Java
    Replies: 3
    Last Post: 04-07-2011, 02:18 PM
  2. Array Lists help!!
    By lilika in forum New To Java
    Replies: 12
    Last Post: 01-04-2011, 03:05 PM
  3. Array Lists and Club class
    By amekjian in forum New To Java
    Replies: 13
    Last Post: 11-03-2010, 01:42 AM
  4. Help with arrays and array lists
    By ambernicole88 in forum New To Java
    Replies: 3
    Last Post: 12-04-2009, 10:47 PM
  5. please i need the code of comparing these two array lists.
    By raj reddy in forum JavaServer Pages (JSP) and JSTL
    Replies: 5
    Last Post: 04-18-2008, 07:42 AM

Posting Permissions

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