text stringlengths 10 2.72M |
|---|
package com.madrapps.dagger.multibindings.intomap.provides.stat;
import com.madrapps.dagger.models.Alley;
import dagger.Component;
@Component(modules = IntoMapStaticProvidesModule.class)
public interface IntoMapStaticProvidesComponent {
Alley alleyRoute();
}
|
package com.robin.springbootlearn.app.mapper;
import com.robin.springbootlearn.app.entity.UserEntity;
import com.robin.springbootlearn.common.mapper.SuperMapper;
/**
* <p>
* 通过导入的用户表格 Mapper 接口
* </p>
*
* @author robin
* @since 2020-04-06
*/
public interface UserMapper extends SuperMapper<UserEntity> {
}
|
package org.digdata.swustoj.controller;
import io.jsonwebtoken.Claims;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import org.digdata.swustoj.base.BaseController;
import org.digdata.swustoj.base.IMemCacheTemplate;
import org.digdata.swustoj.... |
package f.star.iota.milk.ui.girlatlas.atlas;
import android.os.Bundle;
import f.star.iota.milk.base.FixedImageFragment;
public class AtlasFragment extends FixedImageFragment<AtlasPresenter, AtlasAdapter> {
public static AtlasFragment newInstance(String url) {
AtlasFragment fragment = new AtlasFragment... |
/*package demoOn17August2016;
import java.util.ArrayList;
import java.util.List;
public class listDemo1 {
public static void main(String[] args) {
//List l=new List(); // Cannot instantiate the type List because 'List' is an Interface
List l1=new ArrayList(); // Heterogeneous type
l1.add(1999);
l1.add("Man"... |
public class CubbyHole {
private int contents; //Shared data
private boolean available = false; //Is something available?
public synchronized int get() { //synchronized IS the key....
while (available == false) {
try {
wait(); //Waits for another thread to cal... |
package com.aof.component.prm.expense;
import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import com.aof.component.domain.party.UserLogin;
import com.aof.component.prm.proje... |
package StepDefinitions;
import io.cucumber.java.en.And;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
import io.github.bonigarcia.wdm.WebDriverManager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDri... |
package dbAssignment.opti_home_shop.data.model;
import com.sun.istack.NotNull;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;
import java.util.List;
import java.util.Objects;
import javax.persistence.*;
@javax.persistence.Entity
@Table(name = "bank")
public cla... |
package views;
import java.util.ArrayList;
import models.Paper;
import models.User;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.cfg.Configuration;
import controllers.BibtexManagerController;
public class HibernateSessionM... |
package com.soldevelo.vmi.config.parse;
import com.soldevelo.vmi.config.acs.model.HostParams;
import com.soldevelo.vmi.config.acs.model.Limits;
import com.soldevelo.vmi.config.acs.model.Section;
import com.soldevelo.vmi.config.acs.model.TestLimits;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.A... |
package com.takeaway.gameofthree.component;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.jms.annotation.JmsListener;
import org.springframework.jms.core.JmsTemplate;
import org.springframework.stereotype.Component;
... |
package com.cqut.model;
public class Store {
private String storeid;
private String storename;
private String sellerid;
private Integer status;
private Integer isrecommen;
private Integer reccomomaxlen;
private String shopimage;
private String remark;
private String storeAdd... |
package presentation.customer.view;
import businesslogic.orderbl.OrderProcesser;
import businesslogic.roombl.Room;
import businesslogicservice.roomblservice.RoomBLService;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.scene.control.ChoiceBox;
... |
package com.stk123.model.core;
import cn.hutool.core.net.URLEncoder;
import cn.hutool.core.util.ObjectUtil;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonView;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.stk123.common.CommonConstant;
import com.stk1... |
import java.security.PublicKey;
import java.security.NoSuchAlgorithmException;
import java.security.SignatureException;
import java.security.InvalidKeyException;
import java.util.ArrayList;
import java.util.Hashtable;
/** Transaction
* consisting of a list of txInputs and
* a list of txOutputs
*/
publi... |
package jianzhioffer;
import java.util.ArrayList;
/**
* @ClassName : Solution57
* @Description : 数组中和为S的两个数字
* @Date : 2019/4/2 15:33
*/
public class Solution57 {
public static void main(String [] args){
int [] test=new int[]{1,2,4,7,11,15};
ArrayList<Integer> res=FindNumbersWithSum2(test,15);... |
package com.pb.android.Utilities;
public class Constant {
public static final String locator = "";
}
|
package com.ca.rs.steps;
import com.ca.rs.AppProperties;
import com.ca.rs.Cleanup;
import com.ca.rs.models.ModelContainer;
import com.ca.rs.models.SeleniumDriverContainer;
import com.ca.rs.pageObjects.Common;
import com.ca.rs.pageObjects.AdminPage;
import com.ca.rs.pageObjects.LoginPage;
import com.google.common.util.... |
/*
* 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.blog.servlet.admin;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.blog.Iservice.IPhotoService;
import com.blog.se... |
package com.wenyuankeji.spring.dao;
import java.util.List;
import com.wenyuankeji.spring.model.UserTradelogModel;
import com.wenyuankeji.spring.util.BaseException;
public interface IUserTradelogDao {
public List<UserTradelogModel> searchUserTradelog(String startTime,
String endTime, int page, int rows) throws B... |
public class reverseVowelsOfString{
private static boolean isVowel(char ch){
String vowels = "aeiouAEIOU";
return vowels.contains(ch + "");
}
public static String reverseVowels(String s){
char[] arr = s.toCharArray();
int left = 0;
int right = arr.length... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashSet;
import java.util.Set;
public class bj11478 {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
... |
package com.cs.player;
import com.cs.user.User;
import com.google.common.base.Objects;
import javax.annotation.Nonnull;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence... |
package com.example.demo.service;
import com.example.demo.entity.OrderContractProject;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 服务类
* </p>
*
* @author zjp
* @since 2020-12-03
*/
public interface IOrderContractProjectService extends IService<OrderContractProject> {
}
|
package org.sigmacamp.ioionavigator;
import android.location.Location;
import android.os.Bundle;
import ioio.lib.util.android.IOIOActivity;
import ioio.lib.util.IOIOLooper;
import android.content.Context;
import android.widget.Toast;
import android.widget.ToggleB... |
package com.logzc.webzic.reflection;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.*;
/**
* this package is mainly for dynamic class loading.
* Y... |
package com.lsjr.zizisteward.activity.group.ui;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.View;
import com.lsjr.base.MvpActivity;
import com.lsjr.zizisteward.Config;
import com.lsj... |
package com.swapping.springcloud.ms.member.feign.integral.client;
import com.swapping.springcloud.ms.core.exception.MyException;
import com.swapping.springcloud.ms.core.response.UniVerResponse;
import com.swapping.springcloud.ms.member.feign.integral.bean.Integral;
import org.springframework.stereotype.Component;
/**... |
package fr.skytasul.quests.utils.types;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import fr.skytasul.quests.utils.Utils;
public class NumberedList<T> implements Iterable<T>, Cloneable{
priva... |
package array;
import java.util.Scanner;
public class Largeno {
public static void main(String[] args) {
Scanner s=new Scanner (System.in);
double n1, n2,n3;
System.out.println("Enter Number1:");
n1=s.nextDouble();
System.out.println("Enter Number2:");
... |
package com.netcracker.app.domain.info.controllers.vacancyAndResume;
import com.netcracker.app.domain.info.entities.resumes.ResumeImpl;
import com.netcracker.app.domain.info.entities.vacancies.VacancyImpl;
import com.netcracker.app.domain.info.services.resumes.ResumeImplService;
import com.netcracker.app.domain.info.s... |
import java.awt.Dimension;
import java.util.ArrayList;
import javax.swing.JFrame;
public class Main {
public static Field fieldClass = new Field();
public static Loading loading = new Loading();
public static Hero hero = new Hero();
public static Users users = new Users();
static JFrame f = new JFrame("Сокоб... |
package com.example.vplayer.ui.activity;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.core.content.ContextCompat;
import androidx.fragment.app.Fragment;
import androidx.viewpager.widget.ViewPager;
import android.os.Build;
import android.os.Bundle;
import a... |
package ffm.slc.model.resources;
import com.google.gson.*;
import java.lang.reflect.Type;
public class StringResource implements JsonSerializer<StringResource>, JsonDeserializer<StringResource> {
protected String value;
public String getValue() {
return value;
}
public void setValue(String value) {
this.... |
package com.road_sidekiq.android.roadsidekiq.activities;
import android.support.v7.app.ActionBarActivity;
/**
* Created by rewin0087 on 4/18/15.
*/
public class LocationMapActivity extends ActionBarActivity {
}
|
package com.lagou.edu.config;
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTem... |
public String nonStart(String a, String b) {
String x = a.substring(1,a.length());
String xx = b.substring(1,b.length());
return x + xx;
}
public String makeAbba(String a, String b) {
return a + b + b + a;
}
public int diff21(int n) {
if ((n-21)<0) {
int x = 21-n;
return x;
}
else {
int x = ... |
package zeepbelboom;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.LinkedList;
import java.util.Queue;
/**
* Stelt een top in een zeepbelboom voor.
* @author Jeroen De Meyer
* @param <T> Het type van de sleutel in de top.
*/
public class Node<T extends Comparable<T>> implements... |
package com.rohraff.netpccontactapp.model;
import java.time.LocalDate;
public class ContactDao {
private Integer contactId;
private String firstname;
private String lastname;
private String email;
private Integer phoneNumber;
private String key;
private String password;
private LocalD... |
package KvbRadFinder.Geocoding.Exceptions;
/**
* Occurs if the Geocoding API is not reachable and returns 500;
*/
public class ExternalServiceCommunicationException extends Exception {
}
|
/* https://codeforces.com/contest/158/problem/B
#special-problem #greedy #implementation
find out: number of group of 4 people
min number of (group of 1 person, group of 3 people)
remained group of 3 people
number of cars needed to remained group of 1 person and group of 2 people.
*/
import java.util.Scanner;
... |
package link.json;
import java.util.Iterator;
import link.CloudLink;
import org.codehaus.jettison.json.JSONArray;
import org.codehaus.jettison.json.JSONException;
import org.codehaus.jettison.json.JSONObject;
import domain.DataType;
import error.ApiNotReachableException;
/**
* Initialize this class or extend it i... |
package de.cuuky.varo.combatlog;
import java.util.ArrayList;
import java.util.Date;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageByEntityEve... |
package me.darkeet.android.demo.share;
import android.content.Context;
import android.graphics.Bitmap;
import java.io.ByteArrayOutputStream;
import com.tencent.mm.sdk.openapi.IWXAPI;
import com.tencent.mm.sdk.openapi.SendMessageToWX;
import com.tencent.mm.sdk.openapi.WXAPIFactory;
import com.tencent.mm.sdk.openapi.WXA... |
package com.gxjtkyy.standardcloud.api.parser;//package com.gxjtkyy.parser;
//
//import com.alibaba.fastjson.JSON;
//import com.gxjtkyy.domain.TemplateInfo;
//import com.gxjtkyy.domain.dto.MthStandDTO;
//import com.gxjtkyy.domain.dto.ProStandDTO;
//import com.gxjtkyy.service.TemplateService;
//import lombok.Cleanup;
//i... |
package au.gov.nsw.records.digitalarchive.system;
import java.text.Format;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class AUDate{
/**
*
*/
public AUDate()
{
this(doFormat());
}
public AUDate(String date)
{
}
private static String doFormat()
{
... |
package com.gaoshin.cj.api;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "advertisers")
public class Advertisers {
private int totalMatched;
... |
class Solution {
public int pivotIndex(int[] nums) {
if(nums.length == 0) return -1;
if(nums.length == 1) return nums.length;
int sum = 0;
for(int i = 0; i < nums.length; i++){
sum += nums[i];
}
if(0 == sum - nums[0]) return 0;
for(int i = 1; i < n... |
package com.citibank.ods.common.exception;
//
//©2002-2007 Accenture. All rights reserved.
//
/**
* Exceção lançada pelas classes de acesso a objetos (DAO) quando o método
* find não localiza o registro que foi procurado.
*
*@see package com.citibank.ods.common.exception;
*@version 1.0
*@author fabio... |
package abbyy.ocrsdk.android;
import android.app.Activity;
import android.os.Bundle;
import android.widget.EditText;
public class ShowResult extends Activity {
EditText etPhone, etEmail, etAddress, etCompany, etOther,etName
,etWeb,etJob,etFax;
@Override
protected void onCreate(Bundle savedInstanceState) {
// ... |
package com.sinodynamic.hkgta.dao.mms;
import java.io.Serializable;
import com.sinodynamic.hkgta.dao.IBaseDao;
import com.sinodynamic.hkgta.entity.mms.SpaPicPath;
public interface SpaPicPathDao extends IBaseDao<SpaPicPath>{
public Serializable addSpaPicPath(SpaPicPath spaPicPath);
public SpaPicPath getByPicId(Lo... |
package com.ilkaygunel.controller;
import com.ilkaygunel.entity.Characters;
import com.ilkaygunel.service.CharacterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestControl... |
package com.cg.test.repository;
import com.cg.test.model.City;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface ICityRepository extends JpaRepository<City,Long> {
}
|
package com.prep.codecareer;
/*
Question: A sub-array has one number of some continuous numbers.
Given an integer array with positive numbers and negative numbers, get the maximum sum of all sub-arrays.
Time complexity should be O(n).
For example, in the array {1, -2, 3, 10, -4, 7, 2, -5},
its sub-array {3, 10,... |
//Natalia Krupińska
package pl.edu.pw.fizyka.pojava.KrupinskaAmbroziak;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.util.ResourceBundle;
import javax.swing.JCheckBox;
impor... |
package com.gsccs.sme.plat.statist.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.gsccs.sme.api.domain.StatistGroup;
import com.gscc... |
/**
* This code counts the number of binary search trees in the binary tree
* Reference: https://www.geeksforgeeks.org/count-the-number-of-binary-search-trees-present-in-a-binary-tree/
*/
class Node {
int data;
Node left;
Node right;
Node(int data) {
this.data = data;
left =... |
package com.gavin.observer;
import org.apache.commons.logging.Log;
import org.elasticsearch.action.bulk.BulkRequestBuilder;
import org.apache.commons.logging.LogFactory;
import org.elasticsearch.action.bulk.BulkResponse;
import org.elasticsearch.action.delete.DeleteRequestBuilder;
import org.elasticsearch.action.upda... |
package com.bofsoft.laio.customerservice.DataClass.Order;
import com.bofsoft.laio.data.BaseData;
import java.util.List;
/**
* 驾校账号管理list
*
* @author yedong
*/
public class SchoolAccountManagerListData extends BaseData {
public List<SchoolAccountManagerData> info; // ERP账号列表
}
|
/* $Id$ */
package djudge.dservice;
import java.util.HashMap;
import djudge.dservice.interfaces.DServiceXmlRpcInterface;
import djudge.utils.XMLSettings;
import djudge.utils.xmlrpc.XmlRpcConnector;
public class DServiceXmlRpcConnector extends XmlRpcConnector implements DServiceXmlRpcInterface
{
private... |
/*-----------------------------------------------------------------------------
CS 211
01/11/2015
Kathryn Brusewitz
Super Class: (Inferred: Object)
Implements: Cloneable
Represents a date consisting of a year, month and day. Includes methods that
can move the date by any number of days or weeks, check i... |
package com.example.myweather;
import androidx.annotation.NonNull;
//перечисление времени суток
public enum TimesOfDay{
MORNING("утро"),
AFTERNOON("обед"),
EVENING("вечер"),
NIGHT("ночь");
private String name;
TimesOfDay(String name) {
this.name = name;
}
@NonNull
@Overrid... |
package gil.server.data;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
public class FileIO implements IOProvider {
private final File file;
public FileIO(String filePath) {
th... |
/*
* Copyright (c) 2008-2020, Hazelcast, Inc. 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 ... |
package Bridge.Buildings;
import Bridge.Brand;
import Bridge.Building;
public class Appartament extends Building {
public Appartament(Brand brand) {
super(brand);
}
@Override
public void getType() {
System.out.println("Appartament");
}
}
|
package action;
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 java.util.Map;
import org.apache.struts2.ServletActionContext;
import util.jdbcUtil;
import mo... |
package com.patrickwshaw.apartmenttracker.model.model;
import android.database.Cursor;
import android.provider.CalendarContract;
import com.patrickwshaw.apartmenttracker.constants.DBConstants;
import com.patrickwshaw.apartmenttracker.constants.LivingConstants;
import com.patrickwshaw.apartmenttracker.model.dat... |
package ca.usask.cs.srlab.simclipse.clone.track;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IResourceChangeEvent;
import org.eclipse.core.resources.IResourceChangeListener;
import org.eclipse.core.r... |
package com.syntax.class03;
public class Assignment {
public static void main(String[] args) {
int myNumber1 = 20;
myNumber1+=100;
System.out.println(myNumber1);
int myNumber2 = 300;
myNumber2-=67;
System.out.println(myNumber2);
int cakePiece = 11;
cakePiece/=4;
System.out.println(cakePiece)... |
public class Rational {
int numerator;
int denominator;
Rational () {
numerator = 0;
denominator = 1;
}
Numerator( int numerator_1) {
numerator = numerator_1;
}
Denomirator ( int denominator_1) {
denominator = denominator_1;
}
double Normalize ( int numerator_1, int denominat... |
package UI;
import Interfaces.LoginInformation;
import javafx.application.Application;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
import javafx.stage.St... |
package work.binder.ui.ping.catcher;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Properties... |
package com.sam.controller;
import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import... |
package com.example.Candidates.model;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.DBRef;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackso... |
package com.atguigu.mr.mapjoin;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URI;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.apache.hadoop.io... |
package com.zc.base.sys.modules.login;
import org.apache.shiro.authc.AuthenticationException;
public class CaptchaIncorrectException
extends AuthenticationException {
private static final long serialVersionUID = 1731950859858021893L;
public CaptchaIncorrectException() {
}
public... |
package cn.swsk.rgyxtqapp;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ListView;
import android.widget.TextView;
import java.util... |
package com.jd.jarvisdemonim.ui.testadapteractivity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import com.jd.jarvisdemonim.R;
import com.jd.jarvisdemonim.ui.testfragment.TestLazyFragment1;
import com.jd.jarvisdemonim.ui.testfragment.TestLazyFragment2;
... |
package jogoDaVelha;
/**
*
* @author Tiago Barbosa, https://github.com/tiagocbarbosa
*
*/
public class Player {
private Score score;
private boolean playerTurn;
public Player() {
score = new Score();
playerTurn = false;
}
public int getScore() {
return score.getScore();
}
public void scored() ... |
package userui;
import java.util.List;
import javax.swing.JOptionPane;
import project.dao.SubjectInfoDAO;
import project.dao.TestInfoDAO;
import project.to.SubjectInfoTO;
import project.to.TestInfoTO;
public class ChooseScreen extends javax.swing.JInternalFrame {
private String username;
public ChooseScreen... |
package com.jude.file.service.mail.impl;
import com.alibaba.fastjson.JSON;
import com.jude.file.bean.ResponseBean;
import com.jude.file.bean.mail.bo.MailBO;
import com.jude.file.bean.mail.dao.KindleConfigDO;
import com.jude.file.bean.mail.dao.OperationLog;
import com.jude.file.bean.mail.dao.PushLogDO;
import com.jude.... |
package com.hunger.rpc.component;
import com.hunger.rpc.netty.server.MessageRecvExecutor;
import com.hunger.rpc.serialize.RpcSerializeProtocol;
import com.hunger.rpc.zookeeper.ServiceRegistry;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.fa... |
package refresher;
public class Album {
/* 1 */
// Add three properties to this Album class:
// - A title
// - An artist
// - The number of tracks on this album
// What data types do these properties have?
/* 2 */
// Add a constructor that enables you to pass
// a value for eac... |
/**
* ConfirmationCodeSerializer
*/
package com.bs.bod.converter;
import java.io.IOException;
import com.bs.bod.ConfirmationCode;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jac... |
/*
* 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.ats.communication_admin.bean;
/**
* Created by MAXADMIN on 3/2/2018.
*/
public class AdminData {
private User user;
private ErrorMessage errorMessage;
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
public ErrorM... |
package cn.itheima.practice_1103;
public class MinusDemo {
/*
*定义3个int类型变量并赋值,求出最小值,
* 并打印输出到控制台。
*/
public static void main(String[] args) {
int a,b,c,t,min;
a = 23;
b = 18;
c = 45;
t = a > b ? b : a;
min = t > c ? c : t;
System.out.println("三个数中最小的数为:" + min);
}
}
|
package com.fsClothes.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.fsClothes.pojo.CartItem;
import com.fsClothes.pojo.CartItemVO;
/**
* @author MrDCG
* @version 创建时间:2019年10月8日 下午4:56:59
*
*/
public interface CartMapper {
/**
* 根据userId和productId查找该用户是... |
package view;
import controller.ProcessingController;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* DEPRECIATED: Represents a method to display the processing of a Image Processing Model through a
* textual view. This has since been implemented more feasibly.
*/
public interface ErrorView ext... |
/*
* Copyright 2012 Brayden (headdetect) Lopez
*
* Dual-licensed under the Educational Community License, Version 2.0 and
* the GNU General Public License Version 3 (the "Licenses"); you may
* not use this file except in compliance with the Licenses. You may
* obtain a copy of the Licenses at
*
* ht... |
package org.home.geonamesdemo.listener;
import org.home.geonamesdemo.model.Geoname;
/**
* Created by Kelvin on 28/11/2017.
*/
public interface GeonameItemClickListener {
void itemClickListener(Geoname geoname);
}
|
package com.yukai.monash.student_seek;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.CoordinatorLayout;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import com.loopj.android.http.AsyncHttpClient;
import com.loopj.android.http.AsyncHttpRespon... |
package com.jesus.curso3_semana4_petagram_final;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import androidx.appcompat.app.AppCompatActivity;
import and... |
package com.apssouza.mytrade.trading.forex.risk.stoporder;
import com.apssouza.mytrade.trading.builder.StopOrderBuilder;
import com.apssouza.mytrade.trading.forex.order.StopOrderType;
import com.apssouza.mytrade.trading.forex.portfolio.PortfolioModel;
import com.apssouza.mytrade.trading.forex.risk.PositionSizer;
impor... |
package serverIO;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import serverControl.*;
public class Listener {
@SuppressWarnings("resource")
public void listening(){
int port = Port.port;
try {
ServerSocket listenSocket = new ServerSocket(port);
... |
package org.intellij.plugins.ceylon.psi;
import com.intellij.lang.ASTNode;
import com.intellij.psi.LiteralTextEscaper;
import com.intellij.psi.PsiLanguageInjectionHost;
import com.intellij.psi.impl.source.tree.injected.StringLiteralEscaper;
import org.jetbrains.annotations.NotNull;
public abstract class InjectableLit... |
package com.lq.entity;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "t_failtradelog")
public class FailTradeLog{
@Id
private int id;
@Column(length = 32)
private String reason;
pri... |
package com.icanit.app_v2.entity;
// default package
import java.util.Date;
/**
* AppGoods entity. @author MyEclipse Persistence Tools
*/
public class AppGoods implements java.io.Serializable {
// Fields
public Integer merId,cateId,amount;
public String id,merName,cateName,goodName,shortName,detail,pic;
publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.