text stringlengths 10 2.72M |
|---|
package br.com.sergio.app.model.vo;
public class OperacaoBancariaPorCanalVO {
private Integer operacaoBancariaId;
private String operacaoBancariaNome;
private Integer canalOperacaoBancariaId;
private String canalOperacaoBancariaNome;
/**
* @return the operacaoBancariaId
*/
public Integer getO... |
package one.digitalInovation.crud.salareuniao.salareuniao.repository;
import one.digitalInovation.crud.salareuniao.salareuniao.model.Room;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface RoomRepository extends JpaRepository<R... |
public class TestTime{
public static void main(String[]args){
Time t1 = new Time();
Time t2 = new Time(555550000);
System.out.println(t1);
System.out.println(t2);
}
}
|
package com.yhkx.core.storage.dao.entity;
import org.hibernate.validator.constraints.Length;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
/**
*order_item 表的数据对象
*
* ... |
package com.axibase.tsd.api.model.message;
import com.axibase.tsd.api.model.Interval;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.List;
import java.util.Map;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MessageQuery {
private String entity;
private String type;
privat... |
package com.rccorp.steamviewer;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
/**
* Created by Rutwik on 16/03/18.
*/
public interface GameApi {
@GET("/api/appdetails/")
Call<Game> getGameData(@Query("appids")String appid);
@GET("api/GetGraph/... |
public interface GeometryConstant {
double PI = 3.142;
}
|
package com.javatunes.domain;
import java.io.Serializable;
/**
* @author amidyl0
*
*/
public class User implements Serializable {
/**
*
*/
private static final long serialVersionUID = 646213512225912275L;
private String userName;
private String firstName;
private String lastName;
pri... |
package com.codingKnowledge.entity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
@Component
public class Car {
int modelYear;
@Qualifier(value="e2")
@Autowired
Engine engine;
publi... |
package ffm.slc.model.enums;
/**
* Defines standard levels of competency or performance that can be used for dashboard visualizations: advanced, proficient, basic, below basic.
*/
public enum PerformanceBaseType {
ADVANCED("Advanced"),
PROFICIENT("Proficient"),
BASIC("Basic"),
BELOW_BASIC("Below Basic"),
WELL_B... |
package za.ac.cput.chapter5assignment.decoratorpattern;
/**
* Created by student on 2015/03/13.
*/
public interface Trouser {
public String design();
}
|
package aufgabe1.dictionary;
import java.util.ArrayList;
import java.util.List;
import aufgabe1.dictionary.Dictionary.Element;
/**
* TreeDictionary setzt die in der Vorlesung besprochenen AVL-Bäume ein.
*/
public class TreeDictionary<K extends Comparable<K>, V> implements Dictionary<K, V> {
private static class... |
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JTextField;
import java.awt.Canvas;
import java.awt.Color;
import javax.swing.JButton;
import java.awt.eve... |
import java.util.regex.Pattern;
public static String cypher(String input, int offset, String charset) {
StringBuilder str = new StringBuilder();
for(int i = 0; i < input.length(); i++) {
if(Pattern.compile("\\s").matcher(Character.toString(input.charAt(i))).matches()) {
str.append(input.cha... |
package com.gowtham.toyinventoryservice.dto;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.time.OffsetDateTime;
import java.util.List;
import java.util.UUID;
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ToyOrderD... |
package com.axibase.tsd.api.model.series;
import com.axibase.tsd.api.util.Util;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java... |
package lsinf1225.uclove;
import android.content.Context;
import java.util.ArrayList;
/**
* Classe Availability lie un login et une date pour lequel le login est libre.
* Created by Guillaume on 29/04/16.
*/
public class Availability {
private String login;
private String date;
// Cons... |
package nesto.callshortcut;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Intent;
import android.content.Intent.ShortcutIconResource;
import android.net.Uri;
import android.os.Bundle;
import android.os.Parcelable;
import android.util.Log;
import android.view.View;
import android.w... |
/*
* Created on Mar 18, 2007
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.citibank.ods.modules.product.prodsubfamlprvt.form;
/**
* @author leonardo.nakada
*
* TODO To change the template for this generated ty... |
package it.raffo.codewars;
public class DRoot
{
public static int digital_root(int n)
{
int iRet = digital_rootS("" + n);
while ((iRet / 10) > 0)
{
iRet = digital_rootS("" + iRet);
}
return iRet;
}
public static int digital_rootS(String num)
{
if (num.length() <= 1)
{
return Integer.valueOf(... |
package com.xyt.service.impl;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.List;
import java.util.UUID;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Tra... |
package comcaveProgramme;
import java.util.Scanner;
public class ScannerString {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Bitte geben sie ihren Nachname ein.");
String nachname = scanner.next();
System.out.println("Bitte geben sie ihren... |
package hey.rich.snapsaver;
import java.io.File;
import java.io.FileFilter;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Environment;
import android.os.ResultReceiver;
import android.util.Log;
public class FileManager {
/** Debug log flag. */
private s... |
package classes.core;
import classes.util.Resultado;
import dominio.evento.IDominio;
public interface IFacade {
public Resultado salvar(IDominio entidade);
public Resultado consultar(IDominio entidade);
public Resultado alterar(IDominio entidade);
public Resultado excluir(IDominio entidade);
}
|
package com.cts.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="employee")
public class EmployeeEntity {
@Id
@GeneratedValue
private Integer id;
@Column... |
package gov.nih.nci.ctrp.importtrials.dto;
import gov.nih.nci.ctrp.importtrials.studyprotocolenum.ResponsiblePartyType;
/**
* Created by chandrasekaranp on 3/24/17.
*/
public class ResponsiblePartyDTO {
private ResponsiblePartyType type;
private OrganizationDTO affiliation;
private PersonDTO investigat... |
package dfs_ch05;
import java.util.ArrayList;
import java.util.LinkedList;
public class Ch05_07 {
public static ArrayList<ArrayList<Ch05_07_Node>> graph = new ArrayList<ArrayList<Ch05_07_Node>>();
public static void main(String[] args) {
//그래프 초기화
for(int i=0; i<3; i++) {
graph.add(new ArrayList<Ch05_07_No... |
/*
*
* The MIT License (MIT)
* Copyright (c) 2018 Roberto Villarejo Martínez
*
* 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 r... |
package model;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
public class Class {
private static int count = 0;
private Course course;
private Lectu... |
package com.pruebatecnicaomar.PruebaTecnicaOmar.dao;
import java.util.List;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import com.pruebatecnicaomar.PruebaTecnicaOmar.model.ADAHistorialEntity;
@Repository
public interface ADAHistorialReposito... |
package com.socialportal.application.security.infrastructure.services;
import com.socialportal.domain.user.model.User;
import com.socialportal.domain.user.model.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.InternalAuthenticationServic... |
package datos;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
import domain.Pelicula;
import excepciones.AccesoDat... |
import MyHashMap.ListNode;
/*
* @lc app=leetcode.cn id=92 lang=java
*
* [92] 反转链表 II
*/
// @lc code=start
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode(int x) { val = x; }
* }
*
* 将链表分为三部分:
* part1 (可能为空)
* startOfPart1
* endOfP... |
package com.ipincloud.iotbj.srv.service;
import com.ipincloud.iotbj.srv.domain.Sensorcate;
import java.util.List;
import java.util.Map;
import com.alibaba.fastjson.JSONObject;
//(Iotbj)传感器类型 服务接口
//generate by redcloud,2020-07-24 19:59:20
public interface SensorcateService {
//@param id 主键
//@return 实例对象Sensor... |
package lab.heisenbug.sandbox;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* Created by parker ... |
package com.amdudda;
import java.io.*;
import java.util.*;
public class Coffeeshop {
public static void main(String[] args) throws IOException {
/*
Each product has a unique name, so we can use that
as a key for a hashmap linking to an arraylist that
stores the cost to make and sa... |
package com.xyt.service;
import java.util.List;
import com.xyt.model.Usertbl;
public interface TdrServiceI {
public List<Usertbl> getTdrService(String tdrid); //根据同道人的编号(默认写好的1-7)返回同道人列表
}
|
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.ResourceBundle;
/*
*
* @author Matt Ping & M... |
/*
* 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 Controller;
import Model.Transaction;
import java.math.RoundingMode;
import java.net.URL;
import java.text.DecimalFormat;
impo... |
/*
* 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 mandelbrot.rendering.iterationcalculator;
import geometry.Shape2D;
/**
*
* @author Gregoire
*/
public class IterationCalcu... |
package com.sonny.project.network;
import android.content.Context;
import com.library.network.interfaces.IHttpParams;
/**
* Created by linqs on 2016/8/10.
*/
public class HttpParams extends IHttpParams {
//上下文
private Context context;
//是否显示等待匡
private boolean loading;
public Context getCont... |
package com.example.gads2020.repo;
import com.example.gads2020.models.LearningLeaders;
import com.example.gads2020.models.SkillIqLeaders;
import java.util.List;
import io.reactivex.Single;
public interface LeadersRepo {
Single<List<LearningLeaders>> getLearningLeaders();
Single<List<SkillIqLeaders>> getSki... |
package iBoxDB.XT.IO;
import java.io.*;
import java.nio.*;
import java.nio.channels.FileChannel.MapMode;
import java.util.*;
import iBoxDB.LocalServer.IO.*;
public class MMapConfig extends BoxFileStreamConfig {
private int MaxFile = 1024;
private long FileSize = 1024 * 1024 * 256;
private long maxMemory = FileSi... |
package com.netcracker.app.domain.info.controllers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping... |
/* $Id$ */
package djudge.judge.checker;
import org.apache.log4j.Logger;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import utils.XmlTools;
import djudge.common.Deployment;
import djudge.common.JudgeDirs;
import djudge.common.XMLSerializable;
import djudge.exceptions.DJudgeXmlException;
i... |
package com.flowedu.dto;
import lombok.Data;
@Data
public class BusInfoDto {
// 버스 인덱스
private Long busIdx;
// 노선 번호
private String routeNumber;
// 노선명(시점)
private String startRouteName;
// 노선명(종점)
private String endRouteName;
// 구분
private String busType;
// 상태
... |
/**
* Spring Security configuration.
*/
package com.eikesi.demoABC.service.security;
|
package com.crutchclothing.products.model;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
impo... |
package com.anyuaning.osp.service.pendometer;
import android.os.SystemClock;
/**
* Created by thom on 14-4-26.
*/
public class PaceDisplayer extends StepListener<Integer> {
private int mCounter;
private long mLastStepTime;
private long[] mLastStepDeltas = {-1, -1, -1, -1};
priv... |
package com.metoo.manage.seller.action;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import jav... |
package cs3230;
import cs3230.card.*;
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.geometry.Rectangle2D;
import javafx.scene.Scene;
import javafx.scene.SceneAntialiasing;
import javafx.scene.layout.*;
import javafx.scene.paint.Color;
import javafx.stag... |
package com.almoxarifado.erp.controller;
import java.io.Serializable;
import java.util.Arrays;
import java.util.List;
import javax.faces.view.ViewScoped;
import javax.inject.Inject;
import javax.inject.Named;
import org.primefaces.context.RequestContext;
import com.almoxarifado.erp.model.Cidade;
import com.almoxari... |
package com.appspot.smartshop.map;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.PointF;
import android.... |
package de.varylab.discreteconformal.functional;
import static java.lang.Math.abs;
import java.util.Random;
import no.uib.cipr.matrix.DenseVector;
import no.uib.cipr.matrix.Vector;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import de.jtem.halfedgetools.fu... |
package series03ticTacToe;
public class TicTacToe {
static char activePlayer = 'O';
Playfield game = new Playfield();
public TicTacToe() {
game.createFields();
}
public static void switchPlayer() {
if (activePlayer == 'O')
activePlayer = 'X';
else
activePlayer = 'O';
}
}
|
package com.beadhouse.service.impl;
import com.beadhouse.out.ElderThemeOut;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import com.beadhouse.dao.ThemeMapper;
import com.beadhouse.domen.Theme;
i... |
/*
* Copyright 1999-2017 Alibaba Group Holding Ltd.
*
* 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 applica... |
// Tiras os "." e "-" de uma entrada 000.000.000-00 quebrando linha a cada remoção.
import java.util.Scanner;
import java.util.Locale;
public class DesafioCPF{
public static void main(String[] args) {
Locale.setDefault(new Locale("en", "US"));
Scanner sc = new Scanner(System.in);
String cpf = new String()... |
package com.example.qobel.organizator;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
/**
* Created by qobel on 2.07.2017.
*/
public class UserRetrofitClient {
public Retrofit userLogin(String baseUrl){
OkHttpClient.Builder httpClient = n... |
package com.lv.MyView;
import com.lv.movice.R;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.wi... |
package com.gossipmongers.mobicomkit.api.conversation;
import com.gossipmongers.mobicomkit.api.account.user.UserDetail;
import com.gossipmongers.mobicomkit.feed.ChannelFeed;
import com.gossipmongers.mobicommons.json.JsonMarker;
public class KmConversationResponse extends JsonMarker {
private Message[] message;
... |
package com.cemsserver.repository;
import java.util.Optional;
import org.springframework.data.repository.CrudRepository;
import com.cemsserver.entity.CurrentSession;
public interface CurrentSessionRepo extends CrudRepository<CurrentSession, String>
{
Optional<CurrentSession> findByApiKey(String apiKey);
}
|
package cn.fungo.mapper;
import java.util.List;
import cn.fungo.domain.W2Position;
import cn.fungo.domain.W3MerchPosition;
public interface PositionMapper {
/**查询供应商岗位**/
List<W2Position> findSupplierPositions(String name);
/**查询商户岗位**/
List<W3MerchPosition> findMerchPositions(String name);
/**添加商户岗位**/
Inte... |
package team.groupproject.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import team.groupproject.entity.Order;
@Repository
public interface OrderRepo extends JpaRepository<Order, Integer> {
List<Order> findByM... |
package org.tensorflow.lite.examples.detection;
public class Database {
public static String[] codes={
"1234"
};
}
|
package net.lantrack.framework.springplugin.view;
import net.lantrack.framework.core.entity.ReturnEntity;
import org.springframework.web.servlet.view.InternalResourceView;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.... |
package com.adwork.microservices.users.auth.jwt;
import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletR... |
import java.util.Scanner;
public class Main8 {
public static void main(String[] args) {
final int maxfloor = 10;
int i;
System.out.println("Please, enter the floor what you need from 1 to 10 : ");
Scanner scn = new Scanner(System.in);
i=scn.nextInt();
if(i<= maxfloor&... |
package ioc.Demo2;
/**
* Created by Yingjie.Lu on 2018/8/2.
*/
public class LiSi implements Tester{
public void test(){
System.out.println("李四做测试");
}
}
|
package com.example.easydatalabeler;
import android.net.Uri;
import com.google.firebase.storage.StorageReference;
import java.io.File;
public class Image {
public String LabeledBy;
public StorageReference filePath;
public String downloadUrl;
public String labelDownloadUrl;
public boolean isLabel... |
package com.devzlab.sun.springboothystrix;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
impor... |
/* ###
* IP: GHIDRA
*
* 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 applicable law or agreed to in writin... |
package org.group.projects.simple.gis.online.model.entity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.*;
import javax.persistence.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
@Entity(name = "Firm")
@Table(name = "firm")
@NoArgsConstructor
@AllArgsConstruct... |
package clase2SincronizmodeHilo;
public class Cuenta {
float saldo=2000;
//float monto=2000;
//agrego syncrhonized pausa el movimiento en la cuenta /bloquea el objeto
//cuaando termina el primer proceso en la cuenta, permite al 2do usar la cuenta
public synchronized void depositar(float mont... |
package sina;
import java.io.IOException;
import org.jsoup.Connection;
import org.jsoup.Connection.Response;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import com.google.gson.Gson;
import entity.sina.HelpResult;
import entity.sina.Result;
public class Cr... |
/**
*
*/
package index;
import static org.junit.jupiter.api.Assertions.*;
import java.time.LocalDate;
import java.util.ArrayList;
import org.junit.jupiter.api.Test;
/**
* @author YCH
*
*/
class MeetingTest {
Meeting meet = new Meeting("Java - ICC","2021-05-17", "Lemonnier");
ArrayList<Participant> arpart =... |
/*Write a program to check whether a number is not even odd.
* User input:
* 1) Number
* */
package basic;
import java.util.Scanner;
public class EvenOdd {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc=new Scanner(System.in);
System.out.println("Ple... |
package com.fh.controller;
import com.fh.service.IBrandService;
import com.fh.commons.ServerResult;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
@RestController
@RequestMapping("brand")
@CrossOrigin(maxAge = 3600,origins = "http://localhost:8080")
public class BrandController {... |
package Chinese.ChineseDecorator;
import Chinese.Chinese;
public abstract class DishDecorator extends Chinese{
public abstract String getDescription();
}
|
package dk.webbies.tscreate.util;
import dk.webbies.tscreate.analysis.declarations.types.*;
import fj.data.Array;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
/**
* Created by erik1 on 20-06-2016.
*/
public class Look... |
package com.mditservices.scheduler;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;
public class MyAlarmReceiver extends BroadcastReceiver
{
@Override
public void onReceive(Context context, Intent intent)
{
//Toast... |
package com.cjkj.insurance.service;
import com.cjkj.insurance.entity.other.ReqCreateTaskB;
import com.cjkj.insurance.entity.other.ReqUpdateTask;
import com.cjkj.insurance.entity.other.RespFinalState;
import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;
public interface MsgHandleServic... |
package com.product.dao;
import com.product.vo.ProductVo;
import utils.JDBC;
import java.sql.*;
import java.util.ArrayList;
/*
* 這邊放對 DB 的操作
*/
public class ProductDao implements IProductDao {
private Connection conn = JDBC.getConnection(); //取得連線
private PreparedStatement pstmt = null;
private Result... |
package Parte04.P4PG43;
public class VelocidadeAcimaException extends Exception{
public String getMessage(){
return "Velcidade Acima do permitido!";
}
}
|
package com.whenling.castle.json;
public interface FV {
interface None {
}
interface Simple {
}
interface Audit {
}
interface Detail extends Simple {
}
interface Full extends Detail, Audit {
}
}
|
package com.cst.mysql;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import org.apache.commons.dbcp2.BasicDataSource;
import net.minidev.json.JSONObject;
public class MysqlFailover {
public static void main(String... |
package com.davivienda.sara.exception;
/**
*
* @author JUAN HERNAN
*/
public class ServiceInExecutionException extends Exception {
public ServiceInExecutionException(String message) {
super(message);
}
}
|
/*
* 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 disignpattern;
import java.sql.*;
/**
*
* @author formation
*/
public class SingletonConnexionTest {
p... |
package servlets;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.LinkedHashMap;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRespons... |
import java.util.Scanner;
public class pangram {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String str=sc.nextLine();int f=0;
String alpha="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
String alpha1="abcdefghijklmnopqrstuvwxyz";
for(int i=0;i<alpha.length();i++)
{... |
package com.gsccs.sme.api.domain.shop;
import java.util.Date;
import com.gsccs.sme.api.domain.base.Domain;
/**
* 产品图片
*
* @author x.d zhang
*
*/
public class ProductImg extends Domain {
private static final long serialVersionUID = 6161182663923237286L;
/**
* 产品图片ID
*/
private String id;
/**
* 图片所... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package hdfcraft.minecraft;
import java.io.Serializable;
/**
*
* @author pepijn
*/
public class Dimension implements Serializable {
public Dimension(int no, int maxHeight) {
this.no = no;
this.ma... |
package dao.impl;
import dao.PersonelDAO;
import enterprise.Personel;
import java.sql.*;
import javax.sql.*;
public class PersonelDAOImpl implements PersonelDAO {
private Connection baglanti = null;
private String sqlKodu = null;
private DataSource veriKaynagi;
public DataSource getVeriKaynagi() {
return v... |
package com.dihaitech.spiderstory;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.... |
package com.gxtc.huchuan.ui.mine.personalhomepage.personalinfo;
import android.app.Activity;
import android.content.ContentProvider;
import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.... |
package ffm.slc.model.enums;
/**
* The enumeration of the different levels of education achievable.
*/
public enum LevelOfEducationType {
NO_DEGREE("No Degree"),
BACHELOR_S("Bachelor's"),
MASTER_S("Master's"),
DOCTORATE("Doctorate");
private String prettyName;
LevelOfEducationType(String prettyName) {
this... |
package com.kingshuk.saxparsing;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.Attributes;
import org.xml.sax.... |
package com.example.smdemo1.aop;
import com.example.smdemo1.model.User;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.AfterThrowing;
import org.aspectj.lang.... |
package com.java8;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.omg.Messaging.SyncScopeHelper;
class Person{
private int id;
private String name;
public int getId() {
return id;
}
public void setId(int i... |
package fr.pco.accenture.factories;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.