text stringlengths 10 2.72M |
|---|
package Algo;
import Modeles.Trajet;
public interface TSP {
/**
* @return true si chercheSolution() s'est terminee parce que la limite de temps avait ete atteinte, avant d'avoir pu explorer tout l'espace de recherche,
*/
public Boolean getTempsLimiteAtteint();
/**
* Cherche un circuit de ... |
/**
* Created by gregorgololicic on 05/10/14.
*/
public interface HtmlTextParser
{
String parseHtml(String html);
}
|
package com.pwq.sort;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* @Author:WenqiangPu
* @Description
* @Date:Created in 20:14 2017/8/2
* @Modified By:
*/
public class ComparableTest {
public static void main(String[] args) {
User user1 = new User();
u... |
package org.valdi.entities.disguise;
import java.util.Locale;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import de.robingrether.util.ObjectUtil;
/**
* Represents a disguise as a horse.
*
* @since 3.0.1
* @author RobinGrether
*/
public class HorseDisguise extends AgeableD... |
package com.example.afinally;
import androidx.appcompat.app.AppCompatActivity;
import android.content.pm.ActivityInfo;
import android.graphics.Color;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
impor... |
/*
* Copyright 2010 Focus Technology, Co., Ltd. All rights reserved.
*/
package cn.auto.core.utils;
import com.lowagie.text.DocumentException;
import com.lowagie.text.pdf.BaseFont;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.xhtmlrenderer.pdf.ITextFontResolver;
im... |
package com.lesports.albatross.json;
import com.google.gson.FieldNamingStrategy;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.annotations.SerializedName;
import java.lang.reflect.Field;
import java.lang.reflect.Type;
/**
* Created by andye
* Thor Project
* Updated by jia... |
package servlet;
import dao.StudentDao;
import model.Student;
import util.Dbutil;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import jav... |
import java.lang.reflect.Array;
import java.util.ArrayList;
public class Factory {
private World world;
private FieldOfView fov;
public Factory(World world, FieldOfView fov){
this.world = world;
this.fov = fov;
}
public Creature newBat(){
Creature bat = new Crea... |
package com.ros.employees.repositories;
import org.springframework.data.repository.CrudRepository;
import com.ros.employees.entities.Employee;
public interface EmployeeJPADAO extends CrudRepository<Employee, Integer>{
}
|
package cn.vector.repository;
import cn.vector.domain.Employee;
import org.springframework.data.jpa.repository.JpaRepository;
/**
* @Author : Huang Vector ( hgw )
* @Date : 2018-6-4 15:29
*/
public interface EmployeeJpaRepository extends JpaRepository<Employee, Integer>{
}
|
package com.xi.dateDemo;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
/**
* Created by Administrator on 2016/3/15.
*/
public class GetLastDate {
public static void main(String[] args) {
Calendar c=Calendar.getInstance();
c.add(Calendar.DATE,-1);
... |
package jdbcprograms;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Scanner;
public class JdbcSearch {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
System.out.p... |
package com.exam.logic.actions.friends;
import com.exam.logic.Action;
import com.exam.logic.services.PhotoService;
import com.exam.logic.services.UserService;
import com.exam.models.Photo;
import com.exam.models.User;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ... |
package com.example.kyle.myapplication.Screens.CreateEdit;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
i... |
package com.zs.common;
import android.content.Context;
import android.content.res.AssetFileDescriptor;
import android.content.res.AssetManager;
import android.media.AudioAttributes;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.os.Build;
import com.huaiye.sdk.logger.Logger;
impor... |
//meaningless problem
//imposible to achieve without extra space
//only thing learn from this is: how to reverse a Integer
public class Solution {
public boolean isPalindrome(int x) {
int sum = 0,target = x;
while (x > 0) {
int temp = x % 10;
x /= 10;
sum = sum * ... |
package quiz.runner.ainchwar;
import java.util.List;
import quiz.model.QuizDataProvider;
import quiz.model.Team;
public class QuizRunner {
private QuizRunner() {
}
public static void main(String[] args) {
List<Team> teams = QuizDataProvider.getTeams();
System.out.println(teams);
}
}
|
/*
* Created on 2005-6-7
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.aof.webapp.action.prm.payment;
import java.io.FileInputStream;
import java.sql.SQLException;
import java.text.DateFormat;
import java.text.NumberFormat;... |
package mygame.control;
import com.jme3.collision.CollisionResult;
import com.jme3.collision.CollisionResults;
import template.*;
import com.jme3.export.JmeExporter;
import com.jme3.export.JmeImporter;
import com.jme3.export.Savable;
import com.jme3.math.Ray;
import com.jme3.math.Vector3f;
import com.jme3.renderer.Ren... |
import java.sql.*;
import java.util.*;
public class Table {
/** Global Variables for the class */
private String name;
private HashMap<String, Column> columns = new HashMap<>();
private boolean hasForeign = false;
private ArrayList<String> refs = new ArrayList<>();;
private DatabaseM... |
package com.nisira.core.dao;
import com.nisira.core.entity.*;
import java.util.List;
import android.database.sqlite.SQLiteDatabase;
import com.nisira.core.database.DataBaseClass;
import android.content.ContentValues;
import android.database.Cursor;
import com.nisira.core.util.ClaveMovil;
import java.util.ArrayList;
im... |
package com.t.core.cluster;
import com.alibaba.fastjson.JSON;
import com.t.core.domain.Job;
import com.t.core.registry.NodeRegistryUtils;
import lombok.Getter;
import lombok.Setter;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/**
* @author tb
* @date 2018/12/17 14:25
*/
@Getter
@S... |
/* Test 40:
*
* Il test controlla l' accesso a dati locali e campi di classi, siano essi
* statici che non.
*/
package gimnasium;
class s3 {
int k;
protected static float j;
private static float z;
void pippo() { }
}
class s2 extends s4 {
int c;
static float d;
s3 p;
void pluto()
{
i... |
package annotation;
public class PasswordUtils {
@UserCase(id=1, description="password must contains one number!")
public boolean validate(String password){
return password.matches("\\w*\\D\\w*");
}
@UserCase(id=2)
public String encryptPwd(String password){
return new StringBuilde... |
package nobile.riccardo.commercialista;
public class Commercialista {
private Cliente[] clienti;
public Commercialista() {
}
public Commercialista(Cliente[] clienti) {
this.clienti = clienti;
}
public int totaleIncasso() {
int incasso = 0;
for(Cliente c:clienti) {
if(c instanceof Calcola... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package diseño;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import... |
package com.example.jwtdemo2.services;
import com.example.jwtdemo2.models.MovieRating;
import com.example.jwtdemo2.models.TvRating;
import com.example.jwtdemo2.repository.TvRatingRepository;
import com.example.jwtdemo2.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org... |
package global.model;
public class Office {
private String o_id;
private String d_id;
private String o_name;
public Office(String o_id, String d_id, String o_name) {
super();
this.o_id = o_id;
this.d_id = d_id;
this.o_name = o_name;
}
public Office() {
// TODO Auto-generated constructor stub
}
pub... |
package com.codingbeer.hadoop.inverted.index;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.li... |
package uniandes.algorithms.coinchange;
/**
* Clase que modela VORAZ: DIVISION
* @author David Hernandez y Leidy Romero
*/
public class CoinChangeGreedy implements CoinChangeAlgorithm{
private int[] monedas;
public int[] calculateOptimalChange(int totalValue, int[] denominations) {
monedas = new int[denominatio... |
/*
Copyright 2015 Alfio Zappala
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... |
/**
*
*/
/**
* @author 501pc00
*
*/
package com.biz.word;
|
package edu.cricket.api.cricketscores.rest.source.model;
public class OutDetails {
private String shortText;
public String getShortText() {
return shortText;
}
public void setShortText(String shortText) {
this.shortText = shortText;
}
}
|
package com.gsccs.sme.solr.service;
/**
* 查询参数
* @author x.d zhang
*
*/
public class QueryResult {
private String siteId;
private String keyword;
private String cateId;
private Integer minPrice;
private Integer maxPrice;
public String getSiteId() {
return siteId;
}
public void setSiteId(String sit... |
package main.java.constant;
import main.java.main.Vector2;
public final class Constants
{
// Resources
public static final String styleSheetLocation = "main/resources/stylesheets/";
public static final String localizationLocation = "main/resources/localization/";
public static final String jsonOrderDirectory = "J... |
package com.sise.internsystem.entity;
import java.util.Date;
public class Trainpath {
private long id;
private Date date;
private String times;
private String endtime;
private String train;
private String fromplace;
private String toplace;
public long getId() {
return id;
}
public void setI... |
package coffee.bean2;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.sql.DataSource;
public... |
package testniki;
import org.testng.annotations.Test;
public class TC28_VerifyCarRepair extends TestNiki{
//Testcase28-->To verify the Car Repair from Repairs under Local search.
@Test
public void testCase28_localSearch() throws InterruptedException
{
try{
driver.findElementByClassName("androi... |
package com.weather.love.db;
import org.litepal.crud.DataSupport;
/**
* Created by Administrator on 2017/6/23.
*/
public class Family extends DataSupport {
public String Name;
public String Province;
public String City;
public String County;
public int WeatherId;
public int PhoneNumber;
... |
package fr.franck;
import java.util.Arrays;
import java.util.List;
public class CodeCracker {
public static void main(String[] args) {
}
public static String[] crackingWord(String word) {
String[] alphabet = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "... |
package tcss450.uw.edu.huskylist;
import junit.framework.TestCase;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import tcss450.uw.edu.huskylist.model.ItemContent;
/**
* this class is to test JUnit test to ItemContent class in our model
*/
public class ItemContentTest extends TestC... |
package com.badawy.carservice.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
imp... |
package com.example.naleirbag.login;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.... |
/**
* Created with IntelliJ IDEA.
* User: dogeyes
* Date: 13-1-11
* Time: 上午9:52
* To change this template use File | Settings | File Templates.
*/
public class TestRandomBits {
public static void main(String[] args)
{
BinaryOut out = new BinaryOut("random.txt");
int num = StdIn.readInt();... |
package com.zjf.myself.codebase.activity.UILibrary;
import android.os.Bundle;
import com.zjf.myself.codebase.R;
import com.zjf.myself.codebase.activity.BaseAct;
/**
* Created by Administrator on 2017/3/23.
*/
public class NowHwWeatherAct extends BaseAct{
@Override
protected void onCreate(Bundle save... |
package Problem_1517;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
static int N;
static long[] arr;
static long[] brr;
public static void main(String[] args) throws IOException {
BufferedReader br =... |
package io.github.selchapp.api.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuild... |
package com.jd.myadapterlib.dinterface;
import com.jd.myadapterlib.delegate.RecyViewHolder;
public interface DOnItemConvertListener<T> {
/**
* @param viewHolder recyclerview viewholder
* @param item Object data type
* @param position click position
*/
void itemConvert(RecyViewHolder viewHo... |
package asylumdev.adgresources.item;
import asylumdev.adgresources.ADGResources;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.relau... |
package com.zhongyp.concurrency.thread;
import java.io.*;
public class ThreadState {
public static void main(String[] args) {
// new Thread(new TimeWaiting(), "TimeWaitingThread").start();
// new Thread(new Waiting(),"Waiting").start();
// new Thread(new Blocked(),"BlockedThread-1").start();... |
package us.spring.dayary.controller;
import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import us.spring.dayary.common.exception.DayaryException;
impo... |
package by.client.android.railwayapp;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import by.client.android.railwayapp.ui.page.scoreboard.ScoreboardActivityFragment;
/**
* Кланвая странциа приложения
*
* @author ROMAN PANTELEEV
*/
public class MainActiv... |
package game;
import java.util.Arrays;
public class Piece {
private int color;
private int[][] data = new int[4][4];
private int ID;
private int x = 0;
private int y = 0;
private int length;
private int width;
public Piece(int color, int[][] data, int ID, int width, int length) {
this.color = color;
for... |
/*
* Welcome to use the TableGo Tools.
*
* http://vipbooks.iteye.com
* http://blog.csdn.net/vipbooks
* http://www.cnblogs.com/vipbooks
*
* Author:bianj
* Email:edinsker@163.com
* Version:5.8.0
*/
package com.lenovohit.hwe.org.model;
import javax.persistence.Column;
import javax.persistence.DiscriminatorCo... |
package com.corycharlton.bittrexapi.model;
import com.google.gson.annotations.SerializedName;
@SuppressWarnings("unused")
public class Balance {
@SerializedName("Available") private double _available;
@SerializedName("Balance") private double _total;
@SerializedName("CryptoAddress") private String _crypt... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jearl.ftp.sftp;
import com.jcraft.jsch.*;
import java.io.*;
import java.util.List;
import org.jearl.ftp.FtpConnector;
import org.jearl.ftp.exception.FileAlreadyExistsException;
import org.jearl.ftp.exception... |
package org.keycloak.authentication;
import org.jboss.resteasy.spi.HttpRequest;
import org.keycloak.ClientConnection;
import org.keycloak.events.EventBuilder;
import org.keycloak.models.ClientSessionModel;
import org.keycloak.models.KeycloakSession;
import org.keycloak.models.RealmModel;
import org.keycloak.models.Use... |
package edu.upenn.cis350.androidapp;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import edu.upenn.cis350.androidapp.DataInteraction.Processing.UserProcessing.*;
public... |
package au.gov.nsw.records.digitalarchive.struts.action;
import gov.loc.repository.pairtree.Pairtree;
import java.io.File;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import or... |
package designPatternCreational.observer;
/**
* Created by RENT on 2017-03-27.
*/
public class ObservatorMain {
public static void main(String[] args) {
Customer customer1 = new Customer("Adam Kowalski");
Customer customer2 = new Customer("Piotr Adamksi");
Shop shop = new Shop();
... |
package app.prueba.caso_android.dropbox;
import android.app.Activity;
import android.util.Log;
import app.prueba.caso_android.util.Constants;
public class DBoxConnectionFactory {
private static IDBoxConnection conn=null;
/**
* Metodo en el que llamamos a la interfaz de dropbox y la inicia... |
package com.imagsky.v81j.domain;
import java.util.ArrayList;
import java.util.List;
import java.util.TreeMap;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.JoinColumn;
import javax.p... |
package com.company.dao;
import com.company.entities.Client;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public interface IClientDao {
void saveClient(Client client);
List<Client> getListOfClients() throws IOException;
void update(Client client) throws Exception;
}... |
package com.alibaba.druid.bvt.proxy;
import java.sql.Connection;
import java.sql.DriverManager;
import java.util.Map;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.proxy.jdbc.JdbcParameter;
import com.alibaba.druid.proxy.jdbc.PreparedStatementProxy;
import com.alibaba.druid.util... |
package com.example.storage;
import com.example.model.Resume;
import java.util.ArrayList;
import java.util.List;
public class ListStorage extends AbstractStorage {
private static ArrayList<Resume> storage = new ArrayList<>();
@Override
protected void doSave(Resume r, Object key) {
storage.add(r)... |
package cn.bakon.connector;
import static org.junit.Assert.*;
import org.junit.Test;
import cn.bakon.connector.Response.AlarmQuery;
import cn.bakon.connector.Response.AlarmSetting;
import cn.bakon.connector.Response.AlarmSwitch;
import cn.bakon.connector.Response.GroundLevelQuery;
import cn.bakon.connector.Response.... |
import java.util.*;
class shaurya {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
System.out.println("Enter the number of terms you want to print");
int n = sc.nextInt();
int x, f;
for (x = 1; x <= n; x++) {
f = (x * x * x) + (x * ... |
package com.raildeliveryservices.burnrubber.tasks;
import android.content.ContentValues;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.net.Uri;
import android.os.AsyncTask;
import android.util.Log;
import com.raildeliveryservices.burnrubber.Co... |
package com.atlassian.theplugin.jira.model;
import com.atlassian.connector.cfg.ProjectCfgManager;
import com.atlassian.connector.commons.jira.beans.JIRAProject;
import com.atlassian.connector.commons.jira.beans.JIRASavedFilter;
import com.atlassian.theplugin.commons.cfg.ServerId;
import com.atlassian.theplugin.commons... |
package _11_stack_queue.convert_binary;
import java.util.Scanner;
import java.util.Stack;
public class ConvertBinary {
public String convertNumber(int decimal, int radix) {
Stack<Integer> stack = new Stack<>();
while (decimal != 0) {
stack.push(decimal % radix);
decimal = ... |
package br.com.ecommerceabc.aplicacao;
import br.com.ecommerceabc.modelo.Pessoa;
import br.com.ecommerceabc.modelo.Endereco;
public class TesteCliente {
public static void main(String[] args) {
Pessoa cliente = new Pessoa();
cliente.setId(1);
cliente.setNome("Xpto");
cliente.setEmail("xpto@gama.com.br");... |
package com.wm.intro.type;
public enum IndicatorTwoType {
NONE, COLOR, SCALE, WORM, SLIDE, FILL, THIN_WORM, DROP, SWAP, SCALE_DOWN;
public static IndicatorTwoType getType(String type) {
switch (type) {
case "COLOR":
return COLOR;
case "SCALE":
re... |
package com.sunny.jmh.serializertest.bean;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* <Description> <br>
*
* @author Sunny<br>
* @version 1.0<br>
* @taskId: <br>
* @createDate 2018/12/05 0:30 <br>
* @see com.sunny.jmh.serializertest.bean <br>
*/
@Data
@NoArgsConstr... |
package styleomega.cb006456.styleomega;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ListView;
import java.util.ArrayList;
import styleomega.cb006456.styleomega.Adapters.CartListAdapt... |
package com.mabang.android.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;
import android.wid... |
package co.company.spring.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import co.company.spring.dao.Emp;
import co.company.spring.dao.EmpM... |
package model;
import static org.junit.Assert.*;
import java.awt.Image;
import javax.swing.ImageIcon;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
/**
* Test class of the class Character
* @author Pline
*
*/
... |
/**
This class loads the logging configuration from the xml defined in
src/main/resources and uses the same configuration generated through
programmatic configuration as defined in simple-configuration example.
**/
package com.baeldung.logging.log4j2.xmlconfiguration;
import org.apache.logging.log4j.LogMana... |
package com.company.exercise;
import java.io.*;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) throws FileNotFoundException {
readingFile();
printData();
}
public static ArrayList<String> dataFromReading = new ArrayList<>();
public static Array... |
package cn.hrbcu.com.servlet.adminServlet;
import cn.hrbcu.com.entity.Books;
import cn.hrbcu.com.entity.Institution;
import cn.hrbcu.com.service.AdminService;
import cn.hrbcu.com.service.BooksService;
import cn.hrbcu.com.service.impl.AdminServiceImpl;
import cn.hrbcu.com.service.impl.BooksServiceImpl;
import o... |
package com.example.caxidy.agendacontactos;
import java.io.Serializable;
public class Telefono implements Serializable {
int idTel, idContacto;
String telefono;
public Telefono(){
idTel=0;
idContacto=0;
telefono="";
}
public Telefono(int id, String tel, int idC){
... |
package com.lirong.nacosconsumer.controller;
import com.lirong.nacosconsumer.feign.ProviderFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class Hi... |
package com.example.lycutter.handlertest;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
public class InUIThread ... |
/**
* Copyright (C) 2014-2017 Philip Helger (www.helger.com)
* philip[at]helger[dot]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/LICE... |
/*
Copyright (C) 2013-2014, Securifera, 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 and... |
/*
* Copyright Verizon Media, Licensed under the terms of the Apache License, Version 2.0. See LICENSE file in project root for terms.
*/
package com.yahoo.cubed.model.filter;
import org.testng.Assert;
import org.testng.annotations.Test;
import java.util.ArrayList;
/**
* Test for PipelineLogicalRule.
*/
public ... |
package cn.auto.core.utils.vm;///*
// * Copyright 2010 Focus Technology, Co., Ltd. All rights reserved.
// */
//package cn.auto.core.utils.vm;
//
//import org.apache.commons.lang3.StringUtils;
//import org.apache.commons.logging.Log;
//import org.apache.commons.logging.LogFactory;
//import org.apache.velocity.app.Veloc... |
package lka.wine.dao;
public class Location extends AbstractDao {
private int locationId;
private String locationName;
private String locationCity;
private String locationState;
private int locationTypeId;
private LocationType locationType;
public int getLocationId() {
return locationId;
}
public void set... |
/*
* Copyright 2015 Zbynek Vyskovsky mailto:kvr000@gmail.com http://kvr.znj.cz/ http://github.com/kvr000/
*
* 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... |
/*
* (C) Mississippi State University 2009
*
* The WebTOP employs two licenses for its source code, based on the intended use. The core license for WebTOP applications is
* a Creative Commons GNU General Public License as described in http://*creativecommons.org/licenses/GPL/2.0/. WebTOP libraries
* and wapplets are ... |
package com.joalib.controller;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.joalib.DAO.DAO;
import com.joali... |
package com.unicom.patrolDoor.entity;
public class VoteLog {
private Integer id;
private Integer voteId;
private Integer userId;
private String opt;
private String voteTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
... |
package com.yc.education.mapper.check;
import com.yc.education.model.check.Timecard;
import com.yc.education.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*@Description TODO 原始考勤资料
*@Author QuZhangJing
*@Date 11:43 2019/2/18
*@Version 1.0
*/
public interface TimecardMapp... |
package juego;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextField;
import java.awt.Color;
import java.awt.EventQueue;
import ... |
package tests;
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import config.Setup;
import pageObjects.AutomationPracticeHomePage;
import pageObjects.CreateAccountPage;
import... |
package au.gov.nsw.records.digitalarchive.ORM;
import java.util.Date;
public class Agencies implements java.io.Serializable {
private Integer agencyNumber;
private String agencyTitle;
private String startDateQualifier;
private Date startDate;
private String endDateQualifier;
private Date endDate;
... |
package liu.lang.reflect.Method;
import java.lang.reflect.Method;
/**Method类的常用方法:
* toString()
* 返回该方法对象的字符串表示形式,会擦除泛型
* @author LIU
*
*/
public class About_toString {
public <T, V> void test() {}
public static void main(String[] args) throws Exception {
Method method = About_toStrin... |
package com.wangzhu.tmp;
import java.util.List;
/**
* Created by wang.zhu on 2020-09-29 10:57.
**/
public class SynchronizedTest {
public synchronized void method1() throws Exception {
System.out.println("method1 start");
Thread.sleep(1000);
System.out.println("method1 end");
}
... |
package com.san.emergency;
import org.springframework.stereotype.Service;
@Service
public class EmergencyService {
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.