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.keeps.ksxtmanager.system.service;
import java.util.List;
import com.keeps.core.service.SoftService;
import com.keeps.model.TDict;
import com.keeps.model.TDictType;
import com.keeps.tools.utils.page.Page;
import com.keeps.utils.TreeNode;
/**
* <p>Title: DictService.java</p>
* <p>Descripti... | keepsl/keepsmis | ksxtmanager/src/main/java/com/keeps/ksxtmanager/system/service/DictService.java | Java | apache-2.0 | 1,385 |
package com.yaochen.boss.dao;
import java.util.List;
import org.springframework.stereotype.Component;
import com.ycsoft.beans.core.cust.CCust;
import com.ycsoft.beans.core.prod.CProdInclude;
import com.ycsoft.daos.abstracts.BaseEntityDao;
import com.ycsoft.daos.core.JDBCException;
@Component
public clas... | leopardoooo/cambodia | boss-job/src/main/java/com/yaochen/boss/dao/ProdIncludeDao.java | Java | apache-2.0 | 826 |
// Copyright 2000-2019 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.psi.impl;
import com.google.common.annotations.VisibleForTesting;
import com.intellij.injected.editor.DocumentWindow;
import com.intellij.lang.ASTNode;
impor... | consulo/consulo | modules/base/core-impl/src/main/java/com/intellij/psi/impl/PsiDocumentManagerBase.java | Java | apache-2.0 | 42,122 |
package com.github.czyzby.uedi.test.ambiguous;
import com.github.czyzby.uedi.stereotype.Singleton;
public class AmbiguousInjector implements Singleton {
private Ambiguous ambiguousA;
private Ambiguous ambiguousB;
private Ambiguous named;
public Ambiguous getA() {
return ambiguousA;
}
... | czyzby/gdx-lml | uedi/src/test/java/com/github/czyzby/uedi/test/ambiguous/AmbiguousInjector.java | Java | apache-2.0 | 445 |
/*
* Copyright 2014-2016 Mikhail Shugay
*
* 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 ag... | mikessh/mageri | src/main/java/com/antigenomics/mageri/core/variant/model/ErrorRateEstimate.java | Java | apache-2.0 | 1,639 |
/*
* Copyright 2000-2009 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-properties | src/main/java/com/intellij/lang/properties/PropertiesHighlightingLexer.java | Java | apache-2.0 | 1,637 |
package http;
import java.io.Serializable;
public class HttpMessage implements Serializable{
private static final long serialVersionUID = -1114764212343485987L;
private HttpRequest httpRequest;
private HttpResponse httpResponse;
public HttpMessage(HttpRequest request){
this.httpRequest = req... | OgaworldEX/ORS | src/http/HttpMessage.java | Java | apache-2.0 | 703 |
/*
* 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-people/v1/1.31.0/com/google/api/services/people/v1/model/DeleteContactPhotoResponse.java | Java | apache-2.0 | 2,351 |
/*
* 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/incubator-asterixdb | asterixdb/asterix-common/src/main/java/org/apache/asterix/common/utils/StorageConstants.java | Java | apache-2.0 | 3,098 |
/*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... | gemxd/gemfirexd-oss | gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/persistence/soplog/ByteComparator.java | Java | apache-2.0 | 1,907 |
/*
* 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 listeners;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Singleton;
im... | sergio11/struts2-hibernate | ejercicio4-web/src/main/java/listeners/GuiceListener.java | Java | apache-2.0 | 1,267 |
package com.coolweather.app.db;
import java.util.ArrayList;
import java.util.List;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import com.coolweather.app.model.City;
import com.coolweather.app.model.County;
impor... | yhhyes/coolweather | src/com/coolweather/app/db/CoolWeatherDB.java | Java | apache-2.0 | 3,550 |
/*
* 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 ... | googleapis/java-dlp | proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java | Java | apache-2.0 | 1,515 |
/*
* 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
* d... | OSEHRA/ISAAC | core/mojo/src/main/java/sh/isaac/mojo/Shutdown.java | Java | apache-2.0 | 2,748 |
/*
Copyright 2014 Bojan Savric
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
... | OSUCartography/JMapProjLib | src/com/jhlabs/map/proj/McBrydeThomasFlatPolarSinusoidalProjection.java | Java | apache-2.0 | 2,052 |
/*
* 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... | gstevey/gradle | subprojects/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/cache/CompileCaches.java | Java | apache-2.0 | 1,295 |
/*
* Copyright (C) 2016 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... | amzn/exoplayer-amazon-port | library/common/src/main/java/com/google/android/exoplayer2/text/Cue.java | Java | apache-2.0 | 24,639 |
/**
* 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... | cloudera/hcatalog | core/src/test/java/org/apache/hcatalog/mapreduce/HCatMapReduceTest.java | Java | apache-2.0 | 13,101 |
/**
* JacobGen generated file --- do not edit
*
* (http://www.sourceforge.net/projects/jacob-project */
package com.pew.itunes;
import com.jacob.com.*;
public class IITVisual extends Dispatch {
public static final String componentName = "iTunesLib.IITVisual";
public IITVisual() {
super(componentName);
}
/... | Eminenz/itunesJacobExample | src/com/pew/itunes/IITVisual.java | Java | apache-2.0 | 979 |
/**
* Copyright 2016, 2017 Peter Zybrick 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/LICENSE-2.0
*
* Unles... | petezybrick/iote2e | iote2e-ws/src/main/java/com/pzybrick/iote2e/ws/nrt/ServerSideSocketNearRealTime.java | Java | apache-2.0 | 11,460 |
// Copyright 2015 Square, Inc.
package retrofit.converter;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;
import com.squareup.okhttp.MediaType... | murat8505/REST_client_retrofit | retrofit/src/test/java/retrofit/converter/GsonConverterTest.java | Java | apache-2.0 | 2,382 |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... | zuzanamullerova/unitime | JavaSource/org/unitime/timetable/gwt/client/rooms/RoomHint.java | Java | apache-2.0 | 7,518 |
package com.hardis.connect.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import an... | Har-insa/front-end | app/src/main/java/com/hardis/connect/fragment/FeedsFragment.java | Java | apache-2.0 | 2,144 |
package table;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.net.URL;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class WelcomeWindow implements Runnable {
private JFrame frame;
private String fileName="i... | nanchengking/Drawing | src/table/WelcomeWindow.java | Java | apache-2.0 | 1,380 |
/* Copyright 2010-2012 Alfresco Software, Ltd.
* Copyright 2012 Thorben Lindhauer
*
* Licensed under the Apache License, ersion 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
... | ThorbenLindhauer/activiti-engine-ppi | modules/activiti-engine/src/main/java/org/activiti/engine/impl/pvm/runtime/ExecutionImpl.java | Java | apache-2.0 | 25,877 |
/*
* Copyright 2015-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... | marsbits/restfbmessenger | samples/restfbmessenger-echo-spring-boot/src/main/java/com/github/marsbits/restfbmessenger/sample/EchoCallbackHandler.java | Java | apache-2.0 | 3,553 |
package org.altbeacon.bluetooth;
import android.annotation.TargetApi;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Asyn... | yangjae/android-beacon-library | src/main/java/org/altbeacon/bluetooth/BluetoothCrashResolver.java | Java | apache-2.0 | 19,332 |
package org.apache.lucene.spatial.query;
/*
* 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... | terrancesnyder/solr-analytics | lucene/spatial/src/java/org/apache/lucene/spatial/query/SpatialArgs.java | Java | apache-2.0 | 4,992 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | prestodb/presto | presto-main/src/main/java/com/facebook/presto/operator/scalar/JsonToRowCast.java | Java | apache-2.0 | 6,466 |
/*
*
*/
package net.community.chest.swing.text;
import java.lang.reflect.Method;
import java.util.Map;
import javax.swing.Icon;
import javax.swing.text.MutableAttributeSet;
import javax.swing.text.SimpleAttributeSet;
import net.community.chest.awt.dom.UIReflectiveAttributesProxy;
import net.community.chest.reflect... | lgoldstein/communitychest | chest/gui/swing/src/main/java/net/community/chest/swing/text/MutableAttributeSetXmlProxy.java | Java | apache-2.0 | 3,524 |
package com.lhl.zk.interceptor;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import ... | liuhailin/zookeeper-console | src/main/java/com/lhl/zk/interceptor/AuthInterceptor.java | Java | apache-2.0 | 1,148 |
package galvin;
public interface Selectable {
public boolean isSelected();
public void setSelected( boolean selected );
}
| thomasgalvin/Utils | src/main/java/galvin/Selectable.java | Java | apache-2.0 | 131 |
/*
* Copyright (c) 2016 Yahoo Inc.
* Licensed under the terms of the Apache version 2.0 license.
* See LICENSE file for terms.
*/
package com.yahoo.yqlplus.engine.guice;
import com.google.common.base.Joiner;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.yahoo.yqlplus.api.Exports;
... | slolars/yql-plus | yqlplus_engine/src/main/java/com/yahoo/yqlplus/engine/guice/MultibinderPlannerNamespace.java | Java | apache-2.0 | 2,406 |
/*
* Copyright 2012-2019 MarkLogic 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 applicabl... | marklogic/data-hub-in-a-box | web/src/main/java/com/marklogic/hub/web/model/StatusMessage.java | Java | apache-2.0 | 901 |
package jo.alexa.sim.logic;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.util.List;
import jo.alexa.sim.data.ApplicationBean;
import jo.alexa.sim.data.IntentBean;
import jo.alexa.sim.data.PhraseSegmentBean;
import jo.alexa.sim.data.SlotBean;
import jo.alexa.... | jjaquinta/EchoSim | jo.alexa.sim/src/jo/alexa/sim/logic/UtteranceLogic.java | Java | apache-2.0 | 5,919 |
/**
* Copyright (C) 2006-2020 Talend Inc. - www.talend.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | chmyga/component-runtime | component-runtime-manager/src/test/java/org/talend/sdk/component/runtime/manager/reflect/IconFinderTest.java | Java | apache-2.0 | 3,250 |
package indep_screen3;
import com.navid.nifty.flow.ScreenFlowManager;
import com.navid.nifty.flow.ScreenFlowManagerImpl;
import de.lessvoid.nifty.Nifty;
import de.lessvoid.nifty.screen.Screen;
import de.lessvoid.nifty.screen.ScreenController;
/**
* Created by alberto on 08/07/15.
*/
public class Controller3 impleme... | albertonavarro/nifty-flow | examples/ex1/src/main/java/indep_screen3/Controller3.java | Java | apache-2.0 | 1,048 |
/**
*
*/
package com.catalyst.sonar.score.api;
import static org.junit.Assert.*;
import static com.catalyst.sonar.score.api.ApiTestConstants.*;
import org.junit.Before;
import org.junit.Test;
/**
* Test Class for {@link Criterion}.
*
* @author JDunn
*/
public class CriterionTest {
private... | CatalystIT/sonar-score-plugin | src/test/java/com/catalyst/sonar/score/api/CriterionTest.java | Java | apache-2.0 | 2,683 |
package com.youdu.core.display;
import android.view.ViewGroup;
/**
* Created by qndroid on 16/10/27.
*
* @function 用来与外界通信的类, 接收参数, 发送请求
*/
public class DisplayAdContext implements
DisplayAdSlot.DisplayConextListener {
/**
* Data
*/
private DisplayAdSlot mDisplayAdSlot; //图片类型广告
pr... | FoxconnPeter/IMOCC | imooc_business/vuandroidadsdk/src/main/java/com/youdu/core/display/DisplayAdContext.java | Java | apache-2.0 | 1,271 |
package com.tangjf.tally.dao;
import com.tangjf.framework.dao.BaseMapper;
import com.tangjf.tally.dto.TallyType;
public interface TallyTypeMapper extends BaseMapper<TallyType> {
} | tangjf420/ttweb | ttweb/src/main/java/com/tangjf/tally/dao/TallyTypeMapper.java | Java | apache-2.0 | 187 |
package io.connecto.connectoapi;
import org.json.JSONArray;
import org.json.JSONException;
import java.util.ArrayList;
import java.util.List;
/**
* A model class which wraps around a list of segment objects.
*
* An instance of this class is returned by the getSegments api.
* @see ConnectoAPI#getSegments(String, ... | connecto/connecto-java | src/main/java/io/connecto/connectoapi/SegmentResponse.java | Java | apache-2.0 | 1,428 |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project 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 ... | fenik17/netty | codec/src/main/java/io/netty/handler/codec/base64/Base64Decoder.java | Java | apache-2.0 | 2,347 |
/*
* 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 ... | googleapis/java-common-protos | grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java | Java | apache-2.0 | 42,722 |
/*
* Copyright 2013-2019 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... | alexander071/cf-java-client | cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/useradmin/ListOrganizationUsersRequestTest.java | Java | apache-2.0 | 1,079 |
/*
* 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 ... | lmjacksoniii/hazelcast | hazelcast/src/main/java/com/hazelcast/config/JobTrackerConfigReadOnly.java | Java | apache-2.0 | 2,164 |
package org.ofbiz.camel.services;
import org.apache.camel.CamelExecutionException;
import org.ofbiz.base.util.Debug;
import org.ofbiz.camel.loader.CamelContainer;
import org.ofbiz.service.DispatchContext;
import org.ofbiz.service.ServiceUtil;
import java.util.Collections;
import java.util.Map;
public class CamelServ... | jamesyong/o3erp | java/specialpurpose/camel/src/org/ofbiz/camel/services/CamelServices.java | Java | apache-2.0 | 1,242 |
package no.ssb.vtl.script.operations.join;
/*-
* ========================LICENSE_START=================================
* Java VTL
* %%
* Copyright (C) 2016 - 2018 Hadrien Kohl
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... | statisticsnorway/java-vtl | java-vtl-script/src/test/java/no/ssb/vtl/script/operations/join/NewInnerJoinOperationTest.java | Java | apache-2.0 | 9,205 |
package com.dgrid.errors;
public class MailException extends DGridException {
/**
*
*/
private static final long serialVersionUID = 1107025858152537437L;
public MailException(String msg) {
super(msg);
}
public MailException(Throwable root) {
super(root);
}
}
| samtingleff/dgrid | java/src/api/com/dgrid/errors/MailException.java | Java | apache-2.0 | 278 |
package com.doordeck.simplegpio.gpio;
/*
* (C) Copyright 2014 libbulldog (http://libbulldog.org/) 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... | doordeck/simplegpio | simplegpio-core/src/main/java/com/doordeck/simplegpio/gpio/PinBlockedException.java | Java | apache-2.0 | 1,446 |
package com.gmail.thelimeglass.Scoreboards;
import org.bukkit.event.Event;
import org.bukkit.scoreboard.Team;
import org.eclipse.jdt.annotation.Nullable;
import ch.njol.skript.classes.Changer;
import ch.njol.skript.classes.Changer.ChangeMode;
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.SkriptPar... | TheLimeGlass/Skellett | src/main/java/com/gmail/thelimeglass/Scoreboards/ExprTeamFriendlyInvisibles.java | Java | apache-2.0 | 1,691 |
/*
* Copyright 2013 The Regents of The University California
*
* 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 b... | dmwu/sparrow | src/main/java/edu/berkeley/sparrow/daemon/nodemonitor/TaskScheduler.java | Java | apache-2.0 | 6,672 |
package com.googlecode.d2j.dex;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.commons.Remapper;
import org.objectweb.asm.commons.RemappingClassAdapter;
public class LambadaNameSafeClassAdapter extends RemappingClassAdapter {
public String getClassName() {
return remapper.mapType(classNam... | rgfernandes/dex2jar | dex-translator/src/main/java/com/googlecode/d2j/dex/LambadaNameSafeClassAdapter.java | Java | apache-2.0 | 576 |
/*
* 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 ... | citlab/vs.msc.ws14 | flink-0-7-custom/flink-java/src/main/java/org/apache/flink/api/java/operators/SingleInputOperator.java | Java | apache-2.0 | 2,357 |
package com.cworld.earngold.sys.action;
import org.springframework.stereotype.Controller;
import com.core.code.action.BaseAction;
import com.cworld.earngold.mobile.inf.InterfaceLogin;
import com.cworld.earngold.mobile.inf.InterfaceUser;
import com.cworld.earngold.mobile.inf.impl.InterfaceLoginImpl;
import com... | hejzgithub/CworldEarnGold | src/com/cworld/earngold/sys/action/UserAction.java | Java | apache-2.0 | 3,106 |
package com.playfab;
import java.util.HashMap;
import java.util.Date;
public class LinkGameCenterAccountRequest
{
/// <summary>
/// Game Center identifier for the player account to be linked
/// </summary>
public String GameCenterId;
}
| nathancassano/PlayFabJavaAndroidSDK | PlayFabClientSDK/src/com/playfab/LinkGameCenterAccountRequest.java | Java | apache-2.0 | 249 |
package com.example.newbook4.bean;
import java.util.Comparator;
import org.json.JSONException;
import org.json.JSONObject;
import android.util.Log;
public class InfoBean {
public int info_id;
public int user_id;
public String bookname;
public String price;
//public String time;
public String address;
... | wangyusheng/NewBook3 | src/com/example/newbook4/bean/InfoBean.java | Java | apache-2.0 | 918 |
/*
* Copyright (C) 2011 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 ... | GavinCT/SimpleLeakCanary | library/src/main/java/com/czt/simpleleakcanary/library/GcTrigger.java | Java | apache-2.0 | 1,776 |
/*
* Copyright 2013, Unitils.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
*
* Unless required by applicable law or... | Silvermedia/unitils | unitils-core/src/main/java/org/unitils/core/junit/AfterTestTearDownStatement.java | Java | apache-2.0 | 1,320 |
package weixin.popular.bean.datacube.getcardbizuininfo;
import com.google.gson.annotations.SerializedName;
/**
* 拉取卡券概况数据接口-响应参数-日期数据
*
* @author Moyq5
*/
public class BizuinInfoResultInfo {
/**
* 日期信息
*/
@SerializedName("ref_date")
private String refDate;
/**
* 浏览次数
*/
@... | China-ls/wechat4java | src/main/java/weixin/popular/bean/datacube/getcardbizuininfo/BizuinInfoResultInfo.java | Java | apache-2.0 | 4,198 |
// This is a generated file. Not intended for manual editing.
package vektah.rust.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface RustExprClosure extends RustExpr {
@NotNull
RustClosureBody getClosureBody();
@NotNull
RustClosureExprArgs ge... | consulo/consulo-rust | gen/vektah/rust/psi/RustExprClosure.java | Java | apache-2.0 | 343 |
/******************************************************************************
* WebJavin - Java Web Framework. *
* *
* Copyright (c) 2011 - Sergey "Frosman" Lukjanov, me@frostman.ru *
... | Frostman/webjavin | webjavin-indigo/src/main/java/ru/frostman/web/indigo/openid/OpenId.java | Java | apache-2.0 | 1,963 |
/*
* Copyright 2016-2017 Florent Weber <florent.weber@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 require... | florentw/bench | cluster-jms/src/main/java/io/amaze/bench/cluster/jms/JMSLeaderClusterClientFactory.java | Java | apache-2.0 | 4,603 |
// Copyright (C) 2012 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 applicable ... | Overruler/gerrit | gerrit-httpd/src/main/java/com/google/gerrit/httpd/restapi/RestApiServlet.java | Java | apache-2.0 | 37,717 |
package com.cloudata.clients.keyvalue;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import com.google.common.base.Function;
import com.google.common.collect.Iterators;
import com.google.common.collect.Lists;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.... | justinsb/cloudata | cloudata-client/src/main/java/com/cloudata/clients/keyvalue/PrefixKeyValueStore.java | Java | apache-2.0 | 3,663 |
/*
* Copyright (c) 2014 TIKINOU 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 t... | MythTV-Clients/MythTV-Service-API | src/main/java/org/mythtv/services/api/v027/beans/TitleInfo.java | Java | apache-2.0 | 1,693 |
/*
* 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 ... | ubikloadpack/jmeter | src/components/org/apache/jmeter/visualizers/backend/graphite/AbstractGraphiteMetricsSender.java | Java | apache-2.0 | 2,633 |
/*
* 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/tomcat/websocket/Util.java | Java | apache-2.0 | 21,751 |
package jepperscore.scraper.common.rcon;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
/**
* This interface provides the functions for talking to a game's RCON server.
* @author Chuck
*
*/
public interface RconClient {
/**
* Sends a command to the RCON server.
* @param command The co... | SiphonSquirrel/jepperscore | scrapers/scraper-common/src/main/java/jepperscore/scraper/common/rcon/RconClient.java | Java | apache-2.0 | 518 |
/*
* Copyright 2005-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.osedu.org/licenses/ECL-2.0
*
* Unless required by appli... | blackcathacker/kc.preclean | coeus-code/src/main/java/org/kuali/coeus/common/budget/framework/period/SaveBudgetPeriodRule.java | Java | apache-2.0 | 1,082 |
package io.github.rcarlosdasilva.weixin.model.request.media;
import io.github.rcarlosdasilva.weixin.common.ApiAddress;
import io.github.rcarlosdasilva.weixin.model.request.base.BasicWeixinRequest;
public class MediaGetTemporaryWithHqAudioRequest extends BasicWeixinRequest {
private String mediaId;
publ... | rcarlosdasilva/weixin | src/main/java/io/github/rcarlosdasilva/weixin/model/request/media/MediaGetTemporaryWithHqAudioRequest.java | Java | apache-2.0 | 721 |
/*
* Copyright 2012-2013 inBloom, Inc. and 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 appli... | inbloom/secure-data-service | sli/dashboard/src/test/java/org/slc/sli/dashboard/web/unit/interceptor/SessionCheckInterceptorTest.java | Java | apache-2.0 | 3,264 |
/*
* Copyright 2014-2021 Real Logic 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | real-logic/Agrona | agrona/src/test/java/org/agrona/collections/IntArrayQueueTest.java | Java | apache-2.0 | 4,747 |
/*
* Copyright Terracotta, 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 ... | lorban/ehcache3 | impl/src/test/java/org/ehcache/impl/internal/store/disk/OffHeapDiskStoreTest.java | Java | apache-2.0 | 22,169 |
package me.code4fun.roboq;
import android.os.Handler;
/**
* @since 0.1
*/
public abstract class PostRunnableCallback extends HandlerCallback {
public PostRunnableCallback(Handler handler) {
super(handler);
}
@Override
public void onResponse(Request req, Response resp, Exception error) {
... | gaorx/Roboq | Roboq/src/me/code4fun/roboq/PostRunnableCallback.java | Java | apache-2.0 | 611 |
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
package vnmr.bo;
import java.util.*;
import java.io.*;
import vnmr.util.... | OpenVnmrJ/OpenVnmrJ | src/vnmrj/src/vnmr/bo/StatementHistory.java | Java | apache-2.0 | 27,390 |
package ngo.music.soundcloudplayer.boundary.fragment.real;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.View;
import android.view.ViewGroup;
import ngo... | FabioNgo/sound-cloud-player | Source Code/src/ngo/music/soundcloudplayer/boundary/fragment/real/SCSongSearchFragment.java | Java | apache-2.0 | 1,109 |
package com.vaadin.server.react.harnesses;
import java.util.function.Supplier;
import com.vaadin.server.react.Flow;
import com.vaadin.server.react.Subscriber;
public class SyncFlowTestHarness extends FlowTestHarness {
@Override
@SuppressWarnings("unchecked")
public <T> Flow<T> flow(T... actual) {
... | jdahlstrom/vaadin.react | server/src/test/java/com/vaadin/server/react/harnesses/SyncFlowTestHarness.java | Java | apache-2.0 | 566 |
package com.sequenceiq.cloudbreak.cloud.event.validation;
import com.sequenceiq.cloudbreak.cloud.event.CloudPlatformResult;
public class FileSystemValidationResult extends CloudPlatformResult {
public FileSystemValidationResult(Long resourceId) {
super(resourceId);
}
public FileSystemValidationR... | hortonworks/cloudbreak | cloud-reactor-api/src/main/java/com/sequenceiq/cloudbreak/cloud/event/validation/FileSystemValidationResult.java | Java | apache-2.0 | 453 |
package edu.searchahouse.endpoints.aop;
import java.util.stream.Collectors;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.hateoas.VndErrors;
import org.springframework.http.HttpStatus;
import org.springframework.validation.ObjectError;
import org.springframework.web.bind.MethodArgum... | gustavoorsi/searchahouse.com | searchahouse/src/main/java/edu/searchahouse/endpoints/aop/ExceptionControllerAdvice.java | Java | apache-2.0 | 4,756 |
package com.aishang.app.ui.MyBuyAndSale;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import butterknife.Bind;
import butterknife.ButterKnife;
import com.aishan... | find-happiness/android-aishang | app/src/main/java/com/aishang/app/ui/MyBuyAndSale/RentAdapter.java | Java | apache-2.0 | 2,867 |
/*
* 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 ... | jasonstack/cassandra | src/java/org/apache/cassandra/hints/HintsDispatchExecutor.java | Java | apache-2.0 | 11,594 |
package com.vladmihalcea.book.hpjp.spring.transaction.jta.dao;
import java.io.Serializable;
/**
* @author Vlad Mihalcea
*/
public interface GenericDAO<T, ID extends Serializable> {
T findById(ID id);
T persist(T entity);
}
| vladmihalcea/high-performance-java-persistence | core/src/test/java/com/vladmihalcea/book/hpjp/spring/transaction/jta/dao/GenericDAO.java | Java | apache-2.0 | 237 |
package com.google.api.ads.dfp.jaxws.v201511;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ProductPackageItemError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simple... | gawkermedia/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201511/ProductPackageItemErrorReason.java | Java | apache-2.0 | 1,475 |
/*
* 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 ... | Distrotech/fop | src/java/org/apache/fop/fo/FObj.java | Java | apache-2.0 | 29,191 |
/*
* 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 a... | etirelli/jbpm-console-ng | jbpm-wb-human-tasks/jbpm-wb-human-tasks-client/src/main/java/org/jbpm/workbench/ht/client/editors/tasklogs/TaskLogsViewImpl.java | Java | apache-2.0 | 2,080 |
package com.dft.cordova.plugin.onyx;
import org.apache.cordova.CordovaWebView;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaInterface;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.grap... | DFTinc/cordova-plugin-onyx | src/android/OnyxPlugin.java | Java | apache-2.0 | 9,623 |
package jat.gps_ins.relative;
/* JAT: Java Astrodynamics Toolkit
*
* Copyright (c) 2003 The JAT Project. All rights reserved.
*
* This file is part of JAT. JAT is free software; you can
* redistribute it and/or modify it under the terms of the
* NASA Open Source Agreement, version 1.3 or later.
*
* This p... | MaximTar/satellite | src/main/resources/libs/JAT/jat/gps_ins/relative/RGPS_SIMU.java | Java | apache-2.0 | 2,539 |
package com.example.ledgr.dataobjects;
import java.util.ArrayList;
import java.util.UUID;
import junit.framework.Assert;
import org.joda.time.LocalDate;
import android.app.Activity;
import android.content.ContentValues;
import android.content.Context;
import android.content.SharedPreferences;
import android.databas... | randyychan/Ledgr | src/com/example/ledgr/dataobjects/ItemsData.java | Java | apache-2.0 | 13,338 |
package org.springframework.social.strava.api.impl.json;
import com.fasterxml.jackson.annotation.JsonProperty;
abstract class StravaSegmentMixin extends StravaObjectMixin {
StravaSegmentMixin(
@JsonProperty("id") long id) {}
}
| pivotal/spring-social-strava | spring-social-strava/src/main/java/org/springframework/social/strava/api/impl/json/StravaSegmentMixin.java | Java | apache-2.0 | 247 |
// Copyright 2010 Victor Iacoban
//
// 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... | hurricup/intellij-community | plugins/hg4idea/src/org/zmlx/hg4idea/util/HgUtil.java | Java | apache-2.0 | 26,823 |
/*
* Copyright 2014 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | asacamano/K2 | java/all-in-one/src/main/java/com/google/k2crypto/keyversions/PrivateKeyVersion.java | Java | apache-2.0 | 1,102 |
package liquibase.sqlgenerator.ext;
import liquibase.database.Database;
import liquibase.database.ext.HanaDBDatabase;
import liquibase.datatype.DataTypeFactory;
import liquibase.sql.Sql;
import liquibase.sql.UnparsedSql;
import liquibase.sqlgenerator.SqlGeneratorChain;
import liquibase.sqlgenerator.core.DropDefaultVal... | lbitonti/liquibase-hana | src/main/java/liquibase/sqlgenerator/ext/DropDefaultValueGeneratorHanaDB.java | Java | apache-2.0 | 2,082 |
/*
* 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-iotthingsgraph/src/main/java/com/amazonaws/services/iotthingsgraph/model/FlowExecutionEventType.java | Java | apache-2.0 | 2,594 |
package com.weygo.weygophone.pages.tabs.home.widget;
import android.content.Context;
import android.util.AttributeSet;
import com.weygo.weygophone.R;
import com.weygo.weygophone.pages.common.widget.WGCommonHorizontalListView;
/**
* Created by muma on 2017/6/4.
*/
public class WGHomeContentFloorClassifyColumnView ... | mumabinggan/WeygoPhone | app/src/main/java/com/weygo/weygophone/pages/tabs/home/widget/WGHomeContentFloorClassifyColumnView.java | Java | apache-2.0 | 858 |
package com.hazelcast.internal.metrics.metricsets;
import com.hazelcast.internal.metrics.LongGauge;
import com.hazelcast.internal.metrics.ProbeLevel;
import com.hazelcast.internal.metrics.impl.MetricsRegistryImpl;
import com.hazelcast.logging.Logger;
import com.hazelcast.test.AssertTask;
import com.hazelcast.test.Haze... | lmjacksoniii/hazelcast | hazelcast/src/test/java/com/hazelcast/internal/metrics/metricsets/RuntimeMetricSetTest.java | Java | apache-2.0 | 3,465 |
/*
* 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... | aiyanbo/guava | guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java | Java | apache-2.0 | 5,714 |
/*
* 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... | asual/summer | modules/el/src/main/java/org/jboss/el/parser/NodeVisitor.java | Java | apache-2.0 | 801 |
package org.docksidestage.postgresql.dbflute.cbean.nss;
import org.docksidestage.postgresql.dbflute.cbean.cq.ProductCategoryCQ;
/**
* The nest select set-upper of product_category.
* @author DBFlute(AutoGenerator)
*/
public class ProductCategoryNss {
// ========================================================... | dbflute-test/dbflute-test-dbms-postgresql | src/main/java/org/docksidestage/postgresql/dbflute/cbean/nss/ProductCategoryNss.java | Java | apache-2.0 | 1,489 |
/*
* Copyright 2014-2015 Objectos, Fábrica de Software LTDA.
*
* 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... | objectos/way | orm/orm-compiler/src/main/java/br/com/objectos/way/orm/compiler/CompanionTypeFactory.java | Java | apache-2.0 | 1,727 |
/*
* 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... | googlemaps/google-maps-services-java | src/main/java/com/google/maps/PlaceDetailsRequest.java | Java | apache-2.0 | 5,703 |