Casting error

privatestatic Integer recordsToIgnore [];

publicstaticvoid getIgnoredLines(){

recordsToIgnore =new Integer [pconf.getLines().size()];

recordsToIgnore = (Integer)pconf.getLines().toArray();

}

pconf.getLines() is a set of integer elements in my Pconf class, i wanna get it back to an array of integers in this class.. however, when i tried to cast it to an integer i get an error (incompatiable types) can anyone tell me what is wrong? thanks

[739 byte] By [Alandera] at [2007-11-27 2:25:10]
# 1
problem solved i missed out the [] .. ty for looking anyway
Alandera at 2007-7-12 2:33:07 > top of Java-index,Java Essentials,Java Programming...