100+ results for 'List<Object> repo:rlacko/sharptal'

Not the results you expected?

DefaultDaemonConnectionTest.groovy (https://github.com/andrewhj-mn/gradle.git) Groovy · 393 lines

350 final Object lock = new Object()

351 final Object endInput = new Object()

352 final LinkedList<Object> receiveQueue = new LinkedList<Object>()

353

354 void requestStop() {

BinaryShardedJedis.java (https://github.com/gnprice/jedis.git) Java · 403 lines

396 }

397

398 public List<Object> pipelined(ShardedJedisPipeline shardedJedisPipeline) {

399 shardedJedisPipeline.setShardedJedis(this);

400 shardedJedisPipeline.execute();

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 }

212

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

39 public IUnityContainer Container { private set; get; }

40

41 public IList<object> ResolveServices(Type type) {

42 return new List<object>(Container.ResolveAll(type));

TreeTableSelection.java (https://github.com/grb123/OpenFaces.git) Java · 298 lines

197 }

198

199 List<Object> path = new ArrayList<Object>();

200 for (TreePath p = keyPath; p != null; p = p.getParentPath())

201 path.add(0, p.getValue());

206 }

207

208 private TreePath nodePathByKeyPath(TreeStructure treeStructure, List<Object> path, TreePath parentNodePath) {

209 while (true) {

210 Object lookingForKey = path.remove(0);

245 }

246

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 }

285

286 List<object> newSortedList = new List<object>( _sortedListItems.Length + additions.Length );

287

288

302 else

303 {

304 newSortedList = new List<object>( _sortedListItems );

305 }

306

454 private Column[] _jobSortColumns = null;

455 private Column[] _jobGroupColumns = null;

456 private List<object> _jobSortedList = null;

457

458 private object _lockObject = new object();

AddressingItemProviderAdapterFactory.java (https://github.com/cunningt/tools.git) Java · 440 lines

78 * @generated

79 */

80 protected Collection<Object> supportedTypes = new ArrayList<Object>();

81

82 /**

IServiceLocator.cs (https://github.com/tyronegroves/mvcturbine.git) C# · 126 lines

48 IList<T> ResolveServices<T>() where T : class;

49

50 IList<object> ResolveServices(Type type);

51

52 /// <summary>

LAStateTest.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 148 lines

88

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);

98

99 List<Object> expectedInner = expected;

100 LAState laStateInner = laState;

101

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

53 private int unresolved = 0;

54

55 private ArrayList<Object> ndefsList = new ArrayList<Object>();

56

57 private int numOfTotalLenBytes = 0;

BaseRepositoryImpl.java (https://github.com/spreddy/liferay-portal.git) Java · 281 lines

95 }

96

97 public List<Object> getFileEntriesAndFileShortcuts(

98 long folderId, int status, int start, int end)

99 throws SystemException {

100

101 return new ArrayList<Object>(

102 getFileEntries(folderId, start, end, null));

103 }

109 }

110

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", "");

45

46 List<Object> results = new ArrayList<Object>();

47

48 MongoDB.connect();

76

77 if (StringUtils.isNotBlank(email) && StringUtils.isNotBlank(password)) {

78 List<Object> results = new ArrayList<Object>();

79

80 MongoDB.connect();

SourceLookup.java (https://github.com/iw/elasticsearch.git) Java · 181 lines

124 * handle path expression where an array/list is navigated within.

125 */

126 public List<Object> extractRawValues(String path) {

127 return XContentMapValues.extractRawValues(path, loadSourceIfNeeded());

128 }

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>>();

40

41 /// <summary>

49 // m_log.DebugFormat("[SCENE BASE]: Registering interface {0}", typeof(M));

50

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

177 defaultASTNodeListener.getTableNames());

178

179 List<Object> scalarValues = defaultASTNodeListener.getScalarValues();

180

181 if (!scalarValues.isEmpty()) {

ZSONArray.java (https://github.com/dstmath/HWFramework.git) Java · 364 lines

18 }

19

20 public ZSONArray(List<Object> list) {

21 super(list);

22 }

170

171 @Override // ohos.utils.fastjson.JSONArray, java.util.List

172 public List<Object> subList(int i, int i2) {

173 return super.subList(i, i2);

174 }

OrgGroupRolePersistenceTest.java (https://github.com/azzazzel/liferay-portal.git) Java · 233 lines

194 new Object[] { newOrganizationId }));

195

196 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

197

198 Assert.assertEquals(1, result.size());

214 new Object[] { ServiceTestUtil.nextLong() }));

