text stringlengths 10 2.72M |
|---|
package com.shensu.pojo;
import java.io.Serializable;
import java.util.List;
public class RecipesType implements Serializable {
//分类的id
private Integer recipestypeid;
//食谱的创建时间
private String recipestypecreattime;
// 食谱类目
private String recipestypename;
//0是下架 1是上架
private Integer rec... |
package model;
public enum City {
GDANSK,
WARSAW,
ZAKOPANE;
}
|
package com.esum.hotdeploy.descriptor;
import java.util.HashSet;
import java.util.Set;
public class ApplicationDescriptor {
private String appName;
private Set<String> loaderOverride = new HashSet<String>();
public String getAppName() {
return appName;
}
public void setAppName(String appName) ... |
package pl.edu.pw.elka.etherscan;
import org.springframework.http.ResponseEntity;
import org.springframework.web.client.RestTemplate;
import pl.edu.pw.elka.etherscan.dtos.EtherscanTransactionsDto;
import pl.edu.pw.elka.minedBlocks.dtos.MinedBlocksDto;
class RealEtherscanConnector implements EtherscanConnector {
... |
package com.mcl.mancala.beans;
import com.mcl.mancala.game.Mechanics;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class PlayerMoveTest {
@Test
public void playerMoveBeanConstructorTest() {
Mancala mancala = new Mechanics().start();
PlayerMove playerMove = new P... |
package xtrus.ex.mgr.exmci.controller;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMappi... |
package com.zaiou.common.mybatis.po;
import java.io.Serializable;
/**
* @Description:
* @auther: LB 2018/9/19 16:31
* @modify: LB 2018/9/19 16:31
*/
public interface Po extends Serializable {
}
|
package com.thoughtworks.ketsu.web;
import com.thoughtworks.ketsu.domain.users.Order;
import com.thoughtworks.ketsu.domain.users.Payment;
import com.thoughtworks.ketsu.web.validators.NullFieldValidator;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import java.net.URI;
imp... |
package com.atguigu.exer;
/*
小明要去买一部手机,他询问了4家店的价格,分别是2800.5元,2900元,2750.0元和3100元,显示输出最低价
*/
public class PriceTest {
public static void main(String[] args) {
double[] ps = {2800.5,2900,2750.0,3100};
//把第一个元素先当成最小的值
double min = ps[0];
for (int i = 1; i < ps.length; i++) {
//如果min中的数值比数组中的数值大... |
package com.example.ips.service;
import com.example.ips.model.ServerplanLogHistory;
import java.util.List;
import java.util.Map;
/**
* @author: Farben
* @description: ServerplanLogHistoryService:服务器规划-变更日志业务类接口
* @create: 2019/12/20-14:44
**/
public interface ServerplanLogHistoryService {
/**
* 查询全部Log... |
package c.c.quadraticfunction.drawing;
public class CanvasSettings {
static public int width;
static public int height;
static public int density;
static public int margin;
static public int drawAreaWidth;
static public int drawAreaHeight;
}
|
package Model;
import Client.Client;
import Client.IClientStrategy;
import IO.MyDecompressorInputStream;
import Server.Server;
import Server.ServerStrategyGenerateMaze;
import Server.ServerStrategySolveSearchProblem;
import View.Main;
import algorithms.mazeGenerators.Maze;
import algorithms.mazeGenerators.Position;
im... |
// Problem URL = http://www.spoj.com/problems/EDIST/
import java.util.Scanner;
class EditDistance {
public static void main(String[] args) {
int testcase;
Scanner sc = new Scanner(System.in);
testcase = sc.nextInt(); // Get number of testcases
while(testcase>0){
String ... |
package ui;
import java.awt.BorderLayout;
import java.util.ArrayList;
import javax.swing.DefaultListModel;
import javax.swing.JFrame;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelecti... |
/**
* NounEnumSerializer
*/
package com.bs.bod.converter;
import java.io.IOException;
import com.bs.bod.NounEnum;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.Se... |
package uz.pdp.lesson5task1.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import uz.pdp.lesson5task1.entity.Company;
import uz.pdp.lesson5task1.payload.ApiResponse;
import uz.pdp.lesson5task1.... |
package edu.mit.cci.simulation.client.model.jaxb;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.adapters.XmlAdapter;
public class ClientArrayAdapter {
@XmlElement
public String data;
public ClientArrayAdapter() {
}
public ClientArrayAdapter(Object[] data) {
... |
package com.teams.Controller;
import com.teams.Dto.NationalTeamsDto;
import com.teams.Entities.NationalTeams;
import com.teams.Repository.NationalTeamsRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.annotation.Secured;
import org.springframework.ste... |
package com.lmz.selenilum;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import java.io.File;
public class frameChange {
public static void main(String[] args) throws InterruptedException {
////先... |
package com.example.maplechat;
import android.app.ProgressDialog;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import an... |
package io;
import java.io.IOException;
import java.io.OutputStream;
public class MyCompressorOutputStream extends OutputStream{
OutputStream out;
MyCompressorOutputStream(OutputStream outStr){
out = outStr;
}
@Override
public void write(byte[] b) throws IOException {
out.write(Tools.compress(b));
}
@... |
package com.gaby.annotation;
import java.lang.annotation.*;
/**
*@discrption:字段校验器(是否必须)
*@user:Gaby
*@createTime:2019-03-17 21:57
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Inherited
public @interface Field {
String comment() default "";
boolean nullable() default true;
}
|
package org.camunda.bpm.engine.test.fluent.assertions;
import java.util.Date;
import org.camunda.bpm.engine.ProcessEngine;
import org.camunda.bpm.engine.runtime.Job;
import org.fest.assertions.api.Assertions;
/**
* Fluent assertions for {@link Job}
*
*/
public class JobAssert extends AbstractProcessAssert<JobAss... |
import java.util.*;
class shaurya
{
public static void main(String args[])
{
Scanner sc= new Scanner(System.in);
System.out.println("enter the length of stirng");
int n=sc.nextInt();
System.out.println("enter the number of operations");
int m=sc.nextInt();
System.out.println("enter the string");
String ... |
package com.example.demo.dto;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
import java.math.BigDecimal;
@EqualsAndHashCode
@ToString
@Getter
@AllArgsConstructor
public class InputDto {
private final BigDecimal operando1;
private final BigDec... |
package com.kh.portfolio.board.dao;
import java.util.List;
import com.kh.portfolio.board.vo.BoardCategoryVO;
import com.kh.portfolio.board.vo.BoardFileVO;
import com.kh.portfolio.board.vo.BoardVO;
import com.kh.portfolio.board.vo.NoticeVO;
import lombok.Data;
public interface NoticeDAO {
//게시글작성
int noticeWrite(... |
package Servlets;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.Ht... |
package com.karya.dao.impl;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Root;
import org.springframework.stereotype.Rep... |
package app.services;
import app.entity.Hospital;
import app.entity.Room;
import app.repository.RoomRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class RoomService implements AbstractServiceInterface<Ro... |
package com.github.andlyticsproject.exception;
public class SignupException extends Exception {
private static final long serialVersionUID = 1L;
public SignupException(String value) {
super(value);
}
}
|
import java.io.*;
import java.net.*;
public class server2
{
public static void main(String args[])throws IOException
{
int Serverport=3001,clientport=3000;
DatagramSocket ds;
DatagramPacket p;
byte buffer[]=new byte[100];
ds=new DatagramSocket(Serverport);
p=new DatagramPacket(buffer,buffer.length);
Buffer... |
package com.gaoshin.onsalelocal.osl.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import common.db.entity.DbEntity;
@Entity
@Table
@XmlRootElement
public class StoreComment extends DbEntity {
@Column(nullabl... |
package com.git.cloud.openstack.model;
public enum OpenstackManageEnum {
OPENSTACK_MANAGE_USER("OPENSTACK_MANAGE_USER"),
OPENSTACK_MANAGE_PWD("OPENSTACK_MANAGE_PWD"),
OPENSTACK_MANAGE_PROJECT("OPENSTACK_MANAGE_PROJECT"),
OPENSTACK_MANAGE_DOMAIN("OPENSTACK_MANAGE_DOMAIN"),
OPENSTACK_MANAGE_ROLE("OPENSTAC... |
package nh.automation.tools.entity;
/**
* 项目 :UI自动化测试 SSM 类描述:
* 测试数据管理
* @author Eric
* @date 2017年3月11日 nh.automation.tools.common
*/
public class WsDataManger {
private int caseId;
private String apiName;
private String apiHost;
private String apiType;
private String apiParameter;
private String expectRe... |
/*
* Copyright 2002-2022 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 httpServer;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Font;
import java.awt.GridLayout;
import java.net.InetAddress;
import java.net.UnknownHostException;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swi... |
package tradingmaster.model;
import java.time.LocalDateTime;
public interface ITradeStore {
Long getMaxTradeId(IMarket market);
void persistTrades(TradeBatch batch);
TradeBatch loadTrades(String exchange, String market, LocalDateTime start, LocalDateTime endDate);
}
|
package com.git.cloud.resmgt.compute.dao;
import java.util.HashMap;
import java.util.List;
import com.git.cloud.common.dao.ICommonDAO;
import com.git.cloud.common.exception.RollbackableBizException;
import com.git.cloud.resmgt.common.model.po.CmHostPo;
import com.git.cloud.resmgt.common.model.po.RmDatacenterP... |
package com.awss3.awss3;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.CrossOr... |
package zzt.dao;
import global.dao.Databaseconnection;
import global.model.Classroom;
import global.model.Office;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import zzt.model.Zzt_Teacher_login;
import zzt.view.Zzt_JIF_Classroom;
import com.mysql.jdbc.Connection;
import com.m... |
package com.motondon.threadpoolexecutordemoapp.view;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.NavUtils;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.MenuItem;
import com.motondon.thre... |
public class HRCommunicator {
public static String developersName = "Pawel";
// Declare the important constants!
public static final String GREAT_COMPANY = "Toast";
public static final String LOCATION = "Dublin (see: Merrion Square, Pearse Street DART station)";
public static final String COMPANY_TYPE = "all-in-o... |
package by.vsu;
public class StringChecker {
public static boolean checkBalance(String str){
int balanceCounter = 0;
for(char ch : str.toCharArray()){
if(ch == '('){
balanceCounter++;
}
if(ch == ')'){
balanceCounter--;
}
if(balanceCounter < 0){
return false;
}
}
if(balanceCounter... |
package com.emg.projectsmanage.auth;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.authen... |
package com.cc.cocktail.mvc.controller.sample;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;
import com.cc.cocktail.mvc.controller.base.BaseController... |
package com.esum.comp.sap3.server;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.esum.comp.sap3.SAPCode;
import com.esum.comp.sap3.SAPConfig;
import com.esum.comp.sap3.SAPException;
import com.esum.comp.sap3.handler.SAPFunctionHandler;
import com.esum.comp.sap3.table.SAPF... |
package bnogent.m.actions;
import bnogent.m.Calc;
import bnogent.m.CalcBase;
public class AddChiffreAction extends PersoAction {
private int i;
protected int index;
public AddChiffreAction(Calc.StateEnum _prevState, Calc.StateEnum _next,CalcBase calcBase, int i, int index, String methodStrin... |
//
// DO NOT EDIT THIS FILE, IT HAS BEEN GENERATED USING AndroidAnnotations.
//
package org.sayesaman.tut4.path;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.view.KeyEvent;
import android... |
package control.developSystem.developerAspect.developInsurance;
import java.awt.event.ActionEvent;
import control.DynamicSystem;
import control.developSystem.DevelopSystem;
import control.developSystem.developerAspect.showInsurance.SelecInsuranceToWatchControl;
import view.insuranceSystemView.developView.developer.de... |
package com.wenyuankeji.spring.controller;
import java.io.IOException;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
impo... |
package ehwaz.problem_solving.algorithm.greedy.maxsubarrray;
import java.io.*;
import java.util.*;
/**
* Created by Sangwook on 2016-05-06.
*/
public class MaxSubArray {
public static void solve(Scanner sc) {
int valNum = Integer.parseInt(sc.nextLine());
int start = 0;
int end = 0;
... |
package com.coop.model;
public class FlagStatus {
private String ga_transaction_no;
private String ga_sender_accno;
private String ga_receiver_accno;
private String ga_transfer_amount;
private String ga_flag_status;
public String getGa_transaction_no() {
return ga_transaction_no;
}
public void set... |
package com.darwinsys.roomdemo;
import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.Ignore;
import android.arch.persistence.room.PrimaryKey;
import java.time.LocalDate;
@Entity
public class Expense {
@PrimaryKey(autoGenerate = true)
... |
/*
* Copyright (c) 2020 Be The Match operated by National Marrow Donor Program (NMDP).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... |
package com.sandy.example.pilgrimService;
import com.sandy.example.pilgrimService.models.Outing;
import com.sandy.example.pilgrimService.models.Pilgrim;
import com.sandy.example.pilgrimService.models.YellowTShirt;
import com.sandy.example.pilgrimService.repositories.OutingRepository;
import com.sandy.example.pilgrimSe... |
package com.ranpeak.ProjectX.activity.lobby.forAuthorizedUsers.navigationFragment.profileNavFragment;
import android.Manifest;
import android.arch.lifecycle.ViewModelProviders;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory... |
package JPA_Mongo.tp3;
import java.util.List;
import org.bson.types.ObjectId;
import com.google.code.morphia.annotations.Embedded;
import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;
@Entity("person")
public class Person {
@Id
private ObjectId id;
private String na... |
package in.jaaga.thebachaoproject;
import android.app.Activity;
import android.net.Uri;
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.EditText;
import android.widget.RatingBar;
publi... |
// Object 클래스 - clone() 사용법 III
package com.eomcs.corelib.ex01;
public class Exam0172 {
// 인스턴스 복제 기능을 활성화하려면 Cloneable 인터페이스를 구현해야 한다.
// => 이 인터페이스에는 메서드가 선언되어 있지 않다.
// => 따라서 클래스는 따로 메서드를 구현할 필요가 없다.
// => Cloneable을 구현하는 이유는
// JVM에게 이 클래스의 인스턴스를 복제할 수 있음을 표시하기 위함이다.
// 이 표시가 안된 클래스는 JVM이 인스턴스를... |
package com.example.cape_medics;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import or... |
package cttd.cryptography.demo;
import org.junit.Test;
import static org.junit.Assert.*;
public class DesTests {
private String plaintext = "stackjava.com";
private String ciphertext = "xvHjRlZOjIxmi+R3h4/gUw==";
@Test
public void encryptTest() {
assertEquals(ciphertext, Des.encrypt(plaintext));
... |
package com.lenovohit.ssm.payment.manager;
public abstract class WxpayManager implements PayBaseManager{
}
|
package com.rocktech.hospitalrms;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import java.util.ArrayList;
public clas... |
import java.util.Scanner;
public class CalendarPrinter {
private final static String[] DAYS_OF_WEEK = {"MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"};
private final static String[] MONTHS_OF_YEAR = {"JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP",
"OCT", "NOV", "DEC"};
/**
... |
package dev.sim0n.caesium.mutator.impl.crasher;
import dev.sim0n.caesium.mutator.ClassMutator;
import dev.sim0n.caesium.util.wrapper.impl.ClassWrapper;
import org.objectweb.asm.tree.ClassNode;
/**
* This inserts a class that will crash almost every gui based RE tool
*/
public class ImageCrashMutator extends ClassMu... |
/*
* 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 service.config;
import java.sql.Connection;
import java.sql.Date;
import java.sql.PreparedStatement;
import java.sql.ResultSet... |
package com.zs.ui.device.holder;
import android.content.Context;
import android.view.View;
import android.widget.CheckBox;
import android.widget.TextView;
import java.util.List;
import butterknife.BindView;
import com.zs.R;
import com.zs.common.AppUtils;
import com.zs.common.recycle.LiteViewHolder;
import com.zs.mod... |
package com.lyl.mybatis;
import com.lyl.core.dao.domain.Test;
import com.lyl.core.dao.domain.TestExample;
import com.lyl.core.service.TestService;
import org.junit.runner.RunWith;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.te... |
package io.javac.manybluesample.ui.scanner;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGattCharacteristic;
import android.bluetooth.BluetoothGattService;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
impo... |
package com.codingchili.instance.model.events;
/**
* @author Robin Duda
*/
public enum Broadcast {
// publish to entities in the same grid cell: interaction etc.
ADJACENT,
// publish to entities on the cells that are in the same network partition: spells, CHAT.
PARTITION,
// publish to all enti... |
import java.io.*;
import java.util.*;
public class kosaraju {
/**
Strongly connected components.
You are given a graph with N nodes and M directed edges. Find the number of Strongly connected components in the graph.
*/
private static void dfsStack(ArrayList<ArrayList<Integer>> graph, int src... |
package com.example.projet_makbal_mounir;
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 java.util.Scanner;
public class MainActivity extends AppCompatActivity {
... |
package com.egova.eagleyes.view;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.egova.baselibrary.activity.PhotoPreviewActivit... |
package kz.greetgo.file_storage.impl;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.function.Function;
import javax.sql.DataSource;
import kz.greetgo.file_storage.FileDataReader;
import kz.gre... |
package com.github.spocot.mythra;
import java.awt.Graphics;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
public class MythraPanel extends AnimationPanel{
private Block[][] blocks;
private Map map;
private Player player = new Player(100,100);
//Movement variablees
private volatile boolean w... |
package com.usta.cmapp.control;
import java.io.IOException;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Properties;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.enterprise.context.Sess... |
/*
* Copyright 2002-2018 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 © 2020-2022 ForgeRock AS (obst@forgerock.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... |
package kr.co.flyingturtle.repository.vo;
import java.util.List;
import org.springframework.web.multipart.MultipartFile;
public class Files{
private List<MultipartFile> attach;
private MultipartFile[] attach2;
private int fileNo;
private String oriName;
private String sysName;
private String pat... |
/*
* 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 cocktail.cbr;
/**
*
* @author visaac
*/
public enum Garnishing {
None,
Ananas_Slice,
Anise_Basil,
Berry,
... |
package com.helloimcole.reactor;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.*;
import com.badlogic.gdx.math.Rectangle;
/**
* Created by Cole on 6/2/2015.
*/
public class Art {
privat... |
package se.eskilson.projecteuler;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
public class Files {
public static String read(String name) throws IOException {
return read(new File(name));
}
private static String read(File file) throws IOException {
FileReader reader... |
package com.example.tdemo;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import android.app.Activity;
import android.graphics.Bitmap;
import android.gr... |
package com.fajar.employeedataapi;
import java.net.URISyntaxException;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.... |
package pro.likada.dao;
import org.hibernate.HibernateException;
import pro.likada.model.TelegramBot;
import pro.likada.model.TelegramConversation;
import pro.likada.model.TelegramUser;
import java.util.List;
/**
* Created by Yusupov on 4/2/2017.
*/
public interface TelegramConversationDAO {
TelegramConversat... |
package NLP;
import simplenlg.features.Feature;
import simplenlg.features.Tense;
import simplenlg.framework.InflectedWordElement;
import simplenlg.framework.LexicalCategory;
import simplenlg.framework.NLGFactory;
import simplenlg.framework.WordElement;
import simplenlg.lexicon.Lexicon;
import simplenlg.phrasespec.*;
i... |
package Bendispository.Abschlussprojekt.service;
import Bendispository.Abschlussprojekt.model.Request;
import Bendispository.Abschlussprojekt.model.transactionModels.ProPayAccount;
import Bendispository.Abschlussprojekt.model.transactionModels.Reservation;
import Bendispository.Abschlussprojekt.repos.PersonsRepo;
impo... |
package com.cisc181.core;
import com.cisc181.eNums.eTitle;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.Date;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
public class Staff_Test {... |
package org.jre.sandbox.webcalc.mvc;
import javax.validation.constraints.NotNull;
public class CalcModel {
@NotNull
private String expression;
private String result;
public String getExpression() {
return expression;
}
public void setExpression(String expression) {
this.expression = expres... |
package factoring.trial.playgound;
import java.util.Collection;
/**
* This implementation is generating a list of all primes up to a limit.
* Beside of storing the prime itself, it also store the reciprocal value.
* When checking a number if it is dividable by the prime, we will not divide
* the number by the pri... |
package aplication;
import javax.swing.JOptionPane;
import factories.AbstractFactoryMaze;
import factories.EnchantedFactoryMaze;
import factories.FactoryMaze;
public class Player {
private static MazeGame createMaze(String type) {
MazeGame game = null;
AbstractFactoryMaze factory = null;
if (type... |
package com.example.administrator.panda_channel_app.MVP_Framework.config;
import de.greenrobot.daogenerator.DaoGenerator;
import de.greenrobot.daogenerator.Entity;
import de.greenrobot.daogenerator.Schema;
/**
* Created by ASUS on 2017/7/20.
*/
public class CustomDAOGenerater {
public static void main(String[]... |
public class SimpleRemoteControl {
Command slot; // 커맨드를 집어넣을 슬롯은 하나밖에 없다. 이것으로 장비를 제어
public SimpleRemoteControl() {}
// 슬롯을 가지고 제어할 명령을 설정하기 위한 메소드. 이 코드를 사용하는 클라이언트에서 리모컨 버튼의 기능을 바꾸고 싶다면 이 메소드를 이용해서 얼마든지 변경 가능
public void setCommand(Command command) {
slot = command;
}
// 버튼이 눌려지면 이 메소드 호출. 지금 슬롯에 연결된... |
package com.miage.lesouk;
import com.miage.lesouk.entite.Annonce;
import com.miage.lesouk.entite.Commentaire;
import com.miage.lesouk.entite.Utilisateur;
import com.miage.lesouk.repository.AnnonceRepository;
import com.miage.lesouk.repository.CommentaireRepository;
import com.miage.lesouk.repository.UtilisateurReposit... |
package cjy.njit.nj.snake;
public enum Direction {
UP, DOWN, LEFT, RIGHT;
}
|
/*
* 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.gmail.iqbalsalman.Model;
/**
*
* @author iqbal
*/
import com.gmail.iqbalsalman.Dao.NasabahDao;
import com.gmail.iqbalsa... |
package home.test.gae1;
import home.test.gae1.dataobj.TestBean;
import home.test.gae1.vmengine.VelocityEngineManager;
import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletResponse;
import org.apache.velocity.Template;
import org.apache.velocity.VelocityContext;
im... |
/*
* Copyright © 2018 www.noark.xyz All Rights Reserved.
*
* 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 !
* 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件:
*
* http://www.noark.xyz/LICENSE
*
* 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播;
* 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本;
* 3.无论你对源代码做出任何修改和改进,版权都归Noark研发团队所有,我们保... |
package com.fhsoft.model;
/**
*
* @Classname com.fhsoft.model.Zsd
* @Description
*
* @author lw
* @Date 2015-10-23 上午9:06:02
*
*/
public class Zsd {
private int id;
private int parent_id;
private String name;
private String subject;
private String code;
private String pcode;
private String... |
package fundamentos;
public class TiposPrimitivos {
public static void main(String[] args) {
//informações do funcionario
//Tipos númerico inteiros
byte anosDeEmpresa = 23;
short numeroDeVoos = 542;
int id = 56789;
long pontosAcumulados = 3_134_845_233L;
//Tipos numéricos reais
float salario = 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.