text stringlengths 10 2.72M |
|---|
package audio;
public class Sound {
final int buffer;
final String name;
final String file;
public Sound(int buffer, String name, String file){
this.buffer = buffer;
this.name = name;
this.file = file;
}
public int getBuffer(){
return this.buffer;
}
public String getName(){
return this.name;
... |
package excepciones;
public class ParaAtacarDirectamenteAlJugadorNoTieneQueHaberMonstruosInvocadosException extends Exception {
private static final long serialVersionUID = 1L;
}
|
package com.peerless2012.customerview.view;
import java.util.Random;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.DashPathEffect;
import android.graphics.Paint;
import android.graphics.Paint.Align;
import android.graphics.Paint.Cap;
im... |
package com.relaxisapp.relaxis.models;
import com.relaxisapp.relaxis.events.EventDispatcher;
import com.relaxisapp.relaxis.events.SimpleEvent;
public class StressModel extends EventDispatcher {
public static class ChangeEvent extends SimpleEvent {
public static final String STRESS_LEVEL_CHANGED = "stress... |
package org.rita.harris.embeddedsystemhomework_termproject.RainFall;
/**
* Created by Harris on 2015/12/13.
*/
import android.util.Log;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
public class... |
package org.koreader.launcher.helper;
import android.content.Context;
import android.os.Handler;
import org.koreader.launcher.Logger;
/*
Base class for application helpers.
Intended for long-term things, like wifi, clipboard or power facilities.
We do everything based on the application context and implem... |
package com.example.dolly0920.week8;
public enum CancelType {
ALL,
LATEST
}
|
package com.company;
import com.company.line.DDALineDrawer;
import com.company.line.Line;
import com.company.line.LineDrawer;
import com.company.pixel.BufferedImagePixelDrawer;
import com.company.pixel.PixelDrawer;
import com.company.polygon.PolygonDrawerLine;
import com.company.polygon.RegularPolygon;
import com.comp... |
package alvin.basic;
import alvin.basic.entities.Person;
import alvin.basic.entities.Student;
import alvin.configs.TestSupport;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.time.LocalDateTime;
import java.time.ZoneOffset;
import static org.hamcrest.Matchers.is;
import s... |
import java.util.*;
class ReadInts
{
Scanner scan = new Scanner(System.in);
int[] readAtYourRisk(int num)
{
System.out.println("readAtYourRisk ");
int[] retVals = new int[num];
for (int i=0; i < num; i++)
{
// An InputMismatchException is thrown if you enter
... |
package com.healthyteam.android.healthylifers.Domain;
import android.graphics.Bitmap;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.util.Log;
import com.google.android.gms.tasks.OnFailureListener;
import com.google.android.gms.tasks.OnSuccessListener;
import com.google.android.gms.... |
package com.zc.pivas.synresult.service;
import com.zc.pivas.synresult.bean.CheckOrderStatusRespon;
import com.zc.pivas.synresult.bean.SetFymxDataReq;
import com.zc.pivas.synresult.bean.SetFymxDataResp;
import org.codehaus.jettison.json.JSONObject;
import java.util.List;
/**
* Restful接口
*
* @author kun... |
package com.zl.service;
import com.zl.pojo.CategoryDO;
import com.zl.pojo.GardenStuffDO;
import com.zl.pojo.GardenStuffDTO;
import com.zl.util.AjaxPutPage;
import com.zl.util.AjaxResultPage;
import com.zl.util.MessageException;
import java.util.List;
public interface GardenStuffService {
/**
* @Description... |
package main;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
import java.util.Stack;
import java.util.TreeSet;
public class Solver {
public CSP problem;
private HashMap<String, Object> assignation;
Ha... |
package solution;
/**
* 867. 转置矩阵
*/
public class Transpose {
public int[][] transpose(int[][] matrix) {
int m = matrix.length;
int n = matrix[0].length;
int res[][] = new int[n][m];
for (int i = 0; i < m; i++) {
for (int j = 0; j < n; j++) {
res[j][i]... |
package formation.persistence.reponse;
import formation.domain.Reponse;
import java.util.List;
/**
* Created by victor on 14/12/2015.
*/
public interface ReponseDAOItf {
public List<Reponse> findAll();
public Reponse create(Reponse question);
public Reponse find(Long id);
public List<Reponse> f... |
package com.krt.gov.thread.service.impl;
import com.krt.common.base.BaseServiceImpl;
import com.krt.gov.thread.entity.TCallbackLog;
import com.krt.gov.thread.mapper.TCallbackLogMapper;
import com.krt.gov.thread.service.ITCallbackLogService;
import org.springframework.stereotype.Service;
import javax.annotation.Resour... |
package com.xt.mytest.singleton;
/**
* 第三种单例
*/
public class Singleton3 {
private Singleton3() {
}
public static Singleton3 instance;
static {
instance = new Singleton3();
}
}
|
package com.soldevelo.vmi.scheduler.web.server;
import com.soldevelo.vmi.config.acs.AcsConfiguration;
import com.soldevelo.vmi.scheduler.web.rest.ex.ServerShutdownException;
import com.soldevelo.vmi.scheduler.web.rest.ex.ServerStartupException;
import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.N... |
package Variables_and_DataTypes;
public class Assignment {
public static void main(String[] args) {
// Присвоение со сложением для типа byte
byte variable1 = 0;
//variable1 = variable1 + 5; // ОШИБКА: Попытка неявного преобразования значения результата типа int в тип byte
//variab... |
package com.chinese.culture.mvp.model;
import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;
public class TangShiBean extends RealmObject {
@PrimaryKey
private long tid;
private String title;
private String author;
private String paragraphs;
private boolean isRead = false;
... |
package SimpleFactory01.exercise.product;
import SimpleFactory01.exercise.factory.GeometricalShape;
public class Circle extends GeometricalShape {
@Override
public void draw() {
System.out.println("画出圆形图案");
}
@Override
public void erase() {
System.out.println("擦除圆形图案");
}
}... |
package ge.mziuri.model;
public class Bet {
private double coefficient;
private final String chosenteam;
public Bet(String chosenteam) {
this.chosenteam = chosenteam;
}
/**
* @return the coefficient1
*/
public double getCoefficient() {
return coefficient;
}... |
/*
* 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 registraclinic.telas;
import java.util.List;
import javax.swing.JOptionPane;
import registraclinic.anamnese.Anamnese;
import r... |
package com.git.cloud.request.model;
/**
* @ClassName:TodoStatusCodeEnum
* @Description:TODO
* @author sunhailong
* @date 2014-10-13 下午3:54:58
*/
public enum DriveWfTypeEnum {
DRIVE_WF_SUBMIT("0"),
DRIVE_WF_AGREE("1"),
DRIVE_WF_DISAGREE("2");
private final String value;
private DriveWfTy... |
package student.pl.edu.pb.geodeticapp.fragments;
import android.os.Bundle;
import android.preference.PreferenceFragment;
import student.pl.edu.pb.geodeticapp.R;
public class SettingsFragment extends PreferenceFragment {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedI... |
package com.jagdish.bakingapp;
public interface StepNavigatorCallBack {
void onClickNextStep();
void onClickWatch();
}
|
import static org.junit.Assert.*;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import org.junit.After;
import org.junit.BeforeClass;
import org.junit.Test;
import com.phillippascual.repository.StockRepository;
import com.phillippascual.repository.UserRepository;
import com.phi... |
package com.imagsky.v81j.domain;
import java.util.ArrayList;
import java.util.List;
import java.util.TreeMap;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.JoinColumn;
import javax.p... |
package Do;
import java.util.Collection;
import java.util.concurrent.ConcurrentMap;
import action.book;
import sql.library;
public class bookDo {
private static bookDo instance = new bookDo();
static library database = new library();
private static ConcurrentMap<String, book> data = database.booklist(... |
package com.eshop.controller.command;
import javax.servlet.http.HttpServletRequest;
import com.eshop.model.dao.DBException;
import com.eshop.model.service.UsersService;
import com.eshop.model.entity.User;
import com.eshop.model.entity.Role;
import com.eshop.controller.Attributes;
import com.eshop.controller.Path;
i... |
package pl.edu.pw.elka.minedBlocks;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import pl.edu.pw.elka.etherscan.EtherscanFacade;
import pl.edu.pw.elka.minedBlocks.dtos.MinedBlockDto;
import pl.edu.pw.elka.minedBlocks.dtos.MinedBlocksDto;
import java.math.BigDecimal;
import java.util.Ar... |
package slimeknights.tconstruct.library.fluid;
import net.minecraft.item.EnumRarity;
import net.minecraft.util.ResourceLocation;
import slimeknights.tconstruct.library.Util;
public class FluidMolten extends FluidColored {
public static ResourceLocation ICON_MetalStill = Util.getResource("blocks/fluids/molten_meta... |
package HostelDAO;
import HostelDB.Customer;
import java.io.Serializable;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class CustomerDAO implements GenericDAO {
public Serializable create() {
String s... |
/*
* 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 GestioEmpreses;
import Connexio.Connexio;
import static Login.Login.neteja;
import GestioEmpreses.Gestio;
import static Gestio... |
package Chess;
import java.awt.geom.Point2D;
public class chessPiece {
String teamColour;
String militaryRank;
// Needs coordinate field
int x,y;
public chessPiece(String teamColour, String militaryRank, int x, int y) {
this.teamColour = teamColour;
this.militaryRank = militaryRa... |
package jp.ac.hal.Dao;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.sql.SQLException;
import java.util.Random;
import javax.naming.NamingException;
import javax.servlet.Servle... |
package com.pykj.design.principle.openclosed.example;
/**
* @description: TODO
* @author: zhangpengxiang
* @time: 2020/4/18 22:49
*/
public class JavaDiscountCourse extends JavaCourse {
public JavaDiscountCourse(Integer id, String name, Double price) {
super(id, name, price);
}
/*public Doubl... |
/*
* 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 jti.polinema.relasiclass.percobaan2_1841720126Ela;
/**
*
* @author Windows 10
*/
public class MainPercobaan2_1841720126Ela ... |
package com.egova.baselibrary.model;
import java.io.Serializable;
import java.util.ArrayList;
import androidx.annotation.NonNull;
/**
* 省市区数据
*/
public class RegionInfo implements Serializable {
private String id; //区域id
private String name; //区域名称
private String parentId; //父id
private String regi... |
package com.algorithm.tree;
public class SortedArrayToBST {
public static TreeNode sortedArrayToBST(int[] nums) {
//平衡二叉树的定义,左边的所有节点都小于根节点,右边的所有节点都大于根节点
TreeNode node= dfs(nums,0,nums.length-1);
return node;
}
private static TreeNode dfs(int[] nums,int left,int right) {
i... |
package com.grupo.proyecto_pet.shared.exception;
/**
* @author Franco on 07/27/2017.
*/
public class TokenExpiredException extends Exception {
public TokenExpiredException() {
}
public TokenExpiredException(String message) {
super(message);
}
public TokenExpiredException(String message... |
package co.company.spring.dao;
import lombok.Data;
@Data
public class Jobs {
String jobId;
String jobTitle;
}
|
package br.edu.utfpr.spring.trab.controller;
import java.util.List;
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.annot... |
package cn.xuetang.modules.sys;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import cn.xuetang.common.action.BaseAction;
import cn.xuetang.common.config.Globals;
import cn.xuetan... |
package com.alibaba.druid.bvt.sql.mysql.createTable;
import com.alibaba.druid.sql.ast.SQLStatement;
import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlCreateTableStatement;
import com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser;
import junit.framework.TestCase;
import java.util.List;
/**
... |
import junit.framework.TestCase;
/**
* Created by apple on 16/3/2.
*/
public class ExampleUnitTestTest extends TestCase {
} |
/*
* 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 java.io.Serializable;
import java.util.List;
import javax.persistence.Basic;
import jav... |
package ReCapProject.business.concretes;
import java.util.List;
import ReCapProject.business.abstracts.ColorService;
import ReCapProject.core.utilities.results.DataResult;
import ReCapProject.core.utilities.results.ErrorResult;
import ReCapProject.core.utilities.results.Result;
import ReCapProject.core.utilit... |
package com.example.pavel.testpokupon.views;
import android.content.Context;
import android.content.res.Configuration;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.support.design.widget.BaseTransientBottomBar;
import android.support.design.widget.Snackbar;
import androi... |
package tests.unit_tests;
import board.blockingobject.Player;
import board.square.Square;
import items.Item;
import items.LightGrenade;
import org.junit.Before;
import org.junit.Test;
import util.Filter;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
public class SquareTest {
... |
package dao;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import java.util.HashSet;
import java.util.HashMap;
import model.Auction;
import model.Bid;
import model.Item;
public class ItemDao {
publ... |
package com.company.bookmark;
import com.company.bookmark.constants.KidsFriendlyStatus;
import com.company.bookmark.constants.UserType;
import com.company.bookmark.controllers.Controller;
import com.company.bookmark.entities.Bookmark;
import com.company.bookmark.entities.User;
import com.company.bookmark.partner.Share... |
package com.example.breno.pokemobile.adapter;
import android.content.Context;
import android.graphics.Color;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.examp... |
package com.cts.ideathon.demoProject;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import com.cts.ideathon.demoProject.config.JpaConfiguration;
@Import(JpaConfiguration.class)
@SpringBootA... |
package com.user.secrets.service;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;
import com.user.secrets.domain.Secret;
import com.user.secrets.domain.User;... |
package com.atguigu.gmall.product.service;
import com.atguigu.gmall.model.product.BaseSaleAttr;
import com.atguigu.gmall.model.product.SpuInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
public interface SpuInfoServic... |
/*
* @lc app=leetcode.cn id=45 lang=java
*
* [45] 跳跃游戏 II
* 定义:dp[i], 到达 i 最小跳跃次数。
* 初始化:dp[0] = 0;
* 状态转移方程:
* 由 dp[i] ---> min(dp[i+n], dp[i]+1), n取值范围:[1, nums[i]];
* 返回值:dp[nums.lenth-1]
*/
// @lc code=start
class Solution {
public int jump(int[] nums) {
int length = nums.length;
int... |
package semana1_1;
public class Person {
private String name;
private String surname;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSurname() {
return surname;
}
public void setSurname(String surname) {
this.surname = surname;
}
publ... |
package com.niksoftware.snapseed.controllers;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.PointF;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.view.View;
import c... |
package me.sh4rewith.config.security;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.context.annotation.Profile;
@Configuration
@Profile("registration-security")
@ImportResource("classpath:spring-security-registrati... |
package DataStructures.arrays;
/**
* Created by senthil on 2/9/16.
*/
public class ZigZagString {
/*private String zigZagUsing2DMatrix(String str, int n) {
if (str == null || str.length() == 0 && n < 2) return str;
String result = "";
char[][] a = new char[n][str.length()];
in... |
package dev.liambloom.softwareEngineering.chapter7;
import java.util.Arrays;
import java.util.Random;
public class MrM2DArrayProblems {
protected static final Random r = new Random();
public static void main(String[] args) {
boolean seats[][] = {
{false, false, false, false, false, fals... |
package mandelbrot.gui;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Stroke;
import javax.swing.JPanel;
import static java.lang.Math.sin;
import static java.lang.Math.cos;
/**
* @author Raphaël
*/
public class SoundSpectrumViewer extends J... |
package com.example.Web.Model;
import javax.persistence.*;
import java.util.*;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@Entity
public class Clan extends Korisnik {
// clan moze ici na vise treninga, na jednom treningu moze biti vise clanova
... |
package pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
public class CheckoutCompletePage {
private WebDriver driver;
private By confirmationTitle = By.className("title");
public CheckoutCompletePage(WebDriver driver){
this.driver = driver;
}
public String get... |
package com.zjf.myself.codebase.activity.UILibrary;
import com.zjf.myself.codebase.activity.BaseAct;
/**
* Created by Administrator on 2017/3/15.
*/
public class HeartRateChartAct extends BaseAct{
}
|
/**
*/
package featureModel.impl;
import featureModel.FeatureModelPackage;
import featureModel.SolitaryFeature;
import featureModel.SolitaryType;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
/**
* <!-- ... |
package org.artifact.security.dao;
import java.util.List;
import org.artifact.base.condition.BaseCondition;
import org.artifact.base.dao.BaseDao;
import org.artifact.security.bean.UserBean;
import org.artifact.security.condition.UserCondition;
import org.artifact.security.domain.User;
import org.springframew... |
package com.kic.val;
import org.springframework.validation.Errors;
import org.springframework.validation.ValidationUtils;
import vo.MemberDTO;
public class Validator implements org.springframework.validation.Validator {
@Override
public boolean supports(Class<?> arg0) {
// TODO Auto-generated method ... |
package de.ifgi.simcat.DIR;
class DummyResultObject implements ResultObject{
public DummyResultObject clone(){
return new DummyResultObject();
}
}
|
package ru.shikhovtsev.core.service;
import ru.shikhovtsev.core.model.Account;
import java.util.Optional;
public interface DBServiceAccount {
Long saveAccount(Account account);
Long updateAccount(Account petya);
Long createOrUpdate(Account account);
Optional<Account> getAccount(long id);
}
|
package com.corycharlton.bittrexapi.model;
import com.google.gson.annotations.SerializedName;
import java.util.Date;
@SuppressWarnings("unused")
public class MarketSummary {
@SerializedName("Ask") private double _ask;
@SerializedName("BaseVolume") private double _baseVolume;
@SerializedName("Bid") priva... |
package com.compania.vuelos.controlador;
import java.io.IOException;
import java.net.URI;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.sp... |
package coursework;
//Lists a set of appliances
//Allows you to set the starting conditions for your simulation
public class ConfigRead {
String name;
String subclass;
String meter;
int minUnitsConsumed;
int maxUnitsConsumed;
float fixedUnitsConsumed;
int probabilityHigh;
int probabilityLevel;
int cycleLeng... |
package com.jservmarket.dao;
import com.jservmarket.model.CategoriesModel;
import com.jservmarket.model.ProductsModel;
import com.jservmarket.model.UsersModel;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
public class CategoriesDAO extends ADAO<CategoriesModel> {
@O... |
package homework1.tasks;
import java.util.Scanner;
/**
* В данной задаче пользователь должен ввести два значения: само число и как-либо указать, во что он хочет его перевести
* (в байты или килобайты). Пусть выбор способа перевода указывается с помощью одного из двух символов.
* Например, если пользователь введет б... |
package com.jgw.supercodeplatform.trace.dao.sqlbuilder;
import java.text.MessageFormat;
import java.util.List;
import java.util.Map;
import com.jgw.supercodeplatform.trace.pojo.TraceFunFieldConfig;
public class TraceFunFieldConfigProvider {
public String batchInsert(Map arg0 ) {
List<TraceFunFie... |
package com.mediafire.sdk.response_models.data_models;
/**
* Created by Chris on 12/23/2014.
*/
public class ResumableUploadModel {
private String all_units_ready;
private int number_of_units;
private int unit_size;
private ResumableBitmapModel bitmap;
private String upload_key;
public String ... |
package com.halayang.controller;
import com.halayang.common.utils.Page;
import com.halayang.pojo.Message;
import com.halayang.service.MessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springfr... |
package org.squonk.rdkit.db.dsl;
import org.squonk.rdkit.db.RDKitTable;
/**
* Created by timbo on 14/12/2015.
*/
public class FpTableJoin {
boolean enabled = false;
final Select select;
FpTableJoin(Select select) {
this.select = select;
}
void append(StringBuilder buf) {
if (e... |
package cn.hellohao.service.impl;
import cn.hellohao.dao.UploadConfigMapper;
import cn.hellohao.pojo.UploadConfig;
import cn.hellohao.service.UploadConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class UploadConfigServiceImpl... |
package io.qtechdigital.onlineTutoring.dto.auth;
import io.qtechdigital.onlineTutoring.dto.security.RoleShortDto;
import io.qtechdigital.onlineTutoring.dto.user.response.UserShortDto;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
@Getter
@Setter
public class AuthenticatedUserDto {
private Us... |
package com.revature.ers.util;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import com.revature.ers.models.Principal;
import com.revature.ers.models.User;
import com.revature.ers.services.UserService;
public class RequestViewHelper {
private static UserService userService = new UserService... |
package NIO;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import java.util.Iterator;
import java.util.Set;
/**
* 客户端未完成
*/
public class ClientDemo {
pu... |
package cjy.njit.nj.snake;
import java.awt.Graphics;
import java.awt.Image;
import java.util.Iterator;
import java.util.ListIterator;
import java.util.Random;
import javax.swing.ImageIcon;
public class Egg {
private int x;
private int y;
private Thread eggThread;
public Egg(Garden garden) {
Random random = n... |
/*
* 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 lab_3_3;
/**
*
* @author valen
*/
import java.util.*;
public class Lab_3_3 {
/**
* @param args the command line a... |
package com.maliang.core.util;
import java.beans.BeanInfo;
import java.beans.Introspector;
import java.beans.MethodDescriptor;
import java.beans.PropertyDescriptor;
import java.util.ArrayList;
import java.util.List;
public class BeanUtil {
public static Object readValue(Object obj,String fname){
Obje... |
package recipesCLI.Controllers;
import recipesCLI.Utilitaries.FieldValidator;
import recipesCLI.HttpRequestSender.HttpRequestSender;
import java.util.Scanner;
public class ApplicationController {
private RecipeController recipeController;
private UserCLIController userCLIController;
private Scanner read... |
package com.adapteach.codeassesser.verify;
import com.adapteach.codeassesser.compile.CompilationUnit;
import com.adapteach.codeassesser.verify.Test;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
@Data
public class Assessment {
private List<CompilationUnit> providedCompilationUnits = new... |
package com.example.donisaurus.ecomplaint.model;
/**
* Created by Donisaurus on 12/27/2016.
*/
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class ModelPostResponse {
@SerializedName("status")
@Expose
private Integer status;... |
package com.gxtc.huchuan.ui.live.series;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Paint;
import android.os.Bundle;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.TabLayout;
impor... |
package ch.erp.management.mvp.presenter;
import ch.erp.management.mvp.contract.MPurchaseReturnsContract;
/**
* 采购退货-主持者
*/
public class MPurchaseReturnsActivityP extends MPurchaseReturnsContract.MIPurchaseReturnsActivityP{
}
|
public class Menu {
// main menu
public void mainMenu() {
System.out.println(" Please select from the following option");
System.out.println("===================================");
System.out.println("1. Make a booking");
System.out.println("2. List all sessions");
System.out.println("3. Find a movie ses... |
package com.nfet.icare.dao;
import org.apache.ibatis.annotations.Param;
import com.nfet.icare.pojo.WxUser;
//微信用户的openId和手机号
public interface WxUserMapper {
//保存
public void insertWxUser(@Param("wxUser") WxUser wxUser);
//查询
public WxUser queryWxUser(@Param("openId") String openId);
}
|
package com.mustafayuksel.notificationapplication;
import org.aopalliance.intercept.MethodInvocation;
import org.apache.commons.logging.Log;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.aop.interceptor.AbstractMonitoringInterceptor;
import java.util.Da... |
/*
* 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 modelo;
/**
*
* @author Javi Cordero
*/
public class MetodosCitas
{
private Cliente_Cita primero;
pr... |
package org.webservice;
import javax.jws.WebService;
@WebService(endpointInterface="org.webservice.SurveyWebService")
public class SurveyWebServiceImpl implements SurveyWebService{
//TODO: return the list of the students here
public String listStudent(String firstName,String lastName,String city,String sta... |
package com.sferion.whitewater.ui.views.pigging;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.sferion.whitewater.backend.admin.PiggingEventAdmin;
import com.sferion.whitewater.backend.admin.PiggingUserAdmin;
import com.sferion.whitewater.backend.admin.PipelineAdmin;
import com.sferion... |
package com.codigo.smartstore.sdk.core.checksum.crc;
import java.util.EnumMap;
/**
* Typ wyliczeniowy określa znaczniki dla dostępnych wariantów wykonania sumy
* kontrolnej CRC32.
*
* @author andrzej.radziszewski
* @version 1.0.0.0
* @category enumeration
*/
enum CRC32_OPTIONS implements
ICrcParametrizable {... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.