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 |
|---|---|---|---|---|---|
package com.slothwerks.hearthstone.compendiumforhearthstone.models;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.util.Log;
import com.slothwerks.hearthstone.compendiumforhearthstone.data.CardManager;
import com.slothwerks.hearthstone.compendiumforhearthstone.d... | efarraro/deckerino | app/src/main/java/com/slothwerks/hearthstone/compendiumforhearthstone/models/Deck.java | Java | apache-2.0 | 8,403 |
/**
* Copyright (C) 2014 Namie Town. All Rights Reserved.
*/
package jp.fukushima.namie.town.model;
import java.util.Date;
import java.util.HashMap;
import jp.fukushima.namie.town.CrawlerException;
import jp.fukushima.namie.town.Util;
import org.json.simple.JSONObject;
/**
* RSS Bean.
*/
public class RssEntityB... | codefornamie/namie-crawler | src/main/java/jp/fukushima/namie/town/model/RssEntityBean.java | Java | apache-2.0 | 3,336 |
package com.cocosw.framework.core;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManage... | tsdl2013/COCOFramework | framework/src/main/java/com/cocosw/framework/core/BaseDialog.java | Java | apache-2.0 | 7,759 |
/*
* Copyright 2000-2010 JetBrains s.r.o.
*
* 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... | semonte/intellij-community | java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/libraryEditor/NewLibraryEditor.java | Java | apache-2.0 | 7,996 |
/*
* 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... | wenzhucjy/tomcat_source | tomcat-8.0.9-sourcecode/java/org/apache/naming/EjbRef.java | Java | apache-2.0 | 3,860 |
/**
* Copyright (C) 2015 Red Hat, 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... | fabric8io/kubernetes-client | kubernetes-server-mock/src/test/java/io/fabric8/kubernetes/client/server/mock/KubernetesCrudDispatcherTest.java | Java | apache-2.0 | 4,276 |
package com.coolweather.app.db;
import java.util.ArrayList;
import java.util.List;
import com.coolweather.app.model.City;
import com.coolweather.app.model.County;
import com.coolweather.app.model.Province;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import an... | D-Lucien/coolweather | src/com/coolweather/app/db/CoolWeatherDB.java | Java | apache-2.0 | 3,670 |
/*
* 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/nacos | config/src/main/java/com/alibaba/nacos/config/server/utils/TimeoutUtils.java | Java | apache-2.0 | 2,720 |
// Copyright Keith D Gregory
//
// 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... | kdgregory/pomutil | app-dependency/src/main/java/com/kdgregory/pomutil/dependency/DependencyScanner.java | Java | apache-2.0 | 4,177 |
package com.opensymphony.xwork2.config.impl;
import com.opensymphony.xwork2.inject.Context;
import com.opensymphony.xwork2.inject.Factory;
import com.opensymphony.xwork2.util.location.Located;
import com.opensymphony.xwork2.util.location.LocationUtils;
import java.io.Serializable;
/**
* Factory that remembers where ... | mikemaal/xwork-core | src/main/java/com/opensymphony/xwork2/config/impl/LocatableConstantFactory.java | Java | apache-2.0 | 916 |
/**
*
*/
package uk.bl.wa.whois;
import static org.junit.Assert.*;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import org.junit.Before;
import org.junit.Test;
import uk.bl.wa.whois.exceptions.ServerNotFoundException;
import uk.bl.wa.whois.exceptions.WebInterfac... | ukwa/jruby-whois | src/test/java/uk/bl/wa/whois/JRubyWhoisTest.java | Java | apache-2.0 | 1,556 |
/*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.swing;
import javax.swing.event.*;
import javax.swing.plaf.*;
import javax.accessibility... | haikuowuya/android_system_code | src/javax/swing/JSlider.java | Java | apache-2.0 | 50,579 |
/*
* 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... | TopQuadrant/shacl | src/main/java/org/topbraid/shacl/engine/SHACLScriptEngineManager.java | Java | apache-2.0 | 1,818 |
/**
* Copyright 2004-2014 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 required by a... | kuali/kpme | pm/api/src/main/java/org/kuali/kpme/pm/api/position/service/PositionService.java | Java | apache-2.0 | 1,146 |
/**
* File VariableNotInvolvedException.java
*
* This file is part of the jCoCoA project.
*
* Copyright 2016 Anonymous
*
* 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
*
... | anonc187/jCoCoA | src/main/java/org/anon/cocoa/exceptions/VariableNotInvolvedException.java | Java | apache-2.0 | 1,149 |
package org.ow2.chameleon.rose.demo.api;
public interface DemoServiceAPI {
public String getGreetings();
}
| barjo/arvensis | example/hello-pubsubhubub+jsonrpc/demoService-API/src/main/java/org/ow2/chameleon/rose/demo/api/DemoServiceAPI.java | Java | apache-2.0 | 116 |
package id.franspratama.geol.util;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.DeserializationContex... | fransfilastap/pm5 | src/main/java/id/franspratama/geol/util/CustomDateDeserializer.java | Java | apache-2.0 | 866 |
package com.dianping.cat.build;
import java.util.ArrayList;
import java.util.List;
import org.unidal.lookup.configuration.AbstractResourceConfigurator;
import org.unidal.lookup.configuration.Component;
import com.dianping.cat.Constants;
import com.dianping.cat.consumer.cross.CrossAnalyzer;
import com.dianping.cat.co... | ServerStarted/cat | cat-home/src/main/java/com/dianping/cat/build/ReportServiceComponentConfigurator.java | Java | apache-2.0 | 8,714 |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.project;
import com.google.common.annotations.VisibleForTesting;
import com.intellij.codeWithMe.ClientId;
import com.intellij.diagnostic.LoadingState... | dahlstrom-g/intellij-community | platform/platform-impl/src/com/intellij/openapi/project/DumbServiceImpl.java | Java | apache-2.0 | 25,913 |
package client_store;
/**
* Created by giorgiopea on 25/03/17.
*/
public abstract class State {
}
| StateStrategyPOC/Client | src/main/java/client_store/State.java | Java | apache-2.0 | 101 |
/*
* Licensed to Elasticsearch 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
* not use this fi... | camilojd/elasticsearch | core/src/main/java/org/elasticsearch/plugins/Plugin.java | Java | apache-2.0 | 3,102 |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* 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... | consulo/consulo | modules/base/util-deprecated/src/main/java/com/intellij/util/containers/HashSetQueue.java | Java | apache-2.0 | 6,151 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package de.dimm.vsm.preview;
import static de.dimm.vsm.preview.IMetaData.ATTR_RENDER_STATE;
import static de.dimm.vsm.preview.IMetaData.RENDER_STATE_ERROR;
import java.util.Collection;
import java.util.HashMap;... | markymarkmk2/VSMServer | src/de/dimm/vsm/preview/MetaData.java | Java | apache-2.0 | 2,270 |
/*
* Copyright 2010 Martin Grotzke
*
* 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 ... | magro/kryo-serializers | src/main/java/de/javakaffee/kryoserializers/jodatime/JodaDateTimeSerializer.java | Java | apache-2.0 | 3,764 |
package es.tid.pce.computingEngine.algorithms.sson;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Set;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.jgr... | telefonicaid/netphony-pce | src/main/java/es/tid/pce/computingEngine/algorithms/sson/Dynamic_RSAPreComputation.java | Java | apache-2.0 | 15,350 |
/*
* Copyright 2002-2015 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... | shivpun/spring-framework | spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/CallMetaDataContextTests.java | Java | apache-2.0 | 3,657 |
/*
* 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 ... | benbenw/jmeter | src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/util/accesslog/TCLogParser.java | Java | apache-2.0 | 20,300 |
package org.tud.inf.st.mbt.emf.graphicaleditor;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
public class GraphicalEMFEditorActivator extends AbstractUIPlugin {
public static final String PLUGIN_ID = "org.tud.inf.st.mbt.graphicaleditor"; //$NON-NLS-1$
// The shared instan... | paetti1988/qmate | MATE/org.tud.inf.st.mbt.emf.graphicaleditor/src/org/tud/inf/st/mbt/emf/graphicaleditor/GraphicalEMFEditorActivator.java | Java | apache-2.0 | 1,077 |
/*
* Created on Oct 23, 2010
*
* 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... | nicstrong/fest-assertions-android | fest-assert-android/src/main/java/org/fest/assertions/core/FloatingPointNumberAssert.java | Java | apache-2.0 | 1,924 |
package com.javarush.task.task18.task1802;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;
/*
Минимальный байт
Ввести с консоли имя файла.
Найти минимальный байт в файле, вывести его на экран.
Закрыть поток ввода-вывода.
*/
public class Solution {
public static v... | Alik72/JAVA_RUSH | JavaRushTasks/JavaRushTasks/2.JavaCore/src/com/javarush/task/task18/task1802/Solution.java | Java | apache-2.0 | 484 |
/*
* Copyright (c) 2015 Cloudera, 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 ... | changhiskhan/navigator-sdk | examples/src/main/java/com/cloudera/nav/plugin/examples/stetson2/CustomLineageCreator2.java | Java | apache-2.0 | 3,943 |
/* (swing1.1) */
package jp.gr.java_conf.tame.swing.examples;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.plaf.*;
/**
* @version 1.0 12/10/98
*/
public class ColoredToolTipExample extends JFrame {
public ColoredToolTipExample() {
super("Colored ToolTip Example");
... | rayrelay/devnote | devnote-example/src/main/java/jp/gr/java_conf/tame/swing/examples/ColoredToolTipExample.java | Java | apache-2.0 | 937 |
/**
* @copyright
* ====================================================================
* 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. ... | YueLinHo/Subversion | subversion/bindings/javahl/src/org/apache/subversion/javahl/types/Property.java | Java | apache-2.0 | 3,085 |
/*
* 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 ... | astubbs/wicket.get-portals2 | wicket/src/test/java/org/apache/wicket/util/lang/BytesTest.java | Java | apache-2.0 | 4,794 |
/*
* Copyright 2017 IBM Corp. 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 o... | lpatino10/android-sdk | library/src/main/java/com/ibm/watson/developer_cloud/android/library/audio/opus/OggOpusEnc.java | Java | apache-2.0 | 4,120 |
/*
* This file is part of "lunisolar-magma".
*
* (C) Copyright 2014-2022 Lunisolar (http://lunisolar.eu/).
*
* 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... | lunisolar/magma | magma-func/src/test/java/eu/lunisolar/magma/func/function/conversion/LSrtToIntFunctionTest.java | Java | apache-2.0 | 17,309 |
package com.fishercoder.solutions;
public class _481 {
public static class Solution1 {
/**
* credit: https://discuss.leetcode.com/topic/74917/simple-java-solution-using-one-array-and-two-pointers
* Algorithm:
* <p>
* 1. Create an int array a and initialize the first 3 e... | fishercoder1534/Leetcode | src/main/java/com/fishercoder/solutions/_481.java | Java | apache-2.0 | 1,584 |
/*
* ====================================================================
* 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 ... | vuzzan/openclinic | src/org/apache/http/impl/client/BasicCredentialsProvider.java | Java | apache-2.0 | 3,663 |
package de.longri.cachebox3.utils.texturepacker;
/*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | Longri/cachebox3.0 | core/src/de/longri/cachebox3/utils/texturepacker/FileProcessor.java | Java | apache-2.0 | 9,037 |
package java.net;
/*
* #%L
* Matos
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2010 - 2014 Orange SA
* %%
* 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.... | Orange-OpenSource/matos-profiles | matos-android/src/main/java/java/net/SecureCacheResponse.java | Java | apache-2.0 | 1,423 |
/*
* 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.impl.schema;
import com.evolveum.midpoint.util.logging.Trace;
import com.evolveum.midpoint.u... | bshp/midPoint | infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/CatalogImpl.java | Java | apache-2.0 | 2,205 |
/*
* 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... | googleapis/google-api-java-client-services | clients/google-api-services-billingbudgets/v1/1.30.1/com/google/api/services/billingbudgets/v1/model/GoogleCloudBillingBudgetsV1NotificationsRule.java | Java | apache-2.0 | 9,074 |
package com.jukusoft.rpg.core.math;
import com.jukusoft.rpg.core.utils.BufferUtils;
import java.lang.reflect.Field;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.util.concurrent.atomic.AtomicBoolean;
/**
* Created by Justin on 30.11.2016.
*/
public class Vector3f {
/**
* every floa... | JuKu/rpg-2dgame-engine | rpg-core/src/main/java/com/jukusoft/rpg/core/math/Vector3f.java | Java | apache-2.0 | 8,691 |
/*
* Jigasi, the JItsi GAteway to SIP.
*
* Copyright @ 2018 Atlassian Pty 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
*
*... | jitsi/jigasi | src/main/java/org/jitsi/jigasi/transcription/TranslationResultListener.java | Java | apache-2.0 | 915 |
/*
* Copyright 1999-2015 dangdang.com.
* <p>
* 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... | mydevotion/elastic-job-source | elastic-job-cloud/elastic-job-cloud-scheduler/src/main/java/com/dangdang/ddframe/job/cloud/scheduler/producer/TransientProducerRepository.java | Java | apache-2.0 | 2,288 |
/*
* Copyright 2014-2016 by Cloudsoft Corporation 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 applic... | cloudsoft/clocker-cloudsoft-releases | mesos/src/main/java/clocker/mesos/location/framework/MesosFrameworkLocation.java | Java | apache-2.0 | 2,136 |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.highlighting;
import com.intellij.openapi.fileTypes.SyntaxHighlighter;
import com.intellij.openapi.fileTypes.SyntaxHighlighterFactory;
import com.int... | mdanielwork/intellij-community | python/src/com/jetbrains/python/highlighting/PySyntaxHighlighterFactory.java | Java | apache-2.0 | 1,683 |
/*
Copyright 2015 The ARSnova 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 i... | thm-projects/couchdb4j | src/java/com/fourspaces/couchdb/structure/package-info.java | Java | apache-2.0 | 635 |
package com.report.common.model.query;
import java.io.Serializable;
import java.util.List;
import com.report.common.dal.query.entity.dto.ReportCondition;
/**
* 报表模板类查询时返回的VO
* @author 887961
*
*/
public class ReportModelVO implements Serializable {
private static final long serialVersionUID = 12352243707664252... | LittleLazyCat/TXEYXXK | 2017workspace/report/report-common/report-common-model/src/main/java/com/report/common/model/query/ReportModelVO.java | Java | apache-2.0 | 1,524 |
/*
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package net.troja.eve.esi.model;
import com.google.gson.TypeAdapter;
import com.goog... | burberius/eve-esi | src/test/java/net/troja/eve/esi/model/CharacterPlanetsResponseTest.java | Java | apache-2.0 | 2,035 |
/*
* 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 ... | java-config/tamaya-export | core/src/main/java/org/apache/tamaya/core/internal/resources/DefaultPathResourceLoader.java | Java | apache-2.0 | 2,674 |
package org.gradle.test.performance.mediummonolithicjavaproject.p428;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test8566 {
Production8566 objectUnderTest = new Production8566();
@Test
public void testProperty0() {
Production8563 value = new Production8563();
... | oehme/analysing-gradle-performance | my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p428/Test8566.java | Java | apache-2.0 | 2,174 |
package com.web.application.project.annotation;
import java.lang.annotation.*;
/**
* 指定需要进行模糊查询参数处理的方法
* @author Evans
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD })
@Documented
@Inherited
public @interface Search {
}
| OrzEvans/JavaWebApplication | src/main/java/com/web/application/project/annotation/Search.java | Java | apache-2.0 | 284 |
/**
* Copyright (C) 2012 KRM Associates, Inc. healtheme@krminc.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 r... | OSEHRA/HealtheMe | src/main/java/com/krminc/phr/domain/clinical/RecordIdentifier.java | Java | apache-2.0 | 5,521 |
/*
* Copyright 2014 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... | leapframework/framework | data/db/src/test/java/leap/db/ddl/JsonTest.java | Java | apache-2.0 | 1,153 |
package tz.gzu.oip.dm.service.education;
import tz.gzu.oip.dm.bo.common.PageAndSorted;
public interface PretreatmentPoJo<T> {
public T before(T entity, PageAndSorted page);
public T after(T entity,PageAndSorted page);
}
| TZClub/OMIPlatform | dao-manager/src/main/java/tz/gzu/oip/dm/service/education/PretreatmentPoJo.java | Java | apache-2.0 | 232 |
//
// 이 파일은 JAXB(JavaTM Architecture for XML Binding) 참조 구현 2.2.8-b130911.1802 버전을 통해 생성되었습니다.
// <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>를 참조하십시오.
// 이 파일을 수정하면 소스 스키마를 재컴파일할 때 수정 사항이 손실됩니다.
// 생성 날짜: 2016.04.29 시간 09:20:38 AM KST
//
package org.oliot.model.epcis;
import java.util.... | woosungpil/epcis | epcis/src/main/java/org/oliot/model/epcis/SubscriptionControls.java | Java | apache-2.0 | 5,345 |
/*
* 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 ... | gridgain/apache-ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCachePartitionedExplicitLockNodeFailureSelfTest.java | Java | apache-2.0 | 5,118 |
package org.docksidestage.install.dbflute.cbean.cq;
import org.dbflute.cbean.ConditionQuery;
import org.dbflute.cbean.sqlclause.SqlClause;
import org.docksidestage.install.dbflute.cbean.cq.bs.BsServiceRankCQ;
/**
* The condition-query of SERVICE_RANK.
* <p>
* You can implement your original methods here.
* This c... | dbflute-test/dbflute-test-env-install | src/main/java/org/docksidestage/install/dbflute/cbean/cq/ServiceRankCQ.java | Java | apache-2.0 | 1,736 |
package cc4102.tarea3.algorithm;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Stack;
import cc4102.tarea3.adt.Circuit;
import cc4102.tarea3.geom.Point;
public class ConvexHullCalculator {
// builds a convex hull around the given points
// using the Graham scan algorithm
pub... | ommirandap/EuclideanTSP | src/cc4102/tarea3/algorithm/ConvexHullCalculator.java | Java | apache-2.0 | 1,899 |
package cutin.sampleviewsupport;
import java.util.ArrayList;
import android.app.Activity;
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import com.garlicg... | garlicG/CUT-IN-material | sample-viewsupport/src/cutin/sampleviewsupport/CutinListFragment.java | Java | apache-2.0 | 1,728 |
/*
* 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... | joel-costigliola/assertj-core | src/test/java/org/assertj/core/api/file/FileAssert_hasParentWithNullStringParameter_Test.java | Java | apache-2.0 | 1,246 |
package com.mythmake.circu.domain;
public class Types {
//specific character attributes for each shape type
private int typeId;
private String name;
private String image;
private int width;
private int height;
private int health;
private int power;
private int bulk;
private int speed;
public Types(){}
p... | DaemonWill/circu | Project_Circu/core/src/com/mythmake/circu/domain/Types.java | Java | apache-2.0 | 1,572 |
/*
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package net.troja.eve.esi.api;
import java.util.ArrayList;
import java.util.List;
... | burberius/eve-esi | src/test/java/net/troja/eve/esi/api/MarketApiTest.java | Java | apache-2.0 | 9,929 |
package com.planet_ink.coffee_mud.MOBS;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_... | oriontribunal/CoffeeMud | com/planet_ink/coffee_mud/MOBS/LargeBat.java | Java | apache-2.0 | 2,737 |
package com.qingbo.gingko.integration.shiro.common;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.ExcessiveAttemptsException;
import org.apache.shiro.authc.credential.HashedCredentialsMatcher;
import org.apache.shiro.cache.Cache;
impo... | hwxiasn/archetypes | gingko/gingko-integration/src/main/java/com/qingbo/gingko/integration/shiro/common/RetryLimitHashedCredentialsMatcher.java | Java | apache-2.0 | 1,757 |
package org.ovirt.engine.ui.webadmin.widget.table.column;
import com.google.gwt.user.cellview.client.Column;
/**
* Column for displaying text using {@link TextCellWithTooltip}.
*
* @param <T>
* Table row data type.
*/
public abstract class TextColumnWithTooltip<T> extends Column<T, String> implements... | anjalshireesh/gluster-ovirt-poc | frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/column/TextColumnWithTooltip.java | Java | apache-2.0 | 871 |
package mybooks;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class MyBooksApplication {
public static void main(String[] args) throws Exception {
SpringApplication.run(MyBooksApplication.class, args);
}
}
| rosscoleman/mybooks-spring-boot | src/main/java/mybooks/MyBooksApplication.java | Java | apache-2.0 | 319 |
package org.ripple.power.ui.graphics;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.util.HashMap;
import org.ripple.power.ui.UIRes;
public class LFont {
private static LFont defaultFont = LFont.getFont... | cping/RipplePower | eclipse/RipplePower/src/org/ripple/power/ui/graphics/LFont.java | Java | apache-2.0 | 6,371 |
package com.primeton.appframe.common.exception;
/**
*
* ClassName: MalciousException <br/>
* Function: TODO ADD FUNCTION. <br/>
* Reason: TODO ADD REASON(可选). <br/>
* date: 2017年10月17日 下午12:23:17 <br/>
* 请求频繁异常
* @author Jin.He (mailto:hejin@primeton.com)
* @version
*/
@SuppressWarnings("serial")... | hejingit/Skybird-WorkSpace | appframe/src/main/java/com/primeton/appframe/common/exception/MalciousException.java | Java | apache-2.0 | 922 |
package hyweb.jo.model;
import hyweb.jo.org.json.JSONObject;
import hyweb.jo.util.JOPath;
/**
*
* $ 和 JOWPObject 不同意義 是指 row data 不一定是 input data
* $ input
* $cfg 外部設定
* $check 運算結果檢查
* $data 暫存資料 --->output
* @author william
*/
public class JOWorkData extends JSONObject {
... | williamyyj/mjo2 | src/main/java/hyweb/jo/model/JOWorkData.java | Java | apache-2.0 | 1,196 |
/*
* Copyright 2017 Dagmar Prokopova <xproko26@stud.fit.vutbr.cz>.
*
* 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 req... | dprokopo/pi-visualizer | pi-visualizer/src/main/java/cz/vutbr/fit/xproko26/pivis/visualizer/Visualizer.java | Java | apache-2.0 | 16,535 |
package com.coolweather.android.db;
import org.litepal.crud.DataSupport;
/**
* Created by 45346 on 2017/08/03.
* 县信息
*/
public class County extends DataSupport {
private int id;
private String countyName;
private String weatherId;
private int cityId;
public int getId() {
return id;
... | huangzhuhua666/coolweather | app/src/main/java/com/coolweather/android/db/County.java | Java | apache-2.0 | 855 |
/*
*
* ==============================================================================
* 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
*
*... | rycaon/isis-base | amap_base/src/main/java/org/wicketstuff/gmap/api/GLatLng.java | Java | apache-2.0 | 4,270 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package co.edu.sena.mavenproject2.model.entities;
import java.io.Serializable;
import javax.persistence.EmbeddedId;
import javax.persi... | SENA-CEET/1349397-Trimestre-4 | java/JSF/mavenproject2/src/main/java/co/edu/sena/mavenproject2/model/entities/Aprendiz.java | Java | apache-2.0 | 4,283 |
package net.arenx.candidate2016.jdo;
import javax.jdo.PersistenceManager;
public class PersistenceManagerThreadLoccal {
private static ThreadLocal<PersistenceManager> pm = new ThreadLocal<PersistenceManager>();
public static PersistenceManager get() {
return pm.get();
}
public static void set(PersistenceManag... | yarencheng/candidate2016 | src/main/java/net/arenx/candidate2016/jdo/PersistenceManagerThreadLoccal.java | Java | apache-2.0 | 379 |
package com.java110.store.bmo.contractType.impl;
import com.java110.core.annotation.Java110Transactional;
import com.java110.intf.store.IContractTypeInnerServiceSMO;
import com.java110.po.contractType.ContractTypePo;
import com.java110.store.bmo.contractType.IUpdateContractTypeBMO;
import com.java110.vo.ResultVo;
impo... | java110/MicroCommunity | service-store/src/main/java/com/java110/store/bmo/contractType/impl/UpdateContractTypeBMOImpl.java | Java | apache-2.0 | 1,173 |
/*
* Copyright 2009-2018, Acciente LLC
*
* Acciente LLC 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 ... | acciente/oacc-core | src/test/java/com/acciente/oacc/TestAccessControl_revokeGlobalResourcePermissions.java | Java | apache-2.0 | 83,308 |
package tests;
import backend.RepoIO;
import backend.interfaces.RepoStore;
import backend.json.JSONStore;
import backend.resource.Model;
import guitests.UITest;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import ui.UI;
import ui.components.StatusUIStub;
import ... | saav/HubTurbo | src/test/java/tests/StoreTests.java | Java | apache-2.0 | 5,194 |
/* Copyright 2013 Tim Garrett, Mothsoft 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... | mothsoft/openalexis | alexis-ui-war/src/main/java/com/mothsoft/alexis/web/security/TermsOfServiceFilter.java | Java | apache-2.0 | 3,486 |
package com.k2data.k2app;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import com.alibaba.fastjson.JSON;
import com.k2data.k2app.response.CommonResultResponse;
import com.netflix.zuul.context.RequestContext;
/**
* @author lidong9144@163.com 17-6-13.
*/
@... | ShareTeam/Platform | Server-Platform/SpringCloud/k2asset-route-server/k2asset-zuul/src/main/java/com/k2data/k2app/ResponseUtils.java | Java | apache-2.0 | 1,298 |
package org.springframework.social.eventbrite.api;
import java.util.List;
import javax.xml.bind.annotation.XmlAnyElement;
public class Filters {
private List<Filter> filters;
@XmlAnyElement
public List<Filter> getFilters() {
return filters;
}
public void setFilters(List<Filter> filters) {
this.filters = ... | agentgt/spring-social-eventbrite | src/main/java/org/springframework/social/eventbrite/api/Filters.java | Java | apache-2.0 | 335 |
/*
* Copyright (c) 2020-2021 VMware, 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.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
... | reactor/reactor-netty | reactor-netty-core/src/main/java/reactor/netty/channel/MeterKey.java | Java | apache-2.0 | 1,753 |
/**
* Package for gameboard tasks.
*
* @author Ruslan Zhedunov (mailto:jake_r7@mail.ru)
* @since 1.0
* @version 1.1
*/
package ru.job4j.gameboard; | rzhedunov/rzhedunov | chapter_002/src/main/java/ru/job4j/gameboard/package-info.java | Java | apache-2.0 | 153 |
/** Copyright 2015 Goshi Noguchi (noggon54@gmail.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 ap... | nog54/jmatcher | client/src/main/java/org/nognog/jmatcher/client/Connector.java | Java | apache-2.0 | 20,200 |
/**
* Copyright (C) 2009-2013 enStratus Networks 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://... | maksimov/dasein-cloud-vcloud_old | src/main/java/org/dasein/cloud/vcloud/vCloud.java | Java | apache-2.0 | 8,571 |
/*
* Copyright 2004 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... | GerHobbelt/closure-compiler | src/com/google/javascript/jscomp/PeepholeFoldConstants.java | Java | apache-2.0 | 42,616 |
/*
* 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-kinesis/src/main/java/com/amazonaws/services/kinesisanalytics/model/LambdaOutputDescription.java | Java | apache-2.0 | 6,235 |
/*
* Copyright 2017 Young Digital Planet S.A.
*
* 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... | YoungDigitalPlanet/empiria.player | src/main/java/eu/ydp/empiria/player/client/view/player/AbstractCache.java | Java | apache-2.0 | 1,823 |
/*
* Copyright (C) 2016 Dmitry Kotlyarov.
* 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 require... | aot-pro/aot-sdk-java | src/main/java/aot/app/EventTypeNotFoundException.java | Java | apache-2.0 | 1,340 |
package net.brainage;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication
@EnableTransactionManagem... | brainagenet/spring-mybatis-manual-transaction | src/main/java/net/brainage/SpringMybatisManualTransactionApplication.java | Java | apache-2.0 | 552 |
/**
* //package для Point.
* @author Oleg Koborzhenkov
* @version 1.
* @since 18.03.2017.
*/
package ru.job4j.condition; | olegkoborzhenkov/okoborzhenkov | chapter_001/src/main/java/ru/job4j/condition/package-info.java | Java | apache-2.0 | 123 |
package de.saxsys.mvvmfx.utils.mapping.accessorfunctions;
import java.util.function.BiFunction;
/**
* A functional interface to define an immutable "setter" method of a generic type.
* As the model element is immutable this method is not a real "setter".
* Instead it returns a new immutable copy of the original mo... | sialcasa/mvvmFX | mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/mapping/accessorfunctions/ObjectImmutableSetter.java | Java | apache-2.0 | 750 |
package com.hczhang.hummingbird.ext.eventrouter.disruptor;
import com.lmax.disruptor.EventFactory;
/**
* Created by steven on 1/30/15.
*/
public class EventPayloadFactory implements EventFactory<EventPayload> {
@Override
public EventPayload newInstance() {
return new EventPayload();
}
}
| steven-zhc/hummingbird-ext | eventrouter-disruptor/src/main/java/com/hczhang/hummingbird/ext/eventrouter/disruptor/EventPayloadFactory.java | Java | apache-2.0 | 313 |
package com.zdlog.jiahe.db;
import org.litepal.crud.DataSupport;
/**
* Created by Administrator on 2017/3/23 0023.
*/
public class County extends DataSupport {
private int id;
private String countyName;
private String weatherId;
private int cityId;
public int getId() {
return id;
... | jiushaba/Jiahe | app/src/main/java/com/zdlog/jiahe/db/County.java | Java | apache-2.0 | 851 |
package oasis.names.tc.saml._2_0.assertion;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElemen... | nsicontest/nsi-ri | src/oasis/names/tc/saml/_2_0/assertion/SubjectType.java | Java | apache-2.0 | 3,906 |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2016-2016 Karl Griesser (fullref@gmail.com)
* Copyright (C) 2010-2022 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... | dbeaver/dbeaver | plugins/org.jkiss.dbeaver.ext.exasol/src/org/jkiss/dbeaver/ext/exasol/editors/ExasolColumnDataTypeListProvider.java | Java | apache-2.0 | 1,678 |
/*
* Copyright 2012-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 required by ap... | Nowheresly/spring-boot | spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/DefaultServletWebServerFactoryCustomizerTests.java | Java | apache-2.0 | 24,532 |
/*
* 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 ... | smgoller/geode | geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/command/GatewayReceiverCommand.java | Java | apache-2.0 | 36,449 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2014 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | graimundo/pentaho-osgi-bundles | pentaho-notification-webservice-bundle/src/test/java/org/pentaho/osgi/notification/webservice/NotificationServiceTest.java | Java | apache-2.0 | 5,430 |