repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
jotaramirez90/Android-DesignPatterns
singleton/src/main/java/com/jota/patterns/singleton/MainActivity.java
1406
package com.jota.patterns.singleton; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.TextView; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.OnClick; import com.jota.patterns.singleton.singleton.User; public class MainActivity extends ...
apache-2.0
ander7agar/emoji-keyboard
emoji-library/src/main/java/com/gotcreations/emojilibrary/controller/TelegramPanel.java
13759
package com.gotcreations.emojilibrary.controller; import android.animation.Animator; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.os.Build; import android.os.Handler; import androidx.annotation.DrawableRes; import androidx.appcompat.widget.Toolbar; import android.text.E...
apache-2.0
pravega/pravega
controller/src/main/java/io/pravega/controller/server/eventProcessor/requesthandlers/AbortRequestHandler.java
5395
/** * Copyright Pravega 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 law or agreed to...
apache-2.0
asakusafw/asakusafw
hive-project/core-v2/src/test/java/com/asakusafw/directio/hive/serde/ValueSerdeFactoryTest.java
11792
/** * Copyright 2011-2021 Asakusa Framework 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 required by applicable...
apache-2.0
realityforge/arez
processor/src/test/fixtures/expected/Arez_ObservableWithSpecificExceptionModel.java
6870
import arez.Arez; import arez.ArezContext; import arez.Component; import arez.Disposable; import arez.ObservableValue; import arez.SafeProcedure; import arez.component.DisposeNotifier; import arez.component.Identifiable; import arez.component.internal.ComponentKernel; import java.text.ParseException; import javax.annot...
apache-2.0
Novartis/ontobrowser
src/main/java/com/novartis/pcs/ontology/service/mapper/PorterStemmer.java
13830
/** * Licensing arrangement (from website FAQ): * * The software is completely free for any purpose, unless notes at the * head of the program text indicates otherwise (which is rare). In any * case, the notes about licensing are never more restrictive than the * BSD License. * */ package com.novartis.pcs...
apache-2.0
Sayi/poi-tl
poi-tl/src/main/java/com/deepoove/poi/xwpf/ParagraphContext.java
3416
/* * Copyright 2014-2021 Sayi * * 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...
apache-2.0
avinogradovgg/ignite
modules/core/src/main/java/org/apache/ignite/internal/portable/PortableThreadLocalMemoryAllocator.java
4612
/* * 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 ...
apache-2.0
mengdd/LeetCode
algorithms/src/test/java/BinaryTreeLevelOrderTraversal/BinaryTreeLevelOrderTraversalSolutionTest.java
2013
package BinaryTreeLevelOrderTraversal; import org.junit.Test; import java.util.List; import static org.assertj.core.api.Assertions.assertThat; public class BinaryTreeLevelOrderTraversalSolutionTest { private BinaryTreeLevelOrderTraversalSolution solution = new BinaryTreeLevelOrderTraversalSolution(); @Te...
apache-2.0
oldinaction/smjava
javaee/spring/src/main/java/cn/aezo/spring/base/annotation/combineannotation/WiselyConfiguration.java
607
package cn.aezo.spring.base.annotation.combineannotation; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.a...
apache-2.0
sbower/kuali-rice-1
it/kew/src/test/java/org/kuali/rice/kew/xml/export/GroupXmlExporterTest.java
4009
/* * Copyright 2006-2011 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless requi...
apache-2.0
wernerb/Platform
osgp-core/src/main/java/com/alliander/osgp/core/infra/jms/protocol/in/ProtocolResponseMessageJmsTemplateFactory.java
2471
/** * Copyright 2015 Smart Society Services B.V. * * 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 */ package com.alliander.osgp.core.infra...
apache-2.0
fllaca/docker-maven-plugin
src/main/java/com/codedpoetry/maven/dockerplugin/templates/TemplateRenderer.java
209
package com.codedpoetry.maven.dockerplugin.templates; import java.io.StringWriter; import java.util.Map; public interface TemplateRenderer { StringWriter renderTemplate(String templateUrl, Map context); }
apache-2.0
danie555costa/Quitanda
app/src/main/java/st/domain/quitanda/client/model/contract/TypePayment.java
192
package st.domain.quitanda.client.model.contract; /** * Created by Daniel Costa at 8/27/16. * Using user computer xdata */ public interface TypePayment { public int getDataBaseId(); }
apache-2.0
spring-projects/spring-data-examples
jpa/deferred/src/main/java/example/repo/Customer1794Repository.java
284
package example.repo; import example.model.Customer1794; import java.util.List; import org.springframework.data.repository.CrudRepository; public interface Customer1794Repository extends CrudRepository<Customer1794, Long> { List<Customer1794> findByLastName(String lastName); }
apache-2.0
dantesun/webapp-boilerplate
core-models/src/main/java/io/github/dantesun/petclinic/data/velocity/VelocityDriver.java
1398
package io.github.dantesun.petclinic.data.velocity; import org.apache.ibatis.executor.parameter.ParameterHandler; import org.apache.ibatis.mapping.BoundSql; import org.apache.ibatis.mapping.MappedStatement; import org.apache.ibatis.mapping.SqlSource; import org.apache.ibatis.parsing.XNode; import org.apache.ibatis.scr...
apache-2.0
gdanguy/training-java-gdanguy
core/src/main/java/core/utils/Page.java
3276
package core.utils; import java.util.ArrayList; import java.util.List; public class Page<T> { public static final int PAGE_SIZE = 10; protected List<T> listObjects = new ArrayList<>(); protected int currentPage; protected int pageSize = PAGE_SIZE; /** * Constructor. * @param list conta...
apache-2.0
voipp/ignite
modules/ml/src/main/java/org/apache/ignite/ml/preprocessing/imputer/ImputerPreprocessor.java
2255
/* * 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 ...
apache-2.0
health-and-care-developer-network/health-and-care-developer-network
library/hazelcast/2.5/hazelcast-2.5-source/hazelcast/src/test/java/com/hazelcast/core/IMapAsyncTest.java
3450
/* * 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 ...
apache-2.0
jprante/elasticsearch-client
elasticsearch-client-search/src/main/java/org/elasticsearch/index/query/SpanFirstQueryBuilder.java
1877
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
apache-2.0
etirelli/kie-wb-common
kie-wb-common-screens/kie-wb-common-library/kie-wb-common-library-client/src/test/java/org/kie/workbench/common/screens/library/client/screens/assets/AssetsScreenTest.java
5601
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * 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 app...
apache-2.0
ghchinoy/wicsa2011
src/com/google/android/apps/iosched/provider/ScheduleProvider.java
33646
/* * Copyright 2010 Google 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...
apache-2.0
trasa/aws-sdk-java
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/NoSuchEntityException.java
1070
/* * 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 "lice...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-dataexchange/src/main/java/com/amazonaws/services/dataexchange/model/DeleteEventActionRequest.java
3714
/* * 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...
apache-2.0
XoriantOpenSource/swagger-blog-examples
swagger-blog-2/java-client/src/test/java/io/swagger/client/api/DefaultApiTest.java
1849
/******************************************************************************* * Copyright 2017 Xoriant Corporation. * 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...
apache-2.0
thymeleaf/thymeleaf-tests
src/test/java/org/thymeleaf/dialect/dialectwrapping/ElementModelProcessor.java
1538
/* * ============================================================================= * * Copyright (c) 2011-2016, The THYMELEAF team (http://www.thymeleaf.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/transform/DetachStaticIpResultJsonUnmarshaller.java
2855
/* * 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...
apache-2.0
edwardcapriolo/nibiru
src/main/java/io/teknek/nibiru/transport/rpc/BlockingRpcResponse.java
530
package io.teknek.nibiru.transport.rpc; import io.teknek.nibiru.transport.BaseResponse; public class BlockingRpcResponse<T> implements BaseResponse { private String exception; private T rpcResult; public BlockingRpcResponse(){ } public String getException() { return exception; } public voi...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/transform/DescribeConfigRulesRequestMarshaller.java
2415
/* * 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...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-iotevents/src/main/java/com/amazonaws/services/iotevents/model/GetDetectorModelAnalysisResultsRequest.java
7053
/* * 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...
apache-2.0
googleads/googleads-java-lib
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201809/cm/CampaignSharedSetServiceInterfaceget.java
2446
// Copyright 2018 Google LLC // // 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 writi...
apache-2.0
Cognifide/AET
api/jobs-api/src/main/java/org/browsermob/core/json/ISO8601DateFormatter.java
2315
/** * AET * * Copyright (C) 2013 Cognifide Limited * * 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...
apache-2.0
fogbeam/Heceta_solr
lucene/core/src/java/org/apache/lucene/index/TermVectorsConsumerPerField.java
10979
package org.apache.lucene.index; /* * 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, Versio...
apache-2.0
twilliamson/mogwee-executors
src/main/java/com/mogwee/executors/NamedThreadFactory.java
1331
/* * Copyright 2011 Ning, Inc. * * Ning 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/licenses/LICENSE-2.0 * * Unless required by applic...
apache-2.0
micromata/jiraRestClient
src/main/java/de/micromata/jira/rest/core/misc/RestPathConstants.java
1734
/* * 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 applicabl...
apache-2.0
jparsec/jparsec
jparsec-examples/src/main/java/org/jparsec/examples/sql/parser/ExpressionParser.java
9523
/***************************************************************************** * Copyright (C) jparsec.org * * ------------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * * yo...
apache-2.0
jeffbrown/grailsnolib
grails-web/src/main/groovy/org/codehaus/groovy/grails/web/json/PrettyPrintJSONWriter.java
4112
/* * Copyright 2004-2008 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 ap...
apache-2.0
paetti1988/qmate
MATE/org.tud.inf.st.mbt.emf/src-gen/org/tud/inf/st/mbt/ocm/impl/OcmFactoryImpl.java
3466
/** */ package org.tud.inf.st.mbt.ocm.impl; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.impl.EFactoryImpl; import org.eclipse.emf.ecore.plugin.EcorePlugin; import org.tud.inf.st.mbt.ocm.*; /** * <!-- begin-user-doc...
apache-2.0
spohnan/geowave
core/store/src/main/java/org/locationtech/geowave/core/store/util/RewritingMergingEntryIterator.java
2157
/** * Copyright (c) 2013-2019 Contributors to the Eclipse Foundation * * <p> See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Versio...
apache-2.0
contentful/contentful-management.java
src/main/java/com/contentful/java/cma/ServiceContentTags.java
2309
/* * Copyright (C) 2019 Contentful GmbH * * 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...
apache-2.0
piraso/piraso-sql
context-logger/server/src/main/java/org/piraso/server/sql/SQLContextLoggerBeanPostProcessor.java
1383
/* * Copyright (c) 2012. Piraso Alvin R. de Leon. All Rights Reserved. * * See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The Piraso licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in ...
apache-2.0
lionsoul2014/jcseg
jcseg-core/src/main/java/org/lionsoul/jcseg/util/IStringBuffer.java
7966
package org.lionsoul.jcseg.util; import java.io.Serializable; /** * string buffer class * * @author chenxin<chenxin619315@gmail.com> */ public class IStringBuffer implements Serializable { private static final long serialVersionUID = 1L; /** * buffer char array. */ private char buff[]; ...
apache-2.0
orsjb/HappyBrackets
HappyBrackets/src/main/java/net/happybrackets/core/control/DynamicControl.java
63210
package net.happybrackets.core.control; import com.google.gson.Gson; import de.sciss.net.OSCMessage; import net.happybrackets.core.Device; import net.happybrackets.core.OSCVocabulary; import net.happybrackets.core.scheduling.HBScheduler; import net.happybrackets.core.scheduling.ScheduledEventListener; import net.happy...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/transform/ListBootstrapActionsRequestMarshaller.java
2390
/* * 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...
apache-2.0
spring-projects/spring-framework
spring-webflux/src/main/java/org/springframework/web/reactive/socket/server/support/package-info.java
246
/** * Server-side support classes for WebSocket requests. */ @NonNullApi @NonNullFields package org.springframework.web.reactive.socket.server.support; import org.springframework.lang.NonNullApi; import org.springframework.lang.NonNullFields;
apache-2.0
wpride/commcare
cases/src/org/commcare/cases/ledger/Ledger.java
4988
/** * */ package org.commcare.cases.ledger; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.Enumeration; import java.util.Hashtable; import java.util.Vector; import org.javarosa.core.services.storage.IMetaData; import org.javarosa.core.services.storage....
apache-2.0
rpudil/midpoint
repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/audit/RAuditEventRecord.java
16740
/* * Copyright (c) 2010-2013 Evolveum * * 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 agre...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-worklink/src/main/java/com/amazonaws/services/worklink/model/DescribeDeviceResult.java
16586
/* * 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...
apache-2.0
NLeSC/Platinum
ptk-web/src/main/java/nl/esciencecenter/ptk/web/WebStream.java
941
/* * Copyright 2012-2014 Netherlands eScience Center. * * 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 the following location: * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-honeycode/src/main/java/com/amazonaws/services/honeycode/AmazonHoneycodeClientBuilder.java
2368
/* * 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...
apache-2.0
mrluo735/lm.cloudplat
common/lm.com.framework/src/main/java/lm/com/framework/encrypt/DESEncrypt.java
2267
package lm.com.framework.encrypt; import java.io.IOException; import java.security.SecureRandom; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESKeySpec; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; public class DESEncrypt...
apache-2.0
thebillkidy/RandomProjects
FaceRecognition/Java/src/main/java/com/desple/view/PreviewImageCanvas.java
938
package com.desple.view; import javax.imageio.ImageIO; import javax.swing.*; import java.awt.*; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; public class PreviewImageCanvas extends JPanel { private BufferedImage image; public PreviewImageCanvas() { image = nul...
apache-2.0
martingraham/JSwingPlus
src/example/multiview/NapierDBVis.java
24478
package example.multiview; import io.db.Connect; import io.db.ConnectFactory; import io.db.FormatResultSet; import io.json.JSONStructureMaker; import io.parcoord.db.MakeTableModel; import java.awt.BasicStroke; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.event.Action...
apache-2.0
liulei-0911/LLApp
myselfapp/src/main/java/com/umeng/soexample/run/step/UpdateUiCallBack.java
249
package com.umeng.soexample.run.step; /** * 步数更新回调 * Created by dylan on 16/9/27. */ public interface UpdateUiCallBack { /** * 更新UI步数 * * @param stepCount 步数 */ void updateUi(int stepCount); }
apache-2.0
MGareta/BBVA
src/java/beans/TipoServicio.java
5309
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2016 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are...
apache-2.0
rvillars/bookapp-cqrs
ch.bfh.swos.bookapp.jpa/src/main/java/ch/bfh/swos/bookapp/jpa/model/Book.java
1241
package ch.bfh.swos.bookapp.jpa.model; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import static javax.persistence.GenerationType.IDENTITY; import static javax.persistence.TemporalType.DATE; /** * Entity implementation class for Entity: Book * */ @Entity public class Book impl...
apache-2.0
shisoft/LinkedIn-J
core/src/main/java/com/google/code/linkedinapi/schema/impl/DateOfBirthImpl.java
2214
/* * Copyright 2010-2011 Nabeel Mukhtar * * 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...
apache-2.0
lprc/excelcom
src/main/java/excelcom/api/Range.java
3146
package excelcom.api; import com.sun.jna.platform.win32.COM.COMException; import com.sun.jna.platform.win32.COM.COMLateBindingObject; import com.sun.jna.platform.win32.COM.IDispatch; import com.sun.jna.platform.win32.OaIdl; import com.sun.jna.platform.win32.OleAuto; import com.sun.jna.platform.win32.Variant; import s...
apache-2.0
sduskis/cloud-bigtable-client
bigtable-hbase-2.x-parent/bigtable-hbase-2.x-integration-tests/src/test/java/com/google/cloud/bigtable/hbase/TestCreateTable.java
3209
/* * Copyright 2015 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 applica...
apache-2.0
apache/tapestry4
framework/src/test/org/apache/tapestry/binding/TestListenerMethodBinding.java
6776
// Copyright 2004, 2005 The Apache Software Foundation // // 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 applic...
apache-2.0
iyounus/incubator-systemml
src/main/java/org/apache/sysml/lops/compile/Dag.java
143562
/* * 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 ...
apache-2.0
chmulato/helianto-seed
src/main/java/com/iservport/et/service/AbstractETApiService.java
1266
package com.iservport.et.service; import java.nio.charset.Charset; import org.apache.commons.codec.binary.Base64; import org.springframework.http.HttpHeaders; import org.springframework.web.util.UriComponentsBuilder; /** * Base class to Enterprise tester API calls. * * @author mauriciofernandesdecastr...
apache-2.0
GcsSloop/diycode
expectanim/src/main/java/com/github/florent37/expectanim/core/position/PositionAnimExpectationRightOf.java
1365
/* * Copyright 2017 GcsSloop * * 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...
apache-2.0
Manmay/JSefa
src/main/java/org/jsefa/common/converter/EnumConstant.java
1076
/* * Copyright 2007 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...
apache-2.0
royken/notes
src/main/java/com/douwe/notes/resource/impl/CycleResource.java
2688
package com.douwe.notes.resource.impl; import com.douwe.notes.entities.Cycle; import com.douwe.notes.resource.ICycleResource; import com.douwe.notes.service.ICycleService; import com.douwe.notes.service.IInsfrastructureService; import com.douwe.notes.service.ServiceException; import java.util.List; import java.util.lo...
apache-2.0
jhiswin/idiil-closure-compiler
src/com/google/javascript/jscomp/ScopedAliases.java
21121
/* * Copyright 2010 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...
apache-2.0
xinfan123/blue-server
bulu-service/src/main/java/com/xinfan/msgbox/service/dao/dialect/MysqlDialect.java
1374
package com.xinfan.msgbox.service.dao.dialect; public class MysqlDialect extends Dialect { @Override public boolean supportsLimit() { return true; } @Override public boolean supportsLimitOffset() { return true; } @Override public String getLimitString(String sql, int offset, String off...
apache-2.0
enasequence/sequencetools
src/main/java/uk/ac/ebi/embl/api/validation/fixer/entry/NonAsciiCharacterFix.java
4774
package uk.ac.ebi.embl.api.validation.fixer.entry; import uk.ac.ebi.embl.api.entry.Entry; import uk.ac.ebi.embl.api.entry.Text; import uk.ac.ebi.embl.api.entry.feature.Feature; import uk.ac.ebi.embl.api.entry.qualifier.Qualifier; import uk.ac.ebi.embl.api.entry.reference.Person; import uk.ac.ebi.embl.api.entry.referen...
apache-2.0
denis-evteev/udacity-android-sunshine-app
app/src/main/java/com/example/android/sunshine/app/FetchWeatherTask.java
12246
/* * Copyright (C) 2014 The Android Open Source Project * * 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 app...
apache-2.0
gengjiawen/GsonFormat
src/main/java/org/gsonformat/intellij/process/AutoValueProcessor.java
2976
package org.gsonformat.intellij.process; import com.intellij.psi.*; import org.apache.http.util.TextUtils; import org.gsonformat.intellij.config.Config; import org.gsonformat.intellij.config.Constant; import org.gsonformat.intellij.entity.FieldEntity; import org.gsonformat.intellij.entity.ClassEntity; import java.uti...
apache-2.0
CPoirot3/OWL-Reasoner
project/src/org/semanticweb/HermiT/datatypes/owlreal/PlusInfinity.java
1607
/* Copyright 2008, 2009, 2010 by the Oxford University Computing Laboratory This file is part of HermiT. HermiT is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the Licen...
apache-2.0
dagnir/aws-sdk-java
aws-java-sdk-mechanicalturkrequester/src/main/java/com/amazonaws/services/mturk/model/transform/HITLayoutParameterJsonUnmarshaller.java
2995
/* * 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...
apache-2.0
nhpatt/MyConference
app/src/main/java/com/nhpatt/myconference/entities/TalkEvent.java
312
package com.nhpatt.myconference.entities; import com.google.gson.JsonArray; /** * @author Javier Gamarra */ public class TalkEvent { private final JsonArray talks; public TalkEvent(JsonArray talks) { this.talks = talks; } public JsonArray getTalks() { return talks; } }
apache-2.0
maksimov/dasein-cloud-aws-old
src/main/java/org/dasein/cloud/aws/identity/IAMCapabilities.java
2228
/* * Copyright (C) 2009-2015 Dell, Inc. * See annotations for authorship information * * ==================================================================== * 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 cop...
apache-2.0
a1vanov/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePreloaderAdapter.java
5818
/* * 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 ...
apache-2.0
hotpads/datarouter
datarouter-virtual-node/src/main/java/io/datarouter/virtualnode/replication/ReplicationNodeOptions.java
3098
/* * Copyright © 2009 HotPads (admin@hotpads.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 applicable...
apache-2.0
lesaint/experimenting-annotation-processing
experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/Class_175.java
145
package fr.javatronic.blog.massive.annotation1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_175 { }
apache-2.0
MarcoLotz/docker-client
src/main/java/com/spotify/docker/client/messages/CpuStats.java
3323
/*- * -\-\- * docker-client * -- * Copyright (C) 2016 Spotify AB * -- * 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...
apache-2.0
yongtang/hadoop-xz
src/main/java/io/sensesecure/hadoop/xz/XZCompressionInputStream.java
2173
package io.sensesecure.hadoop.xz; import java.io.BufferedInputStream; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import org.apache.hadoop.io.SequenceFile; import org.apache.hadoop.io.compress.CompressionInputStream; import org.tukaani.xz.XZInputStream; /** * * @author yongt...
apache-2.0
Shelley132/java-review
thinkinginjava/generics/SuperTypeWildcards.java
276
package generics; //: generics/SuperTypeWildcards.java import java.util.*; public class SuperTypeWildcards { static void writeTo(List<? super Apple> apples) { apples.add(new Apple()); apples.add(new Jonathan()); // apples.add(new Fruit()); // Error } } ///:~
apache-2.0
Giwi/geoTracker
src/main/java/org/giwi/geotracker/routes/priv/ParamRoute.java
1430
package org.giwi.geotracker.routes.priv; import io.vertx.core.Vertx; import io.vertx.ext.web.Router; import io.vertx.ext.web.RoutingContext; import org.giwi.geotracker.annotation.VertxRoute; import org.giwi.geotracker.beans.AuthUtils; import org.giwi.geotracker.exception.BusinessException; import org.giwi.geotracker.s...
apache-2.0
google/nomulus
core/src/main/java/google/registry/model/translators/CidrAddressBlockTranslatorFactory.java
1397
// Copyright 2017 The Nomulus Authors. 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...
apache-2.0
arx-deidentifier/arx
src/gui/org/deidentifier/arx/gui/view/impl/define/ViewPrivacyModels.java
13712
/* * ARX: Powerful Data Anonymization * Copyright 2012 - 2021 Fabian Prasser and contributors * * 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/licen...
apache-2.0
hmatalonga/GreenHub
app/src/main/java/com/hmatalonga/greenhub/ui/TaskListActivity.java
25536
/* * Copyright (c) 2016 Hugo Matalonga & João Paulo Fernandes * * 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 ...
apache-2.0
GeorgeMe/nd4j
nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/accum/Mean.java
2853
/* * * * Copyright 2015 Skymind,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 * * * * U...
apache-2.0
FantasyLWX/LuLuTong
app/src/main/java/com/fantasy/lulutong/activity/me/RegisterActivity.java
863
package com.fantasy.lulutong.activity.me; import android.os.Bundle; import android.view.View; import android.widget.RelativeLayout; import com.fantasy.lulutong.R; import com.fantasy.lulutong.activity.BaseActivity; /** * “注册”的页面 * @author Fantasy * @version 1.0, 2017-02- */ public class RegisterActi...
apache-2.0
blackducksoftware/hub-detect
hub-detect/src/test/groovy/com/blackducksoftware/integration/hub/detect/tool/bazel/BazelVariableSubstitutorTest.java
1618
package com.blackducksoftware.integration.hub.detect.tool.bazel; import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.Test; public class BazelVariableSubstitutorTest { @Test public void testTargetOnly() { BazelV...
apache-2.0
dyhpoon/Fo.dex
app/src/main/java/com/dyhpoon/fodex/navigationDrawer/NavigationDrawerAdapter.java
4636
package com.dyhpoon.fodex.navigationDrawer; import android.content.Context; import android.view.View; import android.view.ViewGroup; import com.dyhpoon.fodex.R; /** * Created by darrenpoon on 3/2/15. */ public class NavigationDrawerAdapter extends SectionAdapter { private Context mContext; public class V...
apache-2.0
jnpr-shinma/yangfile
hitel/src/hctaEpc/mmeSgsn/interface_/ge/package-info.java
1235
/** * This class hierarchy was generated from the Yang module hcta-epc * by the <a target="_top" href="https://github.com/tail-f-systems/JNC">JNC</a> plugin of <a target="_top" href="http://code.google.com/p/pyang/">pyang</a>. * The generated classes may be used to manipulate pieces of configuration data * with NET...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-core/src/main/java/com/amazonaws/client/builder/AwsClientBuilder.java
22211
/* * Copyright 2011-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 "lice...
apache-2.0
JuKu/libgdx-test-rpg
engine/src/main/java/com/jukusoft/libgdx/rpg/engine/story/impl/DefaultStoryTeller.java
3080
package com.jukusoft.libgdx.rpg.engine.story.impl; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.jukusoft.libgdx.rpg.engine.story.StoryPart; import com.jukusoft.libgdx.rpg.engine.story.StoryTeller; import com.jukusoft.libgdx.rpg.engine.time.GameTime; impo...
apache-2.0
khartig/assimilator
rio-test/src/test/java/org/rioproject/test/log/LogbackServiceLogEventAppenderTest.java
926
/* * Copyright to 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 applicabl...
apache-2.0
wziyong/pinpoint
web/src/main/java/com/navercorp/pinpoint/web/controller/ItemController.java
2732
/* * Copyright 2014 NAVER Corp. * * 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 ...
apache-2.0
bedatadriven/renjin-statet
org.renjin.core/src-gen/org/renjin/primitives/R$primitive$attr$assign.java
3078
package org.renjin.primitives; import org.renjin.eval.Context; import org.renjin.eval.EvalException; import org.renjin.primitives.annotations.processor.ArgumentException; import org.renjin.primitives.annotations.processor.ArgumentIterator; import org.renjin.primitives.annotations.processor.WrapperRuntime; import org....
apache-2.0
ZHCS-CLUB/AXE
axe/axe-chinare-rop/axe-chinare-rop-server/src/main/java/com/chinare/rop/server/RequestChecker.java
242
package com.chinare.rop.server; import javax.servlet.http.HttpServletRequest; /** * @author 王贵源(wangguiyuan@chinarecrm.com.cn) */ public interface RequestChecker { public boolean check(HttpServletRequest request); }
apache-2.0
chokdee/jitty
data/src/test/java/com/jmelzer/jitty/utl/RandomUtilTest.java
890
/* * Copyright (c) 2018. * J. Melzer */ package com.jmelzer.jitty.utl; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * Created by J. Melzer on 27.03.2018. */ public class RandomUtilTest { @Test public void randomIntFromInterval() { ...
apache-2.0
freedomkk-qfeng/docker-sakai
demo/10.2-fudan/sakai-demo-10.2/work/Catalina/localhost/sakai-user-tool-prefs/org/apache/jsp/prefs/tab_jsp.java
292251
/* * Generated by the Jasper component of Apache Tomcat * Version: Apache Tomcat/7.0.53 * Generated at: 2015-06-08 03:36:45 UTC * Note: The last modified time of this file was set to * the last modified time of the source file after * generation to assist with modification tracking. */ package org.ap...
apache-2.0
shizicheng/spring_mvc_template
src/main/java/com/hotcloud/util/CookieUtil.java
2493
package com.hotcloud.util; import java.io.UnsupportedEncodingException; import java.util.HashMap; import java.util.Map; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class CookieUtil { public static Map<String, String...
apache-2.0
vert-x3/vertx-auth
vertx-auth-common/src/main/java/io/vertx/ext/auth/authorization/impl/PermissionBasedAuthorizationImpl.java
4026
/******************************************************************************** * Copyright (c) 2019 Stephane Bastian * * This program and the accompanying materials are made available under the 2 * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * SPDX-L...
apache-2.0
polyglotted/xpath-stax
src/main/java/org/polyglotted/xpathstax/model/XmlAttribute.java
4780
package org.polyglotted.xpathstax.model; import com.google.common.base.Splitter; import com.google.common.collect.Iterables; import org.codehaus.stax2.XMLStreamReader2; import org.polyglotted.xpathstax.data.Value; import javax.annotation.concurrent.ThreadSafe; import java.util.Iterator; import java.util.Map.Entry; im...
apache-2.0