text stringlengths 7 1.01M |
|---|
package edu.scripps.yates.proteindb.persistence.mysql.utils.tablemapper.idtablemapper;
import java.util.Collection;
import org.apache.log4j.Logger;
import edu.scripps.yates.proteindb.persistence.mysql.access.PreparedCriteria;
import gnu.trove.TIntCollection;
import gnu.trove.iterator.TIntIterator;
import gnu.trove.m... |
/*
* Copyright (C) 2004-2016 L2J DataPack
*
* This file is part of L2J DataPack.
*
* L2J DataPack 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... |
/*************************GO-LICENSE-START*********************************
* Copyright 2014 ThoughtWorks, 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... |
package com.shark.util.util;
import com.shark.util.util.OS.OSInfo;
import com.shark.util.util.OS.Platform;
public class SeparatorUtil {
public static String getPathSeparatorByOS(){
Platform platform= OSInfo.getOSname();
if (platform==Platform.Windows){
return ";";
}else {
... |
/*
* Copyright 2010-2021 Australian Signals Directorate
*
* 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... |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* 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 l... |
package fr.novaria.skygrid.api;
import fr.novaria.skygrid.api.block.BlockGroup;
import fr.novaria.skygrid.api.block.RandomBlockGroup;
import fr.novaria.skygrid.api.chest.ChestItem;
import fr.novaria.skygrid.api.chest.ChestItems;
import fr.novaria.skygrid.api.chest.ChestQuantity;
import fr.novaria.skygrid.api.chest.Ran... |
package com.oracle.truffle.bpf.nodes.util;
//All opcode constants taken from bpf-rpython
public final class EBPFOpcodes {
public static final byte EBPF_CLS_LD = 0x00;
public static final byte EBPF_CLS_LDX = 0x01;
public static final byte EBPF_CLS_ST = 0x02;
public static final byte EBPF_CLS_STX = 0x03;
public st... |
package software.plusminus.data.service.entity.test;
import lombok.Data;
import javax.persistence.Embedded;
import javax.persistence.ManyToOne;
import javax.persistence.MappedSuperclass;
import javax.persistence.PrimaryKeyJoinColumn;
@Data
@MappedSuperclass
public abstract class AbstractMultiEntity {
@ManyToOne... |
package org.sunbird.integration.test.user.skills;
import com.consol.citrus.annotations.CitrusTest;
import com.consol.citrus.testng.CitrusParameters;
import javax.ws.rs.core.MediaType;
import org.springframework.http.HttpStatus;
import org.sunbird.integration.test.common.BaseCitrusTestRunner;
import org.testng.annotati... |
package com.lchtime.safetyexpress.ui.circle;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.bumptech.glide.Glide;
import com.hyphenate.easeui.bean.Cont... |
package com.zc.server.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zc.server.pojo.SalaryAdjust;
/**
* <p>
* Mapper 接口
* </p>
*
* @author MoYu
* @since 2021-04-10
*/
public interface SalaryAdjustMapper extends BaseMapper<SalaryAdjust> {
}
|
package leilao;
public class Lance {
private Usuario usuario;
private double valor;
public Lance(Usuario usuario, double valor) {
this.usuario = usuario;
this.valor = valor;
}
public Usuario getUsuario() {
return usuario;
}
public double getValor() {
return valor;
}
}
|
//Copyright (C) 2014 TU Dortmund
//This file is part of LearnLib, http://www.learnlib.de/.
//
//LearnLib is free software; you can redistribute it and/or
//modify it under the terms of the GNU Lesser General Public
//License version 3.0 as published by the Free Software Foundation.
//
//LearnLib is distributed in the h... |
/*
* Copyright (C) 2013 4th Line GmbH, Switzerland
*
* The contents of this file are subject to the terms of either the GNU
* Lesser General Public License Version 2 or later ("LGPL") or the
* Common Development and Distribution License Version 1 or later
* ("CDDL") (collectively, the "License"). You may not use ... |
/**
* Allows the constructors to be edited.
* @author Alan Jeffrey
* @version v1.0 1998/06/03
*/
public class PremonTargetConstructors
extends PremonTarget
{
private PremonJJTCon oriConstructors;
private PremonCon oriConstructorsDesugared;
/**
* Create a new target.
* @param oriConstructors the raw con... |
package com.ahmetc.yazimkurallari.Database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class DatabaseHelper extends SQLiteOpenHelper {
public DatabaseHelper(Context context) {
super(context, "yazimkurallari.sqlite... |
package com.example.penyyouquandemo.activity;
import android.Manifest;
import android.content.Intent;
import android.os.Bundle;
import android.os.Environment;
import android.view.View;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.EditText;
import android.widget.Toast;
im... |
package com.nandbox.bots.api.test;
import com.nandbox.bots.api.Nandbox;
import com.nandbox.bots.api.Nandbox.Api;
import com.nandbox.bots.api.NandboxClient;
import com.nandbox.bots.api.data.Chat;
import com.nandbox.bots.api.data.User;
import com.nandbox.bots.api.inmessages.BlackList;
import com.nandbox.bots.api... |
package com.example.tests;
import java.util.regex.Pattern;
import java.util.concurrent.TimeUnit;
import org.testng.annotations.*;
import static org.testng.Assert.*;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.Select;
public class UntitledTestCa... |
package org.bouncycastle.tls;
import java.io.OutputStream;
public interface TlsCompression
{
OutputStream compress(OutputStream output);
OutputStream decompress(OutputStream output);
}
|
package com.info6250.packages.user;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.info6250.packages.entities.User_Address;
public class BoxItUserAddress {
private long id;
@NotNull(message = "is required")
@Pattern(regexp = "^[A-Za-z]{3,50}$", message="Mus... |
/*
* Copyright (C) 2016 Square, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* 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... |
/*
* 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 (C) 2013 – 2017 SLUB Dresden & Avantgarde Labs GmbH (<code@dswarm.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/LICEN... |
package com.force.five.app.domain;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
/**
* An authority (a security role) u... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* Copyright 2014 NAVER Corp.
*
* 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 objectModels.gui;
import com.shaft.gui.element.ElementActions;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.WebDriverWait;
public class HerokuFileUploadPage {
private WebDriver driver;
//create constructor
public HerokuFileUploadPage(... |
/*
* 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 de.tuberlin.cit.sdn.opendaylight.hydrogen.model.statistic;
import de.tuberlin.cit.sdn.opendaylight.hydrogen.model.node.Node;
import java.util.List;
public class PortNodeStatistic {
public Node node;
public List<PortNodeConnectorStatistic> portStatistic;
}
|
package com.cardsui.example;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;
import com.fima.cardsui.objects.Card;
public class MyCard extends Card {
public MyCard(String title){
super(title);
}
@Override
public View getCardContent... |
/**
*
* :-::-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-+:-+:-+:-+:-++:-:+:-:+:-:+:-:
*
* This file is part of CHiLOⓇ - http://www.cccties.org/en/activities/chilo/
* CHiLOⓇ is a next-generation learning system utilizing ebooks, aiming
* at dissemination of open education.
* ... |
package com.example.leagueplanner.services;
import java.time.DayOfWeek;
import java.time.ZonedDateTime;
import java.time.temporal.ChronoUnit;
import java.time.temporal.TemporalAdjuster;
import java.time.temporal.TemporalAdjusters;
import java.time.temporal.TemporalAmount;
import java.util.Collections;
import java.util... |
/*
* The MIT License
*
* 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, copy, modify, merge, publish, distribute, s... |
package org.multiverse.stms.gamma.transactions.fat;
public class FatVariableLengthGammaTxn_softResetTest extends FatGammaTxn_softResetTest<FatVariableLengthGammaTxn> {
@Override
public FatVariableLengthGammaTxn newTransaction() {
return new FatVariableLengthGammaTxn(stm);
}
}
|
/*
* Copyright (C) 2009-2018 Lightbend Inc. <https://www.lightbend.com>
*/
package akka.actor.typed.javadsl;
import akka.actor.typed.ActorRef;
import akka.actor.typed.Behavior;
import akka.testkit.AkkaSpec;
import akka.actor.testkit.typed.javadsl.TestKitJunitResource;
import akka.actor.testkit.typed.javadsl.TestPro... |
package com.hq.simpleblog.entity;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 日志实体类
*
* @author HQ
* @since 2020/4/13 下午8:50
**/
@Data
public class Log implements Serializable {
private Long logId;
private Long userId;
private String userEmail;
private Strin... |
/**
* Copyright (c) ObjectFabric Inc. All rights reserved.
*
* This file is part of ObjectFabric (objectfabric.com).
*
* ObjectFabric is licensed under the Apache License, Version 2.0, the terms
* of which may be found at http://www.apache.org/licenses/LICENSE-2.0.html.
*
* This file is provided AS IS w... |
/*
* Copyright 2014 Vitaly Litvak (vitavaque@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
package no.nav.security.token.support.core.exceptions;
public class IssuerConfigurationException extends RuntimeException {
public IssuerConfigurationException(String message) {
this(message,null);
}
public IssuerConfigurationException(String message, Throwable cause) {
super(message, cause... |
package springboot.dao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import springboot.modal.vo.OptionVo;
import springboot.modal.vo.OptionVoExample;
import java.util.List;
@Component
@Mapper
public interface OptionVoMapper ... |
package com.app.dsr.simpplrassignment.network.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
public class PlaylistFollowPrivacy implements Parcelable {
@SerializedName("public")
public Boolean is_public;
@Override
public int describe... |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... |
package tech.rpairo.energyseries.retrofit.response;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import tech.rpairo.energyseries.gson.GsonKeys;
import tech.rpairo.energyseries.model.Serie;
/**
* Created by Raul on 24/6/16.
*/
public class ResponseSeries {
//region Variables
... |
package awe.idea.com.batch.controller;
import awe.idea.com.batch.service.BatchScheduleJobService;
import awe.idea.com.common.annotation.SysLog;
import awe.idea.com.common.utils.PageUtils;
import awe.idea.com.common.utils.Query;
import awe.idea.com.common.utils.R;
import awe.idea.com.common.validators.ValidatorUtils;
i... |
package pl.bmstefanski.website;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Configuration
public class WebConfiguration implements WebMvcConfigurer {
@... |
/*
* 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 jetbrains.mps.refactoringTest;
/*Generated by MPS */
import jetbrains.mps.MPSLaunch;
import jetbrains.mps.lang.test.runtime.BaseTransformationTest;
import org.junit.ClassRule;
import jetbrains.mps.lang.test.runtime.TestParametersCache;
import org.junit.Rule;
import jetbrains.mps.lang.test.runtime.RunWithComma... |
/*
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* Copyright 2021 Hazelcast Inc.
*
* Licensed under the Hazelcast Community License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://hazelcast.com/hazelcast-community-license
*
* Unless required by applicable law or agree... |
package com.bumptech.glide.request.target;
import android.graphics.drawable.Drawable;
import android.support.annotation.Nullable;
import com.bumptech.glide.request.Request;
/**
* A base {@link Target} for loading {@link com.bumptech.glide.load.engine.Resource}s that provides
* basic or empty implementations for mos... |
package eu.neosurance.sdk.tracer.location;
import android.location.Location;
import android.util.Log;
import org.json.JSONException;
import eu.neosurance.sdk.data.configuration.ConfigurationRepository;
import eu.neosurance.sdk.platform.location.LocationManager;
import eu.neosurance.sdk.tracer.Tracer;
public class L... |
package org.hisp.dhis.user;
/*
* Copyright (c) 2004-2012, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyrig... |
/*
* 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 ... |
/*
* This file is part of Baritone.
*
* Baritone is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Baritone is distrib... |
/*
* 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.web.blog.dto;
import java.time.LocalDate;
import java.time.LocalTime;
import org.springframework.format.annotation.DateTimeFormat;
public class BandShowlist {
private String showId;
@DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate date;
private String title;
@DateTimeFormat(pattern = "HH:mm... |
package org.benetech.servicenet.converter;
import java.io.File;
import java.io.InputStream;
import java.io.StringReader;
import java.nio.file.Files;
import java.nio.file.Paths;
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVRecord;
import org.apache.commons.lang3.StringUtils;
import org.bene... |
/*
* The MIT License
*
* Copyright 2020 Sergey Sidorov/000ssg@gmail.com
*
* 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
... |
// Targeted by JavaCPP version 1.5.1-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.tensorflow;
import org.bytedeco.tensorflow.Allocator;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.tensorflow.global.tensorflow.*;
/** Gather slices fr... |
package com.ppiech.auto.value.jackson.typeconverters;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParser;
import java.io.IOException;
import java.text.DateFormat;
import java.text.ParseException;
import java.util.Calendar;
public abstract class CalendarTypeConverter impleme... |
/*
* Copyright 2010-2021 Australian Signals Directorate
*
* 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... |
package com.palmg.boot.webcore.scan.conversion.impl;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import com.palmg.boot.webcore.Application;
import com.palmg.boot.webcore.scan.PackageScan;
import com.palmg.boot.webcore.scan.conversion.AnnotConver;
import com.palmg.boot.webcore.scan.con... |
package io.github.prospector.modmenu.gui.entries;
import com.mojang.blaze3d.platform.GlStateManager;
import io.github.prospector.modmenu.ModMenu;
import io.github.prospector.modmenu.gui.ModListEntry;
import io.github.prospector.modmenu.gui.ModListWidget;
import net.fabricmc.loader.api.ModContainer;
import net.minecraf... |
package com.arrow.pegasus;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import com.arrow.pegasus.data.Enabled;
import moonstone.acs.AcsLogicalException;
import moonstone.acs.Loggable;
public abstract class LifeCycleAbstract extends Loggable {
private boolean terminating = false;
... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package androidx.core;
public final class R {
private R() {}
public static final class attr {
private attr() {}
... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distribute... |
package com.dao.impl;
import org.springframework.stereotype.Repository;
import com.dao.UserDao;
import com.entity.User;
@Repository
public class UserDaoImpl extends BaseDaoImpl<User, Integer>implements UserDao {
}
|
package linj.lib.rnrestart;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bridge.Callback;
import android.util.Log;
import com.facebook.soloader.SoLoader;
import com.face... |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.draga.spaceTravels3.manager;
import com.badlogic.gdx.Gdx;
import com.draga.errorHandler.ErrorHandlerProvider;
import com.draga.spaceTravels3.ui.Screen;
import com.google.common.base.Joiner;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Stack;
public a... |
package com.github.fanavarro.graphlib.algorithms.subtree;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import org.junit.Test;
import org.meanbean.lang.EquivalentFactory;
import org.meanbean.lang.Factory... |
import java.util.*;
public class getindex {
public static void main(String args[])
{
String s1="my name is yash";
System.out.println(s1.indexOf("s"));
int n=s1.indexOf("s",20); //becuse this string is smaller than index 20
System.out.println(n);
int m=s1.indexOf("s",10);
System.ou... |
/* Another example class.
* Again, you don't need to modify this.
*/
public class Point3D extends Point {
public float z;
public Point3D(float x, float y, float z) {
super(x, y);
this.z = z;
}
@Override
public boolean equals(Object o) {
return (o instanceof Point3D)
... |
package playgrounds;
import various.Gender;
import various.Person;
public class Family implements Playground {
private Person mother;
private Person father;
private Person son;
private Person daughter;
@Override
public void playground() {
mother = new Person("Moira"... |
/*
*
* * Copyright (c) 2020 Stefan Spiska (Vitasystems GmbH) and Hannover Medical School
* * This file is part of Project EHRbase
* *
* * 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 t... |
package polymorphism3;
public class Student extends Person {
@Override
void display(){
System.out.println("I am student");
}
}
|
/*
* This file is part of LuckPerms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2004, 2005, 2006, 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (t... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... |
package com.halo.blog.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.time.LocalDateTime;
... |
package com.coolweather.app.db;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;
public class CoolWeatherOpenHelper extends SQLiteOpenHelper {
public CoolWeatherOpenHelper(Con... |
package com.webprague.service;
import java.sql.Timestamp;
import java.sql.Date;
import java.util.List;
public interface DateService {
public int addDate(int num, Date dateTime);
public List<com.webprague.model.Date> findAllByMonth(Date start_month, Date end_month);
}
|
package com.cmccarthy.api;
import io.cucumber.junit.CucumberOptions;
import net.serenitybdd.cucumber.CucumberWithSerenity;
import org.junit.runner.RunWith;
@RunWith(CucumberWithSerenity.class)
@CucumberOptions(
plugin = {"pretty", "json:target/cucumber/report.json"},
features = "src/test/resources/fea... |
package cn.roothub.bbs.module.sys.service.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.google.gson.reflect.... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package uk.gov.hmcts.reform.fpl.service.summary;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.stereotype.Service;
import uk.gov.hmcts.reform.fpl.model.CaseData;
import java.util.HashMap;
import java.util.List;
import java.util.Map... |
package org.swtk.commons.dict.wordnet.indexbyid.instance.p1.p1; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.IndexNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounIndexIdInstance1... |
/*
* Copyright 2010-2012 Luca Garulli (l.garulli--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://www.apache.org/licenses/LICENSE-2.0
... |
package org.codehaus.prometheus.references;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.concurrent.atomic.AtomicReference;
public class NonBlockingAwaitableReference<E> implements AwaitableReference<E> {
private final AtomicReference<E> reference = new Ato... |
/*
* 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 ... |
/**
* Copyright Jakub Staroń, 2015
*/
package bitwaNaTeksty;
import java.util.Collection;
/**
* @author Kuba
* Interfejs procesora tekstów.
*/
public interface Processor {
/**
* Procesuje kolekcjê Ÿróde³ tekstów (artystów).
* @param sources
*/
public void process(Collection<TextSource> sources);
/**
*... |
package rpc.framework.provider;
/**
* @program rpc-framework-jc
* @description: 保存和提供服务实例对象。服务端使用。
* @author: JC
* @create: 2020/08/02 22:32
*/
public interface ServiceProvider {
/**
* @description: 保存服务实例对象和服务实例对象实现的接口类的对应关系
* @Param service 服务实例对象
* serviceClass 服务实例对象实现的接口类
* T 服务接口... |
/*
* Copyright 2015 JBoss, by Red Hat, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
/*
* 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 n... |
package de.polocloud.api.network.protocol.packet.api.gameserver;
import de.polocloud.api.network.protocol.buffer.IPacketBuffer;
import de.polocloud.api.network.protocol.packet.Packet;
import io.netty.buffer.ByteBuf;
import java.io.IOException;
public class APIRequestGameServerCopyResponsePacket extends Packet {
... |
/* Copyright 2016 Urban Airship and Contributors */
package com.urbanairship.util;
import android.content.Context;
import android.content.SharedPreferences;
import android.support.annotation.IntRange;
import com.urbanairship.Logger;
import com.urbanairship.UAirship;
/**
* An auto-incrementing notification ID gener... |
package ru.job4j.patterns.creational.builder;
/**
* BuilderPattern.
*
* Для построения сложных объектов.
*
* @author ifedorenko
* @since 31.08.2018
*/
public class BuilderPattern {
/**
* Method main.
* @param args args
*/
public static void main(String[] args) {
SportCar sc = new... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.