text stringlengths 7 995k |
|---|
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requ... |
package org.openas2.processor.sender;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import javax.mail.Header;
import org.apache.commons.logging.Log;
import org.apach... |
package com.github.cc3002.citricliquid.gui;
import com.github.cc3002.citricjuice.controller.GameController;
import com.github.cc3002.citricjuice.model.board.IPanel;
import com.github.cc3002.citricjuice.model.units.Player;
import javafx.animation.AnimationTimer;
import javafx.application.Application;
import javafx.scen... |
/**
* Copyright 2011 The Buzz Media, 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... |
/*
* 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 com.easy.upload.api;
import com.easy.upload.common.exceptions.StorageFileNotFoundException;
import com.easy.upload.common.interfaces.services.StorageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.io.Resource;
import org.springframework.http.HttpHeaders;
... |
package ssd8.socket.ftp;
import java.io.*;
import java.net.*;
/**
* @author Robin Hanxy
* @version 1.0.2
*
* implements {@link Runnable}
*/
public class Handler implements Runnable { // 负责与单个客户通信的线程
private Socket socket;
BufferedReader br;
BufferedWriter bw;
PrintWriter pw;
private final St... |
package com.xiaojukeji.kafka.manager.task.listener;
import com.xiaojukeji.kafka.manager.common.constant.Constant;
import com.xiaojukeji.kafka.manager.common.constant.LogConstant;
import com.xiaojukeji.kafka.manager.common.entity.metrics.TopicMetrics;
import com.xiaojukeji.kafka.manager.common.entity.pojo.TopicMetricsD... |
package ch.uzh.ifi.hase.soprafs22.constant;
public enum RoundDuration {
THREE(3), FOUR(4), FIVE(5), SIX(6), SEVEN(7), EIGHT(8), NINE(9), TEN(10), ELEVEN(11),
TWELVE(12), THIRTEEN(13), FOURTEEN(14), FIFTEEN(15), SIXTEEN(16), SEVENTEEN(17), EIGHTEEN(18),
NINETEEN(19), TWENTY(20);
private final int value... |
package me.lucko.helper.timer;
import me.lucko.helper.Schedulers;
public abstract class DefinedTimer extends Timer {
protected final long timesRunGoal;
protected DefinedTimer(long timesRunGoal) {
super(20L, 20L);
this.timesRunGoal = timesRunGoal;
}
protected DefinedTimer(long delay... |
package com.lightbend.lagom.javadsl.discovery.consul;
import com.ecwid.consul.v1.ConsulClient;
import com.ecwid.consul.v1.agent.model.NewService;
/**
* This shows a very simplified method of registering an instance with the service discovery. Each individual
* instance in your distributed set of applications would ... |
package eu.dareed.eplus.lod;
import eu.dareed.eplus.model.Item;
import eu.dareed.eplus.model.eso.ESO;
import eu.dareed.rdfmapper.Context;
import eu.dareed.rdfmapper.VariableResolver;
import eu.dareed.rdfmapper.xml.nodes.Mapping;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import java... |
/*
* 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 ... |
import static java.util.stream.IntStream.range;
interface Solution {
static boolean isAscOrder(int[] arr) {
return range(0, arr.length - 1).allMatch(i -> arr[i] <= arr[i + 1]);
}
} |
package br.com.zupacademy.alissonprado.casadocodigo.model;
import br.com.zupacademy.alissonprado.casadocodigo.validacao.CPForCNPJ;
import javax.persistence.*;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Entity
public class Cli... |
package com.avast.syringe.config.fm;
import com.google.common.base.Preconditions;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Properties;
/**
* Loads properties from a file and creates a Free... |
package com.inspur.gmall.wms.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 仓库信息
* ... |
package com.example.rahul.forms;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.content.Context;
import android.os.Bundle;
import android.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGro... |
package com.ziroom.ziroomcustomer.newrepair.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup.LayoutParams;
import android.widget.AdapterView... |
/*
* Copyright (C) 2014 nohana, Inc.
* Copyright 2017 Zhihu 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 requi... |
/*
* 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 (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
package com.jetherrodrigues.store.web.rest.errors;
import com.jetherrodrigues.store.StoreApp;
import com.jetherrodrigues.store.config.TestSecurityConfiguration;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;... |
/*
* 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.metanome.algorithms.tireless.algorithm;
import de.metanome.algorithms.tireless.preprocessing.AlgorithmConfiguration;
import de.metanome.algorithms.tireless.preprocessing.alphabet.AlphabetNode;
import de.metanome.algorithms.tireless.regularexpression.containerclasses.RegularExpressionCharacterClass;
import d... |
/*
* Copyright 2015 Adaptris Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/*
* 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 ... |
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------------------------... |
package searchLocalAccount;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.R... |
/*
* 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 ... |
package com.edwinmindcraft.originsexpansion.providers;
import com.mojang.serialization.Codec;
import net.minecraft.world.entity.Entity;
import java.util.function.Function;
public class BrightnessProvider implements Function<Entity, Number> {
public static final Codec<BrightnessProvider> CODEC = Codec.unit(Brightnes... |
package com.rnimage;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript.
* This is used to schedule rendering of the component.
*/
@Override
protected String getMainComponentName... |
/* Copyright 2017 Telstra Open Source
*
* 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 la... |
package io.ace.nordclient.hacks.combat;
import io.ace.nordclient.CousinWare;
import io.ace.nordclient.command.Command;
import io.ace.nordclient.event.PacketEvent;
import io.ace.nordclient.event.RenderEvent;
import io.ace.nordclient.hacks.Hack;
import io.ace.nordclient.managers.FriendManager;
import io.ace.nordclient.m... |
/**
* 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 inpheller.com.quickooo;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... |
package com.robl2e.thisflicks.data.model.movie;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by robl2e on 9/15/17.
*/
public class Dates {
@SerializedName("maximum")
@Expose
private String maximum;
@SerializedName("minimum")
@Expos... |
/*
* Copyright 2003-2021 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 ap... |
package com.it.yk.fwx_chat_component.mvp.contract;
import com.jess.arms.mvp.IView;
import com.jess.arms.mvp.IModel;
public interface ChatComponentContract {
//对于经常使用的关于UI的方法可以定义到IView中,如显示隐藏进度条,和显示文字消息
interface View extends IView {
}
//Model层定义接口,外部只需关心Model返回的数据,无需关心内部细节,即是否使用缓存
interface Mod... |
package com.example.android.contacts.fragments;
import android.Manifest;
import android.Manifest.permission;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.pm.PackageManager;
import a... |
package es.jdl.europass.service.data;
import es.jdl.europass.domain.EnumStatus;
import es.jdl.europass.domain.Position;
import org.springframework.data.mongodb.repository.MongoRepository;
import java.util.List;
public interface PositionRepository extends MongoRepository<Position, String> {
List<Position> findByO... |
package com.aw.some;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Binary Search Tree
*
*/
public class Scenario54 {
private static final Logger logger = LoggerFactory.getLogger(Scenario54.class);
static class Node {
int key;
Node left, right;
public Node(int key... |
/* Copyright (c) 2020 W.T.J. Riezebos
*
* 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... |
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.provider.historicaltimeseries.impl;
import java.util.Map;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.threeten.b... |
package com.zheng.cms.rpc.service.impl;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.cms.dao.mapper.CmsCommentMapper;
import com.zheng.cms.dao.model.CmsComment;
import com.zheng.cms.dao.model.CmsCommentExample;
import com.zheng.cms.rpc.api.CmsCommentSer... |
// Copyright 2020 The Bazel Authors. 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 appl... |
/**
* Automatically generated file. DO NOT MODIFY
*/
package org.traccar.client.test;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "org.traccar.client.test";
public static final String BUILD_TYPE = "debug";
publ... |
/*
* IntPTI: integer error fixing by proper-type inference
* Copyright (c) 2017.
*
* Open-source component:
*
* CPAchecker
* Copyright (C) 2007-2014 Dirk Beyer
*
* Guava: Google Core Libraries for Java
* Copyright (C) 2010-2006 Google
*
*
*/
package org.sosy_lab.cpachecker.cpa.invariants.formula;
/**
*... |
package GUI;
/**
FunctionCallDialog.java
the dialog box for function calls.
*/
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
public class ObservedPortsDialog extends JDialog implements ActionListener{
private WatchMan... |
package snackBarApp;
public class VendingMachine {
private static int maxId = 0;
private int id = 0;
private String name;
public VendingMachine(String name) {
maxId++;
id = maxId;
this.name = name;
}
public void setName(String name) {
this.name = name;
}
... |
package zrock.application.scriptme.fragments;
import zrock.application.scriptme.R;
import android.support.v4.app.Fragment;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.os.Bundle;
import android.os.Handler;
import android.view.LayoutInfl... |
/**
* 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 com.lcg.basicquartz.mysql;
import com.alibaba.druid.pool.DruidDataSource;
import org.quartz.SchedulerException;
import org.quartz.utils.ConnectionProvider;
import java.sql.Connection;
import java.sql.SQLException;
public class DruidConnectionProvider implements ConnectionProvider {
/*
* ~~~~~~~~~~~... |
/*
* 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 com.adobe.epubcheck.messages;
import java.util.Locale;
/**
* Holds the "currently used" {@code Locale} in a static thread-local variable.
*
* Pieces of code that set or change the locale used in the application runtime
* should update the static locale stored in this class. See for instance how it
* is ... |
package br.ia.tsp.algorithms.star.dois;
/**
*
*@author pranavbhatt (c) 2013
*
*/
/**
* Node class creates initial nodes parsed from the input and stores their
* straight line distance from the other node.
*/
class Node{
protected String name;
protected int number;
//Distance of the node from the node in the ke... |
import java.util.Scanner;
public class ICPJ005 {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
System.out.print("Please set the number of array emelemts: ");
int arrayLength = stdIn.nextInt();
int[] box = new int[arrayLength];
for (int i = 0; box.length > i; ... |
package minecraftbyexample.mbe70_configuration;
/*
* User: TW
* Date: 2/4/2015
*
* The Startup classes for this example are called during startup, in the following order:
* preInitCommon
* preInitClientOnly
* initCommon
* initClientOnly
* postInitCommon
* postInitClientOnly
* See MinecraftByExample c... |
package org.bds.lang.type;
/**
* An enumeration of primitive types
*
* @author pcingola
*/
public enum PrimitiveType {
ANY, BOOL, CLASS, FUNCTION, LIST, MAP, NULL, INT, REAL, STRING, VOID;
/**
* Get 'Type' object from this enum
* @return
*/
public Type get() {
switch (this) {
case ANY:
return Type... |
package com.clem.ipoca1.util.syndication.feedgenerator;
import com.clem.ipoca1.core.feed.Feed;
import java.io.IOException;
import java.io.OutputStream;
/**
* Generates a machine-readable, platform-independent representation of a Feed object.
*/
public interface FeedGenerator {
/**
* Creates a machine-rea... |
/*
* 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 2009-2021 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
*
* Unle... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.03.31 ... |
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.webviewflutter;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import andro... |
package game.objects;
public enum GameObject {
가위,바위,보;
private int[][] comparison = {
// 가위 바위 보
/* 가위(0)*/{ 0, -1, 1},
/* 바위(1)*/{ 1, 0, -1},
/* 보 (2)*/ {-1, 1, 0}
};
//상대의(가위,바위,보)와 비교해서 결과 리턴
public int compare(GameObject ob) { // ob는 아무거나 // compare는 예를들어 두 원소를 비교??... |
/**
* Copyright 2010-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... |
package de.tum.in.www1.artemis;
import static org.assertj.core.api.Assertions.assertThat;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.temporal.ChronoUnit;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Optional;
import org.junit.jupiter.api.AfterEach;
import org... |
/*
* KUVEYT TÜRK PARTICIPATION BANK INC.
*
* Developed under MIT License
* Copyright (c) 2018
*
* Author : Fikri Aydemir
* Last Modified at : 17.04.2018 17:10
*
*
*/
package tr.com.kuveytturk.android.sdk.handlers;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
... |
package com.johan.project.libraryservice.exceptions;
public class BookNotFoundException extends RuntimeException {
public BookNotFoundException(final String message) {
super(message);
}
} |
package planograma.constant.data.history;
/**
* Date: 18.01.13
* Time: 10:25
*
* @author Alexandr Polyakov
*/
public interface AbstractHConst {
public static final String USER_INSERT = "user_insert";
public static final String DATE_INSERT = "date_insert";
} |
/** @author Eimutis Karčiauskas, KTU IF Programų inžinerijos katedra, 2014 09 23
*
* Tai pirmosios kolekcijų duomenų struktūros klasės interfeisas,
* apibrėžiantis operacijas, kurių pagalba atskiri objektai apjungiami
* į vieną visumą - sąrašą.
*
* Užduotis: Peržiūrėkite ir išsiaiškinkite pateiktus metodus.
****... |
package de.tum.in.www1.artemis.web.rest;
import static de.tum.in.www1.artemis.web.rest.errors.AccessForbiddenException.NOT_ALLOWED;
import static de.tum.in.www1.artemis.web.rest.util.ResponseUtil.forbidden;
import java.net.URI;
import java.net.URISyntaxException;
import java.time.ZonedDateTime;
import java.time.tempo... |
// Dstl (c) Crown Copyright 2017
package uk.gov.dstl.baleen.annotators.testing.types;
import static org.junit.Assert.assertEquals;
import uk.gov.dstl.baleen.annotators.testing.TestEntity;
import uk.gov.dstl.baleen.types.common.CommsIdentifier;
public class TestCommsIdentifier extends TestEntity<CommsIdentifier> {
... |
package com.walmartlabs.concord.server.process.queue;
/*-
* *****
* Concord
* -----
* Copyright (C) 2017 - 2019 Walmart 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
* ... |
/**
* FILE: PointKnnTest.java
* PATH: org.datasyslab.geospark.spatialOperator.PointKnnTest.java
* Copyright (c) 2015-2017 GeoSpark Development Team
* All rights reserved.
*/
package org.datasyslab.geospark.spatialOperator;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import ... |
package com.github.zhenwei.pkix.util.asn1.cmc;
import com.github.zhenwei.core.asn1.ASN1Object;
import com.github.zhenwei.core.asn1.ASN1Primitive;
import com.github.zhenwei.core.asn1.ASN1Sequence;
import com.github.zhenwei.core.asn1.ASN1TaggedObject;
import com.github.zhenwei.core.asn1.DERSequence;
/**
* <pre>
* B... |
/*
* 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 ... |
/*
* 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 org.zstack.compute.vm;
import org.zstack.header.core.workflow.FlowChain;
import org.zstack.header.message.Message;
import org.zstack.header.vm.*;
public interface VmInstanceManager {
FlowChain getCreateVmWorkFlowChain(VmInstanceInventory inv);
FlowChain getStopVmWorkFlowChain(VmInstanceInventory ... |
package cn.torna.service;
import cn.torna.common.support.BaseService;
import cn.torna.dao.entity.ComposeAdditionalPage;
import cn.torna.dao.mapper.ComposeAdditionalPageMapper;
import org.springframework.stereotype.Service;
/**
* @author thc
* @version 1.0.0
* @description
* @date 2021/7/18/018
*/
@Service
public... |
package org.smartregister.bidan.utils;
import android.content.Context;
import android.content.Intent;
import android.util.Xml;
import com.cloudant.sync.datastore.ConflictException;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import org.json.JSONArray;
import org.json.JSONException;
import org.js... |
/*
* (C) Copyright 2017 Boni Garcia (http://bonigarcia.github.io/)
*
* 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... |
package com.littlejenny.gulimall.ware.config;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import com.baomidou.mybatisplus.extension.plugins.pagination.optimize.JsqlParserCountOptimize;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
impo... |
/*
* Copyright 2019 OpenAPI-Generator Contributors (https://openapi-generator.tech)
*
* 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
... |
package es.uned.pfg.ae;
import es.uned.pfg.ae.utils.Aleatorio;
import es.uned.pfg.ae.utils.Utils;
import org.junit.Test;
/**
* Pequeña prueba del rendimiento del generador de numeros aleatorios vs las
* operaciones matematicas realizadas por la recombinacion aritmetica completa.
* Sirve para comparar el rendimient... |
package rejasupotaro.robotgirl.test;
import com.activeandroid.Model;
import android.content.Context;
import android.test.InstrumentationTestCase;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import rejasupotaro.robotgirl.ModelScanner;
import rejasupotaro.robotgirl.test.models.User;
im... |
/*
*AVISO LEGAL
© Copyright
*Este programa esta protegido por la ley de derechos de autor.
*La reproduccion o distribucion ilicita de este programa o de cualquiera de
*sus partes esta penado por la ley con severas sanciones civiles y penales,
*y seran objeto de todas las sanciones legales que correspondan.
*Su conteni... |
/*
* Copyright Ningbo Qishan Technology Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
package com.example.soda.soda20.activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public abstract class BaseActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
initLayout();
... |
package org.zalando.logbook.autoconfigure;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.ArgumentCaptor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.zalando.logbook.HttpLogWriter;
... |
package memorySlot;
public interface Colleague {
public abstract void setMediator(Mediator mediator);
} |
import java.util.*;
public class School
{
private List<Student> students;
private String name;
public School(String name)
{
students = new ArrayList<Student>();
this.name = name;
}
public void addStudent(Student student)
{
students.add(student);
}
pu... |
package com.alvis.exam.viewmodel.admin.exam;
import com.alvis.exam.base.BasePage;
import lombok.Data;
@Data
public class ExamPaperPageRequestVM extends BasePage {
private Integer id;
private Integer subjectId;
private Integer level;
private Integer paperType;
private Integer taskExamId;
} |
package razerdp.demo.app;
import android.app.Application;
import android.content.Context;
import razerdp.basepopup.BasePopupWindow;
/**
* Created by 大灯泡 on 2018/12/4.
*/
public class PopupDemoApp extends Application {
@Override
protected void attachBaseContext(Context base) {
BasePopupWindow.setDe... |
package doit.study.droid.utils2;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.AssetFileDescriptor;
import android.content.res.AssetManager;
import android.media.MediaPlayer;
import android.widget.Toast;
import androidx.preference.PreferenceManager;
import java.... |
/*
* Copyright 2013-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 ca.uhn.hapi.fhir.docs;
/*-
* #%L
* HAPI FHIR - Docs
* %%
* Copyright (C) 2014 - 2020 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... |
/*
* 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 net.codingarea.challenges.plugin.challenges.type.abstraction;
import net.anweisen.utilities.bukkit.utils.animation.SoundSample;
import net.codingarea.challenges.plugin.ChallengeAPI;
import net.codingarea.challenges.plugin.challenges.type.helper.ChallengeHelper;
import net.codingarea.challenges.plugin.managemen... |
package com.chaotong.yujia.main.menu.yujiajia.qddd;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.Gravity;
import android.view.Layo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.