text stringlengths 10 2.72M |
|---|
package com.lenovohit.ssm.treat.model;
import java.math.BigDecimal;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.lenovohit.core.model.BaseIdModel;
/**
* 缴费明细
* @author xiaweiyi
*
*/
@Entity
@Table(name="SSM_FEE")
public class Fee extends BaseIdModel{
private static final long ser... |
package be.odisee.se4.hetnest;
public class SecurityConfig {
}
|
/*
* Tic Tac Toe Game Class
*
* Controls they whole game of tic tac toe for one player or two. If two players,
* second player pretends to be computer. All computer ai is built into the class
* and can be run completely independnt of the gui using the console output if programmed
* to do so.
*/
import java.u... |
package br.mg.puc.sica.evento.evento.service;
import br.mg.puc.sica.evento.evento.Enum.Categoria;
import br.mg.puc.sica.evento.evento.model.Envolvidos;
import br.mg.puc.sica.evento.evento.model.Evento;
import br.mg.puc.sica.evento.evento.model.Zona;
import br.mg.puc.sica.evento.evento.model.request.EnvolvidoRequest;
i... |
package kr.ac.kopo.day09;
public class StringMain05 {
public static void main(String[] args) {
long start = System.currentTimeMillis();
String str = "";
for(int i = 0; i < 100000; i++) {
str += i;
}
long end = System.currentTimeMillis();
System.out.println("소요시간 : " + (end - start) / 1000.0 + "... |
/*
* 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 Services;
import Entities.Produit;
import Utils.Connexion;
import java.sql.Connection;
import java.sql.PreparedState... |
package com.example.android.quantitanti;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Typeface;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import andr... |
package com.DropDown;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class NewTours_Register_Country_getCountryNames {
public static void main(String[] args) {
System.setProp... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package nachos.threads;
import nachos.machine.Machine;
public class AlarmTest {
public void alarmTest(){
KThread k1 = new KThread(new sleepRunnable(4000));
k1.setName("첫번째 쓰레드");
KThread k2 = new KThread(new sleepRunnable(3000));
k2.setName("두번째 쓰레드");
KThread k3 = new KThread(new sleepRunnable(2000));... |
package com.niksoftware.snapseed.controllers;
import android.content.Context;
import android.graphics.Bitmap;
import android.view.View;
import com.niksoftware.snapseed.controllers.adapters.ColorStyleItemListAdapter;
import com.niksoftware.snapseed.controllers.adapters.StyleItemListAdapter;
import com.niksoftware.snap... |
package com.needii.dashboard.controller;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.annotation.PostConstruct;
import javax.servlet.ServletContext... |
package com.durgesh.schoolassist;
import android.content.Intent;
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.Button;
import android.widget.Toast;
import com.parse.ParseException;
impo... |
class u1
{
public static void main(String[] args){
System.out.println("u1第一次修改2021年6月10日 15:27:31")
}
} |
package org.qw3rtrun.aub.engine.opengl;
public class FragmentShader extends Shader {
public FragmentShader(String glsl) {
super(ShaderTypeEnum.FRAGMENT, glsl);
}
}
|
package pattern.factory;
public class TestaEmissor {
public static void main(String[] args) {
EmissorCreator emissorCreator = new EmissorCreator();
Emissor emissor = emissorCreator.create(EmissorCreator.SMS);
emissor.envia("Enviandor por sms");
Emissor emissor2 = emissorCreator.create(EmissorCreator.EM... |
package com.lenovohit.hcp.base.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name = "B_TREE_VALUE")
public class Tree extends HcpBaseModel {
private static final long serialVersionUID = -1770624887063184496L;
private String parentId;
priva... |
package LeetCode;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.PriorityQueue;
public class ReorderDataInLogFiles {
/*
* O(3Nlog(N)) -> O(Nlog(N))
* */
public static void main(String[] args) {
ReorderDataInLogFiles solution = new ReorderData... |
package com.zzh.cloud.feign;
import com.zzh.cloud.entity.User;
import com.zzh.config.FeignConfig;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.netflix.feign.FeignClient;
/**
* @author zhaozh
* @version 1.0
* @date 2018-1-3 17:57
**/
@FeignClient(name = "user-provider-reg", config... |
package ru.mcfr.oxygen.updater.utils;
import org.apache.log4j.Logger;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Enumeration;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
import java.util.zip.ZipOutputStream;
/**
... |
class ourexception extends Exception{ /* create our own checked exception(or custom checked exception) class(like SQLException class) by extending the Exception class*/
ourexception(String message){
super(message);
}
}
public class throwourexception {
public static void main(Str... |
package br.com.fiap.dao.impl;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery;
import br.com.fiap.dao.TransporteDAO;
import br.com.fiap.entity.Transporte;
public class TransporteDAOImpl extends DAOImpl<Transporte,Integer> implements TransporteDAO{
pub... |
package com.tongchuang.huangshan.common.enums;
import lombok.Getter;
@Getter
public enum ResultEnum {
UNKNOW_ERROR("-1","未知异常"),
SUCCESS("200", "成功"),
PARAM_ERROR("301", "参数错误"),
PARAM_FILE_IS_NOT_NULL("301001","上传文件不能为空"),
PARAM_FILE_NAME_IS_NOT_NULL("301002","上传文件名不能为空"),
VEHICLE_INFO_IS_NUL... |
package com.arthur.leetcode;
/**
* @program: leetcode
* @description: 买卖股票的最佳时机 II ——二刷
* @title: No122_2
* @Author hengmingji
* https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii/solution/best-time-to-buy-and-sell-stock-ii-zhuan-hua-fa-ji/
* 等价于每天都买卖
* @Date: 2021/12/25 15:32
* @Version 1.0
... |
/**
*
* @author Matthew Clayton
* @version January 3, 2015
* @assign.ment Shopping Cart
* @descrip.tion This class creates item objects for use in the ShoppingCartV2MC
* class each containing cost and name data.
*
*
*/
public class ItemV2MC {
String name;
double cost;
public ItemV2MC(Stri... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Bean;
/**
*
* @author mengqwang
*/
public class Reserve {
private int memberID;
public int getMemberID() {
return memberID;
}
public void setMemberID(int memberID) {
this.mem... |
package Account_Module.Transaction;
import Account_Module.Wallet.WalletUtils;
import DB_Module.block.Block;
import DB_Module.block.Blockchain;
import com.google.common.collect.Maps;
import lombok.Synchronized;
import org.apache.commons.codec.binary.Hex;
import org.apache.commons.lang3.ArrayUtils;
import DB_Module.Rock... |
package dev.bltucker.conway.grid;
import dev.bltucker.conway.cells.Cell;
import dev.bltucker.conway.cells.State;
import junit.framework.Assert;
import org.junit.Test;
public class GameGridTest {
@Test
public void gridInitializationTest(){
GameGrid grid = new GameGrid(100,100);
boolea... |
package pl.basistam.service;
import javax.jws.WebMethod;
import javax.jws.WebService;
import java.time.LocalDate;
import java.time.Month;
@WebService
public class Holidays {
public Holidays() {
}
@WebMethod
public int getDaysLastToHolidays() {
LocalDate currentDate = LocalDate.now();
... |
package ru.spbau.bocharov.concurrency;
import java.util.function.Supplier;
public interface ThreadPool {
<T> LightFuture<T> add(Supplier<T> task);
void shutdown() throws InterruptedException;
}
|
import java.util.Random;
public class Pet {
private int age = generateDefaultAge();
private Color color;
private Shelter shelter;
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public Color getColor() {
return color;
}
... |
package com.wangcheng.thread;
/**
* description:
*
* @author WangCheng
* create in 2019/3/5 10:34
*/
public class VolatileTest {
private volatile int[] arr;
public static void main(String[] args) {
String[] strArr;
}
}
|
package com.bofsoft.sdk.widget.browser;
import android.content.Context;
import android.graphics.Bitmap;
import android.webkit.WebView;
import java.util.HashMap;
import java.util.Map;
public class NSUrlInterface {
/**
* 调用前缀
*/
private static String headStr = "call:";
private Context con;
... |
package ca.brocku.cosc3p97.bigbuzzerquiz.models;
public class Timer implements Runnable {
long sleepTime;
TimeoutListener listener;
public Timer(long sleepTime, TimeoutListener listener) {
this.sleepTime = sleepTime;
this.listener = listener;
}
@Override
public void run() {
... |
package com.xantrix.webapp.service;
import com.xantrix.webapp.entities.Utenti;
public interface UtentiService
{
Utenti SelByIdFidelity(String idFidelity);
void Salva(Utenti utente);
void Aggiorna(Utenti utente);
void Elimina(Utenti utente);
}
|
/**
*
*/
package coucheControler;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
* @author Mamadou bobo
*
*/
public final class ConnexionBD {
private static Connection connection ;
static {
try {
Class.forName("com.mysql.jdbc.Driver");... |
package com.sshfortress.common.base;
import java.util.List;
import java.util.Map;
public interface BaseMapper<K, T> {
/*根据参数查询单表的分页 */
public List<T> queryByParamsListPager(Map<String,Object> map);
/*根据参数查询单表的全部 */
public List<T> list(T paramT);
/*根据主键删除单表的数据 */
int deleteByPrimaryKey(K paramLong);
... |
package com.weiziplus.springboot.common.models;
import lombok.Data;
/**
* @author wanglongwei
* @data 2019/5/13 15:04
*/
@Data
public class SysLog {
private Long id;
private Long userId;
private String description;
private String createTime;
}
|
package com.pointinside.android.api.location;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
public class CompassEngine
implements SensorEventListener
{
private bool... |
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import java.awt.Color;
import javax.swing.JButton;
import java.awt.event.Acti... |
package com.git.cloud.reports.service;
import com.git.cloud.common.support.Pagination;
import com.git.cloud.common.support.PaginationParam;
import com.git.cloud.reports.model.po.CreateReportParamPo;
public interface IReportService {
//public String save(CreateReportParamPo crpo);
public CreateReportPar... |
package Demo;
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 java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
im... |
package com.rallytac.engageandroid.legba.fragment;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.content.res.Configuration;
import android.net.Uri;
i... |
package com.superhero.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.superhero.model.SuperHero;
@Repository
public interface HeroRepository extends JpaRepository<SuperHero, Long> {
} |
package com.artauction.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.artauction.domain.GoodsVO;
import com.artauction.domain.ImageVO;
import com.... |
package com.jaureguialzo.turnoclase;
import androidx.test.espresso.ViewInteraction;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import androidx.test.filters.LargeTest;
import androidx.test.rule.ActivityTestRule;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import or... |
package pro.likada.model;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializa... |
package com.xwolf.eop.system.controller;
import com.alibaba.fastjson.JSONObject;
import com.google.code.kaptcha.impl.DefaultKaptcha;
import com.xwolf.eop.system.service.IUserService;
import com.xwolf.eop.util.HttpUtil;
import lombok.extern.slf4j.Slf4j;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.sub... |
package me.ewriter.chapter12.adapter;
/**
* Created by Zubin on 2016/11/11.
* 会呱呱叫的行为
*/
public interface Quackable {
public void quack();
}
|
package semana_4;
import java.util.Random;
import java.util.Scanner;
public class Vector {
public static void main(String [] args)
{
int array_size=5;
int vector[] = new int[array_size];
int contador=0;
//La clase random para generar los numeros aleatorios
Rand... |
package amazoninf.ner;
import com.fasterxml.jackson.annotation.JsonProperty;
public class NerDto {
public NerDto() {
}
String param;
String tagsNer;
public NerDto(String param) {
this.param = param;
}
@JsonProperty("retorno1")
public String getRetorno1() {
return "valor retorno 1";... |
package com.jbico.myspringsecurity.module.dao.hibernate;
import org.hibernate.Query;
import org.hibernate.Session;
import org.springframework.stereotype.Repository;
import com.jbico.myspringsecurity.common.domain.User;
import com.jbico.myspringsecurity.module.dao.UserDAO;
@Repository
public class UserDAOHibernateImp... |
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
/**
* C... |
package h08;
import java.awt.*;
import java.applet.Applet;
import java.awt.event.*;
public class TextButtons extends Applet
{
TextField text;
Button button;
Button buttonR;
String s;
public void init()
{
text = new TextField(" ", 40);
button = new Button("ok");
button... |
/*
* 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 Model;
import java.util.List;
import javax.swing.table.AbstractTableModel;
/**
*
* @author RIVANKA
*/
public class TabelMo... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.trump.auction.reactor.mock;
import com.google.common.collect.ImmutableList;
import com.trump.auction.reactor.api.BidderService;
import com.trump.auction.reactor.api.model.Bidder;
import org.springframework.stereotype.Service;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
import ... |
package com.trump.auction.web.service;
/**
* Created by songruihuan on 2017/12/21.
*/
public interface TimeLimitService {
}
|
package pl.globallogic.qaa_academy.oop;
import java.util.ArrayList;
import java.util.List;
public class carPool {
private List<Car> carPool;
public carPool(){
carPool = new ArrayList<>();
}
}
|
package com.proky.booking.persistence.dao;
import com.proky.booking.persistence.entities.Role;
import java.util.Optional;
public interface IUserTypeDao extends IDao<Role> {
Optional<Role> findByType(String type);
}
|
package com.radauer.mathrix;
public enum GroupType
{
VALUE, PERCENTAGE, FLAG;
}
|
package com.bcc.gridmenuview;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
impor... |
package com.taotao.order.controller;
import com.taotao.common.pojo.TaotaoResult;
import com.taotao.order.pojo.OrderInfo;
import com.taotao.order.service.OrderService;
import com.taotao.pojo.TbItem;
import com.taotao.pojo.TbUser;
import com.taotao.utils.CookieUtils;
import com.taotao.utils.JsonUtils;
import org.apache.... |
package com.soy.seckill.service.impl;
import com.soy.seckill.dao.SeckillDao;
import com.soy.seckill.dao.SuccessKilledDao;
import com.soy.seckill.dao.cache.RedisDao;
import com.soy.seckill.dto.Exposer;
import com.soy.seckill.dto.SeckillExecution;
import com.soy.seckill.entity.Seckill;
import com.soy.seckill.entity.Succ... |
package io.jrevolt.sysmon.client.ui;
import javafx.application.Application;
import javafx.stage.Stage;
import io.jrevolt.sysmon.client.ClientConfig;
import io.jrevolt.sysmon.client.ClientMain;
import io.jrevolt.sysmon.common.Version;
import io.jrevolt.sysmon.model.AppCfg;
import io.jrevolt.sysmon.model.SpringBootApp;... |
import java.util.*;
public class FindYMax {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int x = sc.nextInt();
Find(n, x);
}
public static void Find(int n, int x){
long factorial = 1;
for(int i = 1; i <= n... |
package pro.likada.service.serviceImpl;
import org.primefaces.model.TreeNode;
import org.primefaces.model.chart.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import pro.likada.dao.ProductDAO;
import pro.likada.model.Product;
import pro.likada.model.ProductGroup;
import pro.likada.model.ProductPrice;
impo... |
// still working on it
package handlers;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import objects.Board;
import objects.Player;
import objects.Tile;
public class DirectionHandler implements ActionListener {
private JButton _stay;
private JButton _north;... |
package resources;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.OutputType;
import org.ope... |
package home;
import java.io.BufferedInputStream;
import java.sql.SQLOutput;
public class Main {
public static void main(String[] args) {
System.out.println("dhfjsdhf");
System.out.println("Введите первое число");
double firstNumber = Methods.getNumber();
System.out.println("Вв... |
package org.framestudy.spring_mybatis.relationmag.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Many;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
... |
package com.lenovohit.elh.pay.model;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.lenovohit.core.model.BaseIdModel;
/**
* 收费项表
* @author Administrator
*
*/
@Entity
@Table(name="ELH_CHARGE")
public class Charge extends BaseIdModel {//TODO 不考虑非就医项收费
private static final long serialV... |
package com.entities;
import java.io.Serializable;
import java.util.List;
import javax.persistence.*;
/**
* Entity implementation class for Entity: Drugstore
*
*/
@Entity
public class Drugstore implements Serializable {
static EntityManagerFactory ENTITY_MANAGER_FACTORY = Persistence.createEntityManagerFactory(... |
package kz.greetgo.gbatis.struct.resource;
import java.io.InputStream;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ClassResourceRef implements ResourceRef {
private final Class<?> aClass;
private final String path;
private ClassResourceRef(Class<?> aClass, String path) {
t... |
package org.crce.interns.service.impl;
import java.io.File;
import java.io.IOException;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.crce.interns.beans.AllotmentBean;
import org.crce.interns.dao.ManageAllotmentDao;
import org.crce.interns.model.Allotment;
import org.cr... |
package com.mx.cdmx.cacho;
import java.io.IOException;
import java.lang.annotation.Target;
import java.math.BigDecimal;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.text.ParseException;
import java.util.Arr... |
/*
* (c) 2009 Thomas Smits
*/
package de.smits_net.tpe.apiimpltrennung;
public class CalculatorImpl implements Calculator {
public int add(int a, int b) {
return a + b;
}
public int sub(int a, int b) {
return a - b;
}
}
|
public class Main {
public static void main(String[] args){
CircularArrayQueue myNewQueue=new CircularArrayQueue(4);
System.out.println("\nThe number of items is "+myNewQueue.noItems());
myNewQueue.enqueue(1);
myNewQueue.enqueue(2);
myNewQueue.enqueue(3);
System.o... |
package com.example.havoc.getchildapi;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import an... |
package com.permission_owner.model;
public class Permission_ownerVO implements java.io.Serializable{
private String pm_no;
private String mg_no;
public String getPm_no() {
return pm_no;
}
public void setPm_no(String pm_no) {
this.pm_no = pm_no;
}
public String getMg_no() {
return mg_no;
}
public v... |
package no.hvl.data102;
import no.hvl.data102.CD.Genre;
import no.hvl.data102.adt.CDarkivADT;
public class CDarkiv2 implements CDarkivADT {
private int antall = 0;
private LinearNode<CD> start;
private final String TOM = "CD arkivet er tomt";
public CDarkiv2() {
start = null;
antall = 0;
}
... |
package be.darkshark.parkshark.api.dto.util;
public class PhoneNumberDTO {
private String countryCode;
private int phoneNumber;
public PhoneNumberDTO() {
}
public PhoneNumberDTO(String countryCode, int phoneNumber) {
this.countryCode = countryCode;
this.phoneNumber = phoneNumber;
... |
package com.example.ahmed.bakingapp;
import android.app.IntentService;
import android.appwidget.AppWidgetManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import com.example.ahmed.bakingapp.database.RecipeContract;
import jav... |
package com.test.base;
/**
* Given a non-negative integer N, find the largest number
* that is less than or equal to N with monotone increasing digits.
*
* 给一个非负的正整数,求一个比他小或等于他,且高位到低位,单调递增的最大值
*
* @author YLine
*
* 2019年5月9日 上午8:23:03
*/
public interface Solution
{
public int monotoneIncreasingDigits(i... |
package paket;
public class benzin implements Yakit{
public void depo() {
System.out.println("Depoda BENZİN var.");
}
}
|
package bullscows;
import java.util.Random;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int bulls = 0;
int cows = 0;
int guesses = 1;
int len = 0;
int possible_symbols = 0;
boo... |
package com.distributie.beans;
public class ArticoleFactura {
private String nume;
private String cantitate;
private String umCant;
private String tipOperatiune;
private String departament;
private String greutate;
private String umGreutate;
public ArticoleFactura() {
}
public String getNume() {
return... |
/**
* AdminController
* @author Aziz Rahman
* @author Amy Guinto
*/
package view;
import java.io.IOException;
import java.util.ArrayList;
import app.PhotoAlbum;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import java... |
package xyz.carbule8.video.command;
import lombok.extern.slf4j.Slf4j;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.List;
@Slf4j
public abstract class SimpleExecute implements ExecuteCommand {
@Override
public String execute(Object... args) throws IOException {
Buffered... |
package classes;
import java.util.ArrayList;
import java.util.List;
public class Node {
private Node Parent;
private List<Node> Children;
private String character;
private Position Position;
public Node() {
Parent = null;
Children = new ArrayList<Node>();
}
public Node(Node parent) {
Parent = parent;
... |
package com.shangdao.phoenix.entity.pictureturn;
import org.springframework.data.jpa.repository.JpaRepository;
public interface PictureTurnsFileRepository extends JpaRepository<PictureTurnsFile, Long> {
} |
package com.hdy.myhxc.mapper.ex;
import com.hdy.myhxc.model.Menu;
import com.hdy.myhxc.model.ex.MenuEx;
import org.apache.ibatis.annotations.*;
import org.apache.ibatis.type.JdbcType;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @author m760384371
* @date 2019/8/26
*/
@Repository... |
package kodiaproject.demo.repository;
import kodiaproject.demo.model.UniversityDetailModel;
import kodiaproject.demo.model.UniversityRequestModel;
import kodiaproject.demo.model.UniversityDatabaseModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query... |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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 ... |
package com.example.mizansen.Network.ModelNetwork;
public class AccountModel extends ErrorModel {
public String token="";
public String user_email;
public String user_nicename;
public String user_display_name;
}
|
package com.esum.as2.message;
import javax.mail.Session;
import javax.mail.internet.MimeBodyPart;
import javax.mail.internet.MimeMessage;
import javax.mail.internet.MimeMultipart;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* AS2 Message를 정의한다.
*
* Copyrights(c) eSum Technologies., Inc. All right... |
package network.nerve.converter.heterogeneouschain.eth.model;
import network.nerve.converter.heterogeneouschain.lib.model.HtgSimpleBlockHeader;
/**
* 同步区块的高度
*
* @author wangkun23
*/
public class EthSimpleBlockHeader extends HtgSimpleBlockHeader {
} |
package com.lovers.java.domain;
import java.util.Date;
public class UserPhotoAlbum {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user_photo_album.album_id
*
* @mbg.generated Wed Sep 25 10:59:33 CST 2019
*/
private Integer... |
package com.gsccs.sme.plat.site.model;
import com.gsccs.sme.api.domain.site.Banner;
/**
* 热点导航
*
* @author x.d zhang
*
*/
public class BannerT extends Banner{
} |
package com.indictrans.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import com.indictrans.Dao.CustomerDao;
import com.indictrans.model.Customer;
public interface CustomerService {
public Customer findById(Long id);
public List<Customer> getRecord();
public vo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.