Examples of ArrayMetaType


Examples of org.jboss.metatype.api.types.ArrayMetaType

   public void testChar2DArray()
      throws Exception
   {
      char[][] array = {{'H', 'e', 'l', 'l', 'o'}};
      MetaType result = resolve(array.getClass());
      ArrayMetaType actual = assertInstanceOf(result, ArrayMetaType.class);
      ArrayMetaType expected = new ArrayMetaType(2, SimpleMetaType.CHARACTER_PRIMITIVE);
      testArray(expected, actual);
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.