215

216 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

217

218 Assert.assertEquals(0, result.size());

SellerController.cs (https://hg.codeplex.com/xenta) C# · 385 lines

272 DisclosureLevel = "Base"

273 });

274 var data = new List<Object>();

275

276 foreach(var i in m.Items)

306 Count = 10

307 });

308 var data = new List<Object>();

309

310 foreach(var i in m.Items)

329 DisclosureLevel = "Base"

330 });

331 var data = new List<Object>();

332

333 foreach(var i in m.Items)

OppositeRestrictionsTest.java (https://gitlab.com/MichelZuniga/drools) Java · 329 lines

41 KieSession session = getStatelessKieSession(this.getClass().getResourceAsStream("Restrictions.drl"));

42

43 Collection<Object> data = new ArrayList<Object>();

44

45 Pattern pattern = VerifierComponentMockFactory.createPattern1();

102 KieSession session = getStatelessKieSession(this.getClass().getResourceAsStream("Restrictions.drl"));

103

104 Collection<Object> data = new ArrayList<Object>();

105

106 Pattern pattern = VerifierComponentMockFactory.createPattern1();

144 KieSession session = getStatelessKieSession(this.getClass().getResourceAsStream("Restrictions.drl"));

145

146 Collection<Object> data = new ArrayList<Object>();

147

148 Pattern pattern = VerifierComponentMockFactory.createPattern1();

AssetTagPersistenceTest.java (https://github.com/azzazzel/liferay-portal.git) Java · 285 lines

213 new Object[] { newTagId }));

214

215 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

216

217 Assert.assertEquals(1, result.size());

232 new Object[] { ServiceTestUtil.nextLong() }));

233

234 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

235

236 Assert.assertEquals(0, result.size());

ContactPersistenceTest.java (https://github.com/viktorkovacs/liferay-portal-trunk.git) Java · 285 lines

219 new Object[] { newContactId }));

220

221 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

222

223 assertEquals(1, result.size());

237 new Object[] { nextLong() }));

238

239 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

240

241 assertEquals(0, result.size());

PortletPersistenceTest.java (https://github.com/spreddy/liferay-portal.git) Java · 227 lines

166 dynamicQuery.add(RestrictionsFactoryUtil.in("id", new Object[] { newId }));

167

168 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

169

170 assertEquals(1, result.size());

184 new Object[] { nextLong() }));

185

186 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

187

188 assertEquals(0, result.size());

DefaultLocalRepositoryImpl.java (https://github.com/acs/liferay-portal.git) Java · 284 lines

95 }

96

97 public List<Object> getFileEntriesAndFileShortcuts(

98 long folderId, int status, int start, int end)

99 throws SystemException {

159 }

160

161 public List<Object> getFoldersAndFileEntriesAndFileShortcuts(

162 long folderId, int status, boolean includeMountFolders, int start,

163 int end, OrderByComparator obc)

168 }

169

170 public List<Object> getFoldersAndFileEntriesAndFileShortcuts(

171 long folderId, int status, int start, int end,

172 OrderByComparator obc)

Method.java (https://gitlab.com/jaragan/jersey) Java · 286 lines

68 protected List<Response> response;

69 @XmlAnyElement(lax = true)

70 protected List<Object> any;

71 @XmlAttribute(name = "id")

72 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)

187 *

188 */

