[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Something like an array (list) of a class
From: |
Decebal |
Subject: |
Something like an array (list) of a class |
Date: |
Fri, 10 Apr 2009 13:32:12 -0700 (PDT) |
User-agent: |
G2/1.0 |
I would like to make some datadriven functionality. Is there a way to
make sure a list is filled with a certain type of data. I would like
to make sure that every element of my list contains: a type, a
description, a functionname and room to store a string. Is this
possible?
Also what is the best way to fetch the element of the list that is of
a specific type (first field of the object)?