code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
/** * Copyright 2015 Santhosh Kumar Tekuri * * The JLibs authors license this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
santhosh-tekuri/jlibs
core/src/main/java/jlibs/core/util/regex/TemplateMatcher.java
Java
apache-2.0
10,232
package com.palmintelligence.administrator.nethardnewsv001.adapter; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; im...
popo1379/NetHardNEWSV0.01
app/src/main/java/com/palmintelligence/administrator/nethardnewsv001/adapter/GamesListAdapter.java
Java
apache-2.0
2,570
/* * Copyright 2012 Mike Melton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
mikemelton/gth
src/main/java/org/helicalmoment/common/testing/TestCase.java
Java
apache-2.0
3,331
/* * Copyright (C) 2016 mc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
enuoCM/DE-MVP-Clean
app/src/main/java/com/xixicm/de/infrastructure/loader/AsyncTaskSentenceLoadExecutor.java
Java
apache-2.0
2,794
package basicgraph; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; /** A class that implements a directed graph. * The graph may have self-loops, parallel edges. * Vertices are labeled by integers 0 .. n-1 * and may also have St...
deepti-s/UCSDGraphs
src/basicgraph/GraphAdjMatrix.java
Java
apache-2.0
3,957
/** * Copyright 2014 Expedia, Inc. All rights reserved. * EXPEDIA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.expedia.echox3.internal.wrapper; import com.expedia.echox3.basics.monitoring.event.BasicException; import com.expedia.echox3.internal.provider.IObjectCacheProvider; import com...
ExpediaDotCom/EchoX3
EchoX3Client/src/main/java/com/expedia/echox3/internal/wrapper/MonitorClient.java
Java
apache-2.0
616
/** * <copyright> * </copyright> * * $Id$ */ package kieker.tools.slastic.metamodel.typeRepository.util; import java.util.List; import kieker.tools.slastic.metamodel.core.Entity; import kieker.tools.slastic.metamodel.core.FQNamedEntity; import kieker.tools.slastic.metamodel.core.NamedEntity; import kieker.tools....
SLAsticSPE/slastic
src-gen/kieker/tools/slastic/metamodel/typeRepository/util/TypeRepositorySwitch.java
Java
apache-2.0
14,143
/* * Copyright (c) 2017 Otávio Santana and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * The Eclipse Public License is available at http://ww...
JNOSQL/artemis
artemis-graph/src/main/java/org/jnosql/artemis/graph/query/package-info.java
Java
apache-2.0
754
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.dbgrid.csw.sort; import java.io.File; import java.text.ParseException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Res...
geogrid/aistcsw-server-2.0.2
src/java/org/dbgrid/csw/sort/SortUtils.java
Java
apache-2.0
4,597
/* * Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
health-and-care-developer-network/health-and-care-developer-network
library/hazelcast/2.5/hazelcast-2.5-source/hazelcast/src/main/java/com/hazelcast/impl/concurrentmap/MapState.java
Java
apache-2.0
1,700
/* * Copyright © 2014 - 2019 Leipzig University (Database Research Group) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
rostam/gradoop
gradoop-store/gradoop-hbase/src/main/java/org/gradoop/storage/impl/hbase/io/inputformats/EdgeTableInputFormat.java
Java
apache-2.0
2,328
package org.dashbuilder.dataset.backend.date; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import org.apache.commons.lang3.StringUtils; import org.dashbuilder.dataset.DataColumn; import org.dashbuilder.dataset.group.DateIntervalPattern; impor...
Salaboy/dashbuilder
dashbuilder-backend/dashbuilder-dataset-core/src/main/java/org/dashbuilder/dataset/backend/date/DateUtils.java
Java
apache-2.0
6,038
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache....
samgregoost/carbon-analytics
components/analytics-data-commons/org.wso2.carbon.analytics.data.commons/src/main/java/org/wso2/carbon/analytics/data/commons/AnalyticsDataService.java
Java
apache-2.0
9,550
package org.apache.flume.sink.elasticsearch.http; import org.apache.commons.lang.math.NumberUtils; public class DataUtils { public static boolean isBoolean(final String value) { return ((value != null) && (value.equals("true") || value.equals("false"))); } public static boolean isNumber(final String valu...
aicer/flume-jambalaya
src/main/java/org/apache/flume/sink/elasticsearch/http/DataUtils.java
Java
apache-2.0
370
package org.glamey.training.jvm.cache; import com.google.common.base.Stopwatch; import java.util.concurrent.TimeUnit; /** * 新建自定义的long * * 但是多余的7个long变量,可能被JVM优化掉 * @author yang.zhou 2020.01.19.15 */ public class RealSharingV2 { /** * 581 * 551 * 457 * 445 * 469 * 460 * ...
glameyzhou/training
distribute/src/main/java/org/glamey/training/jvm/cache/RealSharingV2.java
Java
apache-2.0
1,491
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
gstevey/gradle
subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/memcache/InMemoryCachedModuleComponentRepository.java
Java
apache-2.0
7,056
/** * Copyright © 2013-2021 The OpenNTF Domino API Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
OpenNTF/org.openntf.domino
domino/core/src/main/java/org/openntf/domino/design/impl/AboutDocument.java
Java
apache-2.0
1,380
package com.fsck.k9.message; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Date; import android.app.Activity; import android.app.PendingInte...
GuillaumeSmaha/k-9
k9mail/src/test/java/com/fsck/k9/message/PgpMessageBuilderTest.java
Java
apache-2.0
28,510
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
dagnir/aws-sdk-java
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/AllocatePublicVirtualInterfaceResult.java
Java
apache-2.0
25,974
/* * Copyright (C) 2015-2017 The Helenus Driver Project Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
helenusdriver/helenus
api/src/main/java/org/helenus/driver/persistence/Table.java
Java
apache-2.0
5,484
/* * * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
hazendaz/powermock
tests/utils/src/main/java/org/powermock/api/mockito/ConfigurationTestUtils.java
Java
apache-2.0
1,968
/* * Copyright 2010 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
wmedvede/drools
drools-core/src/main/java/org/drools/core/time/TimerService.java
Java
apache-2.0
1,590
package oncecenter.wizard.importfromphysical; import oncecenter.util.Ssh; import org.eclipse.jface.wizard.IWizardPage; import org.eclipse.jface.wizard.WizardPage; import org.eclipse.swt.SWT; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.events.KeyListener; import org.eclipse.swt.widgets.Composite; im...
guzy/OnceCenter
src/oncecenter/wizard/importfromphysical/SourceAddressWizardPage.java
Java
apache-2.0
3,003
/* * Copyright 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
oehf/ipf
commons/audit/src/main/java/org/openehealth/ipf/commons/audit/protocol/AuditTransmissionChannel.java
Java
apache-2.0
2,696
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
yuananf/presto
presto-main/src/main/java/com/facebook/presto/operator/PageWithPositionComparatorFactory.java
Java
apache-2.0
884
package com.lopefied.instawebsite.product; import com.lopefied.instawebsite.model.BarcodeProduct; import com.lopefied.sphereandroidsdk.product.Product; import java.io.IOException; import java.util.List; import rx.Observable; /** * Created by lope on 4/30/15. */ public interface BarcodeProductService { public ...
z0lope0z/InstaWebsite
app/src/main/java/com/lopefied/instawebsite/product/BarcodeProductService.java
Java
apache-2.0
865
/******************************************************************************* * * Pentaho Big Data * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License...
bmorrise/pentaho-hadoop-shims
emr34/src/org/pentaho/hadoop/shim/emr34/ClassPathModifyingSqoopShim.java
Java
apache-2.0
4,007
import core.LogProcessorApp; /** * @author neo */ public class Main { public static void main(String[] args) { new LogProcessorApp().start(); } }
neowu/core-ng-project
ext/log-processor/src/main/java/Main.java
Java
apache-2.0
165
/** * Copyright 2017 Hortonworks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed ...
hmcl/Streams
streams/runtime/src/main/java/com/hortonworks/streamline/streams/runtime/splitjoin/JoinActionRuntime.java
Java
apache-2.0
4,791
package com.intellij.codeInsight.completion; import com.intellij.codeInsight.ExpectedTypeInfo; import com.intellij.codeInsight.ExpectedTypeInfoImpl; import com.intellij.codeInsight.ExpectedTypesProvider; import com.intellij.codeInsight.TailType; import com.intellij.codeInsight.completion.simple.RParenthTailType; impor...
apixandru/intellij-community
java/java-impl/src/com/intellij/codeInsight/completion/SmartCastProvider.java
Java
apache-2.0
8,851
package imageProcessing; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ColorMatrix; import android.graphics.ColorMatrixColorFilter; import android.graphics.Paint; import android.util.Log; import org.opencv.android.Utils; import org.opencv.core.C...
jasonycw/SaliencyCamera
app/src/main/java/imageProcessing/commonImageProcessing.java
Java
apache-2.0
24,547
/* * Copyright © 2014 - 2018 Leipzig University (Database Research Group) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
niklasteichmann/gradoop
gradoop-flink/src/main/java/org/gradoop/flink/io/impl/deprecated/json/JSONDataSink.java
Java
apache-2.0
3,494
package io.quarkus.arc.test.interceptors.arcInvContext; import io.quarkus.arc.ArcInvocationContext; import java.lang.annotation.Annotation; import java.util.Set; import javax.annotation.Priority; import javax.interceptor.AroundInvoke; import javax.interceptor.Interceptor; @Priority(2) @Interceptor @SomeBinding /** *...
quarkusio/quarkus
independent-projects/arc/tests/src/test/java/io/quarkus/arc/test/interceptors/arcInvContext/ArcContextInterceptorPrivate.java
Java
apache-2.0
865
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: https://plantuml.com * * If you like this project or if ...
talsma-ict/umldoclet
src/plantuml-asl/src/net/sourceforge/plantuml/project/lang/SentenceHappensDate.java
Java
apache-2.0
2,048
/* * Copyright (c) 2015 Midhun Harikumar * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
midhunhk/ae-apps-library
modules/database-helpers/src/main/java/com/ae/apps/lib/db/DataBaseHelper.java
Java
apache-2.0
3,577
package shop.behaviour; import com.github.davidmoten.fsm.example.generated.CatalogBehaviourBase; import com.github.davidmoten.fsm.example.generated.CatalogStateMachine; import com.github.davidmoten.fsm.example.shop.catalog.immutable.Catalog; import com.github.davidmoten.fsm.example.shop.catalog.immutable.Change; impor...
davidmoten/state-machine
state-machine-example-shopping/src/main/java/shop/behaviour/CatalogBehaviour.java
Java
apache-2.0
1,923
package com.logzc.common.converter; import com.logzc.common.util.Assert; import java.util.*; /** * Created by lishuang on 2016/9/9. */ public class CollectionFactory { @SuppressWarnings({"unchecked", "cast"}) public static <E> Collection<E> createCollection(Class<?> collectionType, Class<?> elementType, ...
logzc/Webzic
common/src/main/java/com/logzc/common/converter/CollectionFactory.java
Java
apache-2.0
2,011
package com.bezrukov.timesheets.ui.adapters; import android.support.v7.widget.RecyclerView; import android.view.ViewGroup; import com.bezrukov.timesheets.model.BaseCubaEntry; import java.util.List; /** * Created by user on 16.12.2016. */ public abstract class BaseAdapter<V extends BaseCubaEntry, T extends Recycl...
hbezrukov/LoriAndroid
timesheets/app/src/main/java/com/bezrukov/timesheets/ui/adapters/BaseAdapter.java
Java
apache-2.0
863
/* * Copyright (C) 2015 Red Bull Media House GmbH <http://www.redbullmediahouse.com> - all rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
RBMHTechnology/apidoc-server
src/main/java/com/rbmhtechnology/apidocserver/controller/ApiDocController.java
Java
apache-2.0
8,044
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
chirankavinda123/identity-inbound-auth-oauth
components/org.wso2.carbon.identity.oauth.dcr.endpoint/src/main/java/org/wso2/carbon/identity/oauth2/dcr/endpoint/util/DCRMUtils.java
Java
apache-2.0
5,916
/* Copyright (C) 2013-2020 TU Dortmund * This file is part of AutomataLib, http://www.automatalib.net/. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
misberner/automatalib
incremental/src/main/java/net/automatalib/incremental/mealy/tree/AnnotatedEdge.java
Java
apache-2.0
1,190
package com.google.sps.recommendations; import static org.junit.Assert.*; import static org.mockito.Mockito.*; import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServiceFactory; import com.google.appengine.api.datastore.Entity; import com.google.appengine.ap...
googleinterns/step43-2020
recommendations/src/test/java/com/google/sps/recommendations/DatabaseTest.java
Java
apache-2.0
1,848
/* * Copyright (c) 2013, Inversoft Inc., All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
inversoft/savant-core
src/main/java/org/savantbuild/parser/DefaultTargetGraphBuilder.java
Java
apache-2.0
1,594
package net.coderland.server.core.model.pojo; public class Options { private Integer id; private String name; private String value; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; ...
zhangxin23/widgets
core/src/main/java/net/coderland/server/core/model/pojo/Options.java
Java
apache-2.0
593
package com.luanbin.beandefinitionparser; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import org.springframework.beans.factory.config.BeanDefinition; import org.springframework.beans.factory.config.BeanDefinitionHolder; import org.springframework.beans.factory.parsing.BeanComponentDef...
csluanbin/spring-interceptor
SpringMvcAnnoInterceptor/src/main/java/com/luanbin/beandefinitionparser/InterceptorScanBeanDefinitionParser.java
Java
apache-2.0
4,132
package gov.va.cpe.vpr.web; import com.fasterxml.jackson.databind.JsonNode; import gov.va.cpe.vpr.*; import gov.va.cpe.vpr.frameeng.FrameRunner; import gov.va.cpe.vpr.pom.*; import gov.va.cpe.vpr.queryeng.query.QueryDef; import gov.va.cpe.vpr.search.ISearchService; import gov.va.hmp.access.AuthorizationDecisio...
KRMAssociatesInc/eHMP
ehmp/product/production/hmp-main/src/main/java/gov/va/cpe/vpr/web/DetailController.java
Java
apache-2.0
16,404
package com.greenpepper.server.domain; import com.greenpepper.repository.Marshalizable; import static com.greenpepper.server.rpc.xmlrpc.XmlRpcDataMarshaller.SUMMARY_ERRORS_IDX; import static com.greenpepper.server.rpc.xmlrpc.XmlRpcDataMarshaller.SUMMARY_EXCEPTION_IDX; import static com.greenpepper.server.rpc.xmlrpc.X...
strator-dev/greenpepper
greenpepper/greenpepper-client/src/main/java/com/greenpepper/server/domain/RequirementSummary.java
Java
apache-2.0
4,641
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.11....
Stephen-Cameron-Data-Services/isis-chats
fixture/src/main/java/au/com/scds/chats/fixture/jaxb/generated/CalendarDayCallSchedule.java
Java
apache-2.0
2,183
/* * Copyright 2015 Brent Douglas and other contributors * as indicated by the @author tags. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.or...
BrentDouglas/chainlink
spi/src/main/java/io/machinecode/chainlink/spi/configuration/DeploymentConfiguration.java
Java
apache-2.0
937
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
aws/aws-sdk-java
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/transform/FargateProfileSelectorJsonUnmarshaller.java
Java
apache-2.0
3,160
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * dis...
afs/rdf-delta
rdf-delta-integration-tests/src/test/java/org/seaborne/delta/TestLocalLinkMem.java
Java
apache-2.0
1,591
// Copyright 2013 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
haveal/aw-reporting
aw-reporting-model/src/test/java/com/google/api/ads/adwords/awreporting/model/definitions/ReportSearchQueryDefinitionTest.java
Java
apache-2.0
9,333
package com.spun.util.velocity.tests; import junit.framework.Test; import junit.framework.TestSuite; public class RunAllVelocityTests extends TestSuite { /***********************************************************************/ public static Test suite() throws InstantiationException, IllegalAccessException, Clas...
bhagatsingh/ApprovalTests.Java.Maven
src/test/java/com/spun/util/velocity/tests/RunAllVelocityTests.java
Java
apache-2.0
810
/* * Copyright 2018-2021 Steinar Bang * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
steinarb/ukelonn
ukelonn.web.services/src/test/java/no/priv/bang/ukelonn/api/resources/AdminJobsTest.java
Java
apache-2.0
5,240
/* * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.mirror.declaration; import com.sun.mirror.type.TypeMirror; /** * Represents a field of a...
haikuowuya/android_system_code
src/com/sun/mirror/declaration/FieldDeclaration.java
Java
apache-2.0
1,913
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
gonmarques/commons-collections
src/main/java/org/apache/commons/collections4/map/UnmodifiableMap.java
Java
apache-2.0
5,320
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
troels/nz-presto
presto-main/src/test/java/com/facebook/presto/sql/planner/TestDomainTranslator.java
Java
apache-2.0
100,342
package com.camnter.newlife.ui.activity; import android.os.Bundle; import com.camnter.newlife.R; import com.camnter.newlife.core.activity.BaseAppCompatActivity; /** * Description:AutoAdjustSizeEditTextActivity * Created by:CaMnter * Time:2015-10-19 15:31 */ public class AutoAdjustSizeEditTextActivity e...
CaMnter/AndroidLife
app/src/main/java/com/camnter/newlife/ui/activity/AutoAdjustSizeEditTextActivity.java
Java
apache-2.0
994
package com.sqe.shop.service; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.util.Date; import java.util.HashMap; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.fact...
wingcrawler/shop_bbs
src/main/java/com/sqe/shop/service/CommentService.java
Java
apache-2.0
8,765
package it.unibz.inf.ontop.owlapi; import it.unibz.inf.ontop.injection.OntopSystemOWLAPIConfiguration; import it.unibz.inf.ontop.owlapi.impl.QuestOWLFactory; import org.semanticweb.owlapi.model.OWLOntology; import org.semanticweb.owlapi.model.OWLOntologyCreationException; import org.semanticweb.owlapi.reasoner.Illegal...
ontop/ontop
binding/owlapi/src/main/java/it/unibz/inf/ontop/owlapi/OntopOWLFactory.java
Java
apache-2.0
1,050
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
dump247/aws-sdk-java
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/transform/ExportTaskExecutionInfoJsonUnmarshaller.java
Java
apache-2.0
3,229
/* * Copyright 2017 StreamSets Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
rockmkd/datacollector
basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/websocketserver/WebSocketServerPushSourceUpgrader.java
Java
apache-2.0
2,323
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v10/resources/age_range_view.proto package com.google.ads.googleads.v10.resources; public interface AgeRangeViewOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.resources.AgeRangeVie...
googleads/google-ads-java
google-ads-stubs-v10/src/main/java/com/google/ads/googleads/v10/resources/AgeRangeViewOrBuilder.java
Java
apache-2.0
1,250
package com.lovecws.mumu.hazelcast.countlatch; import org.junit.Test; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; /** * @author babymm * @version 1.0-SNAPSHOT * @Description: 分布式闭锁 * @date 2017-09-16 15:27 */ public class HazelcastCountLatchTest { @Test public void...
mumucache/mumu-hazelcast
src/test/java/com/lovecws/mumu/hazelcast/countlatch/HazelcastCountLatchTest.java
Java
apache-2.0
1,965
package com.xinxin.wotplus.util.mapper; import android.text.TextUtils; import com.google.gson.Gson; import com.xinxin.wotplus.model.XvmTankTopSingleVO; import com.xinxin.wotplus.model.XvmTankTopVO; import java.io.IOException; import java.util.ArrayList; import java.util.List; import okhttp3.ResponseBody; import rx....
zhangxx0/WOTPlus
app/src/main/java/com/xinxin/wotplus/util/mapper/XvmTankTopToVoMapper.java
Java
apache-2.0
3,162
/** * Copyright (C) FuseSource, Inc. * http://fusesource.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
alexeev/jboss-fuse-mirror
fabric/fabric-zookeeper/src/main/java/io/fabric8/zookeeper/utils/RegexSupport.java
Java
apache-2.0
4,101
/** * Code contributed to the Learning Layers project * http://www.learning-layers.eu * Development is partly funded by the FP7 Programme of the European Commission under * Grant Agreement FP7-ICT-318209. * Copyright (c) 2015, Graz University of Technology - KTI (Knowledge Technologies Institute). * For a list of contr...
learning-layers/SocialSemanticServer
servs/appstacklayout/appstacklayout.datatypes/src/main/java/at/kc/tugraz/sss/appstacklayout/datatypes/par/SSAppStackLayoutUpdatePar.java
Java
apache-2.0
2,940
/* * Copyright 2009 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
MatrixFrog/closure-compiler
test/com/google/javascript/jscomp/FunctionTypeBuilderTest.java
Java
apache-2.0
5,161
package com.javier.filterview.tag; import java.util.ArrayList; /** * Created by usuario on 22/02/17. */ public interface OnTagListener { void onTagSelected(ArrayList<String> tags); }
FranciscoJavierPRamos/Android-FilterView
filterview/src/main/java/com/javier/filterview/tag/OnTagListener.java
Java
apache-2.0
192
package com.cn.hnust.controller; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMe...
xengfe/storm
storm/src/main/java/com/cn/hnust/controller/ArticleController.java
Java
apache-2.0
3,468
package com.spring.server; public interface myspring { public void function(); public abstract String read(String key); public abstract int updata(String key); }
13732226055/codeBackup
myspring/myspring/src/main/java/com/spring/server/myspring.java
Java
apache-2.0
166
/* ==================================================================== Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to Y...
lvweiwolf/poi-3.16
src/scratchpad/testcases/org/apache/poi/hslf/AllHSLFTests.java
Java
apache-2.0
1,823
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
motorina0/flowable-engine
modules/flowable-engine/src/test/java/org/flowable/engine/test/bpmn/usertask/InitiatorTest.java
Java
apache-2.0
1,540
/* * #%L * wcm.io * %% * Copyright (C) 2014 wcm.io * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
wcm-io-caravan/caravan-pipeline
impl/src/main/java/io/wcm/caravan/pipeline/impl/operators/MergeTransformer.java
Java
apache-2.0
5,318
package io.committed.krill.extraction.pdfbox.text; import io.committed.krill.extraction.pdfbox.physical.Line; import io.committed.krill.extraction.pdfbox.physical.PositionedContainer; import io.committed.krill.extraction.pdfbox.physical.Text; import io.committed.krill.extraction.pdfbox.physical.Word; import java.util....
commitd/krill
src/main/java/io/committed/krill/extraction/pdfbox/text/LineFinder.java
Java
apache-2.0
1,055
package com.hanyu.cnba.models; import android.content.Context; import com.android.volley.VolleyError; import com.hanyu.cnba.managers.NetManager; import com.hanyu.cnba.precenters.VideoPresenter; import com.hanyu.cnba.utils.API; import com.hanyu.cnba.utils.CLog; import com.hanyu.cnba.utils.Util; import java.util.HashM...
IStudyGroup/CNBA
app/src/main/java/com/hanyu/cnba/models/VideoModelImpl.java
Java
apache-2.0
1,856
package org.graytin.jenkins.update.handlers; import java.util.List; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.runtime.jobs.IJobChangeEvent; import org.eclipse.core.runtime.jobs.JobChangeAdapter; import org.eclipse.jface.dialogs.MessageDi...
azachar/GrayTin
org.graytin.jenkins/src/org/graytin/jenkins/update/handlers/UpdateWorkspaceToBuildRevision.java
Java
apache-2.0
2,855
package com.vmware.vim25; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for VMwareDvsLacpCapability complex type. * * <p>The following schema fragment specifies the expected content conta...
jdgwartney/vsphere-ws
java/JAXWS/samples/com/vmware/vim25/VMwareDvsLacpCapability.java
Java
apache-2.0
2,284
/** * EJB 3 in Action * Book: http://www.manning.com/panda/ * Code: http://code.google.com/p/action-bazaar/ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
rcuprak/actionbazaar
chapter3/ActionBazaar-ejb/src/main/java/com/actionbazaar/buslogic/BidManager.java
Java
apache-2.0
1,403
package com.coolweather.app.db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatabase.CursorFactory; import android.database.sqlite.SQLiteOpenHelper; public class CoolWeatherOpenHelper extends SQLiteOpenHelper { public static final String CREATE...
Michaelyanzheng/coolweather
src/com/coolweather/app/db/CoolWeatherOpenHelper.java
Java
apache-2.0
1,221
/* * Copyright (c) 2014-2018 University of Ulm * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy...
cloudiator/sword
core/src/main/java/de/uniulm/omi/cloudiator/sword/strategy/CreateVirtualMachineStrategy.java
Java
apache-2.0
1,115
/* * Copyright 1999-2018 Alibaba Group Holding Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
alibaba/Sentinel
sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/FlowRuleComparator.java
Java
apache-2.0
1,618
package org.jetbrains.plugins.scala.lang.psi; import com.intellij.extapi.psi.StubBasedPsiElementBase; import com.intellij.lang.ASTNode; import com.intellij.openapi.diagnostic.Logger; import com.intellij.psi.PsiElement; import com.intellij.psi.StubBasedPsiElement; import com.intellij.psi.stubs.IStubElementType; import ...
triggerNZ/intellij-scala
src/org/jetbrains/plugins/scala/lang/psi/ScalaStubBaseElementImplJavaRawTypeHack.java
Java
apache-2.0
1,493
package org.clarksnut.datasource.peru.types; import java.util.Optional; import java.util.stream.Stream; public enum TipoRegimenPercepcion { PERCEPCION_VENTA_INTERNA("01", "PERCEPCION VENTA INTERNA"), PERCEPCION_A_LA_ADQUISICION_DE_COMBUSTIBLE("02", "PERCEPCION A LA ADQUISICION DE COMBUSTIBLE"), PERCEPCIO...
openfact/openfact-sync
src/main/java/org/clarksnut/datasource/peru/types/TipoRegimenPercepcion.java
Java
apache-2.0
1,030
package com.acg12.entity.dto; import lombok.Data; import java.util.ArrayList; import java.util.List; /** * Created with IntelliJ IDEA. * User: KCJ * Date: 2018/12/28 18:10 * Description: 漫画 */ @Data public class Acg12CaricatureDto { private int comicId; private int type; // 1:酷克 private String cove...
KouChengjian/acg12-service
acg12/src/main/java/com/acg12/entity/dto/Acg12CaricatureDto.java
Java
apache-2.0
516
package com.mediatek.settings.ext; import android.content.Context; import android.view.KeyEvent; import android.content.Intent; import com.android.internal.app.AlertActivity; import com.android.internal.app.AlertController; public interface ISmsDialogExt { /** * Called when yes/No is clicked on dialog from...
miswenwen/My_bird_work
Bird_work/我的项目/Settings/ext/src/com/mediatek/settings/ext/ISmsDialogExt.java
Java
apache-2.0
1,623
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
yuyupapa/OpenSource
apache-tomcat-6.0.48/java/org/apache/tomcat/util/http/parser/HttpParser.java
Java
apache-2.0
19,188
package lect2.practice.addressbook.model; import com.google.common.collect.ForwardingSet; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; /** * Created by andre on 23.03.2016. */ public class Groups extends ForwardingSet<GroupData> { private Set<GroupData> del...
andreipetrov/Java
addressbook-web-tests/src/test/java/lect2/practice/addressbook/model/Groups.java
Java
apache-2.0
945
package org.jeecg.modules.system.service; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.extension.service.IService; import org.jeecg.modules.system.entity.SysDepart; import org.jeecg.modules.system.model.DepartIdModel; import org.jeecg.modules.system.model.SysDepartTreeModel; import java.util...
zhangdaiscott/jeecg-boot
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/service/ISysDepartService.java
Java
apache-2.0
3,493
/* * Copyright 2014 Madhu Siddalingaiah * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
msiddalingaiah/MRViewer
src/com/madhu/mr/job/WCMapper.java
Java
apache-2.0
897
package util; public class Pair<O1, O2> { public O1 _first; public O2 _second; public final O1 first() { return _first; } public final O2 second() { return _second; } public final void setFirst(O1 value){ _first = value; } public final void setSecond(O2 value){ _second = value; } public Pair(...
agesmundo/FasterCubePruning
gi/posterior-regularisation/prjava/src/util/Pair.java
Java
apache-2.0
451
/* * Copyright (c) 2008-2017 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
cuba-platform/cuba
modules/gui/src/com/haulmont/cuba/gui/components/dev/LayoutAnalyzerContextMenuProvider.java
Java
apache-2.0
936
import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.FSDataInputStream; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.ArrayWritable; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io....
alexjuliansmith/cloudapp-mp2-clone
PopularityLeague.java
Java
apache-2.0
5,055
/** * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under ...
lpandzic/assertj-core
src/main/java/org/assertj/core/api/AbstractIterableAssert.java
Java
apache-2.0
64,345
package com.orctom.laputa.service.translator.response; import com.orctom.laputa.service.model.ResponseWrapper; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.http.DefaultFullHttpResponse; import io.netty.handler.codec.http.FullHttpRequest; import io.netty.handler.codec.http.FullHttpRespon...
orctom/laputa
laputa-service/src/main/java/com/orctom/laputa/service/translator/response/RedirectResponseTranslator.java
Java
apache-2.0
1,470
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 generiert // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 2016.02.05...
milg0/onvif-java-lib
src/org/onvif/ver20/media/wsdl/GetVideoEncoderConfigurationsResponse.java
Java
apache-2.0
2,602
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
jentfoo/aws-sdk-java
aws-java-sdk-mechanicalturkrequester/src/main/java/com/amazonaws/services/mturk/model/transform/NotifyWorkersFailureStatusMarshaller.java
Java
apache-2.0
2,817
/* * Copyright (C) 2013 Brian Muramatsu * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
btmura/rbb
src/com/btmura/android/reddit/app/MarkdownTableFragment.java
Java
apache-2.0
4,249
/* * Copyright (C) 2016 Jens Reimann <jreimann@redhat.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
ctron/de.dentrassi.camel.milo
camel-milo/src/main/java/org/apache/camel/component/milo/server/MiloServerConsumer.java
Java
apache-2.0
2,178
package com.cordys.uiunit.eastwind; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; import com.cordys.uiunit.eastwind.designtime.AddingTaskToRole; import com.cordys.uiunit.eastwind.designtime.BPMManager; import com.cordys.uiunit.eastwind.designtime...
noushadali/uiunit-core
scenario/eastwind/src/java/com/cordys/uiunit/eastwind/AEastWindTestSuite.java
Java
apache-2.0
2,367