Announcement

Collapse
No announcement yet.

list data structure

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    list data structure

    I am interested in storing a list of items of type object. I noticed there is a ListItem class. But it appears to only store strings. Whoever wrote this class should be shot. Why not make "Data" of type Object rather then String?

    Is there any other way of using this class for objects or should I just duplicate this whole class and change the Data type to object?

    #2
    Don't see why somebody should be shot just because he wrote an object for managing a dynamic array, using a linked list, because at that point where was no dynamic array support within UnrealScript

    Anyway, why not simply use a dynamic array ?

    Comment


      #3
      Being shot my be a tad dramatic, you're right.

      I suppose I'm just taking my anger out on the guy because had I created a class like this I would have called it StringListItem rather then ListItem ...because what it stores are strings!

      Thankyou, I'll look into dynamic arrays.

      Comment

      Working...
      X