text stringlengths 10 2.72M |
|---|
package com.tencent.mm.boot.svg.a.a;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Paint.Cap;
import android.graphics.Paint.Join;
import android.graphics.Paint.Style;
import android.graphics.Path;
import android.os.Looper;
import com.tencent.mm.s... |
package com.example.hp.above;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.TextView;
public class SudokuActivity extends AppCompatActivity {
@Override
protected void onCreate(... |
package com.tencent.mm.plugin.profile.ui;
import com.tencent.mm.plugin.profile.ui.NormalUserFooterPreference.e;
import com.tencent.mm.pluginsdk.ui.preference.NormalUserHeaderPreference;
class k$10 implements e {
final /* synthetic */ NormalUserHeaderPreference lWF;
final /* synthetic */ k lWx;
k$10(k kVa... |
package preExamen;
public class primerProblema {
private String frase;
private int distancia;
public String Salida1 = "";
public String Salida2 = "";
public primerProblema(String nFrase, int nDistancia) {
// TODO Auto-generated constructor stub
frase= nFrase;
distancia=nDistancia;
}... |
package de.johni0702.minecraft.gui.versions.callbacks;
import de.johni0702.minecraft.gui.utils.Event;
import net.minecraft.client.gui.screen.Screen;
public interface OpenGuiScreenCallback {
Event<OpenGuiScreenCallback> EVENT = Event.create((listeners) ->
(screen) -> {
for (OpenGuiScree... |
package com.tt.miniapphost;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.v4.app.FragmentActivity;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.vi... |
package pe.gob.trabajo.repository;
import pe.gob.trabajo.domain.Calbensoc;
import org.springframework.stereotype.Repository;
import org.springframework.data.jpa.repository.*;
import java.util.List;
/**
* Spring Data JPA repository for the Calbensoc entity.
*/
@SuppressWarnings("unused")
@Repository
public interfa... |
/*
* 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 hadoop;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
i... |
package com.example.demo.service;
import com.example.demo.entity.Author;
import com.example.demo.model.dto.AuthorDto;
import com.example.demo.model.request.CreateAuthorReq;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public interface AuthorService {
public List<AuthorDto> getA... |
package com.sixmac.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* Created by Administrator on 2016/6/12 0012.
*/
@Entity
@Table(name = "t_system_vip_experience")
public class SysExperience extends BaseEntity {
@Column(name = "experience")
pri... |
package com.yin.trip.util;
import java.io.Serializable;
/**
* Created by yinfeng on 2017/3/14 0014.
* 发送至服务端的位置信息
*/
public class LocationSendData implements Serializable{
private double longtitude; //经度
private double latitude; //纬度
private String addr; //位置信息
public Locat... |
package net.jgp.labs.io.dir;
import static org.junit.Assert.*;
import java.io.File;
import java.util.List;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
public class FileListerTest {
@BeforeClass
public static void setUpBeforeCl... |
package tes;
import java.util.Scanner;
public class No10 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.print("Input uang : ");
Integer uang = Integer.parseInt(scan.nextLine());
int bil = 0;
... |
package com.mrice.txl.appthree.bean;
import com.mrice.txl.appthree.http.ParamNames;
import java.io.Serializable;
import java.util.List;
/**
* Created by cai on 2017/8/7.
*/
public class LotteryDetailBean implements Serializable {
@ParamNames("code")
private String code;
@ParamNames("pageInfo")
pri... |
package day4_04;
import java.util.HashMap;
import java.util.Map;
import java.util.Iterator;
import java.util.Map.Entry;
import java.util.Scanner;
public class SoGhiNho
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
HashMap<String, Integer> ... |
package jp.mironal.java.aws.app.glacier;
import java.io.File;
import java.io.IOException;
import java.text.ParseException;
import java.util.List;
import org.codehaus.jackson.JsonParseException;
import com.amazonaws.services.glacier.model.DescribeJobResult;
import com.amazonaws.services.glacier.model.GlacierJobDescr... |
package com.commercetools.util;
import io.sphere.sdk.http.HttpHeaders;
import org.slf4j.MDC;
import spark.Request;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.UUID;
import static net.logstash.logback.encoder.org.apache.commons.lang3.StringUtils.isBlank;
public final class Cor... |
package com.zetwerk.app.zetwerk.data.firebase;
import com.zetwerk.app.zetwerk.data.model.Employee;
/**
* Created by varun.am on 19/01/19
*/
public interface EmployeeCardInteractionCallbacks {
public void onEmployeeCardLongClicked(Employee employee);
}
|
package com.ds.algo.matters.array;
import java.util.Arrays;
public class RearrangePosNeg {
public static void main(String[] args){
int[] input = {4, -3, -7, -1, 5, 6, 2, 8, 9};
rearrangeArrayOfPosNeg(input);
System.out.println(Arrays.toString(input));
}
private static void rearran... |
import java.util.*;
//In a Binary Tree, Create Linked Lists of all the nodes at each depth.
class Tree_node{
int data;
Tree_node left,right;
public Tree_node(int item){
data=item;
left=null;
right=null;
// next=null;
}
}
/*class Linkedlist{
int data;
Node next;
... |
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
/*
* To change this license header, choose License Headers in P... |
package com.design.pattern.abstractFactory.btn;
/**
* @author zhangbingquan
* @desc 抽象的按钮工具接口
* @time 2019/7/28 18:32
*/
public interface Button {
public void click();
}
|
//package HT8;
/*
* William Orozco, 13386
* Dulce Chacon, 13463
* Luis Gomez, 13135
* Programa para contar diferentes tipos de palabras en un archivo de texto.
* HOJA DE TRABAJO 8
*
* Se uso codigo de referencia adjuntado con la hoja de trabajo
*
* Descripci�n: Word. Clase para almacenar las palabras junto con ... |
package com.woniu.buke;
public class Count {
static Lock lock=new Lock();
public static void main(String [] args) throws InterruptedException {
lock.lock();
doAll();
lock.unlock();
}
public static void doAll() throws InterruptedException {
lock.lock();
lock.unloc... |
package com.tencent.mm.plugin.aa.a.c;
import com.tencent.mm.protocal.c.v;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.vending.g.g;
import com.tencent.mm.vending.h.e;
public class g$d implements e<v, Void> {
final /* synthetic */ g eBH;
public g$d(g gVar) {
this.eBH = gVar;
}
... |
package br.usp.memoriavirtual.controle;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.ResourceBundle;
import javax.ejb.EJB;
import javax.el.ELResolver;
impor... |
package com.dev.lungyu.homecontroller;
import android.content.Context;
import android.net.wifi.WifiManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android... |
package com.thoughtworks.rslist.api;
import com.thoughtworks.rslist.domain.RsEvent;
import com.thoughtworks.rslist.dto.RsEventDto;
import com.thoughtworks.rslist.exception.InvalidIndexException;
import com.thoughtworks.rslist.service.RsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.... |
package com.optimus;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class QbaycreditApplication {
public static void main(String[] args) {
//上传到github
SpringApplication.run(QbaycreditApplication.class, args);
... |
package com.yuecheng.yue.ui.presenter;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Color;
import android.net.Uri;
import android.os.Build;
i... |
package com.koreait.guestbook.model;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.koreait.dao.GuestbookDao;
import com.koreait.dto.GuestbookDto;
import com.oreilly.servlet.MultipartRequest;
import com.oreilly.servlet.mul... |
package br.com.desafio.models;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* Utilizado as anotações do Lombok para reduzir boilerplate na aplicação.
... |
package exer;
import java.util.Arrays;
public class Day05 {
public static void main(String[] args) {
int[] arr = { 1, 2, 3, 4, 3, 2,1};
int[] arr1 = { 1, 2, 3, 4, 3, 2, 1 };
Test3(50);
}
public static void Test1() {
int[] arr = { 10, 20, 30, 40, 50, 60, 66, 70, 80, 99 };
System.out.printl... |
package hibernate.jpa.daoClass;
import hibernate.jpa.tableClass.Microphones;
import javax.persistence.EntityManager;
public class MicrophonesDao extends AbstractDao<Microphones> {
public MicrophonesDao(EntityManager entityManager) {
super(entityManager);
}
} |
package com.androidavenger.gyminventory.view;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
imp... |
package presentacion.controlador.command.CommandLibro;
import java.util.Collection;
import negocio.factorias.FactorySA;
import negocio.libro.SALibro;
import negocio.libro.TFLibro;
import presentacion.contexto.Contexto;
import presentacion.controlador.command.Command;
import presentacion.eventos.EventosLibro;
/**
* ... |
package com.iontrading.buildbot2;
import java.util.Collection;
import org.junit.Before;
import org.junit.Test;
import static org.mockito.Matchers.*;
import static org.mockito.Mockito.*;
import org.pircbotx.Colors;
import org.pircbotx.PircBotX;
import org.pircbotx.User;
import org.pircbotx.hooks.events.PrivateMessageE... |
package com.qq.controllor;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.security.authentication.AuthenticationManager;
import org.springfra... |
package main.java;
import jodd.util.collection.ArrayEnumeration;
import java.util.Iterator;
import java.util.Vector;
public class FF_p_norm {
public static Vector normalize(Vector in_vector, int norm){
if(in_vector.isEmpty()){
System.out.println("Error: Empty vector!");
return nul... |
package com.sample.observer.view.observer;
import java.util.Observable;
import java.util.Observer;
import com.sample.observer.model.WeatherData;
public class CurrentConditionsPanel implements Observer {
@Override
public void update(Observable obs, Object arg) {
WeatherData weatherData = (WeatherData)... |
public static void main1(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
JFrame form3 = new JFrame("form2");
form3.setTitle("Изменение налоговой ставки");
form3.setSize(475, 290);
... |
package com.mysql.cj.jdbc.exceptions;
import com.mysql.cj.Messages;
import java.sql.SQLNonTransientException;
public class MySQLStatementCancelledException extends SQLNonTransientException {
static final long serialVersionUID = -8762717748377197378L;
public MySQLStatementCancelledException(String reason, Strin... |
package Chapter4.TreesAndGraphs;
public class BinarySearchTree {
BinaryTreeNode<Integer> root;
BinarySearchTree() {
this.root = null;
}
BinaryTreeNode<Integer> insert(BinaryTreeNode<Integer> root, int key) {
if (root == null) {
root = new BinaryTreeNode<>(key);
... |
package javaPrepTwo;
import java.util.Arrays;
public class Question {
public static int[] ascending(int[] intArry){
Arrays.sort(intArry);
return intArry;
}
public static int countWords(String str){
return str.split(" ").length;
}
public static int calculator(String op... |
package com.example.demo.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bi... |
package com.qgbase.biz.info.controller;
import com.qgbase.biz.info.domain.TDic;
import com.qgbase.biz.info.service.TDicService;
import com.qgbase.biz.info.TinfoQuery;
import com.qgbase.biz.storage.domain.TAttachment;
import com.qgbase.biz.storage.service.StorageService;
import com.qgbase.common.domain.OperInfo;
import... |
package com.tencent.weui.base.preference;
import android.content.Context;
import android.util.AttributeSet;
import com.tencent.mm.bw.a.g;
public class PreferenceSmallCategory extends PreferenceCategory {
public PreferenceSmallCategory(Context context) {
this(context, null);
}
public PreferenceSma... |
package com.tencent.mm.protocal.c;
import com.tencent.mm.bk.a;
import java.util.LinkedList;
public final class bob extends a {
public int rdq;
public bhz slT;
public bhz slV;
public int slW;
protected final int a(int i, Object... objArr) {
int fS;
if (i == 0) {
f.a.a.c... |
package khmil.java8.Lambda;
public class LambdaApp {
public static void main(String[] args) {
Operationable op = (x, y) -> {
if (x > 50) {
x = x + 10;
return x + y;
} else {
return x - y;
}
};
Operationabl... |
package com.guli.ucenter.entity.vo;
import lombok.Data;
@Data
public class RegisterVo {
private String nickname;
private String mobile;
private String password;
private String code;
}
|
package com.noteshare.solr.services.impl;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.apache.solr.client.solrj.SolrQuery;
import org.apache.solr.client.solrj.SolrServerException;
import org.ap... |
package com.example.a86182.icamera;
import android.Manifest;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.prov... |
package verify.exam00;
public class MusicRunnable implements Runnable{
public void run() {
for(int i=0;i<3;i++) {
System. out .println("음악을 재생합니다.");
try { Thread. sleep (1000);
} catch (InterruptedException e) {
}
}
}
}
|
package com.hly.o2o.interceptor.shopadmin;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import com.hly.o2o.entity.Shop;
/**
* 对店家管理系统操作的拦截器
* @author hp
*
*/
public c... |
/*
* Copyright © 2018 tesshu.com (webmaster@tesshu.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 require... |
package LC1600_1800.LC1750_1800;
public class LC1786_Number_Of_Restricted_Path_From_First_To_Last_Node {
public int countRestrictedPaths(int n, int[][] edges) {
return 1;
}
}
|
package com.yinghai.a24divine_user.module.login.wechat;
import com.example.fansonlib.base.BaseView;
import com.yinghai.a24divine_user.bean.PersonInfoBean;
import com.yinghai.a24divine_user.callback.IHandleCodeCallback;
import io.rong.imlib.RongIMClient;
/**
* @author Created by:fanson
* Created Time: 2017/... |
package model.dao;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import model.vo.reservation.PaymentMethodInfoVO;
import model.vo.reservation.ReservationVO;
import model.vo.reservation.TimeTableVO;
import model.vo.theater.LocalInfoVO;
import com... |
import java.util.ArrayList;
import java.util.List;
/**
* Este arquivo ficará responsável por chamar os serviços e delegar qual método realiza qual função sem
* se importar com as regras de negócio.
*/
public class OfficeRepository {
List<Office> offices = new ArrayList<Office>();
public void Create(Off... |
package com.mes.cep.meta.operationsCapabilityModel;
/**
* @author Stephen·Wen
* @email 872003894@qq.com
* @date 2017年4月19日
* @Chinesename 设备能力
*/
public class EquipmentCapability {
}
|
package networking.udp.examples;
import java.net.*;
import java.io.*;
public class UDPWordCountServer {
private static int WordCount(String str) {
int wordChar = 0;
boolean prevCharWasSpace=true;
for (int i = 0; i < str.length(); i++)
{
if (str.charAt(i) == ' ') {
prevCharWasSpa... |
package com.bingo.code.example.design.chainofresponsibility.allprocess;
/**
* �����������۵�ҵ���ܵ�ְ�����
*/
public class SaleMgr extends SaleHandler{
public boolean sale(String user, String customer, SaleModel saleModel) {
//����������ҵ��������
System.out.println(user+"������"+customer+"���� "+saleModel+" ������... |
package com.cnk.travelogix.supplier.inventory.dao.impl;
import java.util.List;
import javax.annotation.Resource;
import org.apache.log4j.Logger;
import com.cnk.travelogix.acco.inventory.core.model.AccoInventoryGridModel;
import com.cnk.travelogix.accoinventory.core.model.AccoInventoryDefinitionModel;
import com.cnk... |
package com.johacks;
import java.io.UnsupportedEncodingException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.PublicKey;
import java.security.SignatureException;
import java.security.spec.InvalidKeySpecException;
import java.util.ArrayList;
import java.... |
package pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
public class LoginPage extends Base{
private By loginEmail = By.id("email");
private By loginPassword = By.id("pass");
private By loginClick = By.id("u_0_2");
public LoginPage(WebDriver driver) {
super(driver);
// TODO A... |
package com.lupan.ehcache;
/**
* TODO 缓存操作类型
*
* @author lupan
* @version 2016/4/7 0007
*/
public enum CacheOperation {
READ,UPDATE
}
|
/*
* 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 final_project;
import java.io.*;
import java.sql.*;
import java.util.*;
public class ExecuteFile {
static String usr ="postgres";
static String pwd ="123";
static String url ="jdbc:postgresql://localhost:5432/postgres";
Connection con;
ArrayList<ArrayList<String>> finalResult;
HashMap<Integer, groupvaInf... |
package com.tt.miniapp.component.nativeview.video.controller;
import com.ss.ttvideoengine.TTVideoEngine;
import com.ss.ttvideoengine.utils.Error;
import com.tt.frontendapiinterface.j;
import com.tt.miniapp.AppbrandApplicationImpl;
import com.tt.miniapp.WebViewManager;
import com.tt.miniapp.component.nativeview.... |
package com.tfjybj.integral.provider.service;
import com.alibaba.fastjson.JSONObject;
import com.tfjybj.integral.model.NoUserOrgModel;
import com.tfjybj.integral.provider.dao.GetNewDingPersonDao;
import com.tfjybj.integral.utils.http.HttpUtils;
import com.tfjybj.integral.utils.http.ResponseWrap;
import org.springframe... |
package com.tencent.mm.plugin.ext.provider;
import com.tencent.mm.ab.e;
import com.tencent.mm.plugin.ext.provider.ExtControlProviderMsg.2;
class ExtControlProviderMsg$2$1 implements e {
final /* synthetic */ String iKh;
final /* synthetic */ 2 iKi;
ExtControlProviderMsg$2$1(2 2, String str) {
thi... |
package leetcode_easy;
import java.util.Arrays;
public class Question_908 {
public int smallestRangeI(int[] A, int K) {
Arrays.sort(A);
int min = A[0];
int min_max = min + K;
int max = A[A.length - 1];
int max_min = max - K;
int range = 0;
if (min_max >= m... |
package com.onlylemi.mapview.library.layer;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.view.MotionEvent;
import com.onlylemi.mapview.library.MapView;
public class AnchorLayer extends MapBaseLayer {
public AnchorLayer(MapView mapView) {
super(mapView);
}
@Over... |
package com.kingbbode.bot.common.annotations;
import com.kingbbode.bot.common.enums.BrainRequestType;
import org.springframework.stereotype.Component;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Rete... |
package paper;
import java.io.*;
public class txtSplit{
/**
*根據需求,直接調用靜態方法start來執行操作
*參數:
* rows為多少行一個文件int類型
* sourceFilePath為源文件路徑String類型
* targetDirectoryPath為文件分割後存放的目標目錄String類型
* ---分割後的文件名 為索引號(從0開始)加'_'加源文件名,例如源文件名 為test.txt,則分割後文件名 為0_test .txt,以此類推
*/
public static void start(int rows,Str... |
package com.jst.model;
import java.util.Date;
/**
* 这是一个权限表
* @author Administrator
*
*/
public class Sys_function {
private int function_id;//权限id
private int parent_id;//权限父id
private String function_name;//权限名
private String function_url;//权限url
private int function_type;//权限类型 1,菜单 2,功能
... |
/*
* 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 ru.iidf.jira.reports.resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ru.iidf.jira.reports.common.UTF8Control;
import java.util.Locale;
import java.util.ResourceBundle;
public final class Info {
private static final Logger LOG = LoggerFactory.getLogger(Info.class);
private ... |
package fr.mb.volontario.business.impl;
import fr.mb.volontario.business.contract.AssociationManager;
import fr.mb.volontario.dao.contract.AssociationDAO;
import fr.mb.volontario.model.bean.Association;
import fr.mb.volontario.model.exception.FunctionalException;
import fr.mb.volontario.model.exception.NotFoundExcepti... |
package foodchain.strategies;
import foodchain.products.Product;
import static foodchain.parties.Data.*;
/**
* Strategy to initialize characteristics of Apple.
*/
public class AppleStrategy extends Strategy {
/**
* Constructs strategy.
* @param product the product for strategy.
*/
public App... |
/**
*
* this package has the panels / button that can interact with user. So we have :
* <ol>
* <li>{@link nl.rug.oop.flaps.aircraft_editor.view.panels.aircraft_info.interaction_panels.InteractionPanel}</li>
* <li>{@link nl.rug.oop.flaps.aircraft_editor.view.panels.aircraft_info.interaction_panels.FuelConf... |
package com.wt.jiaduo.controller.pojovalid;
// Generated 2018-3-31 10:29:38 by Hibernate Tools 5.2.8.Final
import java.util.Date;
import javax.validation.constraints.NotNull;
import org.springframework.format.annotation.DateTimeFormat;
/**
* XiaomaiCongaibingTianjianzishengmaimiao generated by hbm2java
*/
public ... |
package br.com.jdrmservices.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bi... |
package com.lec.ex4_threadN_objectN;
public class ThreadEx2TestMain { //thread로부터 상속받음
public static void main(String[] args) {
//t1.run() 수행하는 thread A 생성 / t1.num
Thread t1 = new ThreadEx2("A"); // 내가 매개변수 있는 생성자 안만들어놨다 . 쓰고 싶으면 그전에 매개변수 있는 생정자 만들어놔야
//t1.setName("A");
//t2.run() 수행하는 thread B 생성 / t2.num
... |
package com.bjstudio.blog.login.RepositoryTest;
import java.util.Optional;
import com.bjstudio.blog.login.model.Member;
import com.bjstudio.blog.login.repository.MemberRepository;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springf... |
package de.nschilling.awssslchecker;
import java.util.ArrayList;
import java.util.List;
import com.amazonaws.services.sns.AmazonSNS;
import com.amazonaws.services.sns.AmazonSNSClient;
import com.amazonaws.services.sns.model.PublishRequest;
import com.amazonaws.services.sns.model.PublishResult;
public class SnsServic... |
package Test;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
/**
* Created by skyll on 07.02.2017.
*/
public class Request {
public static void main(String[] args) throws IOException {
String request ... |
package sample;
public class Yobidasi {
private static int TEST = 26;
//private static int TEST2 = 5;
public static void main(String[] args) {
Modoriti modoriti = new Modoriti();
String str ;
// int str2 ;
str = modoriti.keisan(TEST);
System.out.println("入力した数は" + str );
// int k ;
// str2 = ... |
package com.spbsu.flamestream.example.benchmark;
/**
* User: Artem
* Date: 28.12.2017
*/
public interface GraphDeployer extends AutoCloseable {
void deploy();
@Override
void close();
}
|
package com.tencent.mm.plugin.account.friend.ui;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.plugin.account.a.j;
import c... |
package Manager;
import File.File;
import Id.Id;
public interface FileManager {
File getFile(Id<File> fileId);
File newFile(Id<File> fileId);
File registerFile(File file);
int getSize();
Id<FileManager> getId();
}
|
package com.systex.sysgateii.ratesvr.dao;
import java.io.File;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.ut... |
package com.programmers.level3;
/** [시저 암호]
* 어떤 문장의 각 알파벳을 일정한 거리만큼 밀어서 다른 알파벳으로 바꾸는 암호화 방식을 시저 암호라고 합니다.
* A를 3만큼 밀면 D가 되고 z를 1만큼 밀면 a가 됩니다. 공백은 수정하지 않습니다.
* 보낼 문자열 s와 얼마나 밀지 알려주는 n을 입력받아 암호문을 만드는 caesar 함수를 완성해 보세요.
* “a B z”,4를 입력받았다면 “e F d”를 리턴합니다.
*/
public class Caesar {
String caesar(String s... |
package com.jim.multipos.ui.settings.accounts;
import com.jim.multipos.core.Presenter;
import com.jim.multipos.data.db.model.Account;
import com.jim.multipos.ui.settings.accounts.model.AccountItem;
public interface AccountSettingsPresenter extends Presenter {
void initAccounts();
void saveChanges(AccountItem ... |
package sec.project.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;... |
package com.cyberway.spring_boot_starter_cqrs.anotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.cyberway.spring_boot_starter_cqrs.config.CQRStart... |
package net.packet.client;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import java.nio.ByteOrder;
import net.ClientOpCode;
import net.packet.MaplePacket;
public class MapleDropMesoPacket extends MaplePacket {
public static int unk = 57140058;
public MapleDropMesoPacket(int amount) {
sup... |
package com.darkania.darkers.comandos;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukk... |
/* *****************************************************************************
* Name: Alan Turing
* Coursera User ID: 123456
* Last modified: 1/1/2019
**************************************************************************** */
public class ColorHSB {
private final int hue;
priva... |
package com.smxknfie.springcloud.netflix.eureka.move.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.