e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 10 of 12 (0.013000000000000001 seconds)
Class: org.springframework.util.ObjectUtils  ©, Rating: 0% of 0, C2

099 Assert.isTrue(clazz.getComponentType().isPrimitive(), 100 "The specified parameter is not a primitive array."); 101 int length = Array.getLength(primitiveArray); 102 if (length == 0) { 103 return new Object[0];

Class: org.springframework.beans.propertyeditors.CustomCollectionEditor  ©, Rating: 0% of 0, C2

100 else if (value != null && value.getClass().isArray()) { 101 // Convert array elements to Collection elements. 102 int length = Array.getLength(value); 103 Collection target = createCollection(this.collectionType, length); 104 for (int i = 0; i < length; i++) {

Class: org.apache.axis.encoding.ser.BeanPropertyTarget  ©, Rating: 0% of 0, C3

138 value.getClass().isArray() && 139 !type.getClass().isArray()) { 140 for (int i=0; i<Array.getLength(value); i++) { 141 Object item = 142 JavaUtils.convert(Array.get(value, i), type);

Class: org.apache.axis.utils.BeanPropertyDescriptor  ©, Rating: 0% of 0, C2

213 // Copy over the old elements 214 if (array != null) { 215 System.arraycopy(array, 0, newArray, 0, Array.getLength(array)); 216 } 217 // Set the object to use the larger array

Class: org.apache.axis.utils.BeanPropertyDescriptor  ©, Rating: 0% of 0, C2

208 // Get the entire array and make sure it is large enough 209 Object array = get(obj); 210 if (array == null || Array.getLength(array) <= i) { 211 // Construct a larger array of the same type 212 Object newArray = Array.newInstance(componentType, i + 1);

Class: org.apache.axis.types.Schema  ©, Rating: 0% of 0, C2

141 if (get_any() != null) { 142 for (int i = 0; 143 i < java.lang.reflect.Array.getLength(get_any()); 144 i++) { 145 java.lang.Object obj = java.lang.reflect.Array.get(get_any(), i);

Class: org.apache.axis.encoding.ser.ArraySerializer  ©, Rating: 0% of 0, C3

232 okay = false; 233 } 234 } else if (dim2Len != Array.getLength(elementValue)) { 235 okay = false; 236 }

Class: org.apache.axis.encoding.ser.ArraySerializer  ©, Rating: 0% of 0, C3

228 okay = false; 229 else if (dim2Len < 0) { 230 dim2Len = Array.getLength(elementValue); 231 if (dim2Len <= 0) { 232 okay = false;

Class: org.apache.axis.encoding.ser.ArraySerializer  ©, Rating: 0% of 0, C3

172 String prefix = context.getPrefixForURI(componentQName.getNamespaceURI()); 173 String compType = prefix + ":" + componentQName.getLocalPart(); 174 int len = (list == null) ? Array.getLength(value) : list.size(); 175 176 String arrayType;

Class: org.springframework.mock.web.MockHttpServletRequest  ©, Rating: 0% of 0, C2

500 } 501 else if (value.getClass().isArray()) { 502 int length = Array.getLength(value); 503 for (int i = 0; i < length; i++) { 504 Object element = Array.get(value, i);

Result Page:  1  |  2   Next