text stringlengths 10 2.72M |
|---|
package com.helpfull.config;
import com.helpfull.aop.logging.LoggingAspect;
import org.springframework.context.annotation.*;
import org.springframework.core.env.Environment;
@Configuration
@EnableAspectJAutoProxy
public class LoggingAspectConfiguration {
@Bean
@Profile(ApplicationConstants.SPRING_PROFILE_DE... |
package cn.euphonium.codereviewsystemserver.entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@ToString
public class User extends Msg {
String account;
String password;
String identity;
String name;
public User(int status) {
this.status = status;... |
package dbs.interfaces;
public interface Database {
void save(Savable object);
Object retrieve(long id, Savable object);
void delete(long id, Savable object);
void update(long id, Savable object);
}
|
package com.union.express.web.stowagecore.agingcycle.model;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
/**
* Created by linhq on 2016/11/15 0015.
*/
/*
折扣(时效周期表)
*/
@Entity
@Table(name = "aging_cycle")
public class AgingCycle {
//时效ID
private String id;
//周期
p... |
package com.example.root.fingerprint;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.google.firebase.database.DatabaseReference;
im... |
package org.digdata.swustoj.controller;
import org.digdata.swustoj.base.JunitBaseController;
import org.digdata.swustoj.mybatis.entiy.Tags;
import org.digdata.swustoj.mybatis.entiy.UserAuth;
import org.digdata.swustoj.util.JsonUtil;
import org.junit.Test;
import org.springframework.http.MediaType;
import org.s... |
// **********************************************************
// 1. 제 목: Out User BEAN
// 2. 프로그램명: SubjLimitBean.java
// 3. 개 요: 지식노트 외부 관리자 bean
// 4. 환 경: JDK 1.3
// 5. 버 젼: 1.0
// 6. 작 성:
// 7. 수 정:
// **********************************************************
package com.ziaan... |
class Student extends Person{
private int[] testScores;
/*
* Class Constructor
*
* @param firstName - A string denoting the Person's first name.
* @param lastName - A string denoting the Person's last name.
* @param id - An integer denoting the Person's ID number.
* @param sc... |
package br.edu.utfpr.pb.aula2.model;
import java.time.LocalDate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
imp... |
package br.com.ocjp7.design;
public class ClassAnonima {
public static void main(String[] args) {
Draw dw = new Draw() {
@Override
public void print() {
System.out.println(" Dw impl ");
}
};
dw.print();
new WriteDraw().printDraw( new Draw() {
@Override
public void pr... |
package com.legaoyi;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.context.event.ApplicationReadyEven... |
/*
* Copyright 2013 OSD and the Others.
*
* 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 ag... |
package exceptions.server.game;
public class InvalidPlayerCommandException extends Exception {
private static final long serialVersionUID = -776020891376048861L;
public InvalidPlayerCommandException(String message) {
super(message);
}
}
|
package com.melodygram.utils;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Matrix;
import android.net.Uri;
import android.os.Environment;
import android.provider.Media... |
package com.getkhaki.api.bff.web.models;
public enum IntervalDte {
Day,
Week,
Month,
Year
}
|
package com.example.sypark9646.item05;
public class Dog implements Animal {
@Override
public void jump() {
System.out.println("dog is jumping");
}
}
|
package com.cosplay.demo.mvp.adapter;
import android.content.Context;
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.cosplay.demo.mvp.R;
import com.cosplay.demo.... |
import java.util.*;
public class GuessCapitals{
public static void main(String[]args){
HashMap<String,String> map = new HashMap<String,String>();
map.put("Alabama","Montgomery");
map.put("Alaska","Juneau");
map.put("Arizona","Phoenix");
map.put("Arkansas","Little Rock");
map.put("California","Sacramento");
... |
package org.robotninjas.stages;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
class StageRepository implements Iterable<Stage> {
private final Map<StageName, Stage> stages;
public StageRepository() {
this.stages = new ConcurrentHashMap<>();
}
publ... |
package com.beike.common.enums.trx;
/**
* @Title: TrxLogStype.java
* @Package com.beike.common.enums.trx
* @Description: TODO
* @date Jun 30, 2011 5:02:20 PM
* @author wh.cheng
* @version v1.0
*/
public enum TrxLogType {
TRXORDERGOODS, //商品订单操作日志
REFUND, //退款历史
//trxLog需求修改增加新类型2012年... |
package ObserverPattern;
public interface Observer {
void updata(WeatherDataStruct weatherDataStruct);
}
|
package modelosGerados;
/**
* Enum - Tipo Simples Sim, Não ou Talvez
* */
public enum TsSimNao {
SIM(1, "Sim"),
NAO(2, "Não"),
TALVEZ(3,"Talvez");
/**
* Contrutor
* @param codigo
* @param descricao
* */
TsSimNao(Integer codigo, String descricao) {
this.codigo = codig... |
package com.wrw.proxy.demo05;
import static org.junit.Assert.*;
import java.lang.reflect.Method;
import org.junit.Test;
import com.wrw.proxy.demo05.Proxy;
import com.wrw.proxy.demo05.moveable;
public class test {
@Test
public void test() throws Exception {
Tank t = new Tank();
TimeHandler h = new TimeHandle... |
package upsd.json;
import com.eclipsesource.json.JsonArray;
import com.eclipsesource.json.JsonObject;
import upsd.domain.User;
import java.util.List;
public class UserJsonHelper {
public JsonObject toJsonObject(User user) {
return new JsonObject()
.add("id", user.id())
.add("name"... |
package by.herzhot;
/**
* @author Herzhot
* @version 1.0
* 09.08.2016
*/
public interface ISupplierDao extends IDao<Supplier> {
}
|
package io.nuls.base.api.provider.ledger.facade;
/**
* @Author: zhoulijun
* @Time: 2020-05-25 10:11
* @Description: 功能描述
*/
public class AssetInfo {
int assetChainId;
int assetId;
String symbol;
int decimals;
int assetType;
boolean canBePeriodically;
public boolean isCanBePeriodi... |
package leetCode.copy.Array;
import java.util.*;
/**
* 39. 组合总和
*给定一个无重复元素的数组 candidates 和一个目标数 target ,找出 candidates 中所有可以使数字和为 target 的组合。
*
* candidates 中的数字可以无限制重复被选取。
* 说明:
* 所有数字(包括 target)都是正整数。
* 解集不能包含重复的组合。
*
* 示例 1:
* 输入:candidates = [2,3,6,7], target = 7,
* 所求解集为:
* [
* [7],
* [2,2,3]
... |
package codepath.com.flixster.models;
import org.json.JSONException;
import org.json.JSONObject;
import org.parceler.Parcel;
@Parcel
public class Movie {
String title;
String overview;
String posterPath;
String backdropPath;
String releaseDate;
int popularity;
Integer voteCount;
... |
package com.volunteeride.volunteeride.utility;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import java.util.ResourceBundle;
/**
* Created by mthosani on 12/23/15.
*/
public class PropertyReaderUtility {
public static ResourceBundle appProperties = ResourceBundle.getBund... |
package etiyaGamesVol2.core;
import java.time.LocalDate;
public class MernisKpsService {
public boolean tcKimlikNoDogrulama(long tcKimlikNo,String ad, String soyad, LocalDate dogumYili) {
return true;
}
}
|
import org.junit.Test;
import static org.junit.Assert.*;
public class binarTest {
@Test
public void add() {
Binar a = new Binar();
a.add(1, 1);
//a.add(1, 1);
assertEquals(1, a.get(1)); //добавление элемента, даже при двух одинаковых не происходит конфликта
}
@Test
... |
package info.fandroid.mindmap.database.update;
import android.database.sqlite.SQLiteDatabase;
import info.fandroid.mindmap.database.DBHelper;
import info.fandroid.mindmap.model.ModelPlanet;
/**
* Created by Vitaly on 09.01.2016.
*/
public class DBPlanetUpdateManager extends DBUpdateManager {
public DBPlanetUp... |
package br.com.entelgy.model;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.annotation.DateTimeFormat.ISO;
/**
* Vote submodel.
*
* @author falvojr
*/
public class Vote {
@DateTimeFormat(iso = ISO.DATE_TIME)
private Date createdDate = ne... |
package com.softeem.dao.impl;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Resource;
import org.apache.log4j.Logger;
import org.springframew... |
package rafaxplayer.cheftools.providers.fragment;
import android.app.Activity;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable... |
package org.yoqu.fish.rpc.client;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelOption;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketCh... |
package co.ga.nyc;
import java.io.*;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Scanner;
public class Game {
private static ArrayList<Player> players;
private String recordsFile = "records.txt";
public Game() { }
public static void printMenu()... |
package ConnectFourPackage;
import javafx.scene.paint.Color;
import java.util.ArrayList;
/**
* Created by 40095 on 1/24/15.
*/
public class SmartAi extends Connect4Player implements Connect4AI {
ArrayList<Group> winningGroups, losingGroups, zugzwangGroups, winnableGroups, groups;
//Winning groups is all gr... |
package com.t11e.discovery.datatool.column;
import java.sql.ResultSet;
import java.sql.SQLException;
import com.t11e.discovery.datatool.JsonUtil;
public class JsonColumnProcessor
implements IColumnProcessor
{
public static final JsonColumnProcessor INSTANCE = new JsonColumnProcessor();
@Override
public Obje... |
package servlets;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet i... |
package cn.sort.mergeSort;
import java.util.Arrays;
/**
* @author Chay
* @date 2021/6/8 17:22
*/
public class MergeSortTest {
public static int[] mergeSort(int[] input, int left, int right) {
if (left == right) {
return new int[]{input[right]};
}
int mid = (right + left)/2;
... |
package com.dataart.was.actions;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.sql.SQLException;
public interface Action {
void execute(HttpServletRequest request) throws SQLException, IOException, ServletException;
}
|
package arraysnstrings;
import static org.junit.Assert.*;
import org.junit.Test;
public class MatrixSpinalTest {
@Test
public void test() {
int[][] matrix = new int[][]{
new int[]{1,2,3,4},
new int[]{10,11,12, 5},
new int[]{9,8,7,6}
};
MatrixSpinal.printSpinal(matrix);
}
}
|
package com.example.snapup_android.service;
import java.sql.Time;
public interface TimeTableService {
//根据车次和站点编号查询列车到达时间:
public Time getArrivalTime(String num_code, String station_code);
//根据车次和站点编号查询列车离开时间:
public Time getDepartTime(String num_code, String station_code);
}
|
package me.sky.boss.utils.config;
import com.google.common.base.Charsets;
import com.google.common.io.ByteStreams;
import org.bukkit.configuration.InvalidConfigurationException;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.plugin.Plug... |
package PeakIndexinaMountainArray852;
/**
* @ClassName Solution01
* @Description https://leetcode-cn.com/problems/peak-index-in-a-mountain-array/
* @Author tangchao@mfexcel.com
* @Date 2019/10/21 10:20
* @Version 1.0
*/
public class Solution01 {
// 二分查找也可
public int peakIndexInMountainArray(int[] A) {
... |
/*
* MPS SDK Demo application
*/
package demo1;
import java.lang.Math;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Enumeration;
import java.util.Vector;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
impo... |
package com.mark.ninjagold;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Random;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Control... |
/**
* Top-level SockJS types.
*/
@NonNullApi
@NonNullFields
package org.springframework.web.socket.sockjs;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullFields;
|
package com.lesports.airjordanplayer;
import com.lesports.airjordanplayer.data.VideoStreamItem;
import com.letv.pp.func.CdeHelper;
/**
* Created by litzuhsien on 8/12/15.
*/
public class DefaultStreamProvider implements VideoStreamProvider {
private CdeHelper mCdeHelper;
public DefaultStreamProvider() {
... |
package com.mycontacts.activity;
import android.Manifest;
import android.app.ProgressDialog;
import android.content.ContentResolver;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import a... |
package com.snowinpluto.tools;
import com.snowinpluto.tools.analysis.BeanAnalyst;
import com.snowinpluto.tools.test.bean.LoginAccount;
import org.junit.Test;
public class BeanAnalystTest {
@Test
public void test_01() {
BeanAnalyst analyst = new BeanAnalyst();
analyst.analysis(LoginAccount.cla... |
import java.util.Vector;
import static java.lang.Math.*;
class retta extends inputitem {
private razionale a, b , c ;
public retta(razionale x,razionale y, razionale l){
a = x;
b = y;
c = l;
//chiamo i costruttori per garantire il controllo sui segni
}
public retta(){
this(new razionale(),new razionale... |
package com;
import javafx.beans.property.ReadOnlyStringProperty;
import javafx.beans.property.ReadOnlyStringWrapper;
/**
* Created by Administrator on 2017/07/15.
*/
public class Main10{
public static void main(String[] args) {
ReadOnlyStringWrapper userName = new ReadOnlyStringWrapper("moreyoung");
... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package model.character.constants;
import model.character.Modifier;
import model.character.ModifierValues;
/**
*
* @author Dr.Chase... |
package com.distributie.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.content.Context;
import com.distributie.beans.BeanClientAlarma;
import com.distributie.beans.BeanEvenimentS... |
package org.zalando.riptide.failsafe;
import net.jodah.failsafe.function.ContextualSupplier;
import org.apiguardian.api.API;
import static org.apiguardian.api.API.Status.EXPERIMENTAL;
@API(status = EXPERIMENTAL)
@FunctionalInterface
public interface TaskDecorator {
<T> ContextualSupplier<T> decorate(ContextualS... |
package com.xt.together.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class Invite implements Serializable{
/**
*
*/
private static final long serialVersionUID = 8828074149463173688L;
private String id;
private String name;
private String address;
private S... |
package com.cambi.pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.testng.Assert;
import com.cambi.selenium.framework.BasePage;
public class TermsAndConditionsLink extends BasePage {
public TermsAndConditionsLink(WebDriver dri... |
package com.alpha.toy.vo;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
public class ToDoBoardVo {
private int tdboard_no;
private int room_no;
private String content;
private String detailContent;
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date startDate;
@DateTime... |
package main;
import java.io.File;
import java.io.FileWriter;
import java.io.InputStream;
import java.util.Scanner;
import javax.swing.text.Document;
import org.apache.jena.query.QueryExecution;
import org.apache.jena.query.QueryExecutionFactory;
import org.apache.jena.query.QuerySolution;
import org.apache.jena.que... |
package com.culturaloffers.maps.repositories;
import com.culturaloffers.maps.model.Subtype;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.domain.Page;
im... |
package com.company.seccion4;
import com.company.seccion2.interfaces.*;
import java.util.List;
import java.util.Random;
import static com.company.seccion2.Funciones.*;
public class Main {
public static void main(String[] args) {
List<Integer> numeros = proveer(31, new Proveedor() {
@Overr... |
package app.akeorcist.deviceinformation.utility;
import android.content.Context;
import android.content.SharedPreferences;
import app.akeorcist.deviceinformation.constants.Constants;
/**
* Created by Ake on 2/25/2015.
*/
public class DevicePreferences {
private final static String PREFERENCE_DEVICE = "device_p... |
package asgard_private_school;
import Entity.Assignment;
import Entity.Course;
import Entity.Student;
import Entity.Trainer;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.DateFormat;
im... |
package me.randomusers.model;
import me.randomusers.model.StructuredName;
import me.randomusers.model.StructuredPicture;
import me.randomusers.model.StructuredPostal;
import io.swagger.annotations.*;
import com.google.gson.annotations.SerializedName;
@ApiModel(description = "")
public class UserData {
@Seri... |
import java.util.Scanner;
public class Homework3 {
public static void main(String[] args) {
//클래스명(객체명/함수명) 변수명 = new 클래스명(객체명/함수명)();
저금통1 box1 = new 저금통1();
for (int i = 0; i < 999999; i++) {
System.out.println("원하시는 메뉴를 선택해주세요.");
System.out.pri... |
package com.itheima.day_08.demo_10;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
public class Demo_10 {
//复制文本内容到另一个文本中
public static void main(String[] args) {
FileInputStream fis = null;
FileOutputStream fos = null;
try {
fis = new FileInputStream("day-08/... |
package com.udemy.primeiroprojetospringbatch.listener;
import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.annotation.AfterJob;
import org.springframework.batch.core.annotation.BeforeJob;
import org.springframework.stereotype.Component;
@Component
public class JobLoggerListener {... |
package com.yuneec.test;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import com.yuneec.IPCameraManager.IPCameraManager;
i... |
package org.yxm.modules.wan;
import java.util.List;
import org.yxm.modules.wan.entity.WanTabEntity;
/**
* WanFragment UI层接口
*/
public interface IWanView {
void onInitTabLayout(List<WanTabEntity> tabs);
}
|
package com.zjf.myself.codebase.dialog;
import android.app.Activity;
import com.jzxiang.pickerview.TimePickerDialog;
import com.jzxiang.pickerview.config.PickerConfig;
import com.jzxiang.pickerview.data.Type;
import com.jzxiang.pickerview.data.WheelCalendar;
import com.jzxiang.pickerview.listener.OnDateSetListener... |
package yedamOracle.com;
public class MethodSample {
public static void main(String[] args) {
int i = multi (3, 5);
System.out.println(i);
}
public static int multi(int a, int b) { //입력받은 두수의 곱을 계산하는 메소드
return(a*b);
}
}
|
package com.gaoshin.top.plugin.dialer;
import android.content.Context;
import android.widget.LinearLayout;
import com.gaoshin.top.plugin.LabeledTextEdit;
public class CallShortcutEditor extends LinearLayout {
private LabeledTextEdit phoneEditor;
public CallShortcutEditor(Context context) {
... |
package com.example.compasso.model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.*;
@Table
@Entity
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class Client {
@Id
@GeneratedValue(strategy = Generation... |
package cursojavamodulo2;
public abstract class Figura {
public final static double PI = Math.PI;
protected Punto p;
public abstract double area();
public void mover(double dx, double dy) {
p.setX(p.getX() + dx);
p.setY(p.getY() + dy);
System.out.println("Figura movida a la posición (" + p.getX() + "," + p... |
package testing;
import static org.junit.Assert.*;
import org.junit.Test;
import obj.Recipe;
public class RecipeTest {
Recipe r = new Recipe(10, 6, "Best Food", "Seriously, the best", "Comfort");
@Test
public void testConstructor() {
fail("Not yet implemented");
}
public void testChanges() {
assertEqua... |
/*
* Copyright © 2018 www.noark.xyz All Rights Reserved.
*
* 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 !
* 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件:
*
* http://www.noark.xyz/LICENSE
*
* 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播;
* 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本;
* 3.无论你对源代码做出任何修改和改进,版权都归Noark... |
/*
* 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... |
package com.ch1.springbootsecuritysession.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.config.annot... |
package com.appmanage.mapper;
import com.appmanage.entity.AppInfo;
import com.appmanage.entity.AppInfoExample;
import com.appmanage.entity.SelectAPPInfo;
import java.util.List;
public interface AppInfoMapper {
int deleteByPrimaryKey(Long id);
int insert(AppInfo record);
int insertSelective(AppInfo reco... |
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
/**
* Pc
*/
public class Pc extends Player {
private static final Character[] _suits = { 'D', 'C', 'H', 'S' };
private ArrayList<Card> _unknownCards;
private HashMap<Card, Integer> _worth;
public Pc(... |
/*
* 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.davivienda.utilidades.log;
import com.davivienda.utilidades.Constantes;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Set;
import java.util.logging.Logger;
import javax.xml.namespace.QName;
import javax.xml.soap.SOAPException;
import javax.xml.ws.handler.MessageContext... |
/*
* Copyright (c) 2016. Osred Brockhoist <osred.brockhoist@hotmail.com>. All Rights Reserved.
*/
package com.flyingosred.app.perpetualcalendar.database.holiday;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;... |
package atm;
import java.awt.Container;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
public class Widthdraw e... |
package com.adityathebe.bitcoin.transaction;
public class TransactionInput {
public static final String NO_SEQUENCE = "FFFFFFFF";
private String txId;
private UTXO prevOut;
private Integer n;
private String scriptSig;
private Integer scriptSigLen;
private String nSequence;
public Tr... |
package stepDefinitions;
import TestingCommon.RestFWLogger;
import cucumber.TestContext;
import io.cucumber.java.After;
import io.cucumber.java.Before;
public class Hooks {
TestContext testContext;
public Hooks(TestContext context) {
testContext = context;
}
@Before
public void BeforeSteps()... |
/*
* 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.
*/
/**
*
* @author leand
*/
public class Client {
// Voici la classe CLient de notre projet
// Ajout d'un commenta... |
package uk.co.reliquia.healthapp;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.DataSetObserver;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.Editable;
import android.text.TextWatcher;
import and... |
public interface ListOfStrings {
void add(String s);
int size();
void set(int i, String s);
String get(int i);
}
|
package com.gabriel.projetocarrinho.model;
/**
* Created by gabriel on 05/07/19.
*/
public class Produto {
private int id;
private String nome;
private Double preco;
public Produto(){}
public Produto(int id, String nome, Double preco) {
this.id = id;
this.nome = nome;
... |
package com.sample.spring;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.jdbc.core.JdbcTemplate;
public class SpringApplication
{
@SuppressWarnings("unused")
public static void main(String[] args)... |
package br.ufes.dcel.movieTheather;
import java.util.Date;
public class Movie
{
private String title,
author,
originCountry,
urlCover;
private Category category;
private long releaseYear;
private long durationMin;
Date dateRelease;
}
|
package com.touchtrip.main.model.vo;
import java.io.Serializable;
public class MainTop6Famous implements Serializable{
private String tArea;
private String tName;
private String tContent;
private String tAdress;
private String tPhone;
private String tReview;
private double tScore;
public MainTo... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class ConcreteCommand here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class StartCommand extends Actor implements ICommand
{
StartScreen startReceiver = new StartScree... |
/*
* 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.grameenfoundation.ictc.domains;
import com.grameenfoundation.ictc.domain.commons.GeneralInterface;
import com.grameenfoun... |
//*Vladimir Ventura
// 00301144
// Computer Science 2 - Data Structures
// Project 2 - War Game: Main
//
// This file runs the War game. Sadly there's no fancy graphics.
// The only requirement to run this program is to have all files in the same place.*//
public class Main {
public static void main(String[] args) ... |
package Programa_Principal;
import Interfce_Grafica.Menu;
public class Sistema {
public static void main(String[] args){
Menu m = new Menu();
m.setMenu(m.getTelaPesquisa());
}
} |
package implementation;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import javax.swing.JButton;
import interfaces.IGuiControl;
public class Delete implements IGuiControl{
@Override
public JButton c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.