text stringlengths 10 2.72M |
|---|
package com.citibank.ods.entity.pl.valueobject;
import java.util.Date;
/**
* @version 1.0
* @author Hamilton Matos,Jul 26, 2007
*/
public class TplCustomerBrokerHistEntityVO extends
BaseTplCustomerBrokerEntityVO
{
/**
* Data e Hora que o usuario aprovou o registro cadastrado
*
* @... |
package com.xiaole.hdfs;
import com.xiaole.mvc.model.LogFilter;
import com.xiaole.mvc.model.NormalLog;
import com.xiaole.mvc.model.checker.InvalidLogChecker;
import com.xiaole.mvc.model.checker.SdkLogChecker;
import com.xiaole.mvc.model.checker.simpleChecker.CheckSimpleInterface;
import com.xiaole.mvc.model.checker.si... |
package mx.com.otss.saec_registro;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import a... |
import java.util.ArrayList;
/**
* Interface for a map creator
* @author Yujin, Luke, Steele, Michael
*
*/
public interface MapCreator {
ArrayList<Entity> create();
int getHeight();
int getWidth();
}
|
package org.openmrs.module.mirebalais.apploader;
import org.openmrs.module.allergyui.AllergyUIConstants;
import org.openmrs.module.coreapps.CoreAppsConstants;
import org.openmrs.module.pihcore.metadata.core.program.ANCProgram;
import org.openmrs.module.pihcore.metadata.core.program.AsthmaProgram;
import org.openmrs.mo... |
/*
* 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 com.javawebtutor;
import java.util.ArrayList;
import java.util.List;
import com.javawebtutor.Entities.Firma;
import com.javawebtutor.Entities.Ugovor;
public interface AdministracijaService {
public void noviUgovor(Ugovor u);
public List<Ugovor> vratiSveUgovore(Firma f);
public Ugovor vratiUgovor(int id);
... |
package com.openfeint.game.archaeology.message;
import com.openfeint.game.message.GenericMessage;
public class SandStormMessage extends GenericMessage {
/**
* @param playerId. id of the player who found the sand storm card
*/
public SandStormMessage(String playerId) {
setFrom(playerId);
... |
package cn.swsk.rgyxtqapp;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.CompoundButton;... |
package Utils;
import java.util.ArrayList;
public class UserItermC {
private int id;
private ArrayList<Item> set ;
public UserItermC(int id, ArrayList<Item> set) {
this.id = id;
this.set = set;
}
public ArrayList<Item> getSet(){
return set;
}
public void setSet(ArrayList<Item> set){
this.set = set;
}... |
package matthbo.mods.darkworld.block;
import matthbo.mods.darkworld.init.ModBlocks;
import matthbo.mods.darkworld.init.ModItems;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.item.Item;
import net.minecra... |
package br.com.mixfiscal.prodspedxnfe.domain.own;
import java.io.Serializable;
import java.util.Objects;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import j... |
/**
*
*/
package com.zh.common.utils;
/**
* @author ZH
*
*/
public class Base64 {
@SuppressWarnings("restriction")
public static String getBase64(String s) {
if (s == null)
return null;
return (new sun.misc.BASE64Encoder()).encode(s.getBytes());
}
@SuppressWarnings("restriction"... |
package src.modulo8.complementos;
import java.io.*;
import java.nio.*;
import java.awt.*;
import java.awt.image.*;
import java.awt.color.ColorSpace;
import java.awt.geom.AffineTransform;
import javax.media.opengl.*;
class Imaging {
//////////////// Variables /////////////////////////
final String defaultImageFi... |
package dbAssignment.opti_home_shop;
import java.util.Iterator;
import java.util.List;
public class App {
public static void main(String[] args) {
System.out.println("Hello! Please execute the provided tests!");
}
}
|
package web;
import dao.UsersDao;
import model.User;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.*;
import java.sql.SQLException;
import... |
package com.sunny.rpc.netty;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.handler.codec.string.StringEncoder;
import java.ut... |
package org.michenux.drodrolib;
import org.michenux.drodrolib.db.sqlite.SQLiteDatabaseFactory;
import org.michenux.drodrolib.network.volley.BitmapCacheHolder;
import dagger.Module;
@Module(injects = { SQLiteDatabaseFactory.class, BitmapCacheHolder.class })
public class MCXModule {
}
|
package test;
import java.text.SimpleDateFormat;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import dao.BookDao;
import dto.Book;
import utils.HBUtils;
public class Program
{
static SimpleDateFormat sdf = new SimpleD... |
package part1_processing;
import java.awt.Rectangle;
import java.util.ArrayList;
import processing.core.PApplet;
import processing.core.PVector;
public class Processing extends PApplet {
Rectangle g;
Rectangle c;
Rectangle ob;
PVector pos;
... |
package org.sultangazibelediye.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/books")
public class Deneme {
@GetMapping("/novel")
... |
package LinkedList;
import java.util.*;
/*
链表求和
445. Add Two Numbers II (Medium)
Input: (7 -> 2 -> 4 -> 3) + (5 -> 6 -> 4)
Output: 7 -> 8 -> 0 -> 7
*/
public class AddTwoNumbersII {
public ListNode addTwoNumbers(ListNode l1, ListNode l2) {
Stack<Integer> l1Stack = buildStack(l1);
Stack<Integer... |
package com.baiwang.custom.common.dao;
import com.baiwang.custom.common.model.MGAccountResqust;
import com.baiwang.custom.common.model.MGInvoiceModel;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* @Description: 发票记账接口
* @Author: Guoyongzheng
* @Date: 2018/10/15-10:21
*/
@Mapper
public... |
package dlmbg.pckg.sistem.akademik;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android... |
package com.github.tobby48.java.scene4;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
/**
* <pre>
* com.github.tobby48.java.scene4
* FileCharacterStreamRead.java
*
* 설명 : 파일 입출력 - Character Stream 으로 파일읽기
* </pre>
*
* @since : 2017. 11. 17.
* @author ... |
package pl.herbata.project.mvc.mainframe;
import java.util.ArrayList;
import java.util.List;
import javax.swing.table.DefaultTableModel;
import pl.herbata.project.ParticipingPlayer;
import pl.herbata.project.Player;
import pl.herbata.project.Tournament;
import pl.herbata.project.mvc.Model;
public class Ma... |
package egovframework.adm.lcms.cts.controller;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotyp... |
package cqut.syntaxAnalyzer.util;
public class StringUtil {
/**
* 判断参数中字符串大写字母的起始位置,若没有大写字母则返回-1
*
* @param str
* @return
*/
public static int indexOf(String str) {
char[] chars = str.toCharArray();
for (int i = 0; i < chars.length; i++) {
if (chars[i] <= 'Z' && chars[i] >= 'A') {
... |
package com.neusoft.oa.model;
import org.apache.ibatis.type.Alias;
//系统功能Model类
@Alias("Function")
public class FunctionModel {
private int no=0;
private String name=null; //功能名称
private String url=null; //功能主页的请求地址
private ModuleModel module=null; //功能所在的模块
//
public int getNo() {
return no;
}
public void ... |
package info.datacluster.crawler.mapper;
import info.datacluster.crawler.entity.CrawlerTaskResult;
public interface CrawlerTaskResultMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table crawler_task_result
*
* @mbg.generated Mon Aug 26 ... |
// https://leetcode.com/problems/jewels-and-stones/
// #hash-table
class Solution {
public int numJewelsInStones(String J, String S) {
int[] source = new int['z' - 'A' + 1];
for (char c : S.toCharArray()) {
source[c - 'A'] += 1;
}
int ret = 0;
for (char c : J.toCharArray()) {
ret += so... |
package cz.metacentrum.perun.spRegistration.persistence.managers;
import cz.metacentrum.perun.spRegistration.common.exceptions.InternalErrorException;
import cz.metacentrum.perun.spRegistration.common.models.AuditLogDTO;
import java.util.List;
import lombok.NonNull;
public interface AuditLogsManager {
AuditLogDT... |
package com.dream.utils;
import android.content.Context;
public class PreferUtil {
public static boolean saveString(Context context, String key, String value) {
context.getSharedPreferences(Constant.COOKIESTR, Context.MODE_PRIVATE).edit().putString(key, value).commit();
return true;
}
pub... |
package pp;
import pp.model.Glad;
import pp.model.IModel;
/**
* @author alexander.sokolovsky.a@gmail.com
*/
public class GladModelFactory implements ModelFactory {
private static final GladModelFactory INSTANCE = new GladModelFactory();
public static final GladModelFactory getInstance() {
return INSTANCE;
}
p... |
package factoring;
import java.util.Collection;
/**
* This is a generic interface for classes which can find some factors of a number up to a certain factor.
* This maximal factor can be given by {@link #setMaxFactor(int)}.
* The implementation can either return prime or composite factors of the number.
* It can ... |
package slicktest;
import org.newdawn.slick.BasicGame;
import org.newdawn.slick.Color;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Input;
import org.newdawn.slick.SlickException;
import entities.Character;
/**
* This class represents the game itself. It is enca... |
/*
* Copyright 2002-2023 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 ITMO_LAB3;
import java.util.Objects;
public abstract class Person{
private String Name;
private String Mood;
private Locations location;
static String glad(){
return ("Everyone is glad that the Dragon was gone");
}
public void setLocation(Locations location) {
... |
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayOutputStream;
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 java.util.Random;
import java.util.U... |
package com.shangdao.phoenix.entity.report.strategy;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.shangdao.phoenix.entity.apisearch.APISearchRepository;
import com.shangdao.phoenix.entity.report.Report;
import com.shangdao.phoenix.entity.report.module.BaseModule;
import com... |
/*
* (C) Mississippi State University 2009
*
* The WebTOP employs two licenses for its source code, based on the intended use. The core license for WebTOP applications is
* a Creative Commons GNU General Public License as described in http://*creativecommons.org/licenses/GPL/2.0/. WebTOP libraries
* and wapplets are ... |
/*
* ============================================================================
* = COPYRIGHT
* PAX TECHNOLOGY, Inc. PROPRIETARY INFORMATION
* This software is supplied under the terms of a license agreement or
* nondisclosure agreement with PAX Technology, Inc. and may not be copied
* or d... |
package com.distribute.TeamDistribute.service;
import java.awt.PageAttributes.MediaType;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketException;
import java.util.HashMap;
import java.util.Map;
import org.springframework.... |
package com.bcreagh.data;
public class NodeInfo {
private int blockNumber;
private int positionNumber;
public int getBlockNumber() {
return blockNumber;
}
public void setBlockNumber(int blockNumber) {
this.blockNumber = blockNumber;
}
public int getPositionNumber() {
... |
package googlemaps.learn.smktelkom_mlg.sch.id.googlemapsxiirpl117;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
impor... |
package swissre;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import swissre.model.CurrencyCode;
import swissre.model.ExchangeRateChange;
import swissre.model.FlaggedChange;
import swissre.parser.InvalidExchangeRateFileException;
import swissre.parser.Parser;
import swissre.parser.String... |
package stormedpanda.simplyjetpacks.client.particle;
import net.minecraft.client.Minecraft;
import net.minecraft.client.particle.ParticleManager;
import net.minecraft.particles.BasicParticleType;
import net.minecraft.particles.ParticleType;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.clien... |
package com.epam.excercise.excelToXml.service;
import com.epam.excercise.excelToXml.model.Product;
import org.apache.poi.EncryptedDocumentException;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apa... |
package org.rundeck.client.tool.commands.enterprise.api.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import org.rundeck.client.util.DataOutput;
import java.util.HashMap;
import java.util.Map;
@JsonIgnoreProperties(ignoreUnknown = true)
@Getter @Sett... |
package com.baidu.timework;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.baidu.serivce.UpdateServerInfosService;
/**
* ... |
package com.maliang.core.service;
/**
* Map Reader
* **/
public class MR {
public static Object readValue(Object obj,String fname){
return MapHelper.readValue(obj, fname);
}
public static void setValue(Object obj,String name,Object keyValue){
MapHelper.setValue(obj, name, keyValue);
}
}
|
package com.metoo.module.app.test.httpclient;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springfra... |
package by.htp.airline10.main;
import java.util.List;
import java.util.ArrayList;
public class Group {
private List<Airline> airline;
public Group() {
airline = new ArrayList<Airline>();
}
public List<Airline> add(Airline newAirline) {
airline.add(newAirline);
return airline;
}
pub... |
package smallTest;
import java.io.FileInputStream;
import java.util.Scanner;
import java.util.Stack;
public class Test1 {
static int N;
static int AnswerN;
public static void main(String[] args) throws Exception {
System.setIn(new FileInputStream("src\\inputText.txt"));
Scanner s = new Scanner(System.in);
... |
package training.arraylist;
import java.util.*;
/**
* @author Hurt Yevhenii
*/
public class MyArrayList <E> implements List <E> {
public static final int DEFAULT_CAPACITY = 10;
private int modificationCount;
private int size;
Object[] arr;
public MyArrayList() {
size = 0;
arr ... |
package it.unibo.bd1819.job2.mappers;
import it.unibo.bd1819.job2.utils.FileParser;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import java.io.IOException;
import java.util.List;
public class CounterRa... |
package de.varylab.discreteconformal.math;
import java.math.BigDecimal;
import java.math.MathContext;
import org.junit.Assert;
import org.junit.Test;
import de.jreality.math.P2;
import de.jreality.math.Pn;
public class P2BigTest {
public static MathContext
context = new MathContext(50);
public BigDecimal b(... |
package com.xwolf.eop.system.controller;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
/**
*... |
package com.ai.platform.agent.client;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelOption;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioSocketChannel;
import org.apach... |
/*
* 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.innovaciones.reporte.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.io.Serializable;
import java.u... |
package com.baopinghui.bin.controller;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.Reques... |
package com.gxjtkyy.standardcloud.admin.domain.vo;
import com.gxjtkyy.standardcloud.common.domain.vo.BaseVO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.Date;
/**
* 字典详细
* @Package com.gxjtkyy.standardcloud.admin.domain.vo
* @Author lizhenhua
* @Date 2018/7/2 10:49
*/
@... |
package com.hcl.neo.eloader.microservices.configuration;
import java.util.logging.Logger;
import javax.jms.ConnectionFactory;
import org.apache.activemq.ActiveMQConnectionFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.orm.jpa.EntityScan;
import org.springframework... |
/*
* Copyright 2016 CIRDLES.
*
* 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... |
/*
MusicalScales -- a class within the Cellular Automaton Explorer.
Copyright (C) 2005 David B. Bahr (http://academic.regis.edu/dbahr/)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; ei... |
/**
* This class is generated by jOOQ
*/
package schema.tables.records;
import java.sql.Timestamp;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record5;
import org.jooq.Row5;
import org.jooq.impl.UpdatableRecordImpl;
import schema.tables.CourseCreatorsCoursec... |
package cc.byod.p5.dpc;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
public class MainActivity extends AppCompatActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceSta... |
package com.metoo.module.chatting.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.metoo.core.constant.Globals;
import com.metoo.core.domain... |
package com.serotonin.modbus4j.base;
/**
* Class for maintaining the profile of a slave device on the master side. Initially, we assume that the device is
* fully featured, and then we note function failures so that we know how requests should subsequently be sent.
*
* @author mlohbihler
*/
public class SlavePr... |
package com.londonappbrewery.destini;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
// TODO: Steps 4 & 8 - Declare member variables here:
... |
package com.vipvideo.ui.login;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import com.lixh.base.BaseActivity;
import com.lixh.utils.Alert;
import com.lixh... |
package utils;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import ja... |
package com.rengu.operationsoanagementsuite.Repository;
import com.rengu.operationsoanagementsuite.Entity.ComponentDetailEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;
@Rep... |
package com.partnertap.cache.controller;
import com.partnertap.cache.service.AdminCannedService;
import com.partnertap.cache.model.ReportsRepDetails;
import com.partnertap.cache.model.api.ReportsRepDetailsInterface;
import java.util.List;
import java.util.Optional;
import org.slf4j.Logger;
import org.slf4j... |
package java8;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.stream.Collector;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import static java.util.stream.Collectors.groupingBy;
import static java.util.stream.Collectors... |
/*
* 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... |
/*
* Copyright 2002-2023 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 dk.aau.oose;
import org.lwjgl.util.vector.Vector2f;
import org.newdawn.slick.Color;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;
import dk.aau.oose.core.GameElement;
import dk.aau.oose.core.GameWorld;
public class Points extends GameElement {
public Points(... |
package br.com.fiap.fiapinteliBe21.controller.exception;
import javax.servlet.http.HttpServletRequest;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.FieldError;
import org.springframework.web.bind.MethodArgumentNotValidException;
impo... |
package com.leejua.myproject.members;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
i... |
package com.aim.project.pwp.heuristics;
import java.util.Random;
import com.aim.project.pwp.PWPObjectiveFunction;
import com.aim.project.pwp.interfaces.HeuristicInterface;
import com.aim.project.pwp.interfaces.PWPSolutionInterface;
public class InversionMutation extends HeuristicOperators implements Heuris... |
/*
* Created on 2004-11-10
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.aof.webapp.form;
/**
* @author shilei
*
* TODO To change the template for this generated type comment go to Window -
* Preferences - Java - Code ... |
import java.io.Serializable;
public class Bil implements Serializable {
private static final long serialVersionUID = 1L;
private String kjennetegn;
private String merke_type;
private int forstereg;
Bil neste;
public Bil(String kjennetegn, String merke_type, int forstereg) {
this.kjennetegn=kjennetegn... |
package com.example.laurentiuolteanu.victorycuprefereeassistant;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import a... |
package section4;
import javax.swing.JOptionPane;
public class QuizGame {
public static void main(String[] args) {
// 1. Create a variable to hold the user's score
int userScore = 0;
// 2. Ask the user a question
String answer1 = JOptionPane.showInputDialog("If x=7, then what is 2x - 3x + (9/3)?");
... |
package DataStructures.arrays;
import java.util.ArrayList;
/**
* Created by senthil on 21/8/16.
*/
public class AntiDiagonals {
public ArrayList<ArrayList<Integer>> diagonal(ArrayList<ArrayList<Integer>> A) {
int l = A.size();
ArrayList<ArrayList<Integer>> res = new ArrayList<ArrayList<Integer>... |
package com.alexlionne.apps.avatars.Tour;
import android.Manifest;
import android.content.Intent;
import android.os.Bundle;
import com.alexlionne.apps.avatars.MainActivity;
import com.alexlionne.apps.avatars.R;
import com.heinrichreimersoftware.materialintro.app.IntroActivity;
import com.heinrichreimersoftware.materi... |
package org.example.common.url;
import javax.servlet.ReadListener;
import javax.servlet.ServletInputStream;
import java.io.IOException;
import java.io.InputStream;
public class BaseServletInputStream extends ServletInputStream {
private InputStream stream;
public BaseServletInputStream(InputStream stream) {
... |
package io.zipcoder.interfaces;
import java.util.HashMap;
import java.util.Map;
public final class ZipCodeWilmington {
private static final ZipCodeWilmington INSTANCE = new ZipCodeWilmington();
Students students = Students.getInstance();
Instructors instructors = Instructors.getInstance();
Map<Stude... |
package com.esum.comp.uakt.outbound;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.Inet4Address;
import java.net.InetAddres... |
package sr.hakrinbank.intranet.api.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import sr.hakrinbank.intranet.api.model.Nationalit... |
package week9.homework;
import java.lang.reflect.Field;
public class JSONSerializer implements Serializer {
@Override
public void elemPostprocessing(StringBuilder writer, StringBuilder tabCount) {
writer.append(tabCount.toString())
.append("}");
}
public void elemStylePostPr... |
/*
* $Id: WheatBeer.java,v 1.1.1.1 2004/12/21 14:00:17 mfuchs Exp $
*
* ### Copyright (C) 2004 Michael Fuchs ###
* ### All Rights Reserved. ###
*
* Author: Michael Fuchs
* E-Mail: michael.fuchs@unico-group.com
*
* Unico Media GmbH, Görresstr. 12, 80798 München, Germany
* http://www.unico-gro... |
package com.icanit.app_v2.adapter;
import java.util.List;
import android.content.Context;
import android.graphics.Color;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.icanit.app_v2.R;
import com.icanit.app_v2.entity... |
/*
* Copyright © 2018 www.noark.xyz All Rights Reserved.
*
* 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 !
* 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件:
*
* http://www.noark.xyz/LICENSE
*
* 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播;
* 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本;
* 3.无论你对源代码做出任何修改和改进,版权都归Noark研发团队所有,我们保... |
package com.yc.education.mapper.stock;
import com.yc.education.model.stock.PurchaseStock;
import com.yc.education.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface PurchaseStockMapper extends MyMapper<PurchaseStock> {
/**
* @Description 查找未成本核算的采购入库单
*... |
package xhu.wncg.firesystem.modules.pojo;
import java.io.Serializable;
import java.util.Date;
/**
* 日常检查表
*
* @author zhaobo
* @email 15528330581@163.com
* @version 2017-11-02 15:58:16
*/
public class DailyTable implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 日常检查记录表id... |
package com.project.springboot.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import com.project.springboot.entity.ServiceType;
public interface ServiceTypeRepository extends JpaRepository<ServiceType, Integer>{
}
|
package de.trispeedys.resourceplanning.messaging;
import de.trispeedys.resourceplanning.entity.Helper;
import de.trispeedys.resourceplanning.entity.MessagingType;
import de.trispeedys.resourceplanning.entity.misc.MessagingFormat;
import de.trispeedys.resourceplanning.util.HtmlGenerator;
public class ConfirmPau... |
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.technotalkative.daydreamexample;
import android.os.IInterface;
public interface ITelephony
extends IInterface
{
public abs... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.