repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
Sargul/dbeaver
plugins/org.jkiss.dbeaver.ui.search/src/org/jkiss/dbeaver/ui/search/data/SearchDataQuery.java
13722
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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/LICE...
apache-2.0
atlasapi/atlas-deer
atlas-api/src/main/java/org/atlasapi/www/filter/RequestLoggingFilter.java
3038
package org.atlasapi.www.filter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.filter.OncePerRequestFilter; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; im...
apache-2.0
brunocvcunha/mdmconnectors
mdm-client-send-data/src/main/java/com/totvslabs/mdm/client/ui/PanelAbstract.java
4759
package com.totvslabs.mdm.client.ui; import java.awt.Color; import java.awt.Component; import java.text.ParseException; import java.util.ArrayList; import java.util.List; import javax.swing.BorderFactory; import javax.swing.JComponent; import javax.swing.JPanel; import javax.swing.text.MaskFormatter; im...
apache-2.0
yaobanglin/wpan
app/src/main/java/com/xinyu/mwp/entity/WithDrawCashReturnEntity.java
2513
package com.xinyu.mwp.entity; /** * Created by Administrator on 2017/3/13. */ public class WithDrawCashReturnEntity extends BaseEntity { private long wid; private int id; private double charge; private double amount; private String withdrawTime; private String handleTime; private String ...
apache-2.0
romainmoreau/e-paper
e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/EPaperResponseException.java
681
package fr.romainmoreau.epaper.client.api; import java.nio.charset.StandardCharsets; public class EPaperResponseException extends EPaperException { private static final long serialVersionUID = 1L; public EPaperResponseException(byte[] response) { super(getMessage(response)); } public EPaperResponseException(b...
apache-2.0
garydgregory/jcommander-addons
src/test/java/com/garygregory/jcommander/converters/time/LocalTimeConverterTest.java
1412
/** * Copyright (C) 2016 Gary Gregory. All rights reserved. * * See the NOTICE.txt 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 th...
apache-2.0
elnin0815/EGKfeuer
src/test/java/de/gecko/egkfeuer/model/ekg/v52/ToEgkPatientConverterV52Test.java
1943
package de.gecko.egkfeuer.model.ekg.v52; import de.gecko.egkfeuer.model.EgkPatient; import de.gecko.egkfeuer.model.ekg.ToPatientConverter; import org.apache.commons.io.IOUtils; import org.junit.Before; import org.junit.Test; import java.nio.file.Files; import java.nio.file.Paths; import static org.junit.Assert.*; ...
apache-2.0
caskdata/cdap
cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkProgramRuntimeProvider.java
7842
/* * Copyright © 2016 Cask Data, 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 t...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-marketplacemeteringservice/src/main/java/com/amazonaws/services/marketplacemetering/package-info.java
3011
/* * 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
anjzhen/jbbs
src/main/java/cc/ymee/jbbs/module/record/package-info.java
174
/** * * 用于记录用户登录及操作日志相关 * <p>Create by 14/11/17 下午1:52</p> * @author :anjero by * @version :1.0 */ package cc.ymee.jbbs.module.record;
apache-2.0
resty-gwt/resty-gwt
restygwt/src/test/java/org/fusesource/restygwt/mocking/CachingCallbackFilterTestCase.java
4458
/** * Copyright (C) 2009-2012 the original author or authors. * See the notice.md 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. * Yo...
apache-2.0
SeMorgana/twitterCrawler
GetUser.java
8176
/*Collecting user account info * *@author: morgan *@data created: 5/2/2013 *@last changed: * */ import twitter4j.auth.AccessToken; import twitter4j.*; import java.io.*; import java.sql.*; import java.util.*; public class GetUser{ public static DatabaseManager dm; public static List<String> al_tokens; ...
apache-2.0
edaubert/jongo
src/main/java/org/jongo/MongoCollection.java
7077
/* * Copyright (C) 2011 Benoit GUEROUT <bguerout at gmail dot com> and Yves AMSELLEM <amsellem dot yves at gmail dot 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:/...
apache-2.0
MuirDH/Miwok
app/src/main/java/com/example/android/miwok/PhrasesFragment.java
6987
package com.example.android.miwok; import android.content.Context; import android.media.AudioManager; import android.media.MediaPlayer; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup...
apache-2.0
laonong16/leetcode
facebook/Container With Most Water/Accepted-2ms-224572718.java
210
// // Generated by fetch-leetcode-submission project on GitHub. // https://github.com/gitzhou/fetch-leetcode-submission // Contact Me: aaron67[AT]aaron67.cc // // Container With Most Water // null // null
apache-2.0
daisy/pipeline-issues
libs/epubcheck/src/test/java/com/adobe/epubcheck/ops/OPSCheckerTest.java
28215
/* * Copyright (c) 2011 Adobe Systems Incorporated * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, copy, mod...
apache-2.0
camilesing/zstack
header/src/main/java/org/zstack/header/volume/VolumeCanonicalEvents.java
1680
package org.zstack.header.volume; import org.zstack.header.message.NeedJsonSchema; import java.util.Date; /** * Created by xing5 on 2016/3/12. */ public class VolumeCanonicalEvents { public static final String VOLUME_STATUS_CHANGED_PATH = "/volume/status/change"; @NeedJsonSchema public static class Vo...
apache-2.0
dpishchukhin/org.knowhowlab.osgi.testing
org.knowhowlab.osgi.testing.assertions/src/main/java/org/knowhowlab/osgi/testing/assertions/FrameworkAssert.java
11477
/* * Copyright (c) 2010-2013 Dmytro Pishchukhin (http://knowhowlab.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 obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
apache-2.0
dremio/dremio-oss
common/src/main/java/com/dremio/common/util/DremioEdition.java
1680
/* * Copyright (C) 2017-2019 Dremio 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
apache-2.0
marcusportmann/mmp-java
src/mmp-application-kafka/src/main/java/guru/mmp/application/kafka/serialization/AvroSerializer.java
2479
/* * Copyright 2017 Marcus Portmann * * 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 t...
apache-2.0
liyuanhust/LoadMoreHelper
libary/src/main/java/com/lain/loadmorehelper/list/recyclerview/BaseWrapperAdapter.java
7539
/* * Copyright (C) 2015 Haruki Hasegawa * * 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
usr000/outlier-detection
spark-inbound/src/test/java/outlier/detection/spark/processor/MedAbsDevOutlierFinderTest.java
2156
package outlier.detection.spark.processor; import java.util.Arrays; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import outlier.detection.dto.Outlier; public class MedAbsDevOutlierFinderTest { private OutlierFinder outlierFinder; @Before public void setUp() { outlierFinder = new ...
apache-2.0
alucardxh/BaseFramework
src/main/java/com/baseframework/example/commons/script/Test.java
445
package com.baseframework.example.commons.script; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; public class Test { public static void main(String[] args) throws ScriptException { ScriptEngineManager factory= new ScriptEngineManager();...
apache-2.0
masaki-yamakawa/geode
geode-membership/src/main/java/org/apache/geode/internal/membership/utils/AvailablePort.java
16160
/* * 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 not ...
apache-2.0
JinBuHanLin/eshow-android
app/src/main/java/cn/org/eshow/demo/activity/LoginActivity.java
12929
package cn.org.eshow.demo.activity; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import android.widget.RelativeLayout; impo...
apache-2.0
GlassTune/GlassTune
glass/src/main/java/com/glasstune/audio/IPitchDetectionHandler.java
165
package com.glasstune.audio; /** * Created by njackson on 29/12/14. */ public interface IPitchDetectionHandler { public void handlePitch(double frequency); }
apache-2.0
hunterrees/challengeChessServer
src/main/java/manager/ClientConnectionManager.java
1405
package manager; import exception.user.UserNotFoundException; import model.ConnectionInfo; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.net.Socket; import java.util.HashMap; import java.util.Map; public class ClientConnectionManager { private static final Logger LOGGER = LoggerFactory.getL...
apache-2.0
McLeodMoores/starling
projects/util/src/main/java/com/opengamma/util/PoolExecutor.java
13485
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.util; import java.lang.ref.Reference; import java.lang.ref.WeakReference; import java.util.Iterator; import java.util.concurrent.BlockingQueue; import java.uti...
apache-2.0
johnpr01/STAF-Aeron
src/main/java/com/kaazing/staf_aeron/tests/Test0080.java
2342
/* * Copyright 2015 Kaazing 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
apache-2.0
dragonflyor/AndroidDemo_Base
08_04_服务建立广播接收者/src/com/xiaozhe/coderegistereceiver/ScreenReceiver.java
598
package com.xiaozhe.coderegistereceiver; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class ScreenReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub String a...
apache-2.0
evrignaud/wisdom
core/content-manager/src/main/java/org/wisdom/content/encoding/ValuedEncoding.java
4140
/* * #%L * Wisdom-Framework * %% * Copyright (C) 2013 - 2014 Wisdom Framework * %% * 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...
apache-2.0
hirohanin/elephant-birdpig7hadoop21
src/java/com/twitter/elephantbird/proto/codegen/ProtobufWritableGenerator.java
1351
package com.twitter.elephantbird.proto.codegen; import com.twitter.elephantbird.mapreduce.io.ProtobufWritable; import com.twitter.elephantbird.proto.util.FormattingStringBuffer; import com.twitter.elephantbird.util.TypeRef; public class ProtobufWritableGenerator extends ProtoCodeGenerator { @Override public Stri...
apache-2.0
googleapis/java-dialogflow-cx
proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequest.java
38690
/* * Copyright 2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/transform/ListRegistriesRequestProtocolMarshaller.java
2661
/* * 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
jjculber/defcoinj
examples/src/main/java/com/google/defcoin/examples/FetchTransactions.java
2401
/* * Copyright 2012 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 i...
apache-2.0
lewismc/oodt
catalog/src/main/java/org/apache/oodt/cas/catalog/system/impl/CatalogServiceLocal.java
57387
/* * 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
Colex/cassandra-mv
interface/thrift/gen-java/org/apache/cassandra/thrift/TokenRange.java
33502
/** * Autogenerated by Thrift Compiler (1.0.0-dev) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.cassandra.thrift; /* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distr...
apache-2.0
AfricaRegex/SjcProduct
SjcProject/src/com/sjc/cc/service/service/impl/DBInstanceServiceImpl.java
2075
package com.sjc.cc.service.service.impl; import java.util.List; import org.hibernate.criterion.DetachedCriteria; import org.hibernate.criterion.Restrictions; import com.sjc.cc.base.service.AbstractBusinessService; import com.sjc.cc.entity.TccDbInstance; import com.sjc.cc.service.service.DBInstanceService; ...
apache-2.0
azusa/hatunatu
hatunatu-util/src/main/java/jp/fieldnotes/hatunatu/util/beans/BeanDesc.java
10357
/* * Copyright 2004-2012 the Seasar Foundation and the Others. * * 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
christian-posta/activemq-apollo-java-port
apollo-broker/src/main/java/org/apache/activemq/apollo/broker/web/JettyWebServer.java
16996
/** * 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
chrishumphreys/provocateur
provocateur-thirdparty/src/main/java/org/targettest/org/apache/lucene/search/QueryTermVector.java
4524
package org.targettest.org.apache.lucene.search; /** * 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 Apach...
apache-2.0
willemsrb/sonar-rci-plugin
src/test/java/nl/futureedge/sonar/plugin/rci/RciPropertiesTest.java
3489
package nl.futureedge.sonar.plugin.rci; import org.junit.Assert; import org.junit.Test; import org.sonar.api.ce.measure.test.TestSettings; public class RciPropertiesTest { @Test public void testWeigths() { final TestSettings settings = new TestSettings(); settings.setValue(RciProperties.WEIGT...
apache-2.0
stevenhva/InfoLearn_OpenOLAT
src/main/java/org/olat/ims/qti/editor/ChoiceItemController.java
11733
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
apache-2.0
bshp/midPoint
infra/prism-api/src/main/java/com/evolveum/midpoint/prism/ItemFactory.java
2837
/* * Copyright (c) 2010-2018 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.prism; import com.evolveum.midpoint.prism.path.ItemName; import com.evolveum.midpoint.prism.path.I...
apache-2.0
JeffreyWei/db_monitor
src/main/java/com/founder/action/Hello.java
991
package com.founder.action; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.PrintWriter; /** * 功能说明: * * @author weij */ public class Hello extends javax.servlet.http.HttpSer...
apache-2.0
cordmata/handle-service
src/main/java/edu/asu/lib/handle/HandleClient.java
1249
package edu.asu.lib.handle; import java.net.URL; import net.handle.hdllib.HandleException; public interface HandleClient { /** * Get the first HandleValue with type URL and return a URL Object. * * @param handle - The handle to lookup, in the form of "prefix/suffix". * @return The target U...
apache-2.0
FJplant/AntIDE
src/com/antsoft/ant/property/LibraryListModel.java
1888
/* * $Header: /usr/cvsroot/AntIDE/source/com/antsoft/ant/property/LibraryListModel.java,v 1.3 1999/07/22 03:42:03 multipia Exp $ * Ant ( JDK wrapper Java IDE ) * Version 1.0 * Copyright (c) 1998-1999 Antsoft Co. All rights reserved. * This program and source file is protected by Korea and international * C...
apache-2.0
kevinjava/pattern
src/com/github/kevinjava/pattern/behavior/interpreter/SymbolExpression.java
269
package com.github.kevinjava.pattern.behavior.interpreter; public abstract class SymbolExpression extends Expression { Expression left; Expression right; public SymbolExpression(Expression left, Expression right) { this.left = left; this.right = right; } }
apache-2.0
srose/keycloak
quarkus/tests/integration/src/main/java/org/keycloak/it/utils/KeycloakDistribution.java
1173
package org.keycloak.it.utils; import java.util.ArrayList; import java.util.List; import static org.keycloak.quarkus.runtime.Environment.LAUNCH_MODE; public interface KeycloakDistribution { void start(List<String> arguments); void stop(); List<String> getOutputStream(); List<String> getErrorStrea...
apache-2.0
spinnaker/clouddriver
clouddriver-aws/src/main/java/com/netflix/spinnaker/clouddriver/aws/deploy/asg/asgbuilders/AsgBuilder.java
17002
/* * Copyright 2021 Netflix, 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
chris-wood/ORAM3P
src/sprout/oram/Tree.java
20386
package sprout.oram; import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAccessFile; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import sprout.crypto.Random; import sprout.util.Util; import sprout.util.RC; public class Tree { // Tree parameters p...
apache-2.0
saki4510t/libcommon
common/src/main/java/com/serenegiant/media/IRecycleParent.java
1210
package com.serenegiant.media; /* * libcommon * utility/helper classes for myself * * Copyright (c) 2014-2021 saki t_saki@serenegiant.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...
apache-2.0
dagnir/aws-sdk-java
aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/transform/WorkflowExecutionFailedEventAttributesMarshaller.java
2891
/* * 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
jbossorg/borg
src/main/java/org/jboss/planet/model/PostFilter.java
399
/* * JBoss, Home of Professional Open Source * Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. */ package org.jboss.planet.model; import java.io.Serializable; /** * * @author Adam Warski (adam at warski dot org) * */ public in...
apache-2.0
android-opensource-library-56/android-opensource-library-56
09-04-Robolectric/RobolectricSample/test/jp/mydns/sys1yagi/android/robolectricsample/RobolectricSampleActivityTest.java
1980
package jp.mydns.sys1yagi.android.robolectricsample; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolect...
apache-2.0
masonmei/apm-agent
profiler/src/main/java/com/baidu/oped/apm/profiler/interceptor/bci/MultipleClassPool.java
776
/* * 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
ismael-sarmento-jr/hapi-fhir
hapi-fhir-base/src/main/java/ca/uhn/fhir/util/BundleUtil.java
2049
package ca.uhn.fhir.util; /* * #%L * HAPI FHIR - Core Library * %% * Copyright (C) 2014 - 2016 University Health Network * %% * 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 * * ...
apache-2.0
li9766090/coolweatherData
app/src/main/java/com/example/lijing/coolwwath/db/DBHelper.java
1840
package com.example.lijing.coolwwath.db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; /** * Created by lijing on 15/6/8. */ //用来装载天气信息的数据库 public class DBHelper extends SQLiteOpenHelper { // // 数据库表名 // private static final ...
apache-2.0
MPLauncher/MPLauncher
src/main/java/pl/mplauncher/launcher/bootstrap/MPLauncherBootstrap.java
1021
/* Copyright 2017 MPLauncher 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 law or agreed to in...
apache-2.0
hasancelik/hazelcast-stabilizer
simulator/src/main/java/com/hazelcast/simulator/protocol/processors/AgentOperationProcessor.java
8416
/* * Copyright (c) 2008-2016, 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
mike10004/appengine-imaging
gaecompat-awt-imaging/src/common/com/gaecompat/repackaged/com/google/common/collect/Sets.java
60237
/* * Copyright (C) 2007 The Guava 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 agre...
apache-2.0
joel-costigliola/assertj-core
src/test/java/org/assertj/core/internal/ThrowablesBaseTest.java
1565
/* * 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 t...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/model/ListTagsForResourceResult.java
4866
/* * 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
matthieuvernier/Kelluwen-NLP
Kelluwen-NLP/src/main/java/cl/uach/kelluwen/nlp/engines/geolocation/GeonamesCluesSpotter.java
8485
package cl.uach.kelluwen.nlp.engines.geolocation; import org.apache.uima.UimaContext; import org.apache.uima.analysis_component.JCasAnnotator_ImplBase; import org.apache.uima.analysis_engine.AnalysisEngineProcessException; import org.apache.uima.cas.FSIterator; import org.apache.uima.cas.text.AnnotationIndex; import o...
apache-2.0
kubernetes-client/java
fluent-gen/src/main/java/io/kubernetes/client/fluent/Config.java
871
/* Copyright 2020 The Kubernetes 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 in writing, softwar...
apache-2.0
ChinaQuants/OG-Platform
projects/OG-Financial/src/test/java/com/opengamma/financial/analytics/fudgemsg/ModelVolatilitySurfaceTest.java
6490
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.fudgemsg; import static org.testng.AssertJUnit.assertEquals; import static org.testng.internal.junit.ArrayAsserts.assertArrayEquals; impor...
apache-2.0
sarah-happy/happy-archive
archive/src/main/java/org/yi/happy/archive/IndexSearchNextMain.java
1667
package org.yi.happy.archive; import java.io.PrintStream; import java.util.List; import java.util.Set; import org.yi.happy.archive.commandLine.UsesArgs; import org.yi.happy.archive.commandLine.UsesIndexStore; import org.yi.happy.archive.commandLine.UsesInput; import org.yi.happy.archive.commandLine.UsesOutput; import...
apache-2.0
koenighotze/Hotel-Reservation-Tool
guest/src/test/java/org/koenighotze/jee7hotel/guest/business/GuestAtomFeedTest.java
1647
package org.koenighotze.jee7hotel.guest.business; import org.apache.abdera.Abdera; import org.apache.abdera.model.Entry; import org.apache.abdera.model.Feed; import org.apache.abdera.parser.stax.FOMFeed; import org.junit.Test; import org.junit.runner.RunWith; import org.koenighotze.jee7hotel.guest.domain.Guest; import...
apache-2.0
mariusj/org.openntf.domino
domino/junit4xpages/src/main/java/org/hamcrest/TypeSafeDiagnosingMatcher.java
2261
package org.hamcrest; import org.hamcrest.internal.ReflectiveTypeFinder; /** * Convenient base class for Matchers that require a non-null value of a specific type and that will report why the received value has been * rejected. This implements the null check, checks the type and then casts. To use, implement * *...
apache-2.0
yavski/fab-speed-dial
samples/src/main/java/io/github/yavski/fabspeeddial/samples/EventsSampleActivity.java
1776
/* * Copyright 2016 Yavor Ivanov * * 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
McLeodMoores/starling
projects/analytics/src/main/java/com/mcleodmoores/analytics/math/statistics/descriptive/WeightFunction.java
445
/** * Copyright (C) 2017 - present McLeod Moores Software Limited. All rights reserved. */ package com.mcleodmoores.analytics.math.statistics.descriptive; /** * An interface for functions that provide a stream of weights. This stream could be finite or * infinite. * @param <T> the type of the weight that is ret...
apache-2.0
chelu/jdal
vaadin/src/main/java/org/jdal/vaadin/data/BeanWrapperItem.java
2358
/* * Copyright 2009-2015 Jose Luis Martin * * 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...
apache-2.0
zhigangtan/cole
cole-web/src/main/java/cn/tanziquan/produce/cole/configure/WebConfig.java
564
package cn.tanziquan.produce.cole.configure; import org.springframework.boot.context.embedded.jetty.JettyEmbeddedServletContainerFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; /** * WebConfig * * @version 0.0.1 */ @Configuration public cla...
apache-2.0
paulseawa/p4ic4idea
plugin/src/net/groboclown/idea/p4ic/server/exceptions/VcsInterruptedException.java
950
/* * 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 * distr...
apache-2.0
xiao-chen/hadoop
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/ContainerData.java
12234
/* * 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
spinscale/dropwizard-jobs
dropwizard-jobs-spring/src/test/java/io/dropwizard/jobs/EveryTestJob.java
476
package io.dropwizard.jobs; import io.dropwizard.jobs.Job; import io.dropwizard.jobs.annotations.Every; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import java.util.concurrent.CountDownLatch; @Every("50ms") public class EveryTestJob extends Job { final CountDownLatch latch =...
apache-2.0
schleichardt/java-8-playground
test/java8/ch1lambdaexpressions/P_1_3_FunctionalInterfaces.java
2589
package java8.ch1lambdaexpressions; import base.Demo; import com.google.common.base.Strings; import org.junit.Test; import java.io.IOException; import java.util.function.Function; import static org.fest.assertions.Assertions.assertThat; public class P_1_3_FunctionalInterfaces { /* Places where lambdas can ...
apache-2.0
99soft/guartz
src/main/java/org/nnsoft/guice/guartz/SchedulerConfigurationBuilder.java
1113
package org.nnsoft.guice.guartz; /* * Copyright 2009-2012 The 99 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.o...
apache-2.0
xalfonso/res_java
JavaRea/src/main/java/eas/com/util/criteria/CriteriaAuthor.java
1158
package eas.com.util.criteria; import eas.com.entity.Author; import javax.ws.rs.QueryParam; /** * Created by eduardo on 12/3/2016. */ public class CriteriaAuthor implements Criteria<Author> { @QueryParam("country") private String country; @QueryParam("genre") private String genre; public Cr...
apache-2.0
CenPC434/java-tools
en16931-edifact-to-xml/src/main/java/com/altova/text/tablelike/csv/ParserStateInsideQuotedField.java
1790
//////////////////////////////////////////////////////////////////////// // // ParserStateInsideQuotedField.java // // This file was generated by MapForce 2017sp2. // // YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE // OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION. // // Refer to the MapForce Documentation for furt...
apache-2.0
caalador/VNE
vne/src/main/java/org/percepta/mgrankvi/vne/client/MyComponentWidget.java
2701
package org.percepta.mgrankvi.vne.client; import com.google.gwt.media.client.Audio; import com.google.gwt.user.client.Timer; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.Label; import com.vaadin.client.Util; import org.percepta.mgrankvi.preloader.client.image.ImageLoadEvent; import or...
apache-2.0
orientechnologies/orientdb
distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/task/OLockKeySource.java
463
package com.orientechnologies.orient.server.distributed.impl.task; import com.orientechnologies.orient.core.id.ORID; import com.orientechnologies.orient.core.tx.OTransactionId; import com.orientechnologies.orient.server.distributed.impl.task.transaction.OTransactionUniqueKey; import java.util.SortedSet; public interf...
apache-2.0
cretz/statmantis
src/org/statmantis/annotation/XmlTopLevel.java
969
/* * Copyright 2010 Chad Retz * * 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
mnovillodiaz/Miwok_App
app/src/main/java/com/example/android/miwok/Word.java
2014
package com.example.android.miwok; /** * Created by mdiaz on 17/05/17. */ public class Word { private static final int NO_IMAGE_PROVIDED = -1; //String default translation private String defaultTranslation; //String miwok translation private String miwokTranslation; //String sound priva...
apache-2.0
codenergic/theskeleton
src/main/java/org/codenergic/theskeleton/post/PostReactionRepository.java
1292
/* * Copyright 2018 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 applicable l...
apache-2.0
RWTH-i5-IDSG/jamocha
src/main/java/org/jamocha/function/impls/sideeffects/ExportGv.java
3930
/* * Copyright 2002-2016 The Jamocha 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.jamocha.org/ * * Unless required by applicable law or agreed to in writing, s...
apache-2.0
a1705164/Restaurante
Restaurante/Web/src/domain/Prato.java
3268
package domain; import java.io.Serializable; import java.math.BigDecimal; import java.math.BigInteger; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; imp...
apache-2.0
cloudiator/common
domain/src/main/java/de/uniulm/omi/cloudiator/domain/LoginNameSuppliers.java
1028
/* * Copyright 2017 University of Ulm * * 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
CesarPantoja/jena
jena-base/src/main/java/org/apache/jena/atlas/lib/ListUtils.java
3472
/* * 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
intel-hadoop/chimera
src/test/java/com/intel/chimera/stream/CBCPKCS5PaddingCryptoStreamTest.java
1129
/** * 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
paulseawa/p4ic4idea
plugin/src/net/groboclown/idea/p4ic/v2/ui/alerts/LoginFailedHandler.java
998
/* * 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 * distr...
apache-2.0
youzigege2048/sharelove
MyApplication/app/src/main/java/youzi/com/sharelove/view/fragment_about.java
600
package youzi.com.sharelove.view; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import youzi.com.sharelove.R; /** * Created by youzi 2016/5/28. */ public class fragment_a...
apache-2.0
sbt/ivy
src/java/org/apache/ivy/Ivy.java
31026
/* * 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
denis-colliot/fscf-contacts
src/main/java/fr/fscf/contacts/client/ui/view/zone/AuthenticationZoneView.java
2072
package fr.fscf.contacts.client.ui.view.zone; import com.google.gwt.core.client.GWT; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.uibinder.client.UiTemplate; import com.google.gwt.user.client.ui.IsWidget; import com.google.gwt.user.client.ui.Widge...
apache-2.0
jparsec/jparsec
jparsec-examples/src/main/java/org/jparsec/examples/java/ast/declaration/ConstructorDef.java
2717
/***************************************************************************** * Copyright (C) jparsec.org * * ------------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * * yo...
apache-2.0
jdeparser/jdeparser2
src/main/java/org/jboss/jdeparser/SuccessorJVarDeclaration.java
2223
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
apache-2.0
palessandro/activejdbc
activejdbc/src/test/java/org/javalite/activejdbc/test_models/Item.java
813
/* Copyright 2009-2016 Igor Polevoy 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, softwa...
apache-2.0
quarkusio/quarkus
extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/xml/orm/OrmXmlAnnotationOverrideTest.java
1767
package io.quarkus.hibernate.orm.xml.orm; import static org.assertj.core.api.Assertions.assertThat; import javax.inject.Inject; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.transaction.Transactional; import org.junit.jupiter.api.Test; import org.junit.jupiter.ap...
apache-2.0
ceylon/ceylon
tools/src/org/eclipse/ceylon/tools/new_/CeylonNewTool.java
14363
/******************************************************************************** * Copyright (c) 2011-2017 Red Hat Inc. and/or its affiliates and others * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * http://www.apach...
apache-2.0
firejack-open/Firejack-Platform
core/src/main/java/net/firejack/platform/core/validation/service/RuleService.java
2229
/* * 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")...
apache-2.0