text stringlengths 7 995k |
|---|
/*
* Copyright 2015 Miguel Augusto Caligares <mcaligares@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 re... |
package io.vertx.ext.web.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* # Handler
* <p>
* Annotate a method that might block the event loop while handling the request.
* E.g: Callin... |
// Copyright 2017 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
/*
*
* * MIT License
* *
* * Copyright (c) [2017] [velli20]
* *
* * 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 righ... |
package com.binarysushi.documents;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Location {
@JsonProperty("function_name")
private String functionName;
@JsonProperty("line_number")
private String lineNumber;
@JsonProperty("script_path")
private String scriptPath;
pu... |
package dev.morphia.query;
import dev.morphia.TestBase;
import dev.morphia.annotations.Entity;
import dev.morphia.annotations.Id;
import dev.morphia.annotations.Reference;
import dev.morphia.testutil.TestEntity;
import org.bson.types.ObjectId;
import org.junit.Assert;
import org.junit.Test;
import org.junit.experimen... |
/*
* Copyright 2000-2014 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... |
package com.github.fnwib.write;
import com.github.fnwib.model.Content;
import java.util.List;
import java.util.Map;
/**
* 映射关系
*/
@FunctionalInterface
public interface Mapping {
List<Content> convert(Map<String, Object> map);
} |
/*
* 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 com.volmit.react.util;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.player.PlayerCommandPreprocessEvent;
/**
* Quick command utility
*
* @author cyberpwn
*/
public class CMD
{
private String command;
private CommandSender sen... |
package at.srfg.iot.eclass.model;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
/**
* The persistent class for the unit database table.
*
*/
@Entity
@Table(name="uni... |
package com.flashoverride.fitw.client.gui;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.Gui;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraftforge.client.event.RenderGameOverlayEvent;
import net.minecraftforge.client.event... |
/**
* *******************************************************************************
* Copyright 2016 Tom Praschan
* <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:... |
/*
* Copyright DataStax, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... |
/**
--| ADAPTIVE RUNTIME PLATFORM |----------------------------------------------------------------------------------------
(C) Copyright 2013-2015 Carlos Lozano Diez t/a Adaptive.me <http://adaptive.me>.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wi... |
package com.panuvaltanen.lil.learningspring.data.repository;
import com.panuvaltanen.lil.learningspring.data.entity.Reservation;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface ReservationRepository extends CrudRepository<Reserv... |
/*
* 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 io.crnk.example.service.config;
import io.crnk.security.ResourcePermission;
import io.crnk.security.SecurityConfig;
import io.crnk.spring.setup.boot.security.SecurityModuleConfigurer;
import org.springframework.stereotype.Component;
/**
* Secures resources based on role-based access control. For information ... |
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... |
/*
* Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata
*
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.
*
* Access and use of this software shall impose the following obligations
* and understandings on the use... |
/*-
* ============LICENSE_START=======================================================
* 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 com.linsir.lutils.utils;
import android.text.TextUtils;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.Hashtable;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Created by linSir
* da... |
package net.pladema.address.controller.dto;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import net.pladema.sgx.masterdata.dto.AbstractMasterdataDto;
@Getter
@Setter
@ToString
public class ProvinceDto extends AbstractMasterdataDto<Short> {
} |
/*
* Copyright 2017 Hippo B.V. (http://www.onehippo.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 com.microsoft.bingads.api.test.entities;
import com.microsoft.bingads.internal.bulk.BulkObject;
import com.microsoft.bingads.internal.bulk.RowValues;
import com.microsoft.bingads.internal.functionalinterfaces.BiConsumer;
import com.microsoft.bingads.internal.functionalinterfaces.Function;
import com.microsoft.... |
/*
* Copyright 2012-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 com.cannolicatfish.rankine.blocks.buildingmodes;
import net.minecraft.util.IStringSerializable;
public enum PolishedStonesBuildingStates implements IStringSerializable {
NORMAL("normal"),
OFFSET("offset"),
VERTICAL_OFFSET("vertical_offset");
private final String name;
PolishedStonesBuild... |
package com.example.whiskers;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void a... |
package module202packageJava0;
import java.lang.Integer;
public class Foo13 {
Integer int0;
public void foo0() {
new module202packageJava0.Foo12().foo3();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
} |
package fake.package_2;
public class Foo133 {
public void foo0(){
new Foo132().foo49();
}
public void foo1(){
foo0();
}
public void foo2(){
foo1();
}
public void foo3(){
foo2();
}
public void foo4(){
foo3();
}
public void foo5(){
foo4();
}
public void foo6(){
foo5();
}
public void foo7(){
foo6();
}
public void foo8(){
... |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* Copyright 2002-2013 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 com.sebastiank.obd2.services.pids.showcurrentdata;
import com.sebastiank.obd2.services.pids.ISingleValuePid;
import com.sebastiank.obd2.services.responses.OxygenSensorPresence;
import com.sebastiank.obd2.utils.BitHelper;
import com.sebastiank.obd2.utils.Unit;
public class OxygenSensorsPresent implements ISing... |
/*
* MIT License
*
* Copyright (c) 2017-2018 nuls.io
*
* 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, mod... |
package au.edu.uq.imb.memesuite.util;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* This utility class stores a semantic version as defined at
* <a href="http://semver.org/">http://semver.org/</a>.
*/
public class SemanticVersion implements Comparable<SemanticVersion> {
private int[] vers... |
package io.quarkus.netty.runtime;
import java.util.function.Supplier;
import org.jboss.logging.Logger;
import io.netty.channel.DefaultChannelId;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.quarkus.runtime.annotations.Recorder;
@Recorder
public class NettyRecorder... |
/*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.connector.cassandra;
import static io.debezium.connector.cassandra.CommitLogReadHandlerImpl.RowType.DELETE;
import static io.debezium.connector... |
package resize;
import utilities.ImageUtility;
import javax.swing.*;
import java.util.ArrayList;
/**
* Single threaded ImageResizer.
*
* @author Boehrsi
* @version 1.0
*/
public class ImageResizer extends BaseImageResizer {
@Override
public void resizeImageList(int calcWidth, int calcHeight, String ou... |
/*
* 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
* 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
... |
/*
* Copyright 2000-2012 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) 2013, Harald Kuhr
* 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 copyright notice, this
* list of condition... |
package net.sanmuyao.core.redis;
import java.io.File;
import java.io.FileInputStream;
import java.util.Properties;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import net.sanmuyao.core.util.ValidateUtil;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;... |
package seedu.address.logic.commands.epiggy;
import static org.junit.Assert.assertTrue;
import static seedu.address.logic.commands.CommandTestUtil.assertCommandFailure;
import static seedu.address.logic.commands.CommandTestUtil.assertCommandSuccess;
import static seedu.address.logic.commands.CommandTestUtil.showExpens... |
package com.andrognito.pinlockview;
import android.content.Context;
import android.graphics.drawable.Drawable;
import androidx.annotation.ColorRes;
import androidx.annotation.DimenRes;
import androidx.annotation.DrawableRes;
import androidx.core.content.ContextCompat;
/**
* Created by aritraroy on 10/06/16.
*/
pub... |
/**
* Copyright (C) 2015 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 or... |
/*
* Tencent is pleased to support the open source community by making QMUI_Android available.
*
* Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain ... |
/*
* 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) 2016 AT&T Intellectual Property. All rights reserved. This code is licensed under the Apache License, Version 2.0
*******************************************************************************/
package com.woorea.openst... |
package xyz.d1snin.cloud.api;
public interface User {
Storage getUserStorage();
String getUserId();
String getUserLogin();
String getUserPassword();
String getAuthenticationToken();
} |
/*
* Copyright © 2014 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... |
/*
* 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 ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2019 Marcelo Guimarães <ataxexe@backpackcloud.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... |
/*
* 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 may ... |
package com.rbkmoney.proxy.mocketbank.service.mpi.model;
import org.springframework.util.MultiValueMap;
public interface PrepareFieldsObject {
MultiValueMap<String, Object> prepareFields();
} |
/*
Copyright 2011-2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... |
module phenopacketlab.test {
requires transitive phenopacketlab.core;
requires spring.context;
requires org.mockito;
} |
/*
* Copyright (c) 2005, Joe Desbonnet, (jdesbonnet@gmail.com)
* 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 copyright
* notice... |
package com.kgc.assets.assetsservice.mapper;
import com.kgc.assets.bean.Assets;
import com.kgc.assets.bean.AssetsExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface AssetsMapper {
int countByExample(AssetsExample exampl... |
package org.apereo.cas.support.oauth.web.endpoints;
import org.apereo.cas.audit.AuditableContext;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.AuthenticationCredentialsThreadLocalBinder;
import org.apereo.cas.authentication.PreventedException;
import org.apereo.cas.authenti... |
package com.taobao.tddl.common.utils.logger.log4j;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import com.taobao.tddl.common.utils.logger.MDCAdapter;
public class Log4jMDC implements MDCAdapter {
@Override
public void put(String key, String val) {
org.apache.log4j.MDC.... |
package org.knowm.xchange.coinbase.v2.services;
import static org.assertj.core.api.Assertions.assertThat;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.knowm.xchange.Exchange;
im... |
package main;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Date;
import java.util.GregorianCalendar;
/**
* Keeps the JavaScript server from dying.
* @author Guilherme Alan Ritter M72642
*/
@SuppressWarnings({"CallToPrintStackTrace", "SleepWhileInLoop"})
public final class OfferDisable... |
/**
* Copyright 2014 Internet2
*
* 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 ... |
/*
* Copyright 2018-present HiveMQ and the HiveMQ Community
*
* 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 ... |
package cn.ragnarok.monoreader.api.base;
import com.android.volley.VolleyError;
/**
* Created by ragnarok on 14-5-23.
*/
public interface APIRequestFinishListener<T> {
public void onRequestSuccess();
public void onRequestFail(VolleyError error);
public void onGetResult(T result);
} |
// Copyright 2015-2021 Swim inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... |
package sk.globallogic.durisin.lesson.geometry;
/**
* Class for representing a parallelogram.
*/
public class Parallelogram {
public static final String name = "parallelogram";
private double a;
private double b;
private double alpha;
private double heightA;
private double heightB;
pr... |
package org.clafer.ontology;
/**
*
* @author jimmy
*/
public class Concept {
private final String name;
Concept(String name) {
this.name = name;
}
public String getName() {
return name;
}
@Override
public String toString() {
return name;
}
} |
/*
* Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package com.boilerplate;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Locale;
import java.util.stream.Stream;
public class Main {
public static void main(String[] args) {
System.out.println("Start the program");
// Recursive function are tested in... |
package ru.magazus.data.loaders.repositories.entities;
import javax.persistence.*;
@IdClass(RegistryItemsAttributesPK.class)
@Entity(name = "registry_items_attributes")
public class RegistryItemsAttributes {
@Id
@AttributeOverrides({
@AttributeOverride(name = "itemid", column = @Column(name = "it... |
package com.aptoide.models;
/**
* Created with IntelliJ IDEA.
* User: rmateus
* Date: 06-11-2013
* Time: 12:24
* To change this template use File | Settings | File Templates.
*/
public class Obb {
public String filename;
public Number filesize;
public String md5sum;
public String path;
} |
package com.sagarnileshshah.twitterclient.fragments;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.DialogFragment;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view... |
package com.dim.widget;
import android.annotation.TargetApi;
import android.content.Context;
import android.graphics.Canvas;
import android.os.Build;
import android.util.AttributeSet;
import android.view.*;
import com.dim.circletreveal.CircleRevealHelper;
import com.dim.circletreveal.CircleRevealEnable;
import com.di... |
package com.blankj.utilcode.util;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import ... |
/*
* Copyright 2017-2022 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 io.nrbtech.rxandroidble.internal.connection;
import androidx.annotation.RestrictTo;
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
class ConstantPayloadSizeLimit implements PayloadSizeLimitProvider {
private final int limit;
ConstantPayloadSizeLimit(int limit) {
this.limit = limit;
}
... |
package com.logginghub.logging.frontend.views.reports;
import com.logginghub.logging.messages.ReportDetails;
import com.logginghub.logging.messages.ReportExecuteResponse;
import com.logginghub.utils.CompareUtils;
import com.logginghub.utils.DelayedAction;
import com.logginghub.utils.HTMLBuilder2;
import com.logginghub... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2017-2018 Yegor Bugayenko
*
* 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
... |
package mage.cards.w;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.TriggeredAbilityImpl;
import mage.abilities.condition.common.SourceOnBattlefieldControlUnchangedCondition;
import mage.abilities.decorator.ConditionalContinuousEffect;
import mage.abilities.effects.Effect;
import mage.abilities.eff... |
package freerunningapps.veggietizer.view.fragment;
import android.support.annotation.NonNull;
import freerunningapps.veggietizer.R;
import freerunningapps.veggietizer.view.activity.InputActivity;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterf... |
/**
* Most of the code in the Qalingo project is copyrighted Hoteia and licensed
* under the Apache License Version 2.0 (release version 0.8.0)
* http://www.apache.org/licenses/LICENSE-2.0
*
* Copyright (c) Hoteia, 2012-2014
* http://www.hoteia.com - http://twitter.com/hoteia - contact@h... |
package com.revature.main;
import com.revature.controller.AuthenticationController;
import com.revature.controller.Controller;
import com.revature.controller.ExceptionController;
import com.revature.controller.ReimbursementController;
import io.javalin.Javalin;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
... |
/*
* 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 © 2020-2021 ForgeRock AS (obst@forgerock.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 b... |
package graphql.validation.interpolation;
import graphql.ErrorClassification;
import graphql.GraphQLError;
import graphql.GraphqlErrorBuilder;
import graphql.execution.ExecutionPath;
import graphql.schema.GraphQLDirective;
import graphql.validation.el.StandardELVariables;
import graphql.validation.rules.ValidationEnvi... |
package com.imooc.pojo;
import javax.persistence.Id;
public class Stu {
@Id
private Integer id;
private String name;
private Integer age;
/**
* @return id
*/
public Integer getId() {
return id;
}
/**
* @param id
*/
public void setId(Integer id) {
... |
package com.classicmodels.repository;
import com.classicmodels.pojo.OfficePart;
import java.math.BigDecimal;
import static jooq.generated.tables.Customer.CUSTOMER;
import static jooq.generated.tables.Employee.EMPLOYEE;
import static jooq.generated.tables.Office.OFFICE;
import static jooq.generated.tables.Orderdetail.O... |
/*
* Copyright (c) 2009-2016, United States Government, as represented by the Secretary of Health and Human Services.
* 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 ... |
/*
* Copyright 2015-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
*
* Unles... |
package com.ttt.water.mapper;
import com.ttt.water.entities.Account;
import org.apache.ibatis.annotations.Param;
public interface AccountMapper {
Account login(@Param("userName") String userName, @Param("userPwd")String userPwd);
// int updateProfile(@Param("userName") String userName,@Param("userPwd") Stri... |
package com.runescape.game.world.entity.player.achievements.easy;
import com.runescape.game.world.entity.player.Player;
import com.runescape.game.world.entity.player.achievements.AbstractAchievement;
import com.runescape.game.world.item.Item;
/**
* @author Tyluur<itstyluur@gmail.com>
* @since May 17, 2015
*/
publi... |
package com.timberliu.im.client;
import com.timberliu.im.client.console.ConsoleCommandManager;
import com.timberliu.im.client.console.LoginConsoleCommand;
import com.timberliu.im.client.handler.*;
import com.timberliu.im.codec.PacketDecoder;
import com.timberliu.im.codec.PacketEncoder;
import com.timberliu.im.codec.Sp... |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.domain.CreditResult;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.ecapiprod.credit.get response.
*
* @author auto create
* @since 1.0, 2015-04-02 16:44:25
*/
public class AlipayEcapiprodCre... |
package tengxun;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.TreeMap;
public class Per001 {
public static void main(String[] args){
Scanner in = new Scanner(System.in);
while(in.hasNext()){
int n = in.nextInt... |
/*
* Copyright 2016 Erwin Müller <erwin.mueller@deventm.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... |
package cn.stylefeng.roses.system.modular.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
* <p>
* 培训班-班级和省网课程关联表
* </p>
*
* @author Hyer
* @since 2019-11-26
*/
@TableName("tb_train_ref_prov_course")
public class TrainRefProvCourse implements Serializable {
pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.