text stringlengths 7 1.01M |
|---|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package resultsearch;
import java.sql.*;
/**
*
* @author sherif
*/
public class Connect {
private static String [][] ResultArray ;
private static int NumOfCols ;
private static int NumOfRows ;
... |
package sktest.ling.persistence.entity.sql.mysql;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.shaneking.ling.persistence.entity.sql.mysql.MysqlSqlEntities;
import org.shaneking.ling.test.SKUnit;
import org.shanekin... |
package wusc.edu.pay.core.cost.biz.cal;
import java.util.List;
import wusc.edu.pay.core.cost.biz.CalFeeRateFormulaBiz;
import wusc.edu.pay.facade.cost.entity.CalFeeRateFormula;
import wusc.edu.pay.facade.cost.entity.CalFeeWay;
import wusc.edu.pay.facade.cost.exceptions.CostBizException;
/**
* 计费成本
*
... |
/**
* 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 m... |
// Copyright 2017 JanusGraph 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 agree... |
package com.orientechnologies.orient.core.metadata.schema;
import com.orientechnologies.orient.core.Orient;
import com.orientechnologies.orient.core.db.ODatabaseDocumentInternal;
import com.orientechnologies.orient.core.db.ODatabaseLifecycleListener;
import com.orientechnologies.orient.core.db.ODatabaseListener;
impor... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot;
import edu.wpi.first.cameraserver.CameraServer;
import edu.wpi.first.cscore.UsbCamera;
import edu.wp... |
package com.store.domain.dao.catalog;
import java.util.List;
import com.store.domain.model.product.Product;
import com.store.domain.model.product.data.ProductCreationData;
public interface ProductDao {
public List<Product> create(Long userId, ProductCreationData... prodDataArray);
public Product getById(Long pro... |
package com.rymcu.forest.wx.mp.service.impl;
import com.rymcu.forest.wx.mp.service.WxMenuService;
import me.chanjar.weixin.common.bean.menu.WxMenu;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.io.Resource;
import org.springframework.stereotype.Service;
import java.io.File... |
package com.cmput301f21t34.habittrak.social;
import android.content.Intent;
import android.content.res.Configuration;
import android.graphics.Color;
import android.os.Bundle;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.core... |
package org.michenux.drodrolib.ui.recyclerview;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.Recycler... |
package com.mageddo.kafka.client;
import org.apache.kafka.clients.consumer.Consumer;
public interface ConsumerSupplier<K, V> {
Consumer<K, V> get(ConsumerCreateConfig<K, V> config);
}
|
package uk.co.jakelee.daggerexperiments.baeldung;
public class Brand {
private String brand;
public Brand(String brand) {
this.brand = brand;
}
} |
package com.gonzalezp.apps.androidfunwithflags;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.support.v4.app.DialogFragment;
import android.arch.lifecycle.ViewModelProviders;
import android.os.Bundle;
import android.util.Log;
import com.gonzalezp.ap... |
/*
* 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... |
package gnu.kawa.slib;
import com.google.appinventor.components.common.PropertyTypeConstants;
import gnu.expr.Keyword;
import gnu.expr.ModuleBody;
import gnu.expr.ModuleInfo;
import gnu.expr.ModuleMethod;
import gnu.kawa.functions.Format;
import gnu.kawa.functions.GetNamedPart;
import gnu.kawa.lispexpr.LispLanguage;
i... |
package com.google.android.core.audio;
import android.media.AudioTrack;
import android.media.audiofx.AudioEffect;
import androidx.annotation.Nullable;
/**
* Represents auxiliary effect information, which can be used to attach an auxiliary effect to an
* underlying {@link AudioTrack}.
*
* <p>Auxiliary (辅助的) effec... |
package com.brin.denonremotefree.BrinObj;
/**
* Created by Luca on 24.05.2016.
*/
public class ScanItem
{
public String itemIp;
public String itemHostName;
public String itemMac;
public boolean itemOnline;
public boolean itemSuprt;
public String itemGatewaymac;
}
|
package com.bibabo.fragment.watch.child;
import com.bibabo.api.CacheRetrofit;
import com.bibabo.base.list.ListBasePresenterImpl;
import com.bibabo.entity.QVMovieInfo;
import java.util.List;
import io.reactivex.annotations.NonNull;
import io.reactivex.functions.Consumer;
/**
*
* Created by zijian.cheng on 2017/6/1... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/*
* Copyright 2015-2020 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... |
/**
* <copyright>
*
* Copyright (c) 2010 SAP AG.
* 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, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
... |
package io.airlift.http.client.jetty;
import com.google.common.collect.ImmutableList;
import io.airlift.http.client.AbstractHttpClientTest;
import io.airlift.http.client.HttpClientConfig;
import io.airlift.http.client.HttpRequestFilter;
import io.airlift.http.client.Request;
import io.airlift.http.client.ResponseHandl... |
/*
* Copyright © 2017 camunda services GmbH (info@camunda.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 ... |
package edu.neu.coe.info6205.util;
import edu.neu.coe.info6205.sort.GenericSort;
import edu.neu.coe.info6205.sort.elementary.InsertionSort;
import java.util.*;
import java.util.function.Supplier;
/**
* Interface to define the behavior of a Benchmark.
*
* @param <T> the underlying type which is passed into (or sup... |
package configtools.tBOnlineDoc.controller;
import configtools.tBOnlineDoc.entity.TBOnlineDocEntity;
import configtools.tBOnlineDoc.service.TBOnlineDocServiceI;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.je... |
package com.classicmodels.repository;
import java.math.BigDecimal;
import jooq.generated.Routines;
import static jooq.generated.Routines.netPriceEach;
import jooq.generated.routines.NetPriceEach;
import static jooq.generated.tables.Orderdetail.ORDERDETAIL;
import static jooq.generated.tables.Product.PRODUCT;
import or... |
package com.mypurecloud.sdk.v2.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.... |
/*___Generated_by_IDEA___*/
package com.happymaau.MathRef;
/* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */
public final class BuildConfig {
public final static boolean DEBUG = Boolean.parseBoolean(null);
} |
/*
* (c) LibriCore
*
* Created on Oct 25, 2004
*
* CataloguingSourceTag.java
*/
package org.folio.marccat.dao.persistence;
import org.folio.marccat.business.cataloguing.bibliographic.VariableHeaderUsingItemEntity;
import org.folio.marccat.model.Subfield;
import org.folio.marccat.util.StringText;
public class P... |
package com.ua.plamber_android.utils;
import android.app.Application;
import com.google.android.gms.analytics.GoogleAnalytics;
import com.google.android.gms.analytics.Tracker;
import com.ua.plamber_android.R;
public class PlamberAnalytics extends Application {
private Tracker mTracker;
synchronized public T... |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.reclipse.structure.inference.annotations.impl;
import org.eclipse.emf.ecore.EClass;
import org.reclipse.structure.inference.annotations.AnnotationsPackage;
import org.reclipse.structure.inference.annotations.TemporaryAnnotation;
/**
* <!-- be... |
/**
*
*/
package com.zimbra.qa.selenium.projects.mobile.ui;
import com.zimbra.qa.selenium.framework.ui.AbsApplication;
import com.zimbra.qa.selenium.framework.ui.AbsPage;
import com.zimbra.qa.selenium.framework.ui.AbsTab;
import com.zimbra.qa.selenium.framework.ui.Action;
import com.zimbra.qa.selenium.framework.ui.... |
/*
* 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 ... |
package org.pitest.mutationtest.engine.gregor.mutators;
import java.util.HashMap;
import java.util.Map;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;
import org.pitest.mutationtest.engine.gregor.AbstractJumpMutator;
import org.pitest.mutationtest.engine.gregor.MethodInfo;
import org.pitest... |
package edu.nju.service.impl;
import com.alibaba.fastjson.JSONObject;
import edu.nju.dao.StudentDao;
import edu.nju.model.Student;
import edu.nju.service.StudentService;
import edu.nju.util.HttpClientUtil;
import edu.nju.util.ResultData;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
impor... |
/*
* Copyright 2020 EPAM Systems
*
* 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 ... |
package uk.gov.hmcts.reform.sscs.ccd.presubmit.writefinaldecision.pip;
import static org.apache.commons.lang3.StringUtils.equalsIgnoreCase;
import javax.validation.Validator;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import uk.gov.hmcts.reform.sscs.ccd.callback.PreSubmitCallba... |
/*
* 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... |
/*
* Copyright 2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package org.gendut.memory;
import java.lang.ref.WeakReference;
import java.util.WeakHashMap;
public final class SingleAllocator {
private WeakHashMap<ManagedNode<?>, WeakReference<ManagedNode<?>>> memorizedNodes;
public SingleAllocator(int initialSize) {
memorizedNodes = new WeakHashMap<>(initialSize);
}
... |
/**
*
*/
/**
* @author wessl03
*
*/
package de.ne0.sonar.plsql.checks.utils; |
/*
* Copyright 2012-2018 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... |
package org.cryptimeleon.math.structures.groups.elliptic.type1.supersingular;
import org.cryptimeleon.math.serialization.Representation;
import org.cryptimeleon.math.structures.groups.lazy.LazyBilinearGroup;
/**
* A type 1 supersingular bilinear group where operations are evaluated lazily.
* <p>
* Due to lazy eval... |
package jadx.core.clsp;
/**
* Class node in classpath graph
*/
public class NClass {
private final String name;
private NClass[] parents;
private int id;
public NClass(String name, int id) {
this.name = name;
this.id = id;
}
public String getName() {
return name;
}
public int getId() {
return id;... |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package xworker.net.jsch;
import java.io.InputStream;
import java.io.OutputStream;
import org.xmeta.ActionContext;
import org.xmeta.Thing;
import com.jcraft.jsch.Channel;
import com.jcraft.jsch.JSchException;
import com.jcraft.jsch.Session;
public class Shell {
public static Object run(ActionContext actionContext)... |
package com.compy.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.NOT_FOUND)
public class ResourceNotFoundException extends RuntimeException {
public ResourceNotFoundException(String message) {
super(message);... |
/**
* Copyright IBM Corporation 2016
*
* 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... |
package com.outlook.bigkun.demo1;
/**
* @author zhanghk
* @since 2019/8/13
*/
public class Main {
public static void main(String[] args) {
String instruction = "up move 5 and down run 10 and left move 5";
InstructionHandler handler = new InstructionHandler();
handler.handle(ins... |
package us.ihmc.commonWalkingControlModules.desiredFootStep;
import us.ihmc.euclid.referenceFrame.FramePoint2D;
import us.ihmc.euclid.referenceFrame.FramePoint3D;
import us.ihmc.euclid.referenceFrame.ReferenceFrame;
import us.ihmc.euclid.referenceFrame.interfaces.FramePoint2DReadOnly;
import us.ihmc.euclid.referenceFr... |
/*
* #%L
* omakase
* %%
* Copyright (C) 2015 Project Omakase 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
*
* Unles... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.commands.test;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpili... |
package org.codehaus.xfire.wsdl11;
import javax.wsdl.Definition;
import javax.wsdl.Message;
import javax.xml.namespace.QName;
import org.codehaus.xfire.wsdl11.builder.WSDLBuilder;
import org.codehaus.xfire.wsdl11.builder.WSDLBuilderExtension;
public class CustomExtension implements WSDLBuilderExtension
{
... |
/*
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener... |
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE
package org.bytedeco.libfreenect;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.libfreenect.global.freenect.*;
/** Typedef for s... |
package com.qiancheng.charging.login.entity;
import com.qiancheng.charging.entity.Employee;
import java.sql.Date;
public class UserVO {
private String id; //用户id
private String username; //用户名
private String password; //密码
private int role; //角色 0普通用户 1管理员
private int flag;
private String emp... |
package com.xcynice.playxandroid.module.mine.view;
import com.xcynice.playxandroid.base.BaseBean;
import com.xcynice.playxandroid.base.BaseView;
import com.xcynice.playxandroid.bean.MineShare;
/**
* @Author 许朋友爱玩
* @Date 2020/6/14 19:15
* @Github https://github.com/LoveLifeEveryday
* @JueJin https://juejin.im/us... |
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE
package org.bytedeco.gsl;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import static org.byt... |
package domts.level2.core;
import org.w3c.dom.*;
import java.util.*;
import org.junit.jupiter.api.*;
import static org.junit.jupiter.api.Assertions.*;
/**
* The "setAttributeNode(newAttr)" method raises an
* "INUSE_ATTRIBUTE_ERR DOMException if the "newAttr"
* is already an attribute of another element.
*
* Retrieve... |
package com.naz.PlexDownloader.models.plex;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.a... |
package com.dlink.metadata;
import com.dlink.metadata.driver.Driver;
import com.dlink.metadata.driver.DriverConfig;
import com.dlink.metadata.result.JdbcSelectResult;
import com.dlink.model.Column;
import com.dlink.model.Schema;
import com.dlink.model.Table;
import org.junit.Before;
import org.junit.Test;
import java... |
package money.terra.terrawallet.library;
//https://github.com/WebOfTrustInfo/txref-conversion-java/blob/master/src/main/java/info/weboftrust/txrefconversion/Bech32.java
//MIT license
import java.nio.ByteBuffer;
public class Bech32 {
public static final String CHARSET = "qpzry9x8gf2tvdw0s3jn54khce6mua7l";
p... |
import java.util.Scanner;
public class Main {
public static int getNumberOfMaxParam(int a, int b, int c) {
// write a body here
int max = Math.max(a, Math.max(b, c));
if (max == a) {
return 1;
} else if (max == b) {
return 2;
} else {
ret... |
package com.app.MavenSpringBootMvcAopRestApiOnlineShoppingWithReactReduxAndMongodb.aspects;
import java.util.Date;
import org.apache.log4j.Logger;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import or... |
package com.czfx.gulimall.order.vo;
import lombok.Data;
import lombok.ToString;
import java.util.Date;
@ToString
@Data
public class PayAsyncVo {
private String gmt_create;
private String charset;
private String gmt_payment;
private Date notify_time;
private String subject;
private String sig... |
/*
* Copyright 2014-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 app... |
/*
* 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... |
/*
* Copyright (c) 2021 Oracle 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 applic... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v3/services/mutate_job_service.proto
package com.google.ads.googleads.v3.services;
/**
* <pre>
* Request message for [MutateJobService.AddMutateJobOperations][google.ads.googleads.v3.services.MutateJobService.AddMutateJobOpe... |
/*
* 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 ... |
/*
* Copyright 2015-2020 Emmanuel Keller / QWAZR
* <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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by app... |
package GUI;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.util.ArrayList;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.bo... |
package mage.cards.m;
import java.util.UUID;
import mage.abilities.Mode;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.TapTargetEffect;
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
import m... |
package com.karim.examples.rabbitmq.connector.exceptions;
/**
* <p>This class used as a <i>wrapper</i> for {@link Throwable} thrown during
* parsing of the object to <i>JSON</i> and vice-versa. </p>
*
* <p>It's store a meaningful message and the true cause of the {@link Throwable}.
* See {@link #JSONCus... |
/*
* 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... |
package net.readonly.utils.tracker.ringbuffer;
import java.util.concurrent.atomic.AtomicInteger;
import javax.annotation.Nonnegative;
public class LongRingBuffer implements RingBuffer {
protected final AtomicInteger index = new AtomicInteger();
protected final int size;
protected final long[] array;
... |
package g1801_1900.s1882_process_tasks_using_servers;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertThat;
import org.junit.jupiter.api.Test;
class SolutionTest {
@Test
void assignTasks() {
assertThat(
new Solution().assignTasks(new int... |
package org.hl7.fhir.r4.model.codesystems;
/*-
* #%L
* org.hl7.fhir.r4
* %%
* Copyright (C) 2014 - 2019 Health Level 7
* %%
* 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
*
* ... |
package com.kong.alex.sharkfeed.api.info;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class PhotoInfo {
@SerializedName("id")
@Expose
private String id;
@SerializedName("secret")
@Expose
private String secret;
@SerializedName("serv... |
/* $This file is distributed under the terms of the license in LICENSE$ */
package edu.cornell.mannlib.vitro.webapp.controller.edit;
import static edu.cornell.mannlib.vitro.webapp.modelaccess.ModelNames.TBOX_ASSERTIONS;
import java.util.HashMap;
import java.util.Iterator;
import javax.servlet.annotation.WebServlet;... |
package org.kin.kinrpc.rpc.exception;
/**
* @author huangjianqin
* @date 2020/11/18
*/
public class RpcCallTimeOutException extends RuntimeException {
private static final long serialVersionUID = 490253965471277042L;
public RpcCallTimeOutException(String errorMsg) {
super(errorMsg);
}
publ... |
/*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2014 - 2018 ImageJ developers.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of s... |
/*
* Copyright 2020 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... |
/*
* Copyright 2002-2018 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... |
package com.mw.portfolio.auth.service;
import com.mw.portfolio.security.model.FirebaseAuthentication;
import com.mw.portfolio.user.entity.User;
import com.mw.portfolio.user.service.UserService;
import lombok.AllArgsConstructor;
import lombok.val;
import org.springframework.security.core.context.SecurityContextHolder;
... |
/*
* Copyright 2016-2021 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... |
/*
*
* * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.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:/... |
package com.mapswithme.maps.maplayer.traffic.widget;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.drawable.AnimationDrawable;
import android.graphics.drawable.Drawable;
import android.support.annotation.NonNull;
import android.view.View;
import android.widget.ImageButto... |
/*
* 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... |
package savvy.core.fact.events;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import savvy.core.fact.Fact;
/** fired upon creation of fact in the DB */
public final class FactCreated {
public final Fact fact;
private final Logger log = LoggerFactory.getLogger(this.getClass().getSimpleName());
public... |
/**
* JProdNextTariff.java 2010/06/08
*/
package com.ycsoft.beans.core.job;
import java.io.Serializable;
import java.util.Date;
import com.ycsoft.beans.base.BusiBase;
import com.ycsoft.daos.config.POJO;
/**
* JProdNextTariff -> J_PROD_NEXT_TARIFF mapping
*/
@POJO(tn = "J_PROD_NEXT_TARIFF", sn = "", pk = "job_id... |
package com.github.simy4.xpath.effects;
import com.github.simy4.xpath.XmlBuilderException;
import com.github.simy4.xpath.expr.Expr;
import com.github.simy4.xpath.navigator.Navigator;
import com.github.simy4.xpath.navigator.Node;
import com.github.simy4.xpath.spi.Effect;
import com.github.simy4.xpath.view.AbstractViewV... |
/*
* ModeShape (http://www.modeshape.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 o... |
package com.rokuality.server.driver.device.hdmi;
import java.io.File;
import com.rokuality.server.constants.DependencyConstants;
import com.rokuality.server.core.CommandExecutor;
import com.rokuality.server.utils.OSUtils;
import org.eclipse.jetty.util.log.Log;
public class HDMIKeyPresser {
private static final in... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2019-2021 TheRandomLabs
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
... |
/*
* 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 ... |
package cub3d.file.reader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
public class ZipReader extends Reader
{
private boolean hasLoaded;
pr... |
/*
* 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 ... |
package de.codecentric.reedelk.mail.internal.smtp.attachment;
import de.codecentric.reedelk.mail.component.smtp.AttachmentDefinition;
import de.codecentric.reedelk.mail.internal.commons.ContentType;
import de.codecentric.reedelk.mail.internal.exception.MailAttachmentException;
import de.codecentric.reedelk.runtime.api... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.