Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

JAVA API :getElementType()

hello all,

getElementType() in the class Array takes a long time to return the type
of the elements in the array. I found this to be unusual. Its taking
around 2.5 seconds to return a datatype.

Am writing a small piece of code for better understanding of what am
talking.

Variable v;
String elementType = v.read().getElementType().toString();

The getElementType() method is taking almost 2.5 seconds to return the
dataType of the elements in the array.

Please let me know if am doing it wrong or there is some problem in the
API itself.

Thanks
Visweswara Rao Kottapalli.


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690