text stringlengths 10 2.72M |
|---|
package com.lq.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "t_isbn")
public class Isbn {
//序号:作为表的主键,书的isbn号
@Id
@Column(length = 32)
private String isbn;
//书名
@Column(length = 32)
private String t... |
package com.cxxt.mickys.playwithme.view.adapter;
import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;
/**
* BaseDataAdapter
* 基类适配器
*
* @author huangyz0918
*/
public class BaseDataAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
@Override
public RecyclerView.ViewHo... |
package com.memefilter.imagefilter.impl;
import com.memefilter.imagefilter.ImageFilter;
import org.bytedeco.javacpp.BytePointer;
import org.bytedeco.javacpp.lept;
import org.bytedeco.javacpp.lept.PIX;
import org.bytedeco.javacpp.tesseract;
import org.springframework.stereotype.Component;
import javax.imageio.ImageIO;... |
/**
*
*/
package net.sf.taverna.t2.component.ui.menu.component;
import static java.awt.Color.RED;
import static javax.swing.JOptionPane.CANCEL_OPTION;
import static javax.swing.JOptionPane.OK_OPTION;
import static javax.swing.JOptionPane.QUESTION_MESSAGE;
import static javax.swing.JOptionPane.YES_NO_OPTION;
import ... |
package org.valdi.entities.disguise;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Random;
import java.util.concurrent.ConcurrentHashMap;
import org.bukkit.entity.EntityType;
import org.valdi.entities.management.V... |
package com.vvv.kodilan.model;
import java.util.Date;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persist... |
package com.mobdeve.ramos.isa;
public class Image {
private String imagename;
private byte[] image;
public Image(String imagename, byte[] image) {
this.imagename = imagename;
this.image = image;
}
public String getImagename() {
return imagename;
}
public void setI... |
package edu.computerpower.student.xmlserverdata.serverobjects1;
import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
@XmlAccessorType(XmlAccessType.FIELD)
public class Player {
@XmlAttribute(name="username")
private String username;
private int highScore;
private List<Integer>... |
package br.com.rafagonc.tjdata.repositories;
import br.com.rafagonc.tjdata.models.ESAJMovimentacao;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
/**
* Created by rafagonc on 29/06/17.
*/
@Repository
public interface ESAJMovimentacaoRepository extend... |
package com.david.secretsanta.services;
import com.david.secretsanta.models.PersonFamily;
import com.david.secretsanta.models.SecretSantaRelationship;
import java.util.Set;
public interface SecretSantaGenerator {
Set<SecretSantaRelationship> generate (Set <PersonFamily> personFamilies);
}
|
/**
* Copyright (C) Alibaba Cloud Computing, 2012
* All rights reserved.
*
* 版权所有 (C)阿里巴巴云计算,2012
*/
package com.aliyun.oss.common.comm;
import static com.aliyun.oss.common.utils.CodingUtils.assertParameterNotNull;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
imp... |
package de.cuuky.varo.listener;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.bukkit.BanEntry;
import org.bukkit.BanList.Type;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.pl... |
public class Main {
//static String s1 = "Static Variable " + initI(); //Compilation fails: Cannot make a static reference to the non-static method initI() from the type Main
static String s2 = "Static Variable " + staticInitI();
String s3 = "Instance Variable " + initI();
String s4 = "Instance Variable " + ... |
package com.eussi._07_signature.dsa;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.codec.binary.Hex;
import org.junit.Assert;
import org.junit.Test;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.SecureRandom;
import java.security.Signatu... |
package component.AI;
public class CIdleAI extends CAI {
public CIdleAI(){
this.id = "AIIdle";
}
}
|
// https://leetcode.com/problems/binary-tree-maximum-path-sum/
// #tree #dfs
/**
* Definition for a binary tree node. public class TreeNode { int val; TreeNode left; TreeNode
* right; TreeNode() {} TreeNode(int val) { this.val = val; } TreeNode(int val, TreeNode left,
* TreeNode right) { this.val = val; this.left = ... |
package com.atguigu.java2;
public class ThisTest2 {
public static void main(String[] args) {
A a = new A();
A a2 = new A();
System.out.println(a); //输出的是对象的地址值
a.say();
System.out.println("--------------------------------------------");
System.out.println(a2);//输出的是对象的地址值
a2.say();
}
}
class... |
package hard;
public class FindMaxWithoutComparison {
public static int flip(int bit) {
return 1 ^ bit;
}
/*
* returns 1 if positive, 0 if negative
*/
public static int getSign(int number) {
number = number >> 31; // Keep only last bit
return flip(number & 1);
}
/**
* if a - b > 0, a > b
*
* ... |
package dw2.projetweb.servlets;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.sql.SQLException;
import java.te... |
package com.app.dao;
import java.util.*;
import java.util.Properties;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import com.app.service.Service_reque... |
package com.zxt.framework.cache.entity;
import java.util.List;
public class CacheEntity {
private String name;//名称
private String key;//键
private String loadType;//加载方式
private Object values;//缓存返回值
private String valuesSource;//com.xxx.xxx.test()
private String createTime;//创建时间
private String createUser;... |
package Entities;
import java.util.Arrays;
public class Professor {
private String nome;
private int matricula;
private String[] disciplinas;
private int tempoDeCasa;
public Professor () {}
public Professor (String nome, int matricula, String[] disciplinas, int tempoDeCasa) {
... |
package asset_code;
public class Piercingshot {
}
|
package Solution;
import java.util.Arrays;
/* Given an array, and an element to insert, and the position to insert this element.
Return a new array with the element inserted.
*/
public class InsertArray {
public static int[] insert(int[] array, int num, int position){
int[] newArray = new int[array.lengt... |
package nesto.fragmenttest;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view... |
/*
* 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 DesignPattern.Bridge;
public class DealerPicker extends Picker {
public DealerPicker(PersonToBridge p) {
super(p);
// TODO Auto-generated constructor stub
}
@Override
public void guidTo(String somewhere) {
// TODO Auto-generated method stub
System.out.println("p... |
package Arrays;
public class test {
static int count = 5;
public static void main(String[] args) {
int a[] = {12, 34, 45, 6, 13};
test obj = new test();
obj.print(a);
obj.deleteFromEnd(a);
obj.print(a);
obj.deleteValue(a, 34);
obj.print(a);
... |
package def;
import java.awt.Font;
import java.awt.image.BufferedImage;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import javax.imageio.ImageIO;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import org.opencv... |
package com.sinodynamic.hkgta.dao.crm;
import com.sinodynamic.hkgta.dao.IBaseDao;
import com.sinodynamic.hkgta.entity.crm.MemberType;
public interface MemberTypeDao extends IBaseDao<MemberType>{
public MemberType getByMemberTypeName(String memberTypeName);
public MemberType getByMemberTypeCode(String typeCode);
}
|
package odevKamp4.concrete;
import odevKamp4.abstracts.BaseCustomerManager;
import odevKamp4.entities.Customer;
public class NeroCustomerManager extends BaseCustomerManager{
@Override
public void save(Customer customer) {
}
}
|
package entity;
import java.util.ArrayList;
import java.util.List;
public class QuestionInfo {
/**
* 问题
* */
private Question question;
/**
* 用户答案
* */
private List<Integer> userAnswers=new ArrayList<Integer>();
/**
* 设置正确答案
* */
public void setAnswers(List<Integer> answers){
this.question.setAns... |
package org.apache.cassandra.utils;
import java.net.InetAddress;
import java.util.*;
import java.util.Map.Entry;
import org.apache.cassandra.config.DatabaseDescriptor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Tracks the network topology determined by the property file snitch to
* determine th... |
package server.impl;
import java.util.ArrayList;
import dao.IUserdao;
import dao.impl.UserdaoImpl;
import model.user.Car;
import model.user.RentRecord;
import model.user.User;
import server.IUserServe;
import utils.IdcardUtils;
import utils.RegUtils;
public class UserServeImpl implements IUserServe{
private UserdaoI... |
/*
* Copyright 2002-2019 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.company;
public class LivingRoom {
private int tv;
private int sofas;
private Windows windows;
private int cats;
public LivingRoom(int tv, int sofas, Windows windows, int cats) {
this.tv = tv;
this.sofas = sofas;
this.windows = windows;
this.cats = cats... |
package com.karya.bean;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;
public class BudgetBean {
private int bgId;
@NotNull
@NotEmpty(message = "Please enter budget name")
private String budgetName;
@NotNull
@NotEmpty(message = "Please select document ... |
package com.gaoshin.cloud.web.job.schedule;
import com.gaoshin.cloud.web.bean.StringList;
import com.gaoshin.cloud.web.job.bean.JobExecutionDetails;
import com.gaoshin.cloud.web.job.bean.JobExecutionDetailsList;
public interface JobExecutionManager {
StringList listTaskType();
void taskExecutionSucceed(Long... |
package JavaProject;
import java.io.IOException;
public class Main extends Atm{
public static void main(String[] args) throws IOException
{
Atm optionmenu=new Atm();
optionmenu.getLogin();
}
} |
package com.trump.auction.account.dao;
import com.trump.auction.account.domain.AccountRechargeOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* Created by wangyichao on 2017-12-19 下午 06:43.
*/
@Repository
public interface AccountRechar... |
package com.example.ade.slametinmasyarakatapp.Common;
import com.example.ade.slametinmasyarakatapp.Remote.FCMClient;
import com.example.ade.slametinmasyarakatapp.Remote.IFCMService;
/**
* Created by Ade on 22/01/2018.
*/
public class Common {
public static final String driver_tbl = "Drivers";
public static... |
package org.shujito.cartonbox.model;
import java.io.Serializable;
public class Download implements Serializable
{
private static final long serialVersionUID = 1L;
private long id;
private String name;
private String source;
private String location;
public long getId()
{ return this.id; }
pu... |
package com.longfellow.listnode;
public class AddTwoNumbers {
public ListNode addTwoNumbers(ListNode list1, ListNode list2) {
if (list1 == null) {
return list2;
}
if (list2 == null) {
return list1;
}
ListNode res = null;
while (list1 != null || list2 != null) {
}
return res;
}
}... |
package com.emed.shopping.dao.model.admin.store;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.util.Date;
public class ShopArea {
@Id
@GeneratedValue(generator = "JDBC")
private Long id;
private Date addTime;
private String deleteStatus;
private String ar... |
package cn.test.dynamicProxy.javaProxy;
/**
* Created by xiaoni on 2020/3/4.
*/
public class Test {
public static void main(String[] args) {
JdkProxy jdkProxy = new JdkProxy();
IHouse iHouseA = jdkProxy.getInstance(new HouseA());
iHouseA.rent();
iHouseA.onlyForYou();
Syst... |
package model;
import java.util.Calendar;
import java.util.Date;
public class Pickup {
private String p_num;
private String pu_area;
private int pu_time;
private Date pu_date;
public String getP_num() {
return p_num;
}
public void setP_num(String p_num) {
this.p_num = p_num;
}
publi... |
package com.chinasoft.education_manage.web.loginservlet;
import cn.hutool.captcha.ShearCaptcha;
import com.chinasoft.education_manage.domain.Yuangong;
import com.chinasoft.education_manage.service.YuangongService;
import com.chinasoft.education_manage.service.impl.YuangongServiceImpl;
import com.chinasoft.education_ma... |
package com.formList.model;
import java.util.Arrays;
import com.emp.model.EmpVO;
public class FormListVO {
private String formListId;
private String memberId;
private String empId;
private java.sql.Date formListCreateDate;
private String formListType;
private String formListTitle;
private String formListCont... |
package com.gaoshin.appbooster.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
@Entity
@Table
@XmlRootElement
public class Category extends DbEntity {
@Column(nullable=false, length=64) private String name;
... |
package com.testing.myapp.alwaysgym.Utils;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.view.MenuItem;
import com.ittianyu.bottomnavigationviewex.BottomNavigationViewEx;
import com.te... |
package com.example.mcabezas.racomobile.Connect;
import android.util.Log;
import com.example.mcabezas.racomobile.Model.Mail;
import com.example.mcabezas.racomobile.Model.Notice;
import com.example.mcabezas.racomobile.ItemList;
import com.example.mcabezas.racomobile.Model.ItemGeneric;
import com.example.mcabezas.racom... |
package com.mzdhr.aadpractice.model;
import android.arch.persistence.room.Database;
import android.arch.persistence.room.Room;
import android.arch.persistence.room.RoomDatabase;
import android.arch.persistence.room.TypeConverters;
import android.content.Context;
import android.util.Log;
/**
* An abstract class using... |
package dev.sgp.web;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class EditerCollaborateurController extends HttpServlet {
@Override
protected void doG... |
package controle.tarefascontrole;
import java.util.Scanner;
public class Tarefac5 {
public static void main(String[] args) {
/*
* Criar um programa que receba um numero e diga se ele e um numero primo
* usando switch.
*/
Scanner entrada = new Scanner(System.in);
System.out.println("Informe o Número: ");
... |
package com.gsccs.sme.plat.svg.service;
import java.util.Date;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.gsccs.sme.api.domain.base.Attach;
import com.gsccs.sme.plat.auth.... |
package com.sinodynamic.hkgta.service.fms;
import java.sql.Timestamp;
import java.text.ParseException;
import java.text.SimpleDateFormat;
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 org.apache.commons.lang.... |
/*
* MainActivity2.java
*
* Version: MainActivity2.java, v 1.0 2018/06/16
*
* Revisions:
* Revision 1.0 2018/06/16 08:11:09
* Initial Revision
*
*/
package com.dream.the.code.droidswatch;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.graphics.Color;
im... |
package test2;
import java.io.FileNotFoundException;
import java.lang.SecurityException;
import java.util.Formatter;
import java.util.FormatterClosedException;
import java.util.NoSuchElementException;
import java.util.Scanner;
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException... |
public class Tienda {
public float Precio;
// Aca utilizamos encapsulamiento, en este hay tres tipos public, private y
// protected.
String Talle;
String Color;
int Stock;
public void ActualizarStock(int i) {
this.Stock = i;
System.out.println("Hay Stock "+i);
}
public void ActualizarSto... |
package org.yx.http.log;
import javax.servlet.http.HttpServletRequest;
import org.yx.http.handler.WebContext;
/**
* 这个在用户线程里执行,可以去到线程变量。处理最好用异步,要不然会阻塞请求,影响用户体验
*/
public interface HttpLogHandler {
void log(WebContext ctx);
void errorLog(int code, String errorMsg, WebContext ctx);
void errorLog(i... |
package com.tessoft.nearhere;
import java.io.IOException;
import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.map.JsonMappingException;
import org.codehaus.jackson.type.TypeReference;
import com.tessoft.common.Constants;
import com.tessoft.nearhere.adapters.SettingsAdapter;
import com.te... |
package ru.client.view.tablemodel;
import ru.client.Observable;
import ru.client.Observer;
import ru.client.model.Workshops;
import ru.client.model.WorkshopsDAO;
import javax.swing.event.TableModelListener;
import javax.swing.table.TableModel;
import java.util.ArrayList;
import java.util.List;
public class Workshops... |
package com.melodygram.activity;
import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.con... |
/*
* Origin of the benchmark:
* repo: https://github.com/diffblue/cbmc.git
* branch: develop
* directory: regression/cbmc-java/basic1
* The benchmark was taken from the repo: 24 January 2018
*/
// from
// http://www.thegeekstuff.com/2010/02/java-hello-world-example-how-to-write-and-execute-java-progra... |
package com.innominds.controller;
import java.util.List;
import java.lang.String;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.Req... |
package com.javarush.task.task18.task1823;
import java.io.*;
import java.util.HashMap;
import java.util.Map;
/*
Нити и байты
*/
public class Solution {
public static Map<String, Integer> resultMap = new HashMap<String, Integer>();
public static void main(String[] args) throws IOException, InterruptedExcept... |
package com.bnebit.sms.service;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springfr... |
package aaa.assignment1.tests;
import aaa.Agent;
import aaa.PreySimple;
import aaa.Simulator;
import aaa.State;
import aaa.StateSimple;
import aaa.assignment1.algorithms.ValueIteration;
/**
* TEST 5 (Assignment 1.4)
* This test calculates the optimal policy using the Value Iteration algorithm and then runs and disp... |
package com.vaadin.vaadin_archetype_application;
import java.time.Instant;
import java.time.Year;
import java.time.temporal.ChronoUnit;
import java.time.temporal.TemporalAmount;
import java.util.Date;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.Butto... |
package com.mastek.farmToShop.APIs;
import javax.ws.rs.BeanParam;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;... |
package us.gibb.dev.gwt.server.jdo;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;
import us.gibb.dev.gwt.command.Command;
import us.gibb.dev.gwt.command.CommandException;
import us.gibb.dev.gwt.command.Result;
import us.gibb.dev.gwt.server.command.handler.AbstractCommandHandler;
imp... |
package com.keybellsoft.parseexample;
/**
* Copyright (C) 2015 KeyBellSoft. All rights reserved.
* Created by Fabian Rosales on 25/10/2015.
* www.frosquivel.com
*
*
* Use for example
* https://github.com/rey5137/material
* www.parse.com
*/
import android.content.Intent;
import android.support.v7.app.App... |
package servlet;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import bean.ClassInfoBean;
import dao.ClassInfoDao;
pub... |
package com.app.web;
import com.app.model.Message;
import com.app.service.MessagesService;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static spark.Spark.*;
@... |
package net.oneqas.fileEnviron.fileService;
import org.springframework.stereotype.Component;
@Component
public class GroupAggregateImgFileServiceImpl extends FileServiceImpl
{
static
{
PATH = "server/imgs/groupImages/";
}
}
|
package com.yuan.library.bannerdialog;
import android.app.Activity;
import android.content.Context;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.Toast;
import androidx.annotation.NonNull;
import com.bumptech.glide.Glide;
import com.yuan.library.R;
import java.util.List;
/**... |
package net.sourceforge.jFuzzyLogic.membership.functions;
import net.sourceforge.jFuzzyLogic.rule.FuzzyRuleSet;
/**
* Membership function that is a (simple) mathematical funcion
* Function: cos(x1)
*
* @author pcingola@users.sourceforge.net
*/
public class MffCos extends MffFunction {
/** Constructor */
publ... |
/**
*
*/
package com.fixit.core.dao.sql;
import java.io.Serializable;
import java.util.Map;
import com.fixit.core.dao.CommonDao;
import com.fixit.core.data.sql.SqlModelObject;
/**
* @author Kostyantin
* @createdAt 2016/12/15 21:49:05 GMT+2
*/
public interface SqlDao<E extends SqlModelObject<ID>, ID extends ... |
package com.logicbig.example;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Profile;
import java.math.B... |
/*
* 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;
/**
*
* @author HermanCosta
*/
public class Sale extends Customer {
String saleNo, stringProducts, stringQty, s... |
package client;
import client.commen.MapperUtils;
import client.commen.SwingUtils;
import mp.dao.PrimaryMapper;
import org.apache.poi.hssf.usermodel.*;
import org.apache.poi.ss.usermodel.*;
import org.apache.poi.ss.util.CellRangeAddressList;
import org.apache.poi.ss.util.NumberToTextConverter;
import org.apache.poi.xs... |
package peropt.me.com.performaceoptimization.dn;
/**
* desc:
*/
public class Looper {
MessageQueue mMessageQueue;
private Looper() {
mMessageQueue = new MessageQueue();
}
}
|
package com.theshoes.jsp.cs.model.dao;
import java.util.List;
import org.apache.ibatis.session.SqlSession;
import com.theshoes.jsp.common.paging.SelectCriteria;
import com.theshoes.jsp.cs.model.dto.QuestionDTO;
import com.theshoes.jsp.cs.model.dto.QuestionFileDTO;
import com.theshoes.jsp.cs.model.dto.Reques... |
package com.example.demo.service.impl;
import com.example.demo.dto.common.BaseRequest;
import com.example.demo.dto.common.BaseResponse;
import com.example.demo.dto.common.Result;
import com.example.demo.service.RpcManager;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationC... |
package com.vicutu.batchdownload.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.vicutu.batchdownload.dao.DownloadDetailDao;
import com.vicutu.batchdownload.domain.DownloadDetail;
import com.vicutu.batchdownload.service.Down... |
package com.trannguyentanthuan2903.yourfoods.favorites.model;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.google.firebase.d... |
package labs.chapter6;
public class Lab {
public static void main (String[] args) {
// int i = 0;
// while (i < 10)
// {
// System.out.println("Number is " + i);
// System.out.println("Square is " + (i * i));
// if (i % 2 != 0)
// {
// ... |
package com.company;
import ru.ifmo.se.pokemon.*;
public class Tickle extends SpecialMove {
protected void applyOppEffects(Pokemon p) {
p.addEffect(new Effect().stat(Stat.DEFENSE, 1));
p.addEffect(new Effect().stat(Stat.ATTACK, 1));
}
@Override
protected String describe() {
... |
package view;
import java.awt.EventQueue;
import javax.swing.JInternalFrame;
import javax.swing.JPanel;
import javax.swing.border.TitledBorder;
import Dao.CostumeDao;
import bean.CostumeInfo;
import util.DbUtil;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import java.awt.Font;
import... |
package Decorate;
/**
* Date: 2019/3/2
* Created by Liuian
*/
class Decorate1 extends BaseDecorate {
Decorate1(Drink drink) {
super(drink);
}
@Override
String getDescription() {
return "Decorate2" + "/" + drink.getDescription();
}
@Override
int cost() {
return ... |
/*
* 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 com.qfc.yft.data;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import com.qfc.yft.YftApplication;
import com.qfc.yft.YftValues;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences... |
package com.iteima;
/*
*/
public class PopularSetting {
public static void main(String[] args) {
}
public void run(String s){
System.out.println("PopularSetting.run");
System.out.println("s = " + s);
}
}
|
/* Copyright 2015 The jeo project. All rights reserved.
*
* 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 appl... |
package com.diegov22.alarma;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.app.AlarmManager;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Intent;
import android.os.SystemClock;
import android.widget.CompoundButton;
import a... |
package com.oa.lucene.controller;
import java.io.IOException;
import java.text.ParseException;
import java.util.List;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
import org.apache.lucene.index.IndexWriter;
import org.springframework.beans.factory.annotation.Autowired;
import o... |
/*
* 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 Business_Layer.Trace;
import java.util.Observable;
public class PersonalPage extends Observable{
/*
כאשר רוצים לשנות משהו בתוך הפונקציה נקרא לשיטות:
public change(){
setChanged();
notifyObservers();
}
כדי להוסיף נושא מסוים עושים:
subject.addObserver(צופה);
*/
}
|
package test;
import java.util.List;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.Select;
public class CopyHW {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver", "./drivers/chromedrive... |
package com.citibank.ods.persistence.pl.dao;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Date;
import com.citibank.ods.common.dataset.DataSet;
import com.citibank.ods.entity.pl.BaseTplMrDocPrvtEntity;
import com.citibank.ods.entity.pl.TplMrDocPrvtMovEntity;
/**
* @author m.n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.