text stringlengths 10 2.72M |
|---|
package kr.or.ddit.task.service;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import kr.or.ddit.task.dao.ITaskDao;
import kr.or.ddit.vo.JoinVO;
import kr.or.ddit.vo.ProjectVO;
import kr.or.ddit.vo.SuccessBoardCommentVO;
import kr.or.ddit.vo.SuccessBoardV... |
import java.util.*;
public class Clock
{
static int temp;
Clock()
{
temp = 0;
Timer timer = new Timer();
timer.scheduleAtFixedRate(new TimerTask()
{
@Override
public void run(){
temp++;}},0,999);
}
} |
package com.zhaoyan.ladderball.domain.match.http;
import com.zhaoyan.ladderball.domain.common.http.Response;
public class MatchAsignVisitorResponse extends Response {
}
|
/*
* The MIT License (MIT)
* Copyright © 2012 Remo Koch, http://rko.mit-license.org/
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the “Software”), to deal in the Software without restriction,
* including without limitation ... |
package ru.my.reports;
import ru.my.fixers.NameFixer;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class TopicReport implements Report {
private final File file;
private final Pattern... |
package com.jtexplorer.controller;
import com.jtexplorer.service.ArticleService;
import com.jtexplorer.entity.Article;
import com.jtexplorer.entity.enums.RequestEnum;
import com.jtexplorer.entity.dto.JsonResult;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
impo... |
/*
* ### Copyright (C) 2008 Michael Fuchs ###
* ### All Rights Reserved. ###
*
* Author: Michael Fuchs
* E-Mail: michael.fuchs@unico-group.com
* URL: http://www.michael-a-fuchs.de
*/
package org.dbdoclet.tidbit.action;
import java.awt.event.ActionEvent;
import javax.swing.Icon;
import org.dbdo... |
package com.alibaba.druid.bvt.bug;
import com.alibaba.druid.sql.ast.SQLStatement;
import com.alibaba.druid.sql.dialect.oracle.parser.OracleStatementParser;
import com.alibaba.druid.wall.WallCheckResult;
import com.alibaba.druid.wall.spi.OracleWallProvider;
import junit.framework.TestCase;
/**
* Created by wenshao on... |
package br.com.guisfco.onlineshopping.service.customer;
import br.com.guisfco.onlineshopping.domain.CustomerRequest;
import br.com.guisfco.onlineshopping.entity.Customer;
import br.com.guisfco.onlineshopping.repository.CustomerRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Ser... |
package pl.calculator.string;
import pl.calculator.plugins.PluginList;
import java.util.ArrayList;
public class ProcessString {
private String string;
private PluginList ppl;
private String StringSuma;
public ProcessString(String s, PluginList pl) {
if (s.isEmpty()) throw new IllegalArgument... |
//interface
public interface LogicOperation {
//returns two booleans and returns a boolean
boolean logicOP(boolean A, boolean B);
}
|
package xtrus.user.comp.dbl.dbxmap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.esum.framework.common.util.DateUtil;
import com.esum.framework.common.util.StringUtil;
/**
* @author kim.ryeowon
*
* Copyright(c) eSum Technologies., Inc. All rights reserved.
*/
public class ExpressionEvalua... |
package ru.job4j.list;
import java.util.Iterator;
import java.util.ListIterator;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
/**
* Класс SimpleLinkedListTest тестирует класс Si... |
package _04_class_and_object.quadratic_equation;
import java.util.Scanner;
public class QuadraticEquation {
private double a;
private double b;
private double c;
public QuadraticEquation(int a, int b, int c) {
this.a = a;
this.b = b;
this.c = c;
}
public double getA()... |
package ru.job4j.xmlxslt;
import java.sql.Connection;
import java.sql.SQLException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
/**
* Класс... |
package com.agamidev.newsfeedsapp.Models;
import java.util.ArrayList;
public class MainModel {
private String status;
private String source;
private String sortBy;
private ArrayList<NewsModel> articles;
public String getStatus() {
return status;
}
public String getSource() {
... |
package com.ipartek.formacion.javalibro.pojo;
public class Pelicula {
// ATRIBUTOS
private String titulo; //elementos en el XML
private String guionista;
private String productor;
private String director;
private String actor;
private String comentarios;
private String tipo;... |
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.file.Paths;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.document.Document;
import org.apache.lucene.index.Dire... |
package us.team7pro.EventTicketsApp.Services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import us.team7pro.EventTicketsApp.Models.Event;
import us.team7pro.EventTicketsApp.Models.Transaction;
import us.team7pro.EventTicketsApp.Domain.User;
import us.t... |
package com.logicbig.example.qualifier;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class AppRunner {
@Bean(name = "OrderServiceA")
publ... |
package data_structures;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import parsers.TwikiParser;
public class LinkStruct {
public String l_name = "", l_href = "", l_class = "", l_target = ... |
package com.funkyjimm.dogslibry.model;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
@Entity
public class Dog {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
private String breedName;
@ManyToOne
private DogGroup dogGroup;
private float d... |
import java.util.Scanner;
import java.lang.Math;
public class Lesson_17_Activity_One {
public static void main (String[]args){
Scanner scan = new Scanner (System.in);
System.out.println("Enter the Scores:");
int x = 0;
int c = 0;
int sum = 0;
while (x!=-1) {
... |
package ch.prospective.ccp.importservice;
import com.google.common.base.Throwables;
import com.google.common.collect.Lists;
import com.optimaize.langdetect.LanguageDetector;
import com.optimaize.langdetect.LanguageDetectorBuilder;
import com.optimaize.langdetect.ngram.NgramExtractors;
import com.optimaize.langdetect.p... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.net.*;
import java.awt.*;
import java.io.IOException;
public class OpenLinkButton extends Actor
{
private String url;
public OpenLinkButton(String url, String imageName)
{
this.url = url;
setIma... |
package com.xh.plugin;
import java.io.FileDescriptor;
import java.io.PrintWriter;
import android.app.ActionBar;
import android.app.Activity;
import android.app.Application;
import android.app.PendingIntent;
import android.app.TaskStackBuilder;
import android.content.ComponentName;
import android.content.Co... |
package com.jt.manage.controller.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotati... |
package com.tataev.appyes.fragments;
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.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListVi... |
package Painter;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.util.ArrayList;
import javax.swing.*;
import GetBoundsXMLParsing.GetNativeScreenResolution;
//import Temp.MyCoordinates;
//import GetBoundsXMLParsin... |
package com.example.gaurav.hungergo.non_veg_section.activity;
import android.content.Intent;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;
i... |
package com.aut.yuxiang.lbs_middleware.lbs_net;
import android.content.Context;
import com.android.volley.Request;
import com.android.volley.Request.Method;
import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.android.volley.toolbox.JsonObjectRequest;
import com.an... |
/*
* 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 Core;
/**
*
* @author Sahan
*/
public class Patient {
private String name;
private String age;
private Str... |
package me.ThaH3lper.com.dungeon;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import me.ThaH3lper.com.Dungeon;
import me.ThaH3lper.com.DungeonPlayer;
import me.ThaH3lper.com.Crehop.DungeonFloor;
import me.ThaH3lper.com.Portals.Portal;
import me.ThaH3lper.com.party.Party;
import org.bu... |
package fr.aresrpg.tofumanchou.domain.data.enums;
/**
*
* @since
*/
public enum Element {
NEUTRE('N'),
TERRE('E'),
FEU('F'),
AIR('A'),
EAU('W');
private char code;
private Element(char code) {
this.code = code;
}
public char getCode() {
return code;
}
public static Element valueOf(char code) {
... |
package controllers.machineLearning.neuralNetwok;
/**
* Created by shrestha on 1/7/2016.
*/
/**
* STEPS: https://theclevermachine.wordpress.com/2014/09/06/derivation-error-backpropagation-gradient-descent-for-neural-networks/
* Calculated the feed-forward signals from the input to the output.
* Calculate output ... |
package controllers.chorbi;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springfra... |
package jp.co.monkey.activity;
import jp.co.monkey.jsbapp.R;
import jp.co.monkey.layout.ListLayout;
import jp.co.monkey.layout.MainLayout;
import jp.co.monkey.window.WindowLayoutBlue;
import jp.co.monkey.window.WindowLayoutRed;
import jp.co.monkey.window.WindowLayoutYellow;
import android.app.Activity;
import android.... |
package passHardenning;
import java.util.Scanner;
public class Main {
/**
* @param args
*/
public static final int m = 10; //number of questions/answers/distinguishing features
public static final int h = 2; //number of records to keep in history
public static final int t = 10; //threshold value for each fe... |
package io.gtrain.service.event;
import io.gtrain.domain.interfaces.EventRepository;
import io.gtrain.domain.model.Event;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;
import java.security.Principal;
import java.util.List;
/**
* @author William Gentry
*/
@Service
public class E... |
package com.sizatn.sort;
/**
*
* @desc
* @author sizatn
* @date Jun 19, 2019
*/
public class RadixSort {
}
|
package Algo;
import Donnees.EcritureXML;
import Modeles.Demande;
import Modeles.Tournee;
import Service.Service;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static java.time.Duration.*;
import static org.junit.jupiter.api.Assertions.asser... |
package com.ranpeak.ProjectX.networking;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
public class IsOnline {
private static IsOnline instance;
private IsOnline() {
}
public static synchronized IsOnline getInstance() {
if(instance==n... |
package main.java;
import java.util.ArrayList;
import java.util.List;
public class Course {
public String name;
public int credit;
public List<String> requirement;
public Course(String name){
this.name = name;
this.credit = 0;
this.requirement = new ArrayList<>();
}
pu... |
package com.example.administrator.panda_channel_app.dao;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
/**
* Created by ASUS on 2017/5/22.
*/
public class DbManager {
private static final String db_name="wfql";
private static DbManager dbManager;
private DaoMaster.DevOp... |
/**
* FileName: ChildFacade
* Author: yangqinkuan
* Date: 2019-3-20 18:30
* Description:
*/
package com.ice.find.client.childhandle;
import com.ice.find.client.childhandle.handlers.ConHandler;
import com.ice.find.message.BusenessMessage;
public class ChildFacade {
private ConHandler conHandler = new C... |
class Kod {
public static void main(String[] args) {
System.out.println("Leroy Jenkins!");
}
}
|
package com.dian.diabetes.widget;
import com.dian.diabetes.R;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import an... |
package com.rednovo.ace.core.video;
import android.util.Log;
import com.rednovo.libs.common.LogUtils;
public class NovoAVEngine1 {
public static int AV_LOG_QUIET = -8;
/**
* Something went really wrong and we will crash now.
*/
public static int AV_LOG_PANIC = 0;
/**
* Something wen... |
package com.marvell.usbsetting;
public class UsbSetting {
static {
System.loadLibrary("usbsetting");
}
public native int run(String cmdLine);
}
|
package edu.cmu.lti.oaqa.qa4ds.input;
public class DecisionConfigurationException extends Exception {
private static final long serialVersionUID = 1L;
public DecisionConfigurationException(String message) {
super(message);
}
}
|
package kr.co.people_gram.app;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.Html;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
impo... |
package com.needii.dashboard.service;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.needii.dashboard.dao.IncomeDao;
import com.need... |
package com.uniinfo.cloudplat.ws;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import com.uniinfo.cloudplat.vo.AccessTokenReqVO;
import com.uniinfo.cloudplat.vo.AccessTokenRespVO;
import com.uniinfo.cloudplat.vo.AuthorizeReqVO;
import com.uniinfo.cloudplat.vo.AuthorizeR... |
package stmt;
import expr.Expr;
import slp.PropagatingVisitor;
import slp.Visitor;
public class ReturnStmt extends Stmt {
public final Expr expr;
public ReturnStmt(Expr expr, int line_num) {
super( line_num );
this.expr = expr;
}
public ReturnStmt(int line_num) {
super( line_num );
this.expr = null;
}
... |
package EmploymentRelations;
public class Employee extends Person{
String title;
int salary;
public Employee(int age, String name, String title, int salary) {
super(age, name);
this.title = title;
this.salary = salary;
}
}
|
package com.shahab.pagestat.service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Service;
import org.springframework.web.reactive.function.client.WebClient;
import reactor.core.publ... |
package NumerosYLetras;
/**
* Cosas lo que hay que poner en el Main
*
* NumerosYLetras n1 = new NumerosYLetras(1);
NumerosYLetras n2 = new NumerosYLetras(2);
Thread t1 = new Thread(n1);
Thread t2 = new Thread(n2);
t1.start();
t2.start();
*/
/**
*
* @author RubaanxD
*/
public class Numeros... |
package Th2;
class Job1 implements Runnable
{
private String str;
public Job1(String str)
{
this.str=str;
}
@Override
public void run() {
// TODO Auto-generated method stub
for (int i = 0; i < 10; i++) {
try{
Thread.sleep(400);//스레드 동작시 0.4초 슬립
}
catch(InterruptedException e){System.out.prin... |
package com.nevin.coffeeMachine.dunzo.assigment.objects.context;
import lombok.Builder;
import lombok.Data;
import java.util.HashMap;
@Data
@Builder
public class Beverage {
private String name;
private HashMap<String, Integer> ingredients;
}
|
package com.algorithm.weekgame._185;
import java.util.LinkedList;
import java.util.Queue;
/**
* 1417. 重新格式化字符串 2020.6.2 19.27
*/
public class Reformat {
/**
* 总结:
* 1.对于数字字符的判断0的asc码是48, 9是57
* 2.对于尾节点的添加需要判断队列中是否还有值
* @param s
* @return
*/
public static String reformat(String... |
package com.androidcookbook.material;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import androi... |
package networking;
public class ServerModel {
}
|
package Entities;
public class Gamer {
private int gamerId;
private String firstName;
private String lastName;
private String nationalityId;
private int birthYear;
public Gamer() {
super();
}
public Gamer(int gamerId, String firstName, String lastName, String nationalityId, int birthYear) {
super();
th... |
package business.templates;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;
import business.model.User;
public class HTMLReport extends ReportTemplate {
@Over... |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* 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 app... |
package learn.sprsec.ssia0601web.services;
import learn.sprsec.ssia0601web.model.CustomUserDetails;
import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.authentication.UsernamePasswordA... |
package com.ifeng.recom.mixrecall.common.service.filter;
import com.ifeng.recom.mixrecall.common.cache.AbstractMapCache;
import com.ifeng.recom.mixrecall.common.model.Document;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.math.NumberUtils;
import org.slf4j.Logger;
import org.slf4j... |
package com.kh.jd.registration;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.json.simple.JSO... |
/*******************************************************************************
* Copyright (c) 2011 The University of York.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avail... |
class convert_temp{
public static void main(String args[]){
convert c=new convert();
float temp=c.ctof(50);
System.out.println("The Celcius to Fahrenheit: "+c.ctof(50));
System.out.println("The Fahrenheit to Celcius: "+c.ftoc(50));
}
}
class convert{
float ctof(float c){
return ((c*(9/5))+32);
}
float ft... |
package com.huadin.adapter;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.huadin.entity.Point;
import com.huadin.huadin.R;
import com.zhy.autolayout.utils.AutoUtils;
import java.util.ArrayList;
p... |
package interfaces;
/**
* Created by Jay Vaghani on 28-Sep-2019
*/
public interface CarsInterface {
public int speed = 100;
public void engineStart(String engineType, boolean isKeyless);
}
|
package checkers.server.game;
import checkers.core.Coordinates;
import checkers.core.Move;
import checkers.core.boards.Board;
import checkers.server.player.Player;
import checkers.server.rules.RulesManager;
public interface Game { ;
void startGame();
Coordinates getCurrMov();
void endMove(Move lastMove, P... |
package com.example.examplemod.items;
import com.example.examplemod.Reference;
import net.minecraft.item.Item;
public class ItemCheese extends Item {
public ItemCheese() {
setUnlocalizedName(Reference.TutorialItems.CHEESE.getUnlocalisedName());
setRegistryName(Reference.TutorialItems.CHEESE.getRegistryName())... |
/*
* Copyright (c) 2004 Steve Northover and Mike Wilson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, ... |
package com.atguigu.java;
/*
��Ԫ����� ��
��ʽ �����������ʽ���� ���ʽ1 �� ���ʽ2;
˵����
1.�������ʽ�Ľ��ֻ��Ϊ��������
2.�������ʽ�Ľ��Ϊtrueִ�б��ʽ1�����Ϊfalse��ִ�б��ʽ2
3.���ʽ1�ͱ��ʽ2������Ӧ�ñ���һ��
������ʽ1�ͱ��ʽ2�����Զ�����������һ����������ôҲ���ԡ�
�� ��double max = (m > n)? 10.2 : 5;
4.��Ԫ���������Ƕ��ʹ�... |
package com.operacloud.pages;
import static org.testng.Assert.assertTrue;
import java.io.IOException;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.testng.Assert;
... |
package online.lahloba.www.lahloba.data.services;
import android.app.PendingIntent;
import android.content.Intent;
import android.media.RingtoneManager;
import android.net.Uri;
import android.util.Log;
import androidx.core.app.NotificationCompat;
import androidx.core.app.NotificationManagerCompat;
import com.google... |
package com.zjy.controller;
import java.io.UnsupportedEncodingException;
import java.sql.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import o... |
import java.util.Scanner;
import java.util.List;
import java.util.ArrayList;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.IOException;
public class Slideshow{
public static Photo[] photos;
public static int InterestFactor(Slide s1,Slide s2){
List... |
package me.darkeet.android.demo.model;
import android.os.Parcel;
import java.util.List;
import me.darkeet.android.cache.CachedModel;
/**
* Name: TestObject
* User: Lee (darkeet.me@gmail.com)
* Date: 2016/3/24 14:18
* Desc:
*/
public class TestObject extends CachedModel {
private String testString;
pri... |
package com.cgg.esstudy.entity;
import lombok.*;
import java.util.Date;
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class Person {
private Long id;
private String name;
private Integer age;
private Date birthDay;
}
|
package com.SearchHouse.pojo;
public class Compare {
private Integer compareId;
private House house;
public Compare() {
}
public Compare(Integer compareId, House house) {
super();
this.compareId = compareId;
this.house = house;
}
public Compare(House house) {
super();
this.house = house;
}
pub... |
package com.needii.dashboard.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
/**
* The persistent class for the ... |
package com.lenovohit.hcp.odws.web.rest;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URLEncoder;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax... |
package br.com.secia.apisecia.repository;
import br.com.secia.apisecia.model.Client;
import org.springframework.data.jpa.repository.JpaRepository;
public interface ClientRepository extends JpaRepository<Client, Long> {
Client findByCodigo(Long id);
}
|
package de.trispeedys.resourceplanning.repository.base;
import java.util.HashMap;
import de.trispeedys.resourceplanning.entity.AbstractDbObject;
import de.trispeedys.resourceplanning.repository.AggregationRelationRepository;
import de.trispeedys.resourceplanning.repository.DomainRepository;
import de.trispeedy... |
public class CarMain
{
public static void main(String[] args)
{
//Truck, SportsCar, Beater, objects
Truck f150 = new Truck("Ford","F150",false);
SportsCar corvette = new SportsCar("Chevy","Corvette",true);
Truck ranger = new Truck("Ford","Ranger",false);
Beater ... |
package com.sinotech.settle.demo.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;
import java.util.Date;
/**
* 描述:TRAIN_TEACHER表的实体类
* @version
* @author: Administrator
* @创建时间: 2017-12-28
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TrainTeacher implements... |
package com.uchain;
import com.uchain.cryptohash.*;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.math.BigInteger;
import java.util.List;
import java.util.Random;
/**
* Created by Administrator on 2018/8/23.
*/
public class CryptoTest {
... |
package com.geekband.snap.moran.ui.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.geekband.snap.moran.R;
import com.geekband.snap.moran.model.UserInfo;
... |
package ALIXAR.U5_HERENCIA.Examen_U5;
public abstract class Personaje implements Comparable{
private String nombre;
private int energia;
private int capacidadAtaque;
private int capacidadDefensa;
private boolean encantado;
public Personaje(String nombre, int energia, int capacidadAtaque, int ... |
package com.sdz.ville;
@SuppressWarnings("serial")
class NbrHabitantsExceptions extends Exception
{
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
// CONSTRUCTEUR
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
pu... |
package com.anz.demo.dto;
public enum CreditType {
DEBIT, CREDIT;
}
|
package com.esum.comp.pull.test;
import junit.framework.TestCase;
import org.apache.http.client.methods.HttpPost;
import com.esum.framework.http.HttpClientTemplate;
import com.esum.framework.http.HttpClientTemplateFactory;
import com.esum.framework.http.HttpOperationException;
import com.esum.framework.http.HttpPost... |
package de.marcoheintze.dartscoreboard.utils;
public enum ScoreClassification
{
THROW_OVER, // Ueberworfen
ONE_EIGHTY, // 180
ONE_TWENTY_PLUS, // 120+
ONE_HUNDRED_PLUS, // 100+
SIXTY_PLUS, // 60+
LOW_SCORE // <60
} |
package de.uniwue.jpp.deckgen.model;
/**
* Specifies behaviour for a money card.
*/
public interface IMoneyCard extends ICard {
/**
* Gets the value of this card.
*
* @return the value.
*/
int getValue();
}
|
package blackbird.core.avr.packets;
public class BasicPinResponse extends AVRPacket {
private BasicPinQuery.Operation operation;
private int pin;
private int value;
public BasicPinResponse(BasicPinQuery.Operation operation, int pin, int value) {
this.operation = operation;
this.pin = ... |
package com.hymn.xa.a.lhr;
import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.text.Editable;
import android.text.Html;
import android.text.TextUtils;
import android.text.Tex... |
package com.mglowinski.restaurants.model.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.math.BigDecimal;
@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
public class StandardProduct {
@Id
@GeneratedValue(strategy = Genera... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.