text stringlengths 10 2.72M |
|---|
package com.example.administrator.demo_wallpaper_android.async_system;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.Toast;
import com.example.administrator.demo_wallpaper_android.interfacesystem.General_Interface;
... |
//найти индексы первого максимального числа в массиве дано n строк, m целых чисел в строке и сами числа(не больше 100).
package Array;
import java.util.Scanner;
public class array_12 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
... |
package com.chaiyining.start;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.chaiyining.service.MathService;
public class ConsumerStart {
public static void main(String[] args) {
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath:Appli... |
package com.cs.messaging.sftp;
import com.google.common.base.Objects;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.io.Serializable;
import java.util.Date;
/**
* @author Joakim Gottzén
*/
public class PlayerActivity implements Serializable {
private static final long serialVer... |
package com.example.kuno.sdcardex;
import android.os.Bundle;
import android.os.Environment;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
import android.widget.Toast;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
p... |
package net.gupt.ebuy.service;
import java.util.List;
import net.gupt.ebuy.dao.MessageDao;
import net.gupt.ebuy.dao.MessageDaoImpl;
import net.gupt.ebuy.pojo.Idea;
/**
* 意见反馈模块业务接口实现类
* @author glf
*
*/
public class MessageServiceImpl implements MessageService{
private MessageDao messageDao = new MessageDaoImpl(... |
package huadi.com.Route;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import android.R.integer;
import android.content.Context;
import android.os.AsyncTask;
import android.util.L... |
package ru.parse.dump.vind;
import ru.parse.dump.objects.DumpClass;
import java.util.HashMap;
import java.util.Map;
public class DumpClassCacheRegion {
private static final int CAPACITY = 100000;
private Map<Long, DumpClass> cached = new HashMap<>(CAPACITY);
public void put(DumpClass aClass) {
c... |
package com.yc.cinema.service.impl;
import static org.junit.Assert.*;
import java.util.List;
import org.apache.logging.log4j.LogManager;
import org.junit.Test;
import com.yc.cinema.entity.FilmType;
import com.yc.cinema.service.TypeService;
public class TypeServiceImplTest {
TypeService service = new TypeServiceI... |
package com.sinodynamic.hkgta.scheduler.job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.contex... |
package exercicios.desafios.uri;
import java.util.Scanner;
public class TiposTriangulo {
public static void main(String[] args) {
// Area de declaração de variaveis
double A, B, C;
double aux, a2, bc;
Scanner sc = new Scanner(System.in);
System.out.println("di... |
package se.kth.kthfsdashboard.log;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
/**
*
* @author x
*/
@ManagedBean(name = "logController")
@RequestScoped
public class LogController {
@EJB
private LogEJB ... |
package com.xander.minitasker;
import android.os.AsyncTask;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
/**
* 执行耗时任务后,回调到 UI 线程
* Created by xander on 2018/4/11.
*/
public abstract class UiTasker<R> {
/**
* 回调消息
*/
private static final int MESSAGE_POST_RESULT = 100;
... |
package com.seu.common.annotation;
import java.lang.annotation.*;
/**
* @author ethan
* @date 2018/12/27
*/
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TokenToUser {
/**
* 当前用户在request中的名字
* @return
*/
String value() default "user";
}
|
package user.com.commons;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import user.com.foodexuserui.Breakfast;
import user.com.foodexuserui.Dinner;
import user.com.foodexuserui.Lunch;
public class TabPagerAdapter exten... |
package com.mao.springweb.fileTest;
import org.apache.commons.io.FileUtils;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import org.sp... |
package com.zc.base.sys.modules.user.controller;
import com.google.gson.Gson;
import com.zc.base.common.bo.Node;
import com.zc.base.common.controller.SdBaseController;
import com.zc.base.common.exception.SdExceptionFactory;
import com.zc.base.orm.mybatis.paging.JqueryStylePaging;
import com.zc.base.orm.mybatis.... |
package com.jpeng.demo.delete;
import com.jpeng.demo.notes.Learn;
/**
* Created by 王将 on 2018/6/12.
*/
public class LearnDelete {
private int position;
private Learn learn;
public void setPosition(int position) {
this.position = position;
}
public void setLearn(Learn learn) {
... |
package uz.otash.shop.components;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
import uz.otash.shop.entity.*;
import uz.otash.shop.entity.enum... |
package se.rtz.mltool.commnads;
import java.io.IOException;
import java.io.PrintStream;
import org.dom4j.Document;
import org.dom4j.io.OutputFormat;
import org.dom4j.io.XMLWriter;
import se.rtz.mltool.args.XmlInputExtractor;
import se.rtz.tool.arg.Param;
import se.rtz.tool.arg.freetextoutput.FreeTextPrintStreamExtra... |
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@RunWith(Suite.class)
@SuiteClasses({
AddressBookTest.class,
BuddyInfoTest.class,
})
public class AllTests {
}
|
public class CD {
String artista;
double preco;
String nome;
int qtd;
public CD(String n, double p, String a, int q) {
nome = n;
preco = p;
artista = a;
qtd = q;
}
public double compraCD(double qtd) {
double valCompra = (this.preco * qtd);
return valCompra;
}
}
|
package net.rationalminds.es;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Annotation for environment switching. Use this annotation over methods which you want to ... |
package com.qualcomm.QCARSamples.FrameMarkers.util;
import java.io.IOException;
import java.net.URL;
import java.net.URLConnection;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import android.util.Log;
public class PositionSendUtil {
public static String TARGET_URL ... |
package tryprojects;
public class Student {
private String firstName, lastName, rollId;
public Student(String firstName, String lastName, String rollId) {
this.firstName = firstName;
this.lastName = lastName;
this.rollId = rollId;
}
@Override
public String toString() {
... |
/**
* This class is generated by jOOQ
*/
package schema.tables;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.... |
package models;
import java.sql.Date;
public class ItemTransaction {
private int transactionId;
private int itemId;
private String itemName;
private String itemDescription;
private int price;
private Date boughtDate;
private Date useDate;
private boolean isAvailable;
private boolea... |
package com.capstone.videoeffect;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.ProgressBar;
import android.widget.Toast;
import com.google.android.gms.tasks.OnFail... |
package cn.mldn.eusplatform.dao;
import java.sql.SQLException;
import java.util.Set;
import cn.mldn.eusplatform.vo.Action;
import cn.mldn.util.dao.IBaseDAO;
public interface IActionDAO extends IBaseDAO<Long, Action> {
/**
* 根据部门编号查询所有对应的权限
* @param did 部门编号
* @return 权限编号集合
* @throws SQLExcepti... |
package co.aca.model;
import org.hibernate.annotations.CreationTimestamp;
import javax.persistence.*;
import java.util.Date;
@Entity
@Table(name = "register")
public class Register {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id")
private int registrationId;
@Column(nam... |
package plugins.fmp.fmpTools;
public enum EnumStatusComputation {
START_COMPUTATION, STOP_COMPUTATION
}
|
package remote;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface IAdminMode extends Remote, IUser {
/**
* prints out the steps of the pricing curve
* @throws RemoteException
*/
public String getPricingCurve() throws RemoteException;
/**
* inserts a new or updates an existing p... |
/*
* Copyright 2002-2023 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... |
/*
* Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.unicore.samlidp.preferences;
import java.util.Collection;
import java.util.Set;
import eu.emi.security.authn.x509.impl.X500NameUtils;
import pl.edu.icm.unity.saml.id... |
package ru.hse.servers;
import ru.hse.servers.protocol.message.Message;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
import java.util.*;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.CountDownLatch;
i... |
package ak.minigunquest.util;
/**
* Created by Aleksander on 20/03/2015.
*/
public class References {
public static String gameName = "I'M LOST FOR WORDS";
}
|
package org.giddap.dreamfactory.leetcode.onlinejudge.implementations;
import org.giddap.dreamfactory.leetcode.onlinejudge.LongestPalindromicSubstring;
public class LongestPalindromicSubstringImpl implements LongestPalindromicSubstring {
@Override
public String longestPalindrome(String s) {
String lps ... |
package com.jfronny.raut.modules;
import com.jfronny.raut.api.BaseModule;
import com.jfronny.raut.api.DepRegistry;
import com.jfronny.raut.api.GenericPlant;
import com.jfronny.raut.items.Crystal;
import io.github.cottonmc.cotton.datapack.recipe.RecipeUtil;
import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRender... |
package com.beike.dao.film.impl;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.jdbc.core.named... |
package wifi;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
/**
* This class acts as a thin layer between the GUI client code and the Java-based
* 802.11~ layer. (There's a similar layer that mediates between the Java GUI code
* and a C++ ... |
package a_Zadanie_3;
import java.util.InputMismatchException;
import java.util.Scanner;
public class Main3 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
guess(scan);
scan.close();
}
static void guess(Scanner scan) {
int min = 0, max = 1000;
int tries = 0;
whil... |
/*
* 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 com.tfar.beans;
/**
*
* @author hatem
*/
import com.tfar.entity.Cousin;
import com.tfar.entity.Cytogenetique;
import com.t... |
package common.bean;
import java.util.List;
public class ImportResult {
/**
* Ma tra ve
*/
// Khong co loi
public static final int NO_ERROR = 0;
public static final int DATA_CONTENT_ERROR = 3; // Du lieu co loi
public static final int FIRST_DATA_ROW_ERROR = 1; // So dong cua file nho hon dong bat dau
pub... |
package com.deity.design.observer;
/**
* 2017年2月6日23:29:47
* 观察者接口,也可以做成抽象的,如果有众多的观察者则可以implement或者extend该接口或抽象类
* Created by Deity on 2017/1/10.
*/
public interface IObserver {
/**
* 当主题发生新的变动时,可调用该方法通知观察者更新信息
* @param somethingNews 从主题接收到的更新信息
*/
void update(String somethingNews);
}
|
import java.util.ArrayList;
public abstract class Game {
Chessboard chessboard;
int times;
ArrayList<Grid> place;
ArrayList<Grid> reverse;
Printer printer;
private long start;
private long end;
public abstract void start();
public int getTotalTime(){
return (int)(end - sta... |
package com.selfspring.gimi.cc.after;
/**
* Created by ckyang on 2019/12/12.
*/
public class PersonRF {
private String name;
private PhoneNumber phoneNumber;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String ge... |
package com.coolweather.android.gson;
public class Weather {
}
|
package Composition;
public class BasicAccount {
CableTV ac;
public BasicAccount(CableTV account, String nome) {
this.ac = account;
this.setNome(nome);
}
public void setNome(String nome) {
ac.setNome(nome);
}
public String getNome() {
return ac.getNome();
}
public void calculatePackage(double... |
package com.example.herokuproject.services;
import com.example.herokuproject.entities.Persona;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.util.List;
public interface PersonaService extends BaseService<Persona, Long>{
//Metodo que se va a encargar de... |
package com.example.demo;
public class Customer {
private String customer;
public Customer(){
this.customer = "customer-define";
}
public String getLead() {
return customer;
}
}
|
package com.spacePhoto.controller;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Date;
import java.util.LinkedList;
import java.util.Queue;
import javax.servlet.RequestDispatcher;
import javax.servlet.... |
public class Student_Runner_Boxcar {
public static void main(String[] args)
{
// Testing various required behaviors of the Boxcar constructor
System.out.println("Testing Boxcar constructors:");
Boxcar car1 = new Boxcar();
System.out.println("Printing Boxcar():\n" + car1 + "\n");... |
public class character {
private int pointX;
private int pointY;
public MoveLeft(){
pointX--;
}
public MoveRight(){
pointX++;
}
public MoveUp(){
pointY--;
}
public MoveDown(){
pointY++;
}
public int[] GetLocation(){
return { pointX... |
package com.springboot.racemanage.service.serviceImpl;
import com.springboot.racemanage.service.RaceinfoService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.springboot.racemanage.po.Raceinfo;
import com.springboot.racemanage.dao.RaceinfoDao;
import... |
package project;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
public class ProjectDAO {
//일련번호로 메세지 가져오기
static Massage selectMassag... |
package ru.job4j.addresslist;
import org.junit.Test;
import ru.job4j.addresslist.Address;
import ru.job4j.addresslist.Profile;
import ru.job4j.addresslist.Profiles;
import java.util.List;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
public class ProfileTest {
@Test
pub... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package josteo.infrastructure.repositories.Pazienti;
import josteo.model.paziente.*;
import josteo.infrastructure.EntityFactoryFramework.*;
import josteo.infrastructure.DomainBase.*;
import java.sql.ResultSet;
/**
*
... |
package test.oops.converter;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class CurrencyConverter {
public static void main(String[] args) {
List<Money> currency= new ArrayList<Money>();
Scanner sc= new Scanner(System.in);
System.out.println("Enter the amount ... |
package com.min.edu.model;
import java.util.List;
import java.util.Map;
import com.min.edu.dto.MemberDTO;
public interface MemberIDao {
//회원가입
public boolean signUpMember(MemberDTO dto);
//아이디 중복체크 0이면 true로 처리
public int idDuplicateCheck(String id);
//아이디, 패스워드 맵에 담아서 로그인
public MemberDTO loginMember(M... |
package com.edasaki.rpg.spells.assassin;
import org.bukkit.entity.Player;
import com.edasaki.core.utils.RParticles;
import com.edasaki.rpg.PlayerDataRPG;
import com.edasaki.rpg.spells.Spell;
import com.edasaki.rpg.spells.SpellEffect;
import de.slikey.effectlib.util.ParticleEffect;
public class DoubleStab extends Sp... |
// Kadane's algo
// https://en.wikipedia.org/wiki/Maximum_subarray_problem
public class Solution {
public int maxSubArray(int[] nums) {
int lmax=nums[0], gmax=nums[0];
for(int i=1; i<nums.length; i++) {
// The main question that Kadane's algo cleverly addressed is how to
... |
package com.aof.component.prm.project;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import com.aof.component.prm.bid.BidMaster;
public class ProjPlanBomMaster {
private long id;
pr... |
package startgame;
import javax.swing.JFrame;
/**
* The Class Main.
*/
public class Maingui {
/**
* The main method.
*
* @param args the arguments
*/
public static void main(String[] args) {
Controller controller = new Controller();
controller.getView().setDefaultClose... |
package io.zentity.common;
import io.zentity.common.FunctionalUtil.Recursable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Objects;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionException;
import java.... |
package com.lrms.dao.impl;
import org.springframework.stereotype.Repository;
import com.lrms.dao.PatientBillPaymentDao;
import com.lrms.model.PatientBillPayment;
import com.lrms.util.HibernateDaoUtil;
/**
*
* @author dward
*
*/
@Repository
public class PatientBillPaymentDaoImpl extends Hibernate... |
package org.openmrs.module.atomfeed;
import java.util.Date;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openmrs.Patient;
import org.openmrs.PatientIdentifier;
import org.openmrs.PersonAddress;
import org.openmrs... |
package br.com.apisEjpa.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import br.com.apisEjpa.models.Vendedor;
public interface VendedorRepository extends JpaRepository<Vendedor, Long> {
Vendedor findByCodigo(long id);
}
|
package com.lakin.garageopener10.app;
import android.app.Activity;
//import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.webkit.WebSettings;
import android.webkit.WebView;
public class MainActivity extends Activity {
//... |
package com.project.springboot.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import com.project.springboot.entity.EmbededInvoiceBill;
import com.project.springboot.entity.InvoiceBill;
public interface InvoiceBillRepository extends JpaRepository<InvoiceBill, EmbededInvoiceBill>{
}
|
package revolt.backend.entity;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.FieldDefaults;
import javax.persistence.*;
@Getter
@Setter
@Entity
@Table(name = "liquid")
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Liquid {
@Id
@GeneratedValue(str... |
package com.bitwise.ticketbooking;
import java.util.HashMap;
import java.util.Map;
public class AuthenticatedUser {
HashMap<String,String> userList = new HashMap();
AuthenticatedUser(){
userList.put("pooja", "1234");
userList.put("nupur", "abcd");
}
public HashMap getUserList(){
return userList;
}
... |
package fr.bank;
import org.junit.runner.RunWith;
import cucumber.api.junit.Cucumber;
@RunWith(Cucumber.class)
public class RunCucumberTests {
}
|
package Sorters;
public class RadixSort extends Sorter{
public RadixSort (int[] array){
super(array);
}
private int findMax(){
int max = array[0];
for(int num: array){
max = (num > max) ? num : max;
}
return max;
}
@Override
protected... |
// Decompiled by DJ v3.5.5.77 Copyright 2003 Atanas Neshkov Date: 2005-12-05 오후 4:43:01
// Home Page : http:// members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name: CPEduStudentBean.java
package com.ziaan.cp;
import java.sql.PreparedStat... |
/*
* 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 gt.com.atel.bossassigner.implementation;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.Alterna... |
package com.cdero.gamerbot.audio;
//import statements
import com.cdero.gamerbot.audio.lavaplayer.GuildMusicManager;
import com.cdero.gamerbot.audio.lavaplayer.MusicManagers;
import net.dv8tion.jda.api.entities.TextChannel;
import net.dv8tion.jda.api.entities.VoiceChannel;
import net.dv8tion.jda.api.events.message.guil... |
package com.service;
import java.util.HashMap;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.dao.HouseDAO;
import com.dto.HouseInfoDTO;
import ... |
package elainpeli;
/*
* 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.
*/
/**
*
* @author Minna
*/
public class Pelaaja {
private String nimi;
private int pisteet;... |
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import java.io.*;
import java.net.*;
import java.util.List;
import java.util.Map;
public class Client {
private static final String boundary="-------------client";
private static final String nextLine = "\r\n";
//服务器路径
private ... |
package io.nuls.consensus.v1.thread;
import io.nuls.core.thread.ThreadUtils;
import io.nuls.core.thread.commom.NulsThreadFactory;
import io.nuls.consensus.model.bo.Chain;
import io.nuls.consensus.v1.entity.BasicObject;
import io.nuls.consensus.v1.entity.BasicRunnable;
import java.util.ArrayList;
import java.util.List... |
package sy.project2019.itshow.sasohan2019.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.CheckBox;
im... |
package kr.or.ddit.basic;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.Initializable;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
im... |
package com.thinkgem.jeesite.modules.sys.security;
import java.util.Map;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import org.apache.shiro.subject.Subject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.collect.Maps;
import com.thinkgem.jeesite.com... |
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.Dictionary;
import java.util.Enumeration;
import java.util.Hashtable;
import javax.xml.cr... |
package com.marisolGarcia2611.primerproyecto;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.content.Intent;
import android.os.CountDownTimer;
import android.view.View;
import android.widget.TextView;
import java.awt.font.TextAttribute;
public class activity_splash extends A... |
package com.auro.scholr.home.data.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class GetStudentUpdateProfile {
@SerializedName("status")
@Expose
pri... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.davivienda.sara.reintegros.general;
/**
* DiarioElectronicoHelperInterface - 27/08/2008
* Descripción :
* Versión : 1.0
*
* @author jjvargas
* Davivienda 2008
*/
public interface ReintegrosHelper... |
package com.goldsand.collaboration.server.connect;
import android.util.Log;
import com.goldsand.collaboration.connection.Authorizer;
import com.goldsand.collaboration.connection.Connection;
import org.apache.http.conn.util.InetAddressUtils;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.... |
package ru.job4j.web;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.HashMap;
import java.util.Set;
import javax.json.Json;
import javax.json.JsonObject;
import javax.json.JsonObjectBuilder;
import javax.json.JsonWriter;
import javax.servlet.http.HttpServletReques... |
package ch.erp.management.mvp.contract;
import ch.erp.management.mvp.base.BaseModel;
import ch.erp.management.mvp.base.BasePresenter;
import ch.erp.management.mvp.base.BaseView;
/**
* Fragment库存-Contract
*/
public interface MStockContract {
/**
* 库存 -IView
*/
interface MStockIView extends BaseVi... |
package com.apon.taalmaatjes.backend.api.returns;
import java.sql.Date;
public class VolunteerInstanceReturn {
private String volunteerExtId;
private String externalIdentifier;
private Date dateStart;
private Date dateEnd;
public String getVolunteerExtId() {
return volunteerExtId;
}
... |
package com.fsClothes.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.fsClothes.mapper.CategoryMapper;
import com.fsClothes.pojo.Category;
import com.fsClothes.pojo.CategoryRootBean;
import com.fsC... |
package com.tntdjs.midi.controllers.data.config;
import java.io.File;
import java.util.List;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import com.tntdjs.midi.controllers.data.config.... |
package dao;
import table.TeacherCourse;
import java.sql.SQLException;
public interface TeacherCourseDao {
public void addTeacherCourse(TeacherCourse teacherCourse) throws SQLException;
public void deleteCourseGroup(Integer teacherCourseId) throws SQLException;
}
|
package state3;
public class Person {
private State state;
public Person(State state) {
super();
this.state = state;
}
public void live(){
if( state != null){
state.live();
state = state.next();
}else{
System.out.println("我已经死了,没有下一个状态了");
}
}
}
|
package com.example.routes;
import android.Manifest;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
im... |
package cn.senlin.jiaoyi.service;
import cn.senlin.jiaoyi.entity.InformationCode;
import cn.senlin.jiaoyi.entity.UserInformation;
import java.util.List;
public interface InformationService {
UserInformation loadInformation(String userAccount);
List<InformationCode> loadByType(String codeType);
String updateIn... |
package run.service;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Service;
import dao.UserDAO;
import entities.UserObj;
import run.entity.UserDTO;
import run.convert.ConvertEntitesToDTOs;
@Service
public class UserService {
private UserDAO dao=new UserDA... |
package com.blog.servlet.user;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession... |
package com.pykj.annotation.demo.annotation.injection.value;
import com.pykj.annotation.project.entity.Bird;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @description: @Value
* @author: zhangpengxiang
* @time: 2020/4/15 23:19
*/
@Configura... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.