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

40 for (Iterator it = coll.iterator(); it.hasNext();) { 41 Object obj = it.next(); 42 if (type.isInstance(obj)) { 43 if (value != null) { 44 throw new IllegalArgumentException("More than one value of type [" + type.getName() + "] found");

Class: org.springframework.metadata.support.AbstractAttributes  ©, Rating: 0% of 0, C2

55 for (Iterator it = coll.iterator(); it.hasNext(); ) { 56 Object next = it.next(); 57 if (filter.isInstance(next)) { 58 matches.add(next); 59 }

Class: org.springframework.remoting.support.RemoteExporter  ©, Rating: 0% of 0, C1

096 throw new IllegalArgumentException("serviceInterface is required"); 097 } 098 if (!this.serviceInterface.isInstance(this.service)) { 099 throw new IllegalArgumentException( 100 "serviceInterface [" + this.serviceInterface.getName() +

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

087 */ 088 public void setValue(Object value) { 089 if (this.collectionType.isInstance(value)) { 090 // Use the source value as-is, as it matches the target type. 091 super.setValue(value);

Class: org.springframework.dao.support.DataAccessUtils  ©, Rating: 0% of 0, C2

087 result = result.toString(); 088 } 089 else if (Number.class.isAssignableFrom(requiredType) && Number.class.isInstance(result)) { 090 try { 091 result = NumberUtils.convertNumberToTargetClass(((Number) result), requiredType);

Class: org.springframework.dao.support.DataAccessUtils  ©, Rating: 0% of 0, C2

083 084 Object result = requiredUniqueResult(results); 085 if (requiredType != null && !requiredType.isInstance(result)) { 086 if (String.class.equals(requiredType)) { 087 result = result.toString();

Class: org.springframework.core.NestedRuntimeException  ©, Rating: 0% of 0, C2

138 Throwable ex = this; 139 while (ex != null) { 140 if (exClass.isInstance(ex)) { 141 return true; 142 }

Class: org.springframework.core.NestedCheckedException  ©, Rating: 0% of 0, C2

138 Throwable ex = this; 139 while (ex != null) { 140 if (exClass.isInstance(ex)) { 141 return true; 142 }

Class: org.springframework.util.NumberUtils  ©, Rating: 0% of 0, C3

048 public static Number convertNumberToTargetClass(Number number, Class targetClass) 049 throws IllegalArgumentException { 050 if (targetClass.isInstance(number)) { 051 return number; 052 }

Class: org.springframework.context.support.ApplicationObjectSupport  ©, Rating: 0% of 0, C2

081 if (this.applicationContext == null) { 082 // initialize with passed-in context 083 if (!requiredContextClass().isInstance(context)) { 084 throw new ApplicationContextException( 085 "Invalid application context: needs to be of type [" + requiredContextClass().getName() + "]");

Result Page:  1  |  2  |  3  |  4  |  5   Next