Search Results
OK to copy?
Examples 1 through 10 of
50 (0.0020 seconds)
Class:
org.springframework.beans.factory.config.ListFactoryBean
©,
Rating:
100% of 1,
C1
Class: org.springframework.jdbc.support.KeyHolderTests ©, Rating: 0% of 0, C1
Class: org.springframework.jdbc.support.KeyHolderTests ©, Rating: 0% of 0, C1
Class: org.springframework.jdbc.support.KeyHolderTests ©, Rating: 0% of 0, C1
Class: org.springframework.jdbc.support.KeyHolderTests ©, Rating: 0% of 0, C1
Class: org.springframework.jdbc.support.KeyHolderTests ©, Rating: 0% of 0, C1
Class: org.springframework.core.io.support.PathMatchingResourcePatternResolverTests ©, Rating: 0% of 0, C1
Class: org.apache.batik.svggen.SVGComposite ©, Rating: 0% of 0, C1
Class: org.apache.tools.ant.util.ChainedMapper ©, Rating: 0% of 0, C2
Class: org.apache.tools.ant.util.ChainedMapper ©, Rating: 0% of 0, C2
65 }
66 List result = (List) BeanUtils.instantiateClass(this.targetListClass);
67 result.addAll(this.sourceList);
68 return result;
69 }
Class: org.springframework.jdbc.support.KeyHolderTests ©, Rating: 0% of 0, C1
099 l.add(m);
100 l.add(m);
101 kh.getKeyList().addAll(l);
102
103 assertEquals("two rows should be in the list", 2, kh.getKeyList().size());
Class: org.springframework.jdbc.support.KeyHolderTests ©, Rating: 0% of 0, C1
081 m.put("seq", new Integer(2));
082 l.add(m);
083 kh.getKeyList().addAll(l);
084 Map keyMap = kh.getKeys();
085 assertEquals("two keys should be in the map", 2, keyMap.size());
Class: org.springframework.jdbc.support.KeyHolderTests ©, Rating: 0% of 0, C1
066 HashMap m = new HashMap();
067 l.add(m);
068 kh.getKeyList().addAll(l);
069 try {
070 kh.getKey();
Class: org.springframework.jdbc.support.KeyHolderTests ©, Rating: 0% of 0, C1
053 m.put("key", new String("1"));
054 l.add(m);
055 kh.getKeyList().addAll(l);
056 try {
057 kh.getKey().intValue();
Class: org.springframework.jdbc.support.KeyHolderTests ©, Rating: 0% of 0, C1
044 m.put("key", new Integer(1));
045 l.add(m);
046 kh.getKeyList().addAll(l);
047 assertEquals("single key should be returned", 1, kh.getKey().intValue());
048 }
Class: org.springframework.core.io.support.PathMatchingResourcePatternResolverTests ©, Rating: 0% of 0, C1
080 Resource[] resources, String urlProtocol, String[] fileNames1, String[] fileNames2) throws IOException {
081 List fileNames = new ArrayList(Arrays.asList(fileNames1));
082 fileNames.addAll(Arrays.asList(fileNames2));
083 assertProtocolAndFilenames(resources, urlProtocol, (String[]) fileNames.toArray(new String[fileNames.size()]));
084 }
Class: org.apache.batik.svggen.SVGComposite ©, Rating: 0% of 0, C1
107 public List getDefinitionSet() {
108 List compositeDefs = new LinkedList(svgAlphaComposite.getDefinitionSet());
109 compositeDefs.addAll(svgCustomComposite.getDefinitionSet());
110 return compositeDefs;
111 }
Class: org.apache.tools.ant.util.ChainedMapper ©, Rating: 0% of 0, C2
49 String[] mapped = mapper.mapFileName((String)(it.next()));
50 if (mapped != null) {
51 results.addAll(Arrays.asList(mapped));
52 }
53 }
Class: org.apache.tools.ant.util.ChainedMapper ©, Rating: 0% of 0, C2