Search Results
OK to copy?
Examples 1 through 10 of
79 (0.045 seconds)
Class:
org.apache.jmeter.protocol.http.parser.URLCollection
©,
Rating:
50% of 2,
C1
Class: org.apache.jmeter.protocol.http.parser.URLCollection ©, Rating: 0% of 0, C1
Class: org.springframework.beans.propertyeditors.CustomCollectionEditor ©, Rating: 0% of 0, C2
Class: org.springframework.beans.propertyeditors.CustomCollectionEditor ©, Rating: 0% of 0, C2
Class: org.springframework.dao.DataAccessUtilsTests ©, Rating: 0% of 0, C1
Class: org.springframework.dao.DataAccessUtilsTests ©, Rating: 0% of 0, C1
Class: org.springframework.dao.DataAccessUtilsTests ©, Rating: 0% of 0, C1
Class: org.springframework.dao.DataAccessUtilsTests ©, Rating: 0% of 0, C1
Class: org.springframework.dao.DataAccessUtilsTests ©, Rating: 0% of 0, C1
Class: org.springframework.dao.DataAccessUtilsTests ©, Rating: 0% of 0, C1
Class: org.apache.jmeter.protocol.http.parser.URLCollection ©, Rating: 0% of 0, C1
Class: org.springframework.beans.propertyeditors.CustomCollectionEditor ©, Rating: 0% of 0, C2
110 // A plain value: convert it to a Collection with a single element.
111 Collection target = createCollection(this.collectionType, 1);
112 target.add(value);
113 super.setValue(target);
114 }
Class: org.springframework.beans.propertyeditors.CustomCollectionEditor ©, Rating: 0% of 0, C2
103 Collection target = createCollection(this.collectionType, length);
104 for (int i = 0; i < length; i++) {
105 target.add(Array.get(value, i));
106 }
107 super.setValue(target);
Class: org.springframework.dao.DataAccessUtilsTests ©, Rating: 0% of 0, C1
186 Date date = new Date();
187 Collection col = new HashSet();
188 col.add(date);
189
190 assertEquals(date, DataAccessUtils.uniqueResult(col));
Class: org.springframework.dao.DataAccessUtilsTests ©, Rating: 0% of 0, C1
160 public void testWithString() {
161 Collection col = new HashSet();
162 col.add("test1");
163
164 assertEquals("test1", DataAccessUtils.uniqueResult(col));
Class: org.springframework.dao.DataAccessUtilsTests ©, Rating: 0% of 0, C1
148 public void testWithLong() {
149 Collection col = new HashSet();
150 col.add(new Long(5));
151
152 assertEquals(new Long(5), DataAccessUtils.uniqueResult(col));
Class: org.springframework.dao.DataAccessUtilsTests ©, Rating: 0% of 0, C1
136 public void testWithInteger() {
137 Collection col = new HashSet();
138 col.add(new Integer(5));
139
140 assertEquals(new Integer(5), DataAccessUtils.uniqueResult(col));
Class: org.springframework.dao.DataAccessUtilsTests ©, Rating: 0% of 0, C1
Class: org.springframework.dao.DataAccessUtilsTests ©, Rating: 0% of 0, C1
079 public void testWithTooLargeCollection() {
080 Collection col = new HashSet();
081 col.add("test1");
082 col.add("test2");
083