Results 1 to 2 of 2
  1. #1
    javanut123 is offline Member
    Join Date
    Dec 2011
    Posts
    1
    Rep Power
    0

    Exclamation storing data in queues

    Hey, so we are trying to do a project which involves extracting data from an array list and storing this in a Linked Queue. This array list is supposed to contain the name of a lesson and the number of people taking the lesson at a given time (this is then refreshed every 2 minutes or so.) i was wondering if it was possible to store two types of data in the same linked queue?

  2. #2
    doWhile is online now Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,641
    Rep Power
    7

    Default Re: storing data in queues

    i was wondering if it was possible to store two types of data in the same linked queue?
    Yes. Create a class that encapsulates the data and store instances of this class in the queue

Similar Threads

  1. Storing a LOT of strings / data?
    By Atriamax in forum Advanced Java
    Replies: 5
    Last Post: 05-07-2010, 10:07 AM
  2. Storing data to file :s
    By idi in forum New To Java
    Replies: 3
    Last Post: 02-13-2010, 09:54 PM
  3. Storing data?
    By Syntax in forum New To Java
    Replies: 4
    Last Post: 01-23-2010, 02:17 AM
  4. Storing the data in a file
    By vasavi.singh in forum New To Java
    Replies: 4
    Last Post: 02-20-2009, 05:01 PM
  5. Storing Data
    By Khorod in forum New To Java
    Replies: 1
    Last Post: 08-03-2007, 06:48 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
  •