189 public List<Object> getAny() {

190 if (any == null) {

191 any = new ArrayList<Object>();

OppositeRestrictionsTest.java (https://github.com/esteban-aliverti/drools.git) Java · 324 lines

43 session.setAgendaFilter(new RuleNameMatchesAgendaFilter("Opposite LiteralRestrictions"));

44

45 Collection<Object> data = new ArrayList<Object>();

46

47 Pattern pattern = VerifierComponentMockFactory.createPattern1();

103 session.setAgendaFilter(new RuleNameMatchesAgendaFilter("Opposite LiteralRestrictions with ranges, greater or equal - less"));

104

105 Collection<Object> data = new ArrayList<Object>();

106

107 Pattern pattern = VerifierComponentMockFactory.createPattern1();

144 session.setAgendaFilter(new RuleNameMatchesAgendaFilter("Opposite LiteralRestrictions with ranges, greater - less or equal"));

145

146 Collection<Object> data = new ArrayList<Object>();

147

148 Pattern pattern = VerifierComponentMockFactory.createPattern1();

RespokeEndpointTests.java (https://github.com/respoke/respoke-sdk-android.git) Java · 257 lines

249

250

251 public Object resolvePresence(ArrayList<Object> presenceArray) {

252 assertTrue("presence array should contain the correct number of values", 3 == presenceArray.size());

253 return customPresenceResolution;

FragmentEntryServiceUtil.java (https://github.com/igorbeslic/liferay-portal.git) Java · 334 lines

91 }

92

93 public static List<Object> getFragmentCompositionsAndFragmentEntries(

94 long groupId, long fragmentCollectionId, int status, int start, int end,

95 OrderByComparator<?> orderByComparator) {

100 }

101

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

178 @SuppressWarnings("unchecked")

179 public <T> List<T> toList() {

180 ArrayList<Object> list = new ArrayList<Object>();

181 list.add(getFirst());

182 list.add(getSecond());

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

142

143 @Override

144 public List<Object> getFoldersAndEntries(long groupId, long folderId) {

145 return getFoldersAndEntries(

146 groupId, folderId, WorkflowConstants.STATUS_ANY);

148

149 @Override

150 public List<Object> getFoldersAndEntries(

151 long groupId, long folderId, int status) {

152

158

159 @Override

160 public List<Object> getFoldersAndEntries(

161 long groupId, long folderId, int status, int start, int end) {

162

Injectionist.cs (https://github.com/rebus-org/Rebus.git) C# · 258 lines

182 readonly Action<Type> _serviceTypeRequested;

183 readonly Dictionary<Type, object> _instances = new Dictionary<Type, object>();

184 readonly List<object> _resolvedInstances = new List<object>();

185

186 public ResolutionContext(Dictionary<Type, Handler> resolvers, Action<Type> serviceTypeRequested)

DocumentAnalysisResponse.java (https://github.com/adsabs/solr-affiliation-disambiguation.git) Java · 250 lines

43 super.setResponse(response);

44

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();

52

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;

30

31 /** Initializes the model to a specific history content */

32 public void initialize(List<Object> history){

33 this.lastAdded = null;

34 this.shownHistory = history;

41

42 /** Returns the items currently visible */

43 public List<Object> getShownHistory(){

44 return new ArrayList<>(shownHistory);

45 }

Jsr299BindingsInterceptor.java (https://github.com/fharms/wildfly.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());

ContactPersistenceTest.java (https://github.com/azzazzel/liferay-portal.git) Java · 384 lines

289 new Object[] { newContactId }));

290

291 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

292

293 Assert.assertEquals(1, result.size());

308 new Object[] { ServiceTestUtil.nextLong() }));

309

310 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

311

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

150 INativeType elemType = ElementType;

151 int dimensions = 1;

152 List<object> shape = new List<object>();

153 shape.Add((BigInteger)__len__());

154 while (elemType is ArrayType) {

JsonParser.cs (https://github.com/NzbDrone/NzbDrone.git) C# · 409 lines

93 private List<object> ParseArray()

94 {

95 List<object> array = new List<object>();

96 #else

97 private ArrayList ParseArray()

ContratacionAutenticacionServiceProxy.java (https://gitlab.com/edddea/api_contratacion_arq) Java · 224 lines

35

36 @Override

37 public ArrayList<Object> getListaDatos() {

38

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 }

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

200 {

201 //collection = (IList)Activator.CreateInstance(varType);

202 collection = new List<object>();

203 ReadCollection(reader, collection);

204 var arr = Array.CreateInstance(m_collectionType, collection.Count);

AnimationEngine.java (https://bitbucket.org/erab6887/devgui2.git) Java · 429 lines

49

50 //will hold all object that should be called by the animation engine when there's animations to be done

51 private ArrayList<Object> animatableTargets = new ArrayList<Object>();

52

53

IncompatibilityRestrictionsTest.java (https://gitlab.com/MichelZuniga/drools) Java · 306 lines

42 KieSession session = getStatelessKieSession(this.getClass().getResourceAsStream("Restrictions.drl"));

43

44 Collection<Object> data = new ArrayList<Object>();

45

46 Pattern pattern1 = VerifierComponentMockFactory.createPattern1();

105 KieSession session = getStatelessKieSession(this.getClass().getResourceAsStream("Restrictions.drl"));

106

107 Collection<Object> data = new ArrayList<Object>();

108

109 Pattern pattern1 = VerifierComponentMockFactory.createPattern1();

168 KieSession session = getStatelessKieSession(this.getClass().getResourceAsStream("Restrictions.drl"));

169

170 Collection<Object> data = new ArrayList<Object>();

171

172 Pattern pattern1 = VerifierComponentMockFactory.createPattern1();

NotationLLSD.cs (https://github.com/kow/gridsearch.git) C# · 346 lines

105

106 int pos = 0;

107 List<object> array = new List<object>();

108

109 while (notationData[pos] != ']')

DLFileEntryPersistenceTest.java (https://github.com/Manishkg/liferay-portal.git) Java · 348 lines

239 new Object[] { newFileEntryId }));

240

241 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

242

243 assertEquals(1, result.size());

257 new Object[] { nextLong() }));

258

259 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

260

261 assertEquals(0, result.size());

chap73.java (https://github.com/ogavrisevs/SCJP-CodeExamples.git) Java · 278 lines

186

187 //Lists

188 List a5 = new ArrayList<Object>();

189 List a6 = new LinkedList<Object>();

191

192 //Queue

193 Queue a8 = new LinkedList<Object>();

194 Queue a9 = new PriorityQueue<Object>();

195

MultiContextEventEndpointTest.java (https://gitlab.com/matticala/apache-camel) Java · 190 lines

141 static class EventObserver {

142

143 private final List<Object> objectEvents = new ArrayList<>();

144

145 private final List<String> stringEvents = new ArrayList<>();

165 }

166

167 List<Object> getObjectEvents() {

168 return objectEvents;

169 }

AbstractImageEntry.java (https://github.com/lcamilo15/cfeclipse.git) Java · 161 lines

15

16 HashSet<IStoreImageListener> images = new HashSet<IStoreImageListener>();

17 protected ArrayList<Object> imageList = new ArrayList<Object>();

18

19 public AbstractImageEntry() {

22

23 public synchronized Collection<?> getContents() {

24 return new ArrayList<Object>(this.imageList);

25 }

26

128 }

129

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

258 queryDefinition.setStatus(WorkflowConstants.STATUS_ANY);

259

260 List<Object> foldersAndFileEntriesAndFileShortcuts =

261 _dlFolderServiceAdapter.getFoldersAndFileEntriesAndFileShortcuts(

262 groupId, dlFolderId, null, true, queryDefinition);

ResolutionNode.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 251 lines

39 private List<ResolutionNode> children;

40

41 private final List<Object> parents;

42

43 private final int depth;

65 this.remoteRepositories = remoteRepositories;

66 depth = parent.depth + 1;

67 parents = new ArrayList<Object>();

68 parents.addAll( parent.parents );

69 parents.add( parent.getKey() );

org.apache.commons.collections.collection.TransformedCollection.cs (https://github.com/gadfly/nofs.git) C# · 129 lines

106 protected virtual java.util.Collection<Object> transform(java.util.Collection<Object> coll)

107 {

108 java.util.List<Object> list = new java.util.ArrayList<Object>(coll.size());

109 for (java.util.Iterator<Object> it = coll.iterator(); it.hasNext(); )

110 {

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

118 public Object[] getObjects() {

119 ResultSet resultSet = selectObjectResultSet();

120 List<Object> objectList = new ArrayList<Object>();

121 LOG.debug("method: getObjects");

122 Object object;

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

76

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 }

80

81 static HashMap<ArrayList<Object>, LazyListObjectInspector> cachedLazySimpleListObjectInspector = new HashMap<ArrayList<Object>, LazyListObjectInspector>();

82

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

34 * @author Isak Karlsson

35 */

36 public interface Storage extends DoubleSequence, ComplexSequence, IntSequence, List<Object> {

37

38 default Object get(int i) {

ExceptionJsonSerializer.java (https://github.com/deas/alfresco.git) Java · 164 lines

149 errorObject.put("alfrescoMessageId", alfEx.getMsgId());

150 Object[] msgParams = alfEx.getMsgParams();

151 List<Object> params = msgParams == null ? Collections.emptyList() : Arrays.asList(msgParams);

152 errorObject.put("alfrescoMessageParams", params);

153 }

SocialEquityGroupSettingPersistenceTest.java (https://github.com/viktorkovacs/liferay-portal-trunk.git) Java · 243 lines

179 new Object[] { newEquityGroupSettingId }));

180

181 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

182

183 assertEquals(1, result.size());

198 new Object[] { nextLong() }));

199

200 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

201

202 assertEquals(0, result.size());

BookmarksEntryPersistenceTest.java (https://github.com/viktorkovacs/liferay-portal-trunk.git) Java · 262 lines

196 new Object[] { newEntryId }));

197

198 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

199

200 assertEquals(1, result.size());

214 new Object[] { nextLong() }));

215

216 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

217

218 assertEquals(0, result.size());

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());

111

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());

239

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

79 @XmlElement(name = "values", type = Values.class)

80 })

81 protected List<Object> valueOrValues;

82 @XmlAttribute(name = "id")

83 protected String id;

163 *

164 */

165 public List<Object> getValueOrValues() {

166 if (valueOrValues == null) {

167 valueOrValues = new ArrayList<Object>();

ObjectLiteralImpl.java (https://github.com/FURCAS-dev/FURCAS.git) Java · 251 lines

156 public boolean isEqualTo(ObjectLiteral o) {

157 try {

158 Boolean result = (Boolean) IS_EQUAL_TO_OBJECT_LITERAL__EINVOCATION_DELEGATE.dynamicInvoke(this, new BasicEList.UnmodifiableEList<Object>(1, new Object[]{o}));

159 return result;

160 }

CorePipelineProviderImpl.java (https://github.com/esteban-aliverti/droolsjbpm-integration.git) Java · 131 lines

112 }

113

114 public ListAdapter newListAdapter(List<Object> list,

115 boolean syncAccessors) {

116 return new ListAdapterImpl( list,

VelocityEngineDefinitionParser.java (https://github.com/webx/citrus.git) Java · 101 lines

64

65 private void parseGlobalMacros(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) {

66 List<Object> macros = createManagedList(element, parserContext);

67

68 for (Element subElement : subElements(element, and(sameNs(element), name("name")))) {

78

79 private void parsePlugins(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) {

80 List<Object> plugins = createManagedList(element, parserContext);

81

82 for (Element subElement : subElements(element)) {

DLFileShortcutPersistenceTest.java (https://github.com/spreddy/liferay-portal.git) Java · 301 lines

219 new Object[] { newFileShortcutId }));

220

221 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

222

223 assertEquals(1, result.size());

238 new Object[] { nextLong() }));

239

240 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

241

242 assertEquals(0, result.size());

GroupManager.java (https://github.com/elBukkit/PersistencePlugin.git) Java · 403 lines

380 else

381 {

382 List<Object> playerPermissions = (List<Object>)checkList;

383

384 persistence.put(playerData);

RESTTemplateClient.cs (https://bitbucket.org/coalvilledave/templateronline.git) C# · 192 lines

19 public string Parse(string templateName, object model)

20 {

21 return Parse(templateName, new List<object>() { model }).First();

22 }

23

53 public string ParseTemplate(string templateBody, object model)

54 {

55 return ParseTemplate(templateBody, new List<object>() { model }).First();

56 }

57

DLFolderServiceWrapper.java (https://github.com/danielreuther/liferay-portal.git) Java · 446 lines

70

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 {

142

143 @Override

144 public java.util.List<Object> getFoldersAndFileEntriesAndFileShortcuts(

145 long groupId, long folderId, boolean includeMountFolders,

146 int status, int start, int end,

155

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;

32

33 private ArrayList<Object> answerList = null;

34

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 }

63

64 public ArrayList<Object> getAnswerList() {

65 return this.answerList;

66 }

ExportExpressionVisitorImpl.java (https://github.com/kiyoshilee/liferay-portal.git) Java · 214 lines

131 @Override

132 public Object visitMethodExpression(

133 List<Object> expressions, MethodExpression.Type type) {

134

135 return null;

AbstractYamlReader.java (https://gitlab.com/CORP-RESELLER/SeLion) Java · 152 lines

84 }

85

86 protected List<String> parseKeysForContainer(String fileName, List<Object> allElements) {

87 List<String> elementKeys = new ArrayList<String>();

88

ResultRowList.java (https://gitlab.com/jsr38/intermine) Java · 237 lines

28 *

29 */

30 public class ResultRowList implements List<Object>, Iterable<Object>

31 {

32

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 {

221

222 @Override

223 public List<Object> subList(int arg0, int arg1) {

224 return getValuesInternal().subList(arg0, arg1);

225 }

LazyObjectInspectorFactory.java (https://github.com/steeve/hive.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 }

67

68 static HashMap<ArrayList<Object>, LazyListObjectInspector> cachedLazySimpleListObjectInspector = new HashMap<ArrayList<Object>, LazyListObjectInspector>();

69

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));

SolrParams.java (https://github.com/stewi2/solr.git) Java · 270 lines

245

246 /** Convert this to a NamedList */

247 public NamedList<Object> toNamedList() {

248 final SimpleOrderedMap<Object> result = new SimpleOrderedMap<Object>();

249

ReaderWriter.java (https://github.com/thainb/howl.git) Java · 179 lines

85 case DataType.LIST:

86 int sz = in.readInt();

87 List<Object> list = new ArrayList<Object>(sz);

88 for(int i=0; i < sz; i++) {

89 list.add(readDatum(in));

ExpandoColumnPersistenceTest.java (https://github.com/lululiferay/liferay-portal.git) Java · 278 lines

227 new Object[] { newColumnId }));

228

229 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

230

231 Assert.assertEquals(1, result.size());

246 new Object[] { ServiceTestUtil.nextLong() }));

247

248 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

249

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

40 get

41 {

42 List<object> values = new List<object>(this.symbols.Count);

43

44 foreach (ExternalLocationReference reference in this.symbols.Values)

InputListModel.java (git://github.com/bcdev/beam.git) Java · 179 lines

35 class InputListModel extends AbstractListModel<Object> {

36

37 private final List<Object> list = new ArrayList<>();

38 private List<Product> sourceProducts = new ArrayList<>();

39 private Property sourceProductPaths;

95

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 }));

228

229 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

230

231 Assert.assertEquals(1, result.size());

246 new Object[] { ServiceTestUtil.nextLong() }));

247

248 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

249

250 Assert.assertEquals(0, result.size());

ListUtils.java (https://bitbucket.org/maxgoebel/tableannotator.git) Java · 237 lines

48

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;

291

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

51 public List<object> Eliminar(decimal testimonio)

52 {

53 List<object> lista = new List<object>();

54 try

55 {

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

112 @Verifies(value = "should return true if given object is Collection class", method = "isCollection(Object)")

113 public void isCollection_shouldReturnTrueIfGivenObjectIsCollectionClass() throws Exception {

114 Assert.assertTrue(Reflect.isCollection(new ArrayList<Object>()));

115 }

116

OktaAuthenticationStateHandlerAdapter.java (https://github.com/Jasig/cas.git) Java · 116 lines

41 private final PasswordPolicyContext passwordPolicyConfiguration;

42

43 private final Map<String, List<Object>> userAttributes = new HashMap<>(0);

44

45 private String username;

ShoppingCategoryPersistenceTest.java (https://github.com/lululiferay/liferay-portal.git) Java · 299 lines

242 new Object[] { newCategoryId }));

243

244 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

245

246 Assert.assertEquals(1, result.size());

261 new Object[] { ServiceTestUtil.nextLong() }));

262

263 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

264

265 Assert.assertEquals(0, result.size());

SocialActivitySettingPersistenceTest.java (https://github.com/azzazzel/liferay-portal.git) Java · 283 lines

209 new Object[] { newActivitySettingId }));

210

211 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

212

213 Assert.assertEquals(1, result.size());

229 new Object[] { ServiceTestUtil.nextLong() }));

230

231 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

232

233 Assert.assertEquals(0, result.size());

RepositoryPersistenceTest.java (https://github.com/azzazzel/liferay-portal.git) Java · 319 lines

236 new Object[] { newRepositoryId }));

237

238 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

239

240 Assert.assertEquals(1, result.size());

256 new Object[] { ServiceTestUtil.nextLong() }));

257

258 List<Object> result = _persistence.findWithDynamicQuery(dynamicQuery);

259

260 Assert.assertEquals(0, result.size());

FakeJspPageContext.java (https://github.com/deas/alfresco.git) Java · 470 lines

456 protected Enumeration getValueNames()

457 {

458 ArrayList<Object> array = new ArrayList<Object>();

459

460 Iterator it = values.keySet().iterator();

EjbRelation.java (https://github.com/aldrinleal/openejb.git) Java · 120 lines

72 @XmlElementRef(name = "read-time-out", namespace = "http://jboss.org", type = ReadTimeOut.class)

73 })

74 protected List<Object> content;

75

76 /**

111 *

112 */

113 public List<Object> getContent() {

114 if (content == null) {

115 content = new ArrayList<Object>();

TestIntTuple2.java (https://bitbucket.org/Lul4n/yagw2api.git) Java · 415 lines

401 public void testAsList() {

402 final IntTuple2 tuple2 = Tuples.of(this.v1, this.v2);

403 final List<Object> array = tuple2.asList();

404

405 assertThat(array.size(), is(2));

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

64 public List<object> Eliminar(decimal id)

65 {

66 List<object> lista = new List<object>();

67 try

68 {

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

13

14 private ArrayList<Object>myList = new ArrayList<Object>(); // to store a user's specific book list

16

17 private ArrayList<User>users = new ArrayList<User>();

18 private ArrayList<Object>tempMyList = new ArrayList<Object>();

19 private User tempUser;

20

AmazonRedshiftLinkedService.java (git://github.com/WindowsAzure/azure-sdk-for-java.git) Java · 232 lines

58 /** {@inheritDoc} */

59 @Override

60 public AmazonRedshiftLinkedService withAnnotations(List<Object> annotations) {

61 super.withAnnotations(annotations);

62 return this;

MapJoinDoubleKeys.java (https://github.com/amorton/hive.git) Java · 184 lines

101

102

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));

128

129 ArrayList<Object> list = MapJoinMetaData.getList();

130 list.add(obj1);

131 list.add(obj2);