100+ results for 'List<Object> repo:boo/boo-lang'
Not the results you expected?
DefaultDaemonConnectionTest.groovy (https://github.com/andrewhj-mn/gradle.git) Groovy · 393 lines
BinaryShardedJedis.java (https://github.com/gnprice/jedis.git) Java · 403 lines
PipelineResourceInner.java (git://github.com/WindowsAzure/azure-sdk-for-java.git) Java · 353 lines
245 * @return the annotations value.
246 */
247 public List<Object> annotations() {
248 return this.innerProperties() == null ? null : this.innerProperties().annotations();
249 }
255 * @return the PipelineResourceInner object itself.
256 */
257 public PipelineResourceInner withAnnotations(List<Object> annotations) {
258 if (this.innerProperties() == null) {
259 this.innerProperties = new Pipeline();
CosmosAsyncStoredProcedure.java (git://github.com/WindowsAzure/azure-sdk-for-java.git) Java · 246 lines
119 * @return an {@link Mono} containing the single resource response with the stored procedure response or an error.
120 */
121 public Mono<CosmosStoredProcedureResponse> execute(List<Object> procedureParams,
122 CosmosStoredProcedureRequestOptions options) {
123 return withContext(context -> executeInternal(procedureParams, options, context));
211 }
213 private Mono<CosmosStoredProcedureResponse> executeInternal(List<Object> procedureParams,
214 CosmosStoredProcedureRequestOptions options,
215 Context context) {
UnityServiceLocator.cs (https://github.com/tyronegroves/mvcturbine.git) C# · 292 lines
TreeTableSelection.java (https://github.com/grb123/OpenFaces.git) Java · 298 lines
197 }
199 List<Object> path = new ArrayList<Object>();
200 for (TreePath p = keyPath; p != null; p = p.getParentPath())
201 path.add(0, p.getValue());
206 }
208 private TreePath nodePathByKeyPath(TreeStructure treeStructure, List<Object> path, TreePath parentNodePath) {
209 while (true) {
210 Object lookingForKey = path.remove(0);
245 }
247 List<Object> path = new ArrayList<Object>();
248 for (TreePath p = nodePath; p != null; p = p.getParentPath())
249 path.add(0, p.getValue());
BufferedItemList.cs (https://EventScavenger.svn.codeplex.com/svn) C# · 464 lines
284 }
286 List<object> newSortedList = new List<object>( _sortedListItems.Length + additions.Length );
302 else
303 {
304 newSortedList = new List<object>( _sortedListItems );
305 }
454 private Column[] _jobSortColumns = null;
455 private Column[] _jobGroupColumns = null;
456 private List<object> _jobSortedList = null;
458 private object _lockObject = new object();
AddressingItemProviderAdapterFactory.java (https://github.com/cunningt/tools.git) Java · 440 lines
IServiceLocator.cs (https://github.com/tyronegroves/mvcturbine.git) C# · 126 lines
LAStateTest.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 148 lines
89 public void testLAState() {
90 List<Object> expected = new ArrayList<Object>();
91 LAState laState = LAState.empty();
92 laState = add(expected, laState, 0, null);
97 remove(expected, laState, 1, 3);
99 List<Object> expectedInner = expected;
100 LAState laStateInner = laState;
102 expected = new ArrayList<Object>();
103 laState = laState.empty();
104 laState = add(expected, laState, 1, null);
DerIndefLenConverter.java (https://github.com/zxiaofan/JDK.git) Java · 357 lines
BaseRepositoryImpl.java (https://github.com/spreddy/liferay-portal.git) Java · 281 lines
95 }
97 public List<Object> getFileEntriesAndFileShortcuts(
98 long folderId, int status, int start, int end)
99 throws SystemException {
101 return new ArrayList<Object>(
102 getFileEntries(folderId, start, end, null));
103 }
109 }
111 public abstract List<Object> getFoldersAndFileEntries(
112 long folderId, int start, int end, OrderByComparator obc)
113 throws SystemException;
Auth.java (https://github.com/nuandy/othello.git) Java · 186 lines
44 String cookieValue = Util.getCookieValue(request.getCookies(), "myapptoken", "");
46 List<Object> results = new ArrayList<Object>();
48 MongoDB.connect();
77 if (StringUtils.isNotBlank(email) && StringUtils.isNotBlank(password)) {
78 List<Object> results = new ArrayList<Object>();
80 MongoDB.connect();
SourceLookup.java (https://github.com/iw/elasticsearch.git) Java · 181 lines
RegistryCore.cs (https://github.com/NovaGrid/Aurora-Sim.git) C# · 162 lines
37 /// The module interfaces available from this scene.
38 /// </value>
39 protected Dictionary<Type, List<object>> ModuleInterfaces = new Dictionary<Type, List<object>>();
41 /// <summary>
49 // m_log.DebugFormat("[SCENE BASE]: Registering interface {0}", typeof(M));
51 List<Object> l = null;
52 if (!ModuleInterfaces.TryGetValue(typeof(T), out l))
53 {
54 l = new List<Object>();
55 ModuleInterfaces.Add(typeof(T), l);
56 }
147 {
148 //Flatten the array
149 Dictionary<Type, List<object>> interfaces = new Dictionary<Type, List<object>>();
150 foreach (KeyValuePair<Type, List<object>> kvp in ModuleInterfaces)
SessionImpl.java (https://github.com/brianchandotcom/liferay-portal.git) Java · 391 lines
ZSONArray.java (https://github.com/dstmath/HWFramework.git) Java · 364 lines
Jsr299BindingsInterceptor.java (https://github.com/dpospisil/jboss-as.git) Java · 120 lines
61 protected Object delegateInterception(InvocationContext invocationContext, InterceptionType interceptionType, List<Interceptor<?>> currentInterceptors, WeldInterceptorInstances interceptorInstances)
62 throws Exception {
63 List<Object> currentInterceptorInstances = new ArrayList<Object>();
64 for (Interceptor<?> interceptor : currentInterceptors) {
65 currentInterceptorInstances.add(interceptorInstances.getInterceptorInstances().get(interceptor.getBeanClass().getName()).getInstance());
OrgGroupRolePersistenceTest.java (https://github.com/azzazzel/liferay-portal.git) Java · 233 lines
194 new Object[] { newOrganizationId }));
196 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
198 Assert.assertEquals(1, result.size());
214 new Object[] { ServiceTestUtil.nextLong() }));
216 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
218 Assert.assertEquals(0, result.size());
SellerController.cs (https://hg.codeplex.com/xenta) C# · 385 lines
OppositeRestrictionsTest.java (https://gitlab.com/MichelZuniga/drools) Java · 329 lines
41 KieSession session = getStatelessKieSession(this.getClass().getResourceAsStream("Restrictions.drl"));
43 Collection<Object> data = new ArrayList<Object>();
45 Pattern pattern = VerifierComponentMockFactory.createPattern1();
102 KieSession session = getStatelessKieSession(this.getClass().getResourceAsStream("Restrictions.drl"));
104 Collection<Object> data = new ArrayList<Object>();
106 Pattern pattern = VerifierComponentMockFactory.createPattern1();
144 KieSession session = getStatelessKieSession(this.getClass().getResourceAsStream("Restrictions.drl"));
146 Collection<Object> data = new ArrayList<Object>();
148 Pattern pattern = VerifierComponentMockFactory.createPattern1();
AssetTagPersistenceTest.java (https://github.com/azzazzel/liferay-portal.git) Java · 285 lines
213 new Object[] { newTagId }));
215 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
217 Assert.assertEquals(1, result.size());
232 new Object[] { ServiceTestUtil.nextLong() }));
234 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
236 Assert.assertEquals(0, result.size());
ContactPersistenceTest.java (https://github.com/viktorkovacs/liferay-portal-trunk.git) Java · 285 lines
PortletPersistenceTest.java (https://github.com/spreddy/liferay-portal.git) Java · 227 lines
166 dynamicQuery.add(RestrictionsFactoryUtil.in("id", new Object[] { newId }));
168 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
170 assertEquals(1, result.size());
184 new Object[] { nextLong() }));
186 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
188 assertEquals(0, result.size());
Method.java (https://gitlab.com/jaragan/jersey) Java · 286 lines
OppositeRestrictionsTest.java (https://github.com/esteban-aliverti/drools.git) Java · 324 lines
43 session.setAgendaFilter(new RuleNameMatchesAgendaFilter("Opposite LiteralRestrictions"));
45 Collection<Object> data = new ArrayList<Object>();
47 Pattern pattern = VerifierComponentMockFactory.createPattern1();
103 session.setAgendaFilter(new RuleNameMatchesAgendaFilter("Opposite LiteralRestrictions with ranges, greater or equal - less"));
105 Collection<Object> data = new ArrayList<Object>();
107 Pattern pattern = VerifierComponentMockFactory.createPattern1();
144 session.setAgendaFilter(new RuleNameMatchesAgendaFilter("Opposite LiteralRestrictions with ranges, greater - less or equal"));
146 Collection<Object> data = new ArrayList<Object>();
148 Pattern pattern = VerifierComponentMockFactory.createPattern1();
RespokeEndpointTests.java (https://github.com/respoke/respoke-sdk-android.git) Java · 257 lines
FragmentEntryServiceUtil.java (https://github.com/igorbeslic/liferay-portal.git) Java · 334 lines
91 }
93 public static List<Object> getFragmentCompositionsAndFragmentEntries(
94 long groupId, long fragmentCollectionId, int status, int start, int end,
95 OrderByComparator<?> orderByComparator) {
100 }
102 public static List<Object> getFragmentCompositionsAndFragmentEntries(
103 long groupId, long fragmentCollectionId, String name, int status,
104 int start, int end, OrderByComparator<?> orderByComparator) {
Pair.java (https://github.com/gsteri1/OG-Platform.git) Java · 231 lines
StandardStructObjectInspector.java (https://github.com/amorton/hive.git) Java · 201 lines
174 data = java.util.Arrays.asList((Object[]) data);
175 }
176 List<Object> list = (List<Object>) data;
177 assert (list.size() == fields.size());
178 return list;
183 @Override
184 public Object create() {
185 ArrayList<Object> a = new ArrayList<Object>(fields.size());
186 for (int i = 0; i < fields.size(); i++) {
187 a.add(null);
193 public Object setStructFieldData(Object struct, StructField field,
194 Object fieldValue) {
195 ArrayList<Object> a = (ArrayList<Object>) struct;
196 MyField myField = (MyField) field;
197 a.set(myField.fieldID, fieldValue);
BookmarksFolderServiceImpl.java (https://github.com/kiyoshilee/liferay-portal.git) Java · 337 lines
143 @Override
144 public List<Object> getFoldersAndEntries(long groupId, long folderId) {
145 return getFoldersAndEntries(
146 groupId, folderId, WorkflowConstants.STATUS_ANY);
149 @Override
150 public List<Object> getFoldersAndEntries(
151 long groupId, long folderId, int status) {
159 @Override
160 public List<Object> getFoldersAndEntries(
161 long groupId, long folderId, int status, int start, int end) {
Injectionist.cs (https://github.com/rebus-org/Rebus.git) C# · 258 lines
DocumentAnalysisResponse.java (https://github.com/adsabs/solr-affiliation-disambiguation.git) Java · 250 lines
43 super.setResponse(response);
45 NamedList<Object> analysis = (NamedList<Object>) response.get("analysis");
46 for (Map.Entry<String, Object> documentEntry : analysis) {
47 DocumentAnalysis documentAnalysis = new DocumentAnalysis(documentEntry.getKey());
48 NamedList<Object> document = (NamedList<Object>) documentEntry.getValue();
49 for (Map.Entry<String, Object> fieldEntry : document) {
50 FieldAnalysis fieldAnalysis = new FieldAnalysis(fieldEntry.getKey());
51 NamedList field = (NamedList) fieldEntry.getValue();
53 NamedList<Object> query = (NamedList<Object>) field.get("query");
54 if (query != null) {
55 List<AnalysisPhase> phases = buildPhases(query);
HistoryListModel.java (https://github.com/JetBrains/intellij-community.git) Java · 195 lines
23 class HistoryListModel extends AbstractListModel {
24 private static final long serialVersionUID = -374115548677017807L;
25 private final List<Object> history = new ArrayList<>();
26 private List<Object> shownHistory = history;
31 /** Initializes the model to a specific history content */
32 public void initialize(List<Object> history){
33 this.lastAdded = null;
34 this.shownHistory = history;
42 /** Returns the items currently visible */
43 public List<Object> getShownHistory(){
44 return new ArrayList<>(shownHistory);
45 }
ContactPersistenceTest.java (https://github.com/azzazzel/liferay-portal.git) Java · 384 lines
289 new Object[] { newContactId }));
291 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
293 Assert.assertEquals(1, result.size());
308 new Object[] { ServiceTestUtil.nextLong() }));
310 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
312 Assert.assertEquals(0, result.size());
CouponDescriptionType.java (https://github.com/wvelezva/tesisgitrepository.git) Java · 450 lines
97 @XmlElement(name = "UserTargetingInformationRef", type = String.class)
98 })
99 protected List<Object> userTargetingInformationOrUserTargetingInformationRef;
100 @XmlAttribute(name = "couponId")
101 protected String couponId;
297 *
298 */
299 public List<Object> getUserTargetingInformationOrUserTargetingInformationRef() {
300 if (userTargetingInformationOrUserTargetingInformationRef == null) {
301 userTargetingInformationOrUserTargetingInformationRef = new ArrayList<Object>();
Array.cs (https://bitbucket.org/mdavid/dlr.git) C# · 170 lines
JsonParser.cs (https://github.com/NzbDrone/NzbDrone.git) C# · 409 lines
ContratacionAutenticacionServiceProxy.java (https://gitlab.com/edddea/api_contratacion_arq) Java · 224 lines
36 @Override
37 public ArrayList<Object> getListaDatos() {
39 //ContratacionAutenticacionDelegate
41 if (Server.ALLOW_LOG) Log.d(getClass().getName(), ">>proxy getListaDatos >> delegate");
42 final ContratacionAutenticacionDelegate delegate = (ContratacionAutenticacionDelegate) baseDelegateCommons;
43 ArrayList<Object> list = delegate.consultaOperationsDelegate().getDatosTablaConfirmacion();
44 return list;
45 }
DefaultLocalRepositoryImpl.java (https://github.com/Alanlin/liferay-portal.git) Java · 284 lines
95 }
97 public List<Object> getFileEntriesAndFileShortcuts(
98 long folderId, int status, int start, int end)
99 throws SystemException {
159 }
161 public List<Object> getFoldersAndFileEntriesAndFileShortcuts(
162 long folderId, int status, boolean includeMountFolders, int start,
163 int end, OrderByComparator obc)
168 }
170 public List<Object> getFoldersAndFileEntriesAndFileShortcuts(
171 long folderId, int status, int start, int end,
172 OrderByComparator obc)
URL.java (https://github.com/informedindividual/cms-ce.git) Java · 483 lines
183 if ( !removeOld && containsKey( key ) && ( value != null || allowNullValues ) )
184 {
185 List<Object> values = (List<Object>) get( key );
186 if ( value instanceof ArrayList )
187 {
200 else
201 {
202 List<Object> values = new ArrayList<Object>();
203 if ( value != null || allowNullValues )
204 {
TypeVariableDefinition.cs (https://github.com/origins/WCell.git) C# · 304 lines
AnimationEngine.java (https://bitbucket.org/erab6887/devgui2.git) Java · 429 lines
IncompatibilityRestrictionsTest.java (https://gitlab.com/MichelZuniga/drools) Java · 306 lines
42 KieSession session = getStatelessKieSession(this.getClass().getResourceAsStream("Restrictions.drl"));
44 Collection<Object> data = new ArrayList<Object>();
46 Pattern pattern1 = VerifierComponentMockFactory.createPattern1();
105 KieSession session = getStatelessKieSession(this.getClass().getResourceAsStream("Restrictions.drl"));
107 Collection<Object> data = new ArrayList<Object>();
109 Pattern pattern1 = VerifierComponentMockFactory.createPattern1();
168 KieSession session = getStatelessKieSession(this.getClass().getResourceAsStream("Restrictions.drl"));
170 Collection<Object> data = new ArrayList<Object>();
172 Pattern pattern1 = VerifierComponentMockFactory.createPattern1();
NotationLLSD.cs (https://github.com/kow/gridsearch.git) C# · 346 lines
DLFileEntryPersistenceTest.java (https://github.com/Manishkg/liferay-portal.git) Java · 348 lines
chap73.java (https://github.com/ogavrisevs/SCJP-CodeExamples.git) Java · 278 lines
MultiContextEventEndpointTest.java (https://gitlab.com/matticala/apache-camel) Java · 190 lines
AbstractImageEntry.java (https://github.com/lcamilo15/cfeclipse.git) Java · 161 lines
16 HashSet<IStoreImageListener> images = new HashSet<IStoreImageListener>();
17 protected ArrayList<Object> imageList = new ArrayList<Object>();
19 public AbstractImageEntry() {
23 public synchronized Collection<?> getContents() {
24 return new ArrayList<Object>(this.imageList);
25 }
128 }
130 private void process(ArrayList<Object> ls, JarFile jar, File f) {
131 final Enumeration<JarEntry> entries = jar.entries();
132 while (entries.hasMoreElements()) {
LiferayTrashCapability.java (https://github.com/danielreuther/liferay-portal.git) Java · 369 lines
ResolutionNode.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 251 lines
org.apache.commons.collections.collection.TransformedCollection.cs (https://github.com/gadfly/nofs.git) C# · 129 lines
Child.java (https://github.com/jvandenbroeck/The-Turk.git) Java · 294 lines
38 * a representation of a move
39 */
40 private final LinkedList<Object> move;
41 /**
42 * heuristic UCT value
66 * @param NrOfPlayers number of players who play the actual game
67 */
68 public Child(Node child_pointer, LinkedList<Object> move, int NrOfPlayers)
69 {
70 this.child_pointer = child_pointer;
88 * @return the representing move of this object
89 */
90 public LinkedList<Object> get_move()
91 {
92 return move;
MySQLObjectDAO.java (https://bitbucket.org/Alexey_Ch/blagoswarehouse.git) Java · 141 lines
TExtensibleElements.java (https://github.com/bluepimento/openflexo.git) Java · 149 lines
72 protected List<Documentation> documentation;
73 @XmlAnyElement(lax = true)
74 protected List<Object> any;
75 @XmlAnyAttribute
76 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
124 *
125 */
126 public List<Object> getAny() {
127 if (any == null) {
128 any = new ArrayList<Object>();
RVTypeAnnotationUser.java (https://bitbucket.org/delors/opal.git) Java · 114 lines
77 public @RVTypeAnnotation("return type") Function<@RVTypeAnnotation("first parameter of generic type") Object, @RVTypeAnnotation("second parameter of generic type") Integer> methodSignatureRelatedTypeAnnotations() throws Exception {
78 List<Object> l = new ArrayList<>();
79 return (l::indexOf);
80 }
WebSocketExtensionTestUtil.java (https://gitlab.com/taichu/netty) Java · 129 lines
98 @Override
99 protected void encode(ChannelHandlerContext ctx, WebSocketFrame msg,
100 List<Object> out) throws Exception {
101 // unused
102 }
106 @Override
107 protected void decode(ChannelHandlerContext ctx, WebSocketFrame msg,
108 List<Object> out) throws Exception {
109 // unused
110 }
114 @Override
115 protected void encode(ChannelHandlerContext ctx, WebSocketFrame msg,
116 List<Object> out) throws Exception {
117 // unused
118 }
LazyObjectInspectorFactory.java (https://github.com/lobotomyme/hive.git) Java · 154 lines
57 byte separator, Text nullSequence, boolean lastColumnTakesRest,
58 boolean escaped,byte escapeChar) {
59 ArrayList<Object> signature = new ArrayList<Object>();
60 signature.add(structFieldNames);
61 signature.add(structFieldObjectInspectors);
79 }
81 static HashMap<ArrayList<Object>, LazyListObjectInspector> cachedLazySimpleListObjectInspector = new HashMap<ArrayList<Object>, LazyListObjectInspector>();
83 public static LazyListObjectInspector getLazySimpleListObjectInspector(
84 ObjectInspector listElementObjectInspector, byte separator,
85 Text nullSequence, boolean escaped, byte escapeChar) {
86 ArrayList<Object> signature = new ArrayList<Object>();
87 signature.add(listElementObjectInspector);
88 signature.add(Byte.valueOf(separator));
Storage.java (https://gitlab.com/briljant/briljant) Java · 171 lines
ExceptionJsonSerializer.java (https://github.com/deas/alfresco.git) Java · 164 lines
SocialEquityGroupSettingPersistenceTest.java (https://github.com/viktorkovacs/liferay-portal-trunk.git) Java · 243 lines
179 new Object[] { newEquityGroupSettingId }));
181 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
183 assertEquals(1, result.size());
198 new Object[] { nextLong() }));
200 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
202 assertEquals(0, result.size());
BookmarksEntryPersistenceTest.java (https://github.com/viktorkovacs/liferay-portal-trunk.git) Java · 262 lines
ClpSerializer.java (https://github.com/stevenjiancao/liferay-plugins.git) Java · 344 lines
109 public static Object translateInput(List<Object> oldList) {
110 List<Object> newList = new ArrayList<Object>(oldList.size());
112 for (int i = 0; i < oldList.size(); i++) {
216 }
217 else if (obj instanceof List<?>) {
218 return translateInput((List<Object>)obj);
219 }
220 else {
237 public static Object translateOutput(List<Object> oldList) {
238 List<Object> newList = new ArrayList<Object>(oldList.size());
240 for (int i = 0; i < oldList.size(); i++) {
252 }
253 else if (obj instanceof List<?>) {
254 return translateOutput((List<Object>)obj);
255 }
256 else {
AttributesSet.java (https://gitlab.com/XMCDA-library/XMCDA-java) Java · 369 lines
ObjectLiteralImpl.java (https://github.com/FURCAS-dev/FURCAS.git) Java · 251 lines
CorePipelineProviderImpl.java (https://github.com/esteban-aliverti/droolsjbpm-integration.git) Java · 131 lines
VelocityEngineDefinitionParser.java (https://github.com/webx/citrus.git) Java · 101 lines
65 private void parseGlobalMacros(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) {
66 List<Object> macros = createManagedList(element, parserContext);
68 for (Element subElement : subElements(element, and(sameNs(element), name("name")))) {
79 private void parsePlugins(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) {
80 List<Object> plugins = createManagedList(element, parserContext);
82 for (Element subElement : subElements(element)) {
GroupManager.java (https://github.com/elBukkit/PersistencePlugin.git) Java · 403 lines
DLFileShortcutPersistenceTest.java (https://github.com/Oggi/liferay-portal.git) Java · 301 lines
DLFolderServiceWrapper.java (https://github.com/danielreuther/liferay-portal.git) Java · 446 lines
71 @Override
72 public java.util.List<Object> getFileEntriesAndFileShortcuts(
73 long groupId, long folderId, int status, int start, int end)
74 throws com.liferay.portal.kernel.exception.PortalException {
143 @Override
144 public java.util.List<Object> getFoldersAndFileEntriesAndFileShortcuts(
145 long groupId, long folderId, boolean includeMountFolders,
146 int status, int start, int end,
156 @Override
157 public java.util.List<Object> getFoldersAndFileEntriesAndFileShortcuts(
158 long groupId, long folderId, String[] mimeTypes,
159 boolean includeMountFolders, int status, int start, int end,
Comparison.java (https://github.com/thothathri/openmrs.git) Java · 228 lines
31 private Object answer = null;
33 private ArrayList<Object> answerList = null;
35 public Comparison(String key, Integer operator) {
57 public void addAnswerToList(Object answer) {
58 if (answerList == null) {
59 answerList = new ArrayList<Object>();
60 }
61 this.answerList.add(answer);
62 }
64 public ArrayList<Object> getAnswerList() {
65 return this.answerList;
66 }
ExportExpressionVisitorImpl.java (https://github.com/kiyoshilee/liferay-portal.git) Java · 214 lines
AbstractYamlReader.java (https://gitlab.com/CORP-RESELLER/SeLion) Java · 152 lines
ResultRowList.java (https://gitlab.com/jsr38/intermine) Java · 237 lines
28 *
29 */
30 public class ResultRowList implements List<Object>, Iterable<Object>
31 {
146 @Override
147 public Iterator<Object> iterator() {
148 List<Object> values = getValuesInternal();
149 return values.iterator();
150 }
170 private List<Object> getValuesInternal() {
171 List<Object> values = new ArrayList<Object>();
172 for (int i = 0; i < data.length(); i++) {
173 try {
222 @Override
223 public List<Object> subList(int arg0, int arg1) {
224 return getValuesInternal().subList(arg0, arg1);
225 }
SolrParams.java (https://github.com/stewi2/solr.git) Java · 270 lines
ReaderWriter.java (https://github.com/thainb/howl.git) Java · 179 lines
ExpandoColumnPersistenceTest.java (https://github.com/lululiferay/liferay-portal.git) Java · 278 lines
227 new Object[] { newColumnId }));
229 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
231 Assert.assertEquals(1, result.size());
246 new Object[] { ServiceTestUtil.nextLong() }));
248 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
250 Assert.assertEquals(0, result.size());
DirectBeanFudgeBuilder.java (https://github.com/gsteri1/OG-Platform.git) Java · 244 lines
82 msg.add(prop.name(), null, FudgeWireType.SUB_MESSAGE, subMsg);
83 } else if (obj instanceof Set<?>) {
84 MutableFudgeMsg subMsg = buildMessageCollection(serializer, prop, bean.getClass(), new ArrayList<Object>((Set<?>) obj));
85 msg.add(prop.name(), null, FudgeWireType.SUB_MESSAGE, subMsg);
86 } else if (obj instanceof Map<?, ?>) {
180 private List<Object> buildObjectList(FudgeDeserializer deserializer, MetaProperty<Object> prop, Class<?> type, FudgeMsg msg) {
181 Class<?> contentType = JodaBeanUtils.collectionType(prop, type);
182 List<Object> list = new ArrayList<Object>(); // should be List<contentType>
183 for (FudgeField field : msg) {
184 if (field.getOrdinal() != null && field.getOrdinal() != 1) {
208 Class<?> valueType = JodaBeanUtils.mapValueType(prop, type);
209 Map<Object, Object> map = new HashMap<Object, Object>(); // should be Map<keyType,contentType>
210 Queue<Object> keys = new LinkedList<Object>();
211 Queue<Object> values = new LinkedList<Object>();
SymbolResolver.cs (https://github.com/kumpera/mono.git) C# · 424 lines
InputListModel.java (git://github.com/bcdev/beam.git) Java · 179 lines
35 class InputListModel extends AbstractListModel<Object> {
37 private final List<Object> list = new ArrayList<>();
38 private List<Product> sourceProducts = new ArrayList<>();
39 private Property sourceProductPaths;
96 void removeElementsAt(int[] selectedIndices) {
97 List<Object> toRemove = new ArrayList<>();
98 int startIndex = Integer.MAX_VALUE;
99 int endIndex = Integer.MIN_VALUE;
BookmarksFolderPersistenceTest.java (https://github.com/azzazzel/liferay-portal.git) Java · 305 lines
227 new Object[] { newFolderId }));
229 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
231 Assert.assertEquals(1, result.size());
246 new Object[] { ServiceTestUtil.nextLong() }));
248 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
250 Assert.assertEquals(0, result.size());
ListUtils.java (https://bitbucket.org/maxgoebel/tableannotator.git) Java · 237 lines
49 public static void unique (Collection<?> list) {
50 Collection<Object> copyList = new LinkedList<Object> ();
51 Iterator<?> it = list.iterator();
52 while (it.hasNext()) {
89 public static List<Object> toList(Object[] objs) {
90 List<Object> l = new LinkedList<Object>();
91 for (int i=0; i<objs.length; i++) {
92 l.add(objs[i]);
NotificationHistoryResponse.java (http://grails-google-checkout.googlecode.com/svn/trunk/) Java · 339 lines
288 @XmlElement(name = "authorization-amount-notification", namespace = "http://checkout.google.com/schema/2", type = AuthorizationAmountNotification.class)
289 })
290 protected List<Object> newOrderNotificationOrOrderStateChangeNotificationOrChargeAmountNotification;
292 /**
318 *
319 */
320 public List<Object> getNewOrderNotificationOrOrderStateChangeNotificationOrChargeAmountNotification() {
321 if (newOrderNotificationOrOrderStateChangeNotificationOrChargeAmountNotification == null) {
322 newOrderNotificationOrOrderStateChangeNotificationOrChargeAmountNotification = new ArrayList<Object>();
ServicioTestimonio.cs (https://gitlab.com/oscarsalazarsevilla/ITELCA) C# · 194 lines
TextProviderSupport.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 327 lines
147 */
148 public String getText(String key, String defaultValue, String arg) {
149 List<Object> args = new ArrayList<Object>();
150 args.add(arg);
151 return getText(key, defaultValue, args);
164 * @return value of named text
165 */
166 public String getText(String key, List<Object> args) {
167 return getText(key, key, args);
168 }
197 * @return value of named text
198 */
199 public String getText(String key, String defaultValue, List<Object> args) {
200 Object[] argsArray = ((args != null && !args.equals(Collections.emptyList())) ? args.toArray() : null);
201 if (clazz != null) {
ReflectTest.java (https://github.com/babitha/openmrs.git) Java · 287 lines
OktaAuthenticationStateHandlerAdapter.java (https://github.com/Jasig/cas.git) Java · 116 lines
ShoppingCategoryPersistenceTest.java (https://github.com/lululiferay/liferay-portal.git) Java · 299 lines
242 new Object[] { newCategoryId }));
244 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
246 Assert.assertEquals(1, result.size());
261 new Object[] { ServiceTestUtil.nextLong() }));
263 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
265 Assert.assertEquals(0, result.size());
SocialActivitySettingPersistenceTest.java (https://github.com/azzazzel/liferay-portal.git) Java · 283 lines
209 new Object[] { newActivitySettingId }));
211 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
213 Assert.assertEquals(1, result.size());
229 new Object[] { ServiceTestUtil.nextLong() }));
231 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
233 Assert.assertEquals(0, result.size());
RepositoryPersistenceTest.java (https://github.com/azzazzel/liferay-portal.git) Java · 319 lines
236 new Object[] { newRepositoryId }));
238 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
240 Assert.assertEquals(1, result.size());
256 new Object[] { ServiceTestUtil.nextLong() }));
258 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);
260 Assert.assertEquals(0, result.size());
FakeJspPageContext.java (https://github.com/deas/alfresco.git) Java · 470 lines
EjbRelation.java (https://github.com/aldrinleal/openejb.git) Java · 120 lines
TestIntTuple2.java (https://bitbucket.org/Lul4n/yagw2api.git) Java · 415 lines
HDInsightStreamingActivity.java (git://github.com/WindowsAzure/azure-sdk-for-java.git) Java · 374 lines
105 * @return the arguments value.
106 */
107 public List<Object> arguments() {
108 return this.innerTypeProperties() == null ? null : this.innerTypeProperties().arguments();
109 }
115 * @return the HDInsightStreamingActivity object itself.
116 */
117 public HDInsightStreamingActivity withArguments(List<Object> arguments) {
118 if (this.innerTypeProperties() == null) {
119 this.innerTypeProperties = new HDInsightStreamingActivityTypeProperties();
243 * @return the filePaths value.
244 */
245 public List<Object> filePaths() {
246 return this.innerTypeProperties() == null ? null : this.innerTypeProperties().filePaths();
247 }
ServicioFeriado.cs (https://gitlab.com/oscarsalazarsevilla/ITELCA) C# · 208 lines
Library.java (https://gitlab.com/jakenherman7/sql-project) Java · 725 lines
10 public class Library
11 {
12 private ArrayList<Object> bookList = new ArrayList<Object>(); // to store the entire library book list
14 private ArrayList<Object>myList = new ArrayList<Object>(); // to store a user's specific book list
17 private ArrayList<User>users = new ArrayList<User>();
18 private ArrayList<Object>tempMyList = new ArrayList<Object>();
19 private User tempUser;
AmazonRedshiftLinkedService.java (git://github.com/WindowsAzure/azure-sdk-for-java.git) Java · 232 lines
LazyObjectInspectorFactory.java (https://github.com/thainb/howl.git) Java · 141 lines
47 Text nullSequence, boolean lastColumnTakesRest, boolean escaped,
48 byte escapeChar) {
49 ArrayList<Object> signature = new ArrayList<Object>();
50 signature.add(structFieldNames);
51 signature.add(structFieldObjectInspectors);
66 }
68 static HashMap<ArrayList<Object>, LazyListObjectInspector> cachedLazySimpleListObjectInspector = new HashMap<ArrayList<Object>, LazyListObjectInspector>();
70 public static LazyListObjectInspector getLazySimpleListObjectInspector(
71 ObjectInspector listElementObjectInspector, byte separator,
72 Text nullSequence, boolean escaped, byte escapeChar) {
73 ArrayList<Object> signature = new ArrayList<Object>();
74 signature.add(listElementObjectInspector);
75 signature.add(Byte.valueOf(separator));
MapJoinDoubleKeys.java (https://github.com/amorton/hive.git) Java · 184 lines
103 ArrayList<Object> list = (ArrayList<Object>) ObjectInspectorUtils.copyToStandardObject(ctx
104 .getSerDe().deserialize(val), ctx.getSerDe().getObjectInspector(),
105 ObjectInspectorCopyOption.WRITABLE);
127 HashTableSinkObjectCtx ctx = MapJoinMetaData.get(Integer.valueOf(metadataTag));
129 ArrayList<Object> list = MapJoinMetaData.getList();
130 list.add(obj1);
131 list.add(obj2);