text stringlengths 7 1.01M |
|---|
package br.com.zupacademy.valteir.casadocodigo.repositories;
import org.springframework.data.repository.CrudRepository;
import br.com.zupacademy.valteir.casadocodigo.entities.Pais;
public interface PaisRepository extends CrudRepository<Pais, Long>{
}
|
package monetdb.mapper.monitordb;
import java.util.List;
import monetdb.domain.monitordb.HistoryAI;
import monetdb.domain.monitordb.HistoryAIExample;
import org.apache.ibatis.annotations.Param;
public interface HistoryAIMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresp... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE129_Improper_Validation_of_Array_Index__Environment_array_write_no_check_74b.java
Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml
Template File: sources-sinks-74b.tmpl.java
*/
/*
* @description
* CWE: 129 Improper Validation of Array I... |
package com.example.doodle.fragments;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.ViewModelProvider;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import an... |
package com.mq.testbedconsumers.rabbit;
import java.io.IOException;
import org.springframework.amqp.rabbit.connection.CachingConnectionFactory;
import org.springframework.amqp.rabbit.connection.ConnectionFactory;
import org.springframework.amqp.rabbit.connection.RabbitConnectionFactoryBean;
import org.springframework... |
package org.apereo.cas;
import org.apereo.cas.memcached.MemcachedPooledClientConnectionFactoryTests;
import org.apereo.cas.memcached.MemcachedUtilsTests;
import org.apereo.cas.memcached.kryo.CasKryoPoolTests;
import org.apereo.cas.memcached.kryo.CasKryoTranscoderTests;
import org.apereo.cas.memcached.kryo.ZonedDateTim... |
package com.mojang.blaze3d.platform;
import com.google.common.base.Joiner;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.mojang.blaze3d.systems.RenderSystem;
import java.util.List;
import java.util.Map;
import java.util.function.Consumer;
import java.util.function.LongSuppli... |
/*
* Copyright 2002-2017 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.ac.ebi.ddi.ws.modules.dataset.model;
/**
* @author Yasset Perez-Riverol (ypriverol@gmail.com)
* @date 01/06/2015
*/
public enum Role {
SUBMITTER,
LABHEAD,
COLABORATOR,
ADMIN
}
|
/*
* Copyright 2012-2017 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 ch.bfh.bti7081.s2020.black.interfaces;
public interface SignUpInterface {
public void submit(String firstName,
String lastName,
String email,
String password,
String confirmPassword,
String ... |
/*
Copyright 2017 Stratumn SAS. 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 to... |
package com.ktz.deploy.jdbc.service.impl;
import com.ktz.deploy.jdbc.entity.dto.AbsDepartmetData;
import com.ktz.deploy.jdbc.entity.dto.Page;
import com.ktz.deploy.jdbc.entity.dto.ProvBase;
import com.ktz.deploy.jdbc.entity.dto.ProvTable;
import com.ktz.deploy.jdbc.enums.DepartTableEnum;
import com.ktz.deploy.jdbc.ser... |
package com.example.domain;
/**
* @author 小白
* @create 2021/3/22
*/
public class Goods {
private Integer id;
private String name;
private Integer amount;
private float price;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
... |
package code401challenges.linkedList;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import static junit.framework.TestCase.assertEquals;
import static org.junit.Assert.*;
//I was a little stuck on how to test for an empty list so I did some... |
package com.fintech.crypto.request;
import com.fintech.crypto.enums.Currency;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
@Getter
@Setter
public class CoinUpdateReq {
@NotBlank
... |
package pt.passarola.services.rest;
import javax.inject.Inject;
import javax.inject.Singleton;
import retrofit.RestAdapter;
/**
* Created by ruigoncalo on 22/10/15.
*/
@Singleton
public class RestApi {
public static boolean DEBUG = true;
private ApiServices apiServices;
@Inject
public RestApi() {... |
package com.itheima.takeout.utils;
import android.view.animation.AccelerateInterpolator;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.view.animation.AnimationSet;
import android.view.animation.LinearInterpolator;
import android.view.animation.RotateAnimation;
im... |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// © 2011-2021 Telenav, 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 t... |
// package com.xuegao.springboot_tool.spring.schedule;
//
// import org.apache.ibatis.annotations.Mapper;
// import org.apache.ibatis.annotations.Select;
//
// /**
// * <p> </p>
// *
// * @description :
// * @author : zhengqing
// * @date : 2019/11/4 18:33
// */
// @Mapper
// public interface CronMapper {
//
// ... |
package org.tain.kang.thomson;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.tain.kang.util... |
/*
* Copyright 2012-2016 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 2000-2004 The Apache Software Foundation.
*
* 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... |
/*
* Copyright (c) 2017, Adam <Adam@sigterm.info>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* li... |
/*
* Copyright (c) 2008-2016, GigaSpaces Technologies, 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
*
* Un... |
package zapsolutions.zap.lnd;
import io.reactivex.rxjava3.core.Single;
public interface LndWalletKitService {
Single<com.github.lightningnetwork.lnd.signrpc.KeyDescriptor> deriveNextKey(com.github.lightningnetwork.lnd.walletrpc.KeyReq request);
Single<com.github.lightningnetwork.lnd.signrpc.KeyDescriptor> d... |
package iuniversity.view;
import javafx.stage.Stage;
public interface FXView extends View {
/**
*
* @return the current stage.
*/
Stage getStage();
/**
*
* @param stage the stage to which display scenes
*/
void setStage(Stage stage);
}
|
package views.admin.question;
import static j2html.TagCreator.div;
import static org.assertj.core.api.Assertions.assertThat;
import static play.test.Helpers.stubMessagesApi;
import com.google.common.collect.ImmutableSet;
import forms.AddressQuestionForm;
import forms.DropdownQuestionForm;
import forms.EnumeratorQuest... |
package com.ruoyi.system.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.common.core.domain.entity.SysMenu;
/**
* 菜单表 数据层
*
* @author ruoyi
*/
public interface SysMenuMapper {
/**
* 查询系统菜单列表
*
* @param menu 菜单信息
* @return 菜单列表
*/
public List<SysMenu> sele... |
/*
* The MIT License
*
* Copyright (c) 2014 Red Hat, Inc.
*
* 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... |
import java.util.Scanner;
public class bitNum {
public static void main(String[] args) {
Scanner a = new Scanner(System.in);
int b = a.nextInt();
String c = Integer.toString(b);
for (int i = 0; i < c.length(); i++){
System.out.println(c.charAt(i));
}
jisu... |
package uk.dangrew.kode.textflow.model.tags;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import static org.mockito.Mockito.verify;
import java.util.function.BiConsumer;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotation... |
package com.fc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* 项目启动方法
* @author fuce
*
*/
@SpringBootApplication
@MapperScan(value = "com.fc.test.mapper")
public class SpringbootStart {... |
/*
* Copyright 2013-2019 consulo.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 required by applicable law or agreed to ... |
/*
* 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 requ... |
package com.solent.shipping_app.data.payloads.request;
import com.solent.shipping_app.data.models.Service;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
public class BookingRequest {
@NotBlank
@NotNull
private ... |
package andioopp.model.system.systems;
import andioopp.common.time.Time;
import andioopp.model.Model;
import andioopp.model.domain.tower.attack.projectiles.Projectile;
import andioopp.model.system.System;
/**
* A class that handles updating Projectiles.
*/
public class UpdateProjectileSystem implements System<Model... |
/*
* Copyright 2017, Google Inc. 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 conditions ... |
/*
* 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 de.derrop.labymod.addons.server;
/*
* Created by derrop on 29.09.2019
*/
import lombok.*;
import java.util.Map;
import java.util.UUID;
@ToString
@EqualsAndHashCode
@Getter
@Setter
@AllArgsConstructor
public class PlayerData {
private UUID uniqueId;
private String name;
private String gamemode;... |
package com.packetpublishing.tddjava.ch09;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* Created by lj1218.
* Date: 2019/11/25
*/
@SpringBootApplication
public class Application {
public static void main(String[] args) {
Sp... |
package xyz.klenkiven.kmall.gateway;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class KmallGatewayApplicationTests {
@Test
void contextLoads() {
}
}
|
/*
* 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.c2b.ethWallet.service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.c2b.ethWallet.entity.SystemCodeGroup;
import com.c2b.ethWallet.mapper.SystemCodeGroupMapper;
@Service
... |
package mage.cards.o;
import java.util.UUID;
import mage.abilities.effects.common.DrawCardTargetEffect;
import mage.abilities.keyword.RetraceAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.target.TargetPlayer;
/**
*
* @author Plopman
*/
public final ... |
package br.com.vf.pontointeligente.api.security.controllers;
import java.util.Optional;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.... |
package com.aerolitec.SMXL.ui.fragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.GridView;
import com.aerolitec... |
/*
* Minecraft Forge
* Copyright (c) 2016-2020.
*
* This library 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 version 2.1
* of the License.
*
* This library is distributed in the hope that it... |
/*
* 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... |
/*
* 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.bizzan.bitrade.controller.activity;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.Assert;
import org.springframework.validation.BindingResult;
import o... |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... |
package com.github.matiasvergaras.finalreality.model.Mastermind;
import com.github.matiasvergaras.finalreality.controller.handlers.DeathCharacterToMMHandler;
import com.github.matiasvergaras.finalreality.controller.handlers.EndTurnCharacterToMMHandler;
import com.github.matiasvergaras.finalreality.controller.handlers.... |
/*
* This software is licensed under the MIT License
* https://github.com/GStefanowich/MC-Server-Protection
*
* Copyright (c) 2019 Gregory Stefanowich
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... |
package pl.modulpierwszy_java;
import java.util.Random;
public class NumerTelefonu {
public static void main(String[] args) {
Random wylosowana = new Random();
// telefon wedlug schematu 0XXX-ZXXXXX
int two = wylosowana.nextInt(10);
int three = wylosowana.nextInt(10);
int four = wylosowana.... |
package com.admin.core.exception;
/**
* 自定义异常基类
*
* @author fei
* @date 2017/10/2
*/
public class AppException extends RuntimeException {
private static final long serialVersionUID = 2404372373182554123L;
/** 错误码 */
private int errorCode;
/** 异常信息 */
private String errorMessage;
/** 异常栈 */
private ... |
package org.robolectric.shadows;
import static org.assertj.core.api.Assertions.assertThat;
import android.database.AbstractCursor;
import android.net.Uri;
import java.util.ArrayList;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RuntimeE... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.configtest;
/**
* Just check we manage to compile something that requires configuration and
* has no dependencies to Vespa.
*/
public class Demo {
public final String greeting;
public ... |
/*
* Copyright (c) 2017 Baidu, Inc. All Rights Reserve.
*
* 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 2017-2020 original 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 applicable law or agr... |
/*
* Copyright (c) 2004, The Joust Project
* 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, thi... |
package parrot;
public interface Parrot {
double baseSpeed = 12.0;
double getSpeed();
}
|
/*
* Copyright (c) 2019 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 the License at
*
* ... |
/*
* Copyright (c) 2013, Regents of the University of California
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice... |
package com.sequenceiq.cloudbreak.converter;
import static org.mockito.BDDMockito.given;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyLong;
import static org.mockito.Mockito.when;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet... |
package org.apache.cayenne.testdo.testmap.auto;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.math.BigDecimal;
import org.apache.cayenne.exp.ExpressionFactory;
import org.apache.cayenne.exp.property.EntityProperty;
import org.apache.cayenne.exp.property.N... |
package com.natanloterio.moviedb.data.video;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
/**
* Created by natanloterio on 25/11/16.
*/
public class Video implements Serializable {
@SerializedName("id")
private String id;
@SerializedName("iso_639_1")
private Str... |
package com.josedab.interviewbit.linkedLists;
import com.josedab.interviewbit.model.ListNode;
import com.josedab.interviewbit.utils.ListNodeUtils;
/**
* Given a linked list, swap every two adjacent nodes and return its head.
For example,
Given 1->2->3->4, you should return the list as 2->1->4->3.
Your algorithm... |
package com.Geddy;
public class Main {
public static void main(String[] args) {
Program pr = new Program();
pr.runProgram();
}
}
|
package com.mapbox.api.tilequery;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.auto.value.AutoValue;
import com.google.gson.GsonBuilder;
import com.mapbox.core.MapboxService;
import com.mapbox.core.constants.Constants;
import com.mapbox.core.exceptions.ServicesException;
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE470_Unsafe_Reflection__database_03.java
Label Definition File: CWE470_Unsafe_Reflection.label.xml
Template File: sources-sink-03.tmpl.java
*/
/*
* @description
* CWE: 470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
* BadSource: data... |
package org.levainservice.service;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
public class AbstractResource {
private Gson gson;
public AbstractResource() {
gson = new GsonBuilder().setDateFormat("yyyy-MM-dd HH:mm:ss")
.create();
}
public Gson getGson() {
return gson;
}
public vo... |
package com.atguigu.gulimall.product.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.an... |
package com.appsmata.qtoa.adapters;
import android.annotation.SuppressLint;
import android.content.Context;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Build;
import android.text.Html;
import android.text.Spanned;
import android.text.Tex... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*
*/
package com.microsoft.azure.management.network.v2020_07_01.implementation;
import co... |
package org.ititandev.controller;
import java.util.List;
import org.ititandev.Application;
import org.ititandev.dao.ChatDAO;
import org.ititandev.model.Message;
import org.ititandev.model.MessageType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotatio... |
package ru.job4j.jdbc;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import java.io.File;
import java.io.IOException;
/**
... |
package org.hl7.fhir.r4.model.codesystems;
/*
Copyright (c) 2011+, HL7, Inc.
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 ab... |
package com.pertamina.tbbm.rewulu.ecodriving.listener;
public interface OnPickedDate {
public void pickedDate(int year, int month, int day);
}
|
package com.solarexsoft.solarexokhttp;
import android.text.TextUtils;
import java.net.MalformedURLException;
import java.net.URL;
/**
* <pre>
* Author: houruhou
* CreatAt: 11:28/2020-02-28
* Desc:
* </pre>
*/
public class HttpUrl {
String protocol;
String host;
String file;
int port;
... |
package com.booknara.problem.twopointers;
/**
* 283. Move Zeroes (Easy)
* https://leetcode.com/problems/move-zeroes/
*/
public class MoveZeroes {
// T:O(n), S:O(1)
public void moveZeroes(int[] nums) {
if (nums == null || nums.length == 0) return;
int l = 0, r = 0;
while (r < nums.le... |
/*
* 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.easypreference;
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 add... |
/*
* Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
/**
* Service-provider classes for the {@link java.nio.channels}
* package.
*
* <p> Only developers... |
package com.example.karan.traffikill.models;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
public class ResultData implements Parcelable {
public static final Parcelable.Creator<Re... |
/*
* Copyright 2014-2015 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 com.jayqqaa12.abase.kit.io;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import ja... |
/****************************************************************************/
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
// Copyright (C) 2014-2020 German Aerospace Center (DLR) and others.
// This program and the accompanying materials are made available under the
// terms of the Ecli... |
package com.neophoenix.proxy;
public class TargetClass {
public int someMethod(){
System.out.println("am awesome!!!");
return 2;
}
}
|
package com.rotanava.framework.module.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rotanava.framework.model.SysBehaviorLog;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface BaseLogMapper extends BaseMapper<SysBehaviorLog> {
}
|
/**
* Copyright 2013 Canada Health Infoway, 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... |
/**
* Copyright (c) 2016-2019 SWAN开源 All rights reserved.
*
* https://www.swan.io
*
* 版权所有,侵权必究!
*/
package io.swan.modules.sys.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.D... |
package com.lewin.qrcode;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.goo... |
/**
* Copyright 2011-2021 Asakusa Framework Team.
*
* 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 dsk.anotex.importer;
import dsk.anotex.core.AnnotatedDocument;
/**
* Interface for importing annotations for different documents.
*/
public interface AnnotationImporter {
/**
* Read annotations from given document file.
* @param fileName Document file name.
* @return Document annotations... |
/*
* Copyright 2016 Jose Luis Cardenas - jluis.pcardenas@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 requi... |
package ink.tomo.gulimall.product.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annot... |
package org.prevayler.socketserver.server;
/*
* prevayler.socketServer, a socket-based server (and client library)
* to help create client-server Prevayler applications
*
* Copyright (C) 2003 Advanced Systems Concepts, Inc.
*
* Written by David Orme <daveo@swtworkbench.com>
*
* This library is free software;... |
package neqsim.util.database;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
/**
* <p>
* NeqSimExperimentDatabase class.
* </p>
*
* @... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.