text stringlengths 65 6.05M | lang stringclasses 8
values | type stringclasses 2
values | id stringlengths 64 64 |
|---|---|---|---|
package at.fhjoanneum.ippr.communicator.composer;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xembly.Directives;
import org.xembly.ImpossibleModificationException;
import org.xembly.Xembler;
import at.fhjoanneum.ipp... | Java | CL | 8106527f2f5f456aab295d701241618d3acc86089a3ac79753145e4571e5d77e |
package com.prolog.eis.wcs.impl;
import com.prolog.eis.wcs.common.Constant;
import com.prolog.eis.wcs.dao.WCSCommandMapper;
import com.prolog.eis.wcs.dao.WCSHistoryCommandMapper;
import com.prolog.eis.wcs.model.WCSCommand;
import com.prolog.eis.wcs.model.WCSHistoryCommand;
import com.prolog.eis.wcs.service.IWCSCommand... | Java | CL | 48c4d494739b7e858882338e9b477ce8fba3255015d54378c8380ba8b802ca5f |
/*
* 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 | CL | 4ca65907e4c5708eb40ac62cb76a9a89e4a332d71639216cb8514953672dc0af |
/**
* Controller for given a train a route
*/
package ctc;
import trackModel.Block;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.fxml.FXML;
import javafx.scene.control.ComboBox;
import javafx.stage.Stage;
public class RouteTrainFormController extends... | Java | CL | e1af4bb15f0e02edf11ce0fb9ec16c9eb1a7c8880f664fadaba4e786398d3157 |
package com.navercorp.pinpoint.plugin.kafka.interceptor.util;
import com.navercorp.pinpoint.plugin.kafka.KafkaVersion;
import org.apache.kafka.common.TopicPartition;
import org.apache.kafka.common.Uuid;
import org.apache.kafka.common.message.FetchResponseData;
import java.lang.reflect.Method;
import java.util.LinkedH... | Java | CL | 62f361d65296cc304ec193dc1cb7830f6e9130045b03f8b1b051290cae10d59c |
/*
* 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 u... | Java | CL | 1644d79259ef32317b8ebd8c7fab76bf89a6707483462f3117d33e5ab13e170f |
package org.lacassandra.smooshyfaces.persistence.cassandra;
import com.google.inject.Injector;
import org.lacassandra.smooshyfaces.persistence.*;
import javax.inject.Inject;
public class CassandraDAOFactory extends DAOFactory {
@Inject
protected Injector injector;
protected <T extends BaseCassandraDAO> ... | Java | CL | 832c96d7b3f86f5a1663a8926061f58065828201b865e2abb72e27d4c4c3cddc |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
*http://www.apache.org/licenses/LI... | Java | CL | 09844e3c21d70dfc98abd0d25b4f14f5c6b1c250e2dc788140543e3a52259c01 |
package org.antman.binaryconverter.application.gui;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.*;
import javafx.scene.input.DragEvent;
import javafx.scene.inpu... | Java | CL | 638ab7fb9c3eaf14b8dbfa5c7be711fef6a75a0207abc848e9a879a9a9a81b54 |
package root.client.controllers;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Date;
import java.util.Observable;
import java.util.Observer;
import javafx.application.Platform;
imp... | Java | CL | da14eb0b8116657f8f97c70faf15f679242224b9dea620e443b9d95c0d3f4b3e |
package geoand.junit.agent;
import javassist.*;
import java.lang.instrument.ClassFileTransformer;
import java.lang.instrument.IllegalClassFormatException;
import java.lang.instrument.Instrumentation;
import java.security.ProtectionDomain;
public class Agent {
private static final String CLASS_NAME = "org.junit.... | Java | CL | fb63ceaeeee8e70daf4d2b53ad0b948f31ce0edbf1e9605200460a7f5d79973f |
package com.juniorproject.orderbook;
import java.io.BufferedWriter;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.stream.Stream;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.juniorproject.orderbook.r... | Java | CL | 99240563204aa69da7ac4919f4fc518daed78e56dd7a6e11a011744f8e3402cf |
package com.mediatek.mms.ext;
import android.content.Context;
import android.net.Uri;
import com.google.android.mms.pdu.AcknowledgeInd;
import com.mediatek.mms.callback.IDownloadManagerCallback;
public interface IOpRetrieveTransactionExt {
/**
* @internal
*/
void sendAcknowledgeInd(Context context... | Java | CL | 58014c8227de95ceed075b40b6eb100754783efe7fcb3a602b0894d6467fac43 |
/**
* Autogenerated by Jack
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
package com.rapleaf.jack.test_project.database_1.impl;
import java.sql.SQLRecoverableException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import j... | Java | CL | 1b8f43c619e26a10410a9d718c41d7b86305101c1392b8fb6c953f9b806b8691 |
package ch.ethz.matsim.baseline_scenario.zurich.router.parallel;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Executor;
import org.matsim.api.core.v01.population.PlanElement;
import ch.ethz.matsim.baseline_scenario.zurich.utils.ActivityWithFacility;
public interf... | Java | CL | 11ad90e4d0e46bd6ae1a1f82d345e6b6894f7de13af853f15db2dbc9464d5699 |
/*
* 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 | CL | d0c592d2826f3c8c17cc87c89d18bacecdbe374e9d532c73ea52d386a1346e26 |
/*
* Copyright 2013 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 applica... | Java | CL | 126345fdd03ea9f7f06d0f8d74d2a90d52fa35ae6a3014490dbd4c1334d82d66 |
package com.abings.baby.injection.component;
import android.content.Context;
import com.abings.baby.injection.ActivityContext;
import com.abings.baby.injection.PerActivity;
import com.abings.baby.injection.module.ActivityModule;
import com.abings.baby.ui.aboutme.AboutMeActivity;
import com.abings.baby.ui.aboutme.asso... | Java | CL | ab6c737fdbd214e68f424d8c8658a8bf217d369167656e27160ed1a52205998a |
package pattern;
import lombok.extern.slf4j.Slf4j;
import org.junit.Assert;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.RepeatedTest;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.Execution;
import org.junit.jupiter.api.parallel.ExecutionMode;
import java.util.Hash... | Java | CL | 118c5e0228ded714c4e9f59c5b098df1d1b3a5060414248f65397c28c83cb93b |
package org.alien4cloud.tosca.catalog.index;
import static alien4cloud.dao.FilterUtil.fromKeyValueCouples;
import static alien4cloud.dao.model.FetchContext.SUMMARY;
import java.util.Map;
import javax.inject.Inject;
import alien4cloud.paas.wf.WorkflowsBuilderService;
import alien4cloud.tosca.parser.ToscaParser;
impo... | Java | CL | d891fd0d9f7793adee2d5d3920960f849a0847f57eb92aeb41fc63428b1eb339 |
package com.kore.ai.widgetsdk.charts.charts;
import android.content.Context;
import android.graphics.RectF;
import android.util.AttributeSet;
import android.util.Log;
import com.kore.ai.widgetsdk.charts.components.XAxis;
import com.kore.ai.widgetsdk.charts.components.YAxis;
import com.kore.ai.widgetsdk.charts.data.Ba... | Java | CL | 66556cc7476dded5a7f3200b58b4a5e2b889dda112f04fe7e151d978b4814dfa |
package com.nmimo.common.configuration.exception;
import com.nmimo.common.ServiceConstants;
import com.nmimo.common.exception.NMimoAbstractException;
@SuppressWarnings("serial")
public class ConfigFileNotFoundException extends NMimoAbstractException {
/**
*
* <pre>
* 상위 클래스에 예외메세지를 전달한다.
* </p... | Java | CL | 5e50ce3e8688bfe5ca86471cfc1020fbd46e18486f005fd0a03ea348f1f46aec |
import android.os.Parcelable.Creator;
import com.google.android.gms.common.stats.WakeLockEvent;
public final class dis
implements Parcelable.Creator<WakeLockEvent>
{
public dis() {}
}
| Java | CL | cc752c40c8231178a73105fae09e2a56c9f15547cb4e2922e2232d51a1d95e05 |
package com.cognizant.adminapi.controller;
import com.cognizant.adminapi.exception.NotFoundException;
import com.cognizant.adminapi.model.InvoiceViewModel;
import com.cognizant.adminapi.service.ServiceLayer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.context.config.... | Java | CL | 7c4daa60838f8d97eda68b0458521f8b032b29d83439f2a3881ec5b0aa77e968 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.09.07 at 0... | Java | CL | 38031a5d13d87298419efe92d82bffe2193a396bfe9ea4989ff0e975d4391a5d |
/*
* ************************************************************
* 文件:HttpCacheDatabase.java 模块:http-core 项目:component
* 当前修改时间:2019年05月22日 11:01:02
* 上次修改时间:2019年04月26日 22:46:37
* 作者:Cody.yi https://github.com/codyer
*
* 描述:http-core
* Copyright (c) 2019
* ************************************************... | Java | CL | 08875690c5d74ff3246308922609048bd8e0dc37f416c3a36c855b984bee91c4 |
/*
* @(#)InterpreterTest.java
* CubeTwister. Copyright © 2020 Werner Randelshofer, Switzerland. MIT License.
*/
package ch.randelshofer.rubik.parser;
import ch.randelshofer.io.ParseException;
import ch.randelshofer.rubik.cube.Cube;
import ch.randelshofer.rubik.cube.Cubes;
import ch.randelshofer.rubik.cube.RubiksCu... | Java | CL | 78b9883c8e6ab59ec67fa226c3b818af81d384e06bfe3a25186aa5ad52b1175b |
package test.systemcatalog.components;
import datastructures.relation.table.Table;
import datastructures.rulegraph.types.RuleGraphTypes;
import datastructures.user.User;
import enums.InputType;
import files.io.FileType;
import files.io.IO;
import files.io.Serializer;
import org.junit.jupiter.api.BeforeAll;
import org.... | Java | CL | 6550fba57e0a873a8b253cc565f1281235644ebd3eaac7faf2f3e426f0904ef5 |
package aml;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import aml.match.... | Java | CL | 60cd55320059ab83b95533fd439aa18776b51003da102f30f91eb63bbb3de521 |
package com.csc.fsg.nba.business.process;
import java.util.HashMap;
import java.util.Map;
import java.util.StringTokenizer;
import com.csc.dip.jvpms.runtime.base.VpmsComputeResult;
import com.csc.fs.logging.LogHandler;
import com.csc.fsg.nba.access.contract.NbaContractAccess;
import com.csc.fsg.nba.access.contract.Nb... | Java | CL | 6007d3c15c0e434c9b95b29624f2bd6dd05b80b3972bdba6ff7948d119264657 |
package com.baayso.springcloud.common.core.exception.handler;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang3.StringUtils;
import org.springframework.http.converter.HttpMessageNotReadableException;
import org.springframework.validation.Obj... | Java | CL | 1e39697ad3a9f9dff80dd30eb635f92f7c0fcfbe6c2356872771764a7f1893b3 |
package pl.ukaszapps.fairbid_flutter;
import android.util.Log;
import androidx.annotation.NonNull;
import com.fyber.fairbid.ads.ImpressionData;
import com.fyber.fairbid.ads.banner.BannerError;
import com.fyber.fairbid.ads.banner.BannerListener;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.... | Java | CL | 2e354314367d310fd4d22a6a46037bd0f6ea74efb55fd808c368470897d7d447 |
package ru.mail.parking.widget;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.SystemClock;
import java.util.Calendar;
import ru.mail.parking.App;
import ru.mail.parking.R;
import ru.mail.parking.utils.Ne... | Java | CL | f15f6221b392cefa1c756e0f95e8c077f9e43ee37fa698a6fc2dbf343c96f7d1 |
/**
* Created on Feb 17, 2006
*
*/
package edu.uoregon.tau.perfexplorer.common;
import java.io.Serializable;
/**
* This class is used as a typesafe enumeration.
*
* <P>CVS $Id: AnalysisType.java,v 1.5 2009/11/18 17:45:41 khuck Exp $</P>
* @author Kevin Huck
* @version 0.2
* @since 0.2
*/
public final cl... | Java | CL | 2ee5f408b5e75af4b79879fe1296ae925e7ac542a1c9a184e8777e2ab6e08fb6 |
package edu.phystech.vkurse;
import java.util.Vector;
import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapSerializationEnvelope;
import org.ksoap2.transport.HttpTransportSE;
import edu.phystech.vkurse.model.*;
public class Groups implements GroupsTa... | Java | CL | 0590b4b0a0958573bbe78847221a19c82eac8b8f3de1a508c7524a8201c600e2 |
/*
* 作者:钟勋 (e-mail:zhongxunking@163.com)
*/
/*
* 修订记录:
* @author 钟勋 2017-09-20 11:29 创建
*/
package org.antframework.configcenter.web.manager.facade.api;
import org.antframework.common.util.facade.EmptyResult;
import org.antframework.configcenter.web.manager.facade.order.*;
import org.antframework.configcenter.w... | Java | CL | 25c56211742dbffe5e5d9bb5a6f089abcac7366f295d1bc4eddaafb6adbe88aa |
package com.rfb.repository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.password.PasswordEncoder;
/**
* Created by jt on 10/21/17.
*/
abstract class AbstractRepositoryTest {
@Autowired
RfbLocationRepository rfbLocationRepository;
@Autowired
... | Java | CL | f70d2124871a5bf03d198e084bafdf4154efdb809b4e50f8f9dfb802dc2b17cc |
package symtable;
import java.util.*;
import ast.node.*;
import exceptions.InternalException;
/**
* SymTable
* ....
* The symbol table also keeps a mapping of expression nodes to
* types because that information is needed elsewhere especially
* when looking up method call information.
*
* @author mstrout
* ... | Java | CL | eb4b415a53743b34cfb530a237c624a7d7cae1cb44483e7237a886c70ea80909 |
/*
* This class is distributed as part of the Botania Mod.
* Get the Source Code in github:
* https://github.com/Vazkii/Botania
*
* Botania is Open Source and distributed under the
* Botania License: http://botaniamod.net/license.php
*/
package vazkii.botania.fabric.integration.rei;
import me.shedaniel.math.Flo... | Java | CL | 91025734f0c350fb6adbf7c3f529985063504493db05c38465c25156d47d7aaa |
package com.example.soundoffear.capstoneorderingapp;
import android.appwidget.AppWidgetManager;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.NavigationView;
import android.support.v4.app.Fr... | Java | CL | 4e30029666da5655350412e6cb489c1e61a3e78d7804cdc55661d7e63d9078b3 |
// ***************************************************************************************************************************
// * 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 regardi... | Java | CL | 612d9e1e6511be6b934dad24d64a576e85433823d64d0ddda38accad6788d631 |
package com.usher.diboson;
import android.app.Activity;
import android.os.Bundle;
import android.text.method.ScrollingMovementMethod;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class LocationActionsActivity extends Activity
{
// =========================... | Java | CL | e28700c215b1b9bb3206cb6719405ff247fe37ced7cfe602efdd7892590d4267 |
package org.candango.carcara.engine;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.StringWriter;
import java.util.ArrayList;
import org.apache.velocity.Template;
import org.apache.velocity.VelocityContext;
import org.apache.velocity.app.Velo... | Java | CL | eb310aa87c93b41a1ca6559b9508a884f69450cdfe28a2d58c03708f3d97a5b2 |
package com.example.demo.model.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.e... | Java | CL | b1e164fe193c55efa50cb27865068a835b1b7b17c287f586f6f122d3321941e2 |
package Offer66;
/**
* Title:矩阵中的路径
* Description:请设计一个函数,用来判断在一个矩阵中是否存在一条包含某字符串所有字符的路径。路径可以从矩阵中的任意一个格子开始
* ,每一步可以在矩阵中向左,向右,向上,向下移动一个格子。如果一条路径经过了矩阵中的某一个格子,则该路径不能再进入该格子。 例如 a b c e s f c
* s a d e e
* 矩阵中包含一条字符串"bcced"的路径,但是矩阵中不包含"abcb"路径,因为字符串的第一个字符b占据了矩阵中的第一行第二个格子之后,
* 路径不能再次进入该格子。
*
* 空间复杂度:辅助空间O(rows*cols)... | Java | CL | 7900d5906e48ce8b88c725c15f35da6b1be1ad47c5c55b011f075bb6bd26cce8 |
/**
Joe Canero. CSC 230. Project 2 3/30/12
This class handles the functionality of the Message objects. It stores all relevant data. Important headers receive their own reference while
those less integral to the program are placed into a LinkedSet.
This class also includes getters, methods for checking if the m... | Java | CL | 5cb2351ef9e1dca0b6eab91559cdf35cfc054851b6e162bedd82fcc52a69abb0 |
package com.microwise.orion.dao;
import com.microwise.common.sys.hibernate.BaseDao;
import com.microwise.orion.bean.OutEvent;
import com.microwise.orion.vo.OutEventVo;
import com.microwise.orion.vo.RelicVo;
import java.util.Date;
import java.util.List;
/**
* 出库记录 dao
*
* @author xubaoji
* @date 2013-5-29
*/
pub... | Java | CL | 2b06f5d661773aafb2b4ec7cf26f824f568383dce1aaf552aaf8b5bc888b2b76 |
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.snapchat.android.fragments.addfriends;
import Jo;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import a... | Java | CL | efc7e9b615acc43a75916293e5089f6c26d3a1214e878bf5f77b05689bde73c8 |
package cn.edu.nju.swan.monitor;
import java.util.HashMap;
import java.util.Map;
import java.util.Stack;
import java.util.Vector;
import cn.edu.nju.swan.cfg.ControlFlowGraph;
import cn.edu.nju.swan.cfg.MD5;
import cn.edu.nju.swan.cfg.UnitNode;
import cn.edu.nju.swan.model.SwanEvent;
import edu.hkust.leap.tracer.Trace... | Java | CL | 79c508720695ed15e31018c51e2531368e9b8b048e7f4169ab24429139ae3dd5 |
package org.ihtsdo.rvf.service;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.hibernate.ObjectNotFoundException;
import org.ihtsdo.rvf.dao.AssertionDao;
import org.ihtsdo.rvf.entity.Assertion;
import org.ihtsdo.rvf.entity.Assert... | Java | CL | f2fe9b719f9b576a4332e12095b32d50360e0735871d378760cd22354b154c18 |
/*
* 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 ... | Java | CL | 9af2e383f441553a683fe7f80721a93ffb92ae9c60a28256419bdc094e701b8e |
/****************************************************************
* 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... | Java | CL | 3770bedb0513ca2942b1d40236bf0dcdc736e572ec15009ce89f3baf8e39f406 |
/*
* Copyright (c) 2016-2022 chronicle.software
*
* https://chronicle.software
*
* 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
... | Java | CL | 6664e825c4ee960209d9e66b1a551cd05b32713f8ac9fcb895b0cefdad841dba |
package com.imcode.sys.mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.imcode.sys.entity.DeptRole;
import com.imcode.sys.entity.Role;
/**
* <p>
* 角色 Mapper 接口
* </p>
*
* @author jack
* @... | Java | CL | 187dbb60cd7eaa4e146840d572de4d12cd29c8b2ee7cd0d0b7802be9b2a0bb7a |
package com.venkat.resume.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.s... | Java | CL | e25e9a938dbcf7b899cc2fd6359d707f23892cb24066605444c769bf27706a64 |
package com.bazaarvoice.intentexample;
import java.io.File;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
imp... | Java | CL | 5d1d9105b7f8443c6ccfaeefd0bd9ac6d2bbf547a2ae58f036b7c42bcf2b5a7d |
package com.bitnationcode.topflies.repository;
import com.bitnationcode.topflies.model.Fly;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public int... | Java | CL | d7fbc9f5b2605ebaf3285522cb2801caa35495ba6a6fc38155e6ae159d7a9d98 |
package eu.cessar.ct.core.platform.ui.events;
import java.util.EventObject;
import org.eclipse.core.runtime.Assert;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.Viewer;
/**
* Event for menu drop down selection triggered from the breadcrumb viewer.
*
* @see IMenuSelectionListener... | Java | CL | 9c7e9adb4241e87af8c5ef9f974c8992efc7569d2e4b1788664e89d0c7695fd5 |
package com.concurrentperformance.throughput.apps;
import com.concurrentperformance.throughput.ringbuffer.impl.MutatorHandler;
/**
* TODO comments???
*
* @author Steve Lake
*/
public class GetDataspaceMutatorHandler implements MutatorHandler<MyBucket> {
@Override
public void handle(MyBucket bucket, long ... | Java | CL | b8ef76a17d7446167b9574d1b8df64edbb53d868bebbdf6668253606aa6860f8 |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | Java | CL | 6d7a015d84b5f26447a37dd0141c8d910c040fc0f6a3ac54511d5b21a7b87ba1 |
package com.wuxue.api.mapper;
import com.wuxue.api.interfaces.*;
import com.wuxue.model.ScheduleConstraint;
import java.util.List;
public interface ScheduleConstraintMapper extends IInsertMapper<ScheduleConstraint>,ICountMapper<ScheduleConstraint,Integer>,
IUpdateMapper<ScheduleConstraint>,IDeleteByPrimaryKe... | Java | CL | d265daf285320d07aaeacb05011ac85e558cd0ca008b476170b848d705727ea2 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.ptolemy.ecore.kernel.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.ecl... | Java | CL | d3d8fcdad9015c0476238ba849238b204bd1979f8517f174e90dc1dea6e76bf4 |
package com.aci.demo.h2dbunit.config;
import static org.junit.Assert.assertNotNull;
import java.util.Collection;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.... | Java | CL | 02155428e79e07e10411231acae4ee5486d53c08d7640d274eef650c35227dc1 |
/*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | Java | CL | a43fb4589f14ae3ed479c9b0dd7d6dca364fe7b28936cb0226e74e3f0de35820 |
/*
* Copyright (c) 2002-2017 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Fo... | Java | CL | 457ca24da9b7fdb6002392fbbb1689d28ae4155676d19db7c8e8d5059bcff8ae |
package org.kivymfz.devicedl.mqtt.device;
import com.hivemq.client.mqtt.mqtt3.message.publish.Mqtt3Publish;
import org.kivymfz.devicedl.mqtt.command.Command;
import org.kivymfz.devicedl.mqtt.command.EmitCommand;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java... | Java | CL | f744d28a36f90913cb986fa2c56e2c47e703182a31a97cd5eee7ea03900588a6 |
package org.apache.logging.log4j.spi;
import java.util.concurrent.ConcurrentMap;
/**
* A basic registry for {@link LoggerContext} objects and their associated external
* Logger classes. This registry should not be used for Log4j Loggers; it is instead used for creating bridges to
* other external log systems.
*
... | Java | CL | 67a6ae219e689803a4be8c574511cebaa91d5eb86a990bc3c4e231f689987957 |
/*
* Copyright 2016 Nokia Solutions and Networks
* Licensed under the Apache License, Version 2.0,
* see license.txt file for details.
*/
package org.rf.ide.core.testdata.model.table.setting.views;
import java.util.List;
import org.rf.ide.core.testdata.model.table.setting.SuiteDocumentation;
import org.... | Java | CL | 8f4233dee8d23a7bd8f543cb19aa13f49ed4b8d29868a7d5f66721fcb9de4823 |
/**
* 系统名称 :城市一卡通综合管理平台
* 开发组织 :城市一卡通事业部
* 版权所属 :新开普电子股份有限公司
* (C) Copyright Corporation 2014 All Rights Reserved.
* 本内容仅限于郑州新开普电子股份有限公司内部使用,版权保护,未经过授权拷贝使用将追究法律责任
*/
package cn.newcapec.function.ecardcity.om.utils;
import java.io.Serializable;
import java.util.List;
/**
* @author wj
* @category z-tree的后台bea... | Java | CL | 16403968da47e3dd471abcb6ac33fd3e0a8faf81d7a4418bde7ffbb4213906f6 |
package com.crunch.tutor.examples.musicstore;
import java.io.IOException;
import org.apache.crunch.MapFn;
import au.com.bytecode.opencsv.CSVParser;
import com.crunch.tutor.api.music.store.Song;
/**
* A {@link MapFn} implementation that takes in a String as input and return a {@link Song}
* instance. Each line of... | Java | CL | e6fb5ff4e291f269f15d63ebcee9ac6945311cb7be8b56c03b0e88faacc563ac |
package resources.webService.endpoint;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ws.server.endpoint.annotation.Namespace;
import org.springframework.ws.server.endpoint.annotation.PayloadRoot;
import org.springframework.ws.server.endpoint.annotation.ResponsePayload;
impo... | Java | CL | dc4a1a755b226f85b297f133b29a0ddf5ca4fc86ba53e8d95240815b475e3eb6 |
package com.example.ccc.fit;
import android.location.Location;
import android.location.LocationListener;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Window;
import android.widget.*;
import com.baidu.*;
import com.baidu.mapapi.BMapManager;
im... | Java | CL | 291d5b0d8c39b2fdb507acd99029b10fd9f2eec1f228e5af437b11e135e02b40 |
package com.bnade.wow.catcher.entity;
import com.bnade.wow.dao.ItemDao;
import com.bnade.wow.entity.Bonus;
import com.bnade.wow.util.RedisUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import redis.clients.jedis.Jedis;
import java.sql.SQLException;
import java.util.Collections;
import java... | Java | CL | 511e8dd3053de107847c0b25a6cbbc829b1c96279bc72a2b29aa9983972527ad |
package com.ravlinko.concordion.extension.mockserver.tag;
import com.cedarsoftware.util.io.JsonWriter;
import com.ravlinko.concordion.extension.mockserver.utils.JsonPrettyPrinter;
import org.concordion.api.CommandCall;
import org.concordion.api.Element;
import org.concordion.api.Evaluator;
import org.concordion.api.... | Java | CL | 8ffd2c46b2b46150cacaa6699c538c71946bde0f90e2a5017a3705214d861759 |
/*
* 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.opensource.org/licenses/ecl1.php
*
* Unless re... | Java | CL | 069f147d3cd8f168f1169bc662472f4515b94b4ee93adc90ca86e50efec6ad57 |
package com.jeecg.alipay.account.dao;
import java.util.List;
import org.jeecgframework.minidao.annotation.Param;
import org.jeecgframework.minidao.annotation.ResultType;
import org.jeecgframework.minidao.annotation.Sql;
import org.jeecgframework.minidao.pojo.MiniDaoPage;
import org.springframework.stereotype.Reposito... | Java | CL | b600f9a85db6c82c4f78ef42bd50ca21e18de3944ae6ca0a27fc0608a450fc1a |
package com.hoolai.ccgames.skeleton.codec.json;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ByteToMessageDecoder;
import java.util.List;
import com.hoolai.ccgames.skeleton.dispatch.CommandProperties;
import com.hoolai.ccgames.skeleton.dispatch.CommandR... | Java | CL | d80323cbb19c28f81d6ad0117768ff1c05a93fef146bca43d1244d20fdc38e2e |
/*
* This is the confidential unpublished intellectual property of EMC Corporation,
* and includes without limitation exclusive copyright and trade secret rights
* of EMC throughout the world.
*/
package com.github.dano.zeromq.impl;
import com.github.dano.zeromq.OutMessage;
import com.github.dano.zeromq.Payload;
i... | Java | CL | 017360943ca57e795dd37a7cf925c624d2799ea4d5129b6588e31af8200f2e71 |
//==============================================================================
// This software is part of the Open Standard for Unattended Sensors (OSUS)
// reference implementation (OSUS-R).
//
// To the extent possible under law, the author(s) have dedicated all copyright
// and related and neighboring rights to t... | Java | CL | 71a4843afb10e52e26838f526cc83467d8a6c93ef8605b98aad0e76910811279 |
package io.compgen.ngsutils.support.stats;
import static org.apache.commons.math3.util.CombinatoricsUtils.factorialDouble;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import org.apache.commons.math3.distribution.ChiSquaredDist... | Java | CL | 67cb9144305226f4710ce14d77e2d5ab5b7b73f6fd0663586e1f18a982e881e4 |
package edu.illinois.cs.cogcomp.indsup.inference;
import edu.illinois.cs.cogcomp.indsup.learning.WeightVector;
/**
* The function that is used for solving the Latent Structural SVM --- similar
* to (Yu, Joachims ICML09). However, we used the square-hinge loss here so that
* the optimization procedure is in fact qu... | Java | CL | 3d51a414cdd66d6e0dd2f009ab9877b8970efa400061dbd22ee69def8a9bf8e1 |
package org.tinymediamanager.core.movie;
import static org.assertj.core.api.Assertions.assertThat;
import static org.tinymediamanager.core.movie.MovieEdition.DIRECTORS_CUT;
import static org.tinymediamanager.core.movie.MovieEdition.EXTENDED_EDITION;
import static org.tinymediamanager.core.movie.MovieEdition.IMAX;
impo... | Java | CL | e4670e37fe75292d47bf84cb1978e2fa5cb4fd697a1e568287f246f525eff9eb |
package com.weiquding.netty.learning.netty.httpjson.client;
import com.weiquding.netty.learning.netty.httpjson.domain.Order;
import com.weiquding.netty.learning.netty.httpjson.handler.HttpJsonRequestEncoder;
import com.weiquding.netty.learning.netty.httpjson.handler.HttpJsonResponseDecoder;
import io.netty.bootstrap.B... | Java | CL | 89b8e45a196e0af9056a622351e211b0bc2dbb32953b24a70d7204b0fa4dd55c |
/*
* This file is part of Quark Framework, licensed under the APACHE License.
*
* Copyright (c) 2014-2016 Agustin L. Alvarez <wolftein1@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 ... | Java | CL | c54d4f92142b48f0ebbaf41f91a6a2e9a6497fd04562e904d5a7142a1c0fdc0c |
package com.webcheckers.model;
/**
* A class to represent the position of a space on a checkers board.
*
* @author Andrew Frank, ajf8248@rit.edu
*/
public class Position {
private int row;
private int cell;
/**
* Instantiates a new Position with a row and cell(column) on the checkers board.
... | Java | CL | 7a68548ef3342da29dca998f1c680ec14202c23e96527dc909ec276a4c8b47ec |
/******************************************/
/* WARNING: GENERATED FILE - DO NOT EDIT! */
/******************************************/
package imp.preferences;
import org.eclipse.swt.widgets.TabFolder;import org.eclipse.imp.preferences.IPreferencesService;import org.eclipse.imp.preferences.PreferencesInitializer;impor... | Java | CL | ab908977413814b666232346b691607783309979d466c4c19caf4837b3b9d187 |
/*
* Copyright (c) 2002-2010 The Regents of the University of California.
* All rights reserved.
*
* '$Author: welker $'
* '$Date: 2010-05-05 22:21:26 -0700 (Wed, 05 May 2010) $'
* '$Revision: 24234 $'
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, ... | Java | CL | 29c3f2a657c2369431b0c6bc8cf12419d0f3e06d55b0ba35ca1cdd950d13002a |
package juglr;
import java.util.Arrays;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
/**
* Asynchronously forward incoming messages to a collection of delegates
* based on a given strategy. For cases where you want to forward messages
* to a single actor out of a given set see {@l... | Java | CL | 32a81b0e769ab8a24805e6bfeab83b61dbd17b51b3dd04b22e656df4527d4219 |
package ru.semi.services;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import ru.semi.entities.TaskTime;
import ru.semi.repositories.TaskTimeRepository;
import ru.semi.dto.TaskTimeDto;
import java.time.LocalDateTime;
import java.time.format.DateTim... | Java | CL | 9a4bee154ef8f368f4f08883e8ce8edf81e90e6ac53b902601e3f198658b46ee |
package com.blogen.api.v1.controllers;
import com.blogen.api.v1.model.ApiErrorsView;
import com.blogen.api.v1.model.ApiFieldError;
import com.blogen.api.v1.model.ApiGlobalError;
import com.blogen.exceptions.BadRequestException;
import com.blogen.exceptions.NotFoundException;
import lombok.extern.slf4j.Slf4j;
import or... | Java | CL | 6bf4b10029915aaedac0f5bd62392e2e9c62e94621618675ee571b9ec532dcd4 |
package com.isonah.usermanagement.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.security.config.annotat... | Java | CL | cae6753a0708e670a2817739bd143c576d95081c3730aa8235afef8b048981b5 |
package apycazo.codex.java.basic;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.MapperFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.StringSerializer;
import... | Java | CL | 7f1084b2a1ab019e9714dac0bc40c5b9889fb72b676fdce1a0bf54c1595b0725 |
/*
* Copyright 2013 SmartBear Software
*
* Licensed under the EUPL, Version 1.1 or - as soon they will be approved by the European Commission - subsequent
* versions of the EUPL (the "Licence");
* You may not use this work except in compliance with the Licence.
* You may obtain a copy of the Licence at:
*
* h... | Java | CL | 48da7ecf5a7859bbd3d03e44b545264b88deb47bf927d80052f3444e5d2dfd4a |
/**
*/
package org.servicifi.gelato.language.cobol.registers.impl;
import org.eclipse.emf.ecore.EClass;
import org.servicifi.gelato.language.cobol.registers.RegistersPackage;
import org.servicifi.gelato.language.cobol.registers.ShiftOut;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><... | Java | CL | e3a8ea8ebcfc3fa826c15b04cbd7531617468b3475ac22b223c99c9865b22d58 |
package com.orhonit.modules.app.controller;
import java.util.Date;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.anno... | Java | CL | 645ce95de453dd9b9a7d52fcaf6ae63ea7c53eca450a7bf706b0385920bf526e |
package org.sample;
import io.netty.bootstrap.Bootstrap;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.handler.codec.http.*;
import io.netty.handler.ssl.SslC... | Java | CL | 196a05b3660dcd1893576064800884a046e6fd7b43c1efd64faa7cc9b9f48cff |
// Generated by the protocol buffer compiler. DO NOT EDIT!
public final class SingleMessage extends
com.google.protobuf.GeneratedMessage
implements SingleMessageOrBuilder {
// Use SingleMessage.newBuilder() to construct.
private SingleMessage(Builder builder) {
super(builder);
}
private SingleMes... | Java | CL | 729b2d77bed2ae3d6c747c7f990f40d5a972302422ea0c031ce555e2bf605339 |
/*
* L2jFrozen Project - www.l2jfrozen.com
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program... | Java | CL | 94ec1123aaf5b9319ff203a819af0224e89a55b7aab9cb702f14230810f475e6 |
/**
* Copyright 5AM Solutions Inc, ESAC, ScenPro & SAIC
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/caintegrator/LICENSE.txt for details.
*/
package gov.nih.nci.caintegrator.security;
import gov.nih.nci.caintegrator.application.study.AuthorizedStudyElementsGroup;
impo... | Java | CL | 8970b4ffcaf499c20573778d56d860b17555babce8d1424a2e78a4855f8b50b5 |
package cn.ibizlab.core.extensions.service;
import cn.ibizlab.core.uaa.domain.SysApp;
import cn.ibizlab.core.uaa.domain.SysPSSystem;
import cn.ibizlab.core.uaa.domain.SysPermission;
import cn.ibizlab.core.uaa.extensions.domain.PermissionType;
import cn.ibizlab.core.uaa.service.ISysPermissionService;
import cn.ibizlab.... | Java | CL | 1dbdf3888fe0ffa6168865b099e111d28cf76f4bfb8a496109d48d94b72de8b7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.