text stringlengths 10 2.72M |
|---|
import models.AlansGame_M;
import models.FlipBoard_M;
import models.Challenges_M;
import models.MoveList_M;
import views.AlansGameMoves_V;
import views.AlansGame_V;
import views.Board_V;
import views.Challenges_V;
import views.MoveList_V;
import views.Scores_V;
import controllers.AlansGame_C;
import controllers.Board_C... |
public class Main {
public static void main(String[] args) {
double[] arr = {2.5, 5.0, 6.1, 7.5, -3.4, -4.5, -8.6, -9.0, -10.0, 5.6, 10.0, -11.0, 4.5, 16.0, 17.0};
double cumma = 0;
int kolichestvo = 0;
boolean knopka = false;
for (int i = 0; i < arr.length; i++) {
... |
package com.heartmarket.model.dto;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Gen... |
package com.thinker.vdongthinker.ui.activity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.RadioButton;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.thinker.vdongthinker.R;
import com.... |
/**
*/
package EpkDSL.impl;
import EpkDSL.EpkDSLPackage;
import EpkDSL.Node;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Node</b></em>'.
* <!-- end-user-doc -->
* <p>
* </p>
*
* @generated
*/
public class NodeImpl extends EpkImpl impleme... |
package dsp.api;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
public abstract class DebugScreenCategory {
private String name;
private List<String> pages;
/**
* @param displayName Name of category that'... |
package com.rameshsatya.peerprogramming.springbboot.service;
import java.util.Optional;
import org.modelmapper.ModelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.rameshsatya.peerprogramming.springbboot.dao.CustomerRepository;
import c... |
public interface Animal {
public Boolean hungry();
public void speak();
}
|
/*
* 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.example.codetribe1.constructionappsuite.dto;
import com.example.codetribe1.constructionappsuite.dto.transfer.PhotoUploadD... |
package com.vacuum.app.dostor.Tasks;
import android.content.Context;
import android.os.AsyncTask;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import com.vacuum.app.dostor.Dostor2014.Adapter;
import com.vacuu... |
package com.egovorushkin.scoreborad.dto;
public class TruckStatsDto {
private long total;
private long available;
private long busy;
private long faulty;
public long getTotal() {
return total;
}
public void setTotal(long total) {
this.total = total;
}
public lon... |
package com.tencent.mm.plugin.downloader;
import android.database.Cursor;
import com.tencent.mm.plugin.downloader.c.a;
import com.tencent.mm.plugin.downloader.c.b;
import com.tencent.mm.plugin.downloader.model.c;
import com.tencent.mm.plugin.downloader.model.d;
import com.tencent.mm.sdk.platformtools.bi;
import com.te... |
package com.metacube.restful.dao;
public class Query {
//contains all the queries to perform the operations
public final static String insertAdvertisement = "INSERT INTO advertisement VALUES(?,?,?,?);";
public final static String insertCategory = "INSERT INTO category VALUES(?,?);";
public final static S... |
package org.idea.plugin.atg.completion;
import com.intellij.codeInsight.lookup.LookupElement;
import com.intellij.codeInsight.lookup.LookupElementPresentation;
import com.intellij.psi.PsiMethod;
import org.idea.plugin.atg.util.AtgComponentUtil;
import org.jetbrains.annotations.NotNull;
public class AtgPropertyLookupE... |
package testCases;
public class TestCase10 {
}
|
package jp.co.logacy.dto.search;
import java.util.List;
/**
* 楽天ブックスDVD/Blu-ray検索APIの結果保持DTO
*
* @author y_someya
*
*/
public class SearchResultDto {
/** 検索数 */
public int count;
/** ページ番号 */
public int page;
/** ページ内商品始追番 */
public int first;
/** ページ内商品終追番 */
public int last;
/** ヒット件数 */
p... |
package com.isystk.sample.web.front.controller.api.v1.post;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
public class PostRestForm implements Serializable {
private static final long serialVersionUID = 7593564324192730932L;
String title;
String text;
}
|
package com.zhao.entity;
import lombok.Data;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
@Data
@Table(name = "b_order")
@Entity
public class Border implements Serializable {
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
... |
package com.mathpar.students.ukma.Grushka.Module2Part1;
import mpi.MPI;
import mpi.MPIException;
public class TestGatherv {
public static void main(String[] args) throws MPIException {
// MPI definition
MPI.Init(args);
// Determine the number of processors and processor amount in a group
... |
package com.tencent.mm.plugin.label.b;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.network.k;
import com.tencent.mm.network.q;
import com.tencent.mm.platformtools.h;
import com.tencent.mm.protocal.c.aqf;
import com.tencent.mm.protocal.c.bp;
import com.tence... |
package com.mrhan.database;
import com.mrhan.database.keytype.ForginKey;
import com.mrhan.database.mrhanDaos.ColumType;
import com.mrhan.database.mrhanDaos.EntityTable;
import com.mrhan.util.CodeRuntimeTest;
import com.mrhan.util.MrhanUtil;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java... |
/* */ package com.ketonix.ketonixpro;
/* */
/* */ import java.awt.Dimension;
/* */ import java.io.BufferedReader;
/* */ import java.io.File;
/* */ import java.io.FileReader;
/* */ import java.io.IOException;
/* */ import java.text.SimpleDateFormat;
/* */ import java.util.Date;
/* ... |
package org.lvzr.fast.java.spring.aop.aspectj;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class TestSimpleAspect {
public static void main(String[] args) {
ApplicationContext appContext = new ClassPathXmlApplicat... |
package com.wangyuelin.easybug.log;
import com.wangyuelin.easybug.info.LogBean;
import java.util.concurrent.LinkedBlockingQueue;
/**
* 存放Log实体的队列:使用队列的目的是控制一定时间内产生的log信息数量,太多则丢弃,避免性能损耗
* 但是使用实体池的那里就控制了,所以这里就不控制了
*/
public class LogQueue {
public static LinkedBlockingQueue<LogBean> queue = new LinkedBlockingQ... |
package algoritmodebully;
/**
* @author Kassuelo
* @author Vicente
*/
//Classe que define os atributos e métodos do objeto que representa o processo
public class Process{
private int id;
private boolean active;
public Process (int id){
this.active = true;
this.id = id;
}
... |
package com.ybh.front.model;
public class DomainProductlist_AGNWithBLOBs extends DomainProductlist_AGN {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FreeHost_DomainProductlist_AGN.info
*
* @mbg.generated Fri May 11 11:16:07... |
package goals;
import bots.Marcel;
import engines.Deck;
import org.junit.Before;
import org.junit.Test;
import parcels.*;
import java.lang.reflect.Field;
import java.util.ArrayList;
import static org.junit.Assert.*;
public class TestGoal {
@Before
public void resetGameBoard() {
GameBoard.reset();
... |
/*
* 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 mude.srl.ssc.service.mail;
import java.util.List;
/**
*
* @author Jack
*/
public interface EmailSenderService... |
import java.awt.Stroke;
import java.awt.Graphics2D;
import java.awt.Paint;
public class MyLine extends MyShape
{
public MyLine()
{
super();
}
//Constructor with input values
public MyLine(int x1, int y1, int x2, int y2, Paint paint, Stroke stroke)
{
super(x1, y1, x2, y2, pain... |
package com.momori.wepic.activity;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.TextView;
import com.momori.wepic.R;
import com.momori.wepic.activity.adapter.InviteList... |
package com.qihoo.finance.chronus.modules.job;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.qihoo.finance.chronus.sdk.AbstractSdkService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.... |
package tainiothiki;
import java.io.PrintWriter;
import java.io.FileOutputStream;
import java.io.FileNotFoundException;
interface writer{
public int writefile();
}
|
package com.serenskye.flickrpaper.service;
import android.app.IntentService;
import android.app.Notification;
import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Environment;
import android.os.Handler;
import android.os.Messag... |
/*
* FileName: ExcelUtils.java
* Description:
* Company: 南宁超创信息工程有限公司
* Copyright: ChaoChuang (c) 2005
* History: 2005-12-27 (guig) 1.0 Create
*/
package com.spower.basesystem.excel.utils;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;... |
package net.kzn.onlineshopping.controller;
import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class PageControlle... |
package com.zebra.pay.utils.spring;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
/**
* U... |
package com.it.userportrait.map;
import com.alibaba.fastjson.JSONObject;
import com.it.userportrait.analy.WoolEntity;
import com.it.userportrait.util.HbaseUtils2;
import org.apache.commons.lang.StringUtils;
import org.apache.flink.api.common.functions.MapFunction;
import java.util.HashMap;
import java.util.Map;
/**
... |
package ru.job4j.webarchitecturejsp.logic;
import ru.job4j.webarchitecturejsp.model.User;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;
/**
* Этот класс для работы с базой пользователей
*/
pu... |
package readingmeter.rest;
import readingmeter.Connection;
import readingmeter.Fraction;
import readingmeter.MeterReading;
import readingmeter.Profile;
import readingmeter.exceptions.EntityNotFoundException;
import readingmeter.exceptions.UserNotFoundException;
import readingmeter.repositories.AccountRepository;
impo... |
package prefeitura.siab.persistencia;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.TypedQuery;
import org.springframework.stereotype.Component;
import prefeitura.siab.tabela.Doenca;
@Component
public class DoencaDao {
private... |
package be.spring.app.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
/**
* Handles requests for the polls.
*/
@Controll... |
package com.yixin.dsc.dto.query;
/**
* 民生银行试算入参dto
* @author YixinCapital -- chenjiacheng
* 2018年09月10日 10:00
**/
public class DscSettleCalculationParamDto {
/**
* 申请编号
*/
private String applyNo;
/**
* 试算申请日期
*/
private String apptdt;
/**
* 银行标志
*/
private String bankSymbol;
/**
*... |
package exercise_chapter5;
public class FutureTuition {
public static void main(String[] args) {
double tution = 10000;
int year = 0;
while (tution < 20000) {
tution *= 1.07;
year++;
}
System.out.println("Year is " + year);
System.out.printf("And the tution is %4.2f" , tution);
}
}... |
/*
* 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 beans;
import Entity.CityTB;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
imp... |
package com.saran;
public class Test {
//This is test
public static void main(String[] args) {
System.out.println("Testing Jenkins");
}
}
|
package com.stagnationlab.c8y.driver.platforms.etherio;
import com.stagnationlab.c8y.driver.devices.AbstractMultiDacActuator;
import com.stagnationlab.etherio.Commander;
import com.stagnationlab.etherio.PortController;
public class EtherioMultiDacActuator extends AbstractMultiDacActuator {
private final Commander c... |
package edu.iit.cs445.StateParking.UnitTest;
import static org.junit.Assert.*;
import org.junit.Test;
import edu.iit.cs445.StateParking.Objects.Vehicle;
import edu.iit.cs445.StateParking.ObjectsEnum.State;
import edu.iit.cs445.StateParking.ObjectsEnum.VehicleType;
public class VehicleTest {
private Vehicle Batcar ... |
package org.primefaces.extensions.component.analogclock;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
import org.primefaces.extensions.component.analogclock.mod... |
package com.mathpar.students.ukma.Grushka.Module2Part1;
import mpi.MPI;
import mpi.MPIException;
public class TestReduce {
public static void main(String[] args) throws MPIException {
// MPI definition
MPI.Init(args);
// Determine the number of processors
int myrank = MPI.COMM_WORL... |
package com.module.controllers.referencebook;
import com.module.controllers.FooterController;
import com.module.controllers.ProgressController;
import com.module.controllers.RootManager;
import com.module.database.DatabaseWorker;
import com.module.helpers.CustomAlertCreator;
import com.module.helpers.FileLoader;
impor... |
package com.tencent.mm.g.a;
import android.support.v4.app.z.g;
public final class v$a {
public g bHe;
public String title;
public String username;
}
|
package com.simple_dao.dao;
public interface IDAOFactory {
CarDAO getCarDAO();
ClientDAO getClientDAO();
}
|
package day03wrapperclassconcatenatelogicaloperators;
import java.util.Scanner;
public class ModulusOperator01 {
public static void main(String[] args) {
/*
Ask user to enter 3 digit integer.
Type a program to find the sum of the digits
For example; 438 ==> 4+3+8 = 15
*/
Scanner scan = new S... |
/***
* Design and implement a class called Sphere with two instant variables that
* represents the radius, and an ID. Instant variable should enforce the
* encapsulation.
* Beside the getters and setters, the class should have these methods as well:
* Volume: calculates the volume of the shape
* Area: calcu... |
package com.burguer.manrique.restabar.Preferences;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.EditTextPreference;
import android.preference.Preference;
import android.preference.PreferenceActivity;
import android.widget.Toast;
import com.burguer.manrique.restabar.R;
... |
package com.classcheck.panel;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
import javax.swing.ImageIcon;
import javax.swing.JTabbedPane;
import org.fife.ui.rsyntaxtextarea.RSyntaxTextA... |
package com.jk.jkproject.utils;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.SharedPreferences;
import com.jk.jkproject.base.AppApplication;
import java.util.Set;
/**
* Created by zhaotun on 15/12/6.
*/
public class SPBase {
private volatile static SharedPref... |
package demo.rabbit.message;
import static com.google.common.base.Preconditions.checkNotNull;
import java.io.Serializable;
import javax.annotation.Resource;
import org.apache.log4j.Logger;
import org.springframework.amqp.AmqpException;
import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.am... |
package com.ljheee.loader;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
/**
* CustomClassLoader
* 演示--自定义类加载器
* @author ljheee
*
*/
public class MySimpleClassLoader extends ClassLoader{
private String byteCode... |
package com.halilayyildiz.game.service;
public class BaseService
{
}
|
package A_Ex1_WithoutPom;
import static org.testng.Assert.assertTrue;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.testng.annotations.Test;
import util.Commons;
public class TestLoginBasic1 {
@Test
public void test() throws InterruptedExce... |
package ch10.ex10_03;
import static org.junit.Assert.*;
import org.junit.Test;
public class WorkingDayTest {
@Test public void test() {
try {
//if
assertTrue(WorkingDay.workDayIf(Day.MONDAY));
assertTrue(WorkingDay.workDayIf(Day.THUESEDAY));
assertTrue(WorkingDay.workDayIf(Day.WEDNESDAY));
... |
package com.mt.model;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class Main {
@SuppressWarnings("resource")
public static void main(String[] args) {
ApplicationContext ctx = new ClassPathXmlApplicationContext("sp3confi... |
/*
Index of 1st occurence of an element in an array
1. Naive Solution
Time Complexity: O(N)
*/
package Searching.FirstOccurence;
class FirstOccurence {
public static void main(String[] args) {
int[] arr = { 10, 20, 20, 30, 30, 30, 30, 30, 40 };
System.out.println(getIndex(arr, 30... |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2016.05.11 u... |
/**
* Methods to work with groups.
*/
package api.longpoll.bots.methods.impl.groups; |
/*
* 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.mycompany.myitexpsproj;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.fi... |
package com.tencent.tencentmap.mapsdk.a;
public interface z$a {
}
|
package br.com.fiap.model;
public class Reservation {
}
|
package com.accp.pub.mapper;
import com.accp.pub.pojo.Healthreportforms;
public interface HealthreportformsMapper {
int deleteByPrimaryKey(Integer hrfid);
int insert(Healthreportforms record);
int insertSelective(Healthreportforms record);
Healthreportforms selectByPrimaryKey(Integer hrfid);
i... |
package chapter13.Exercise13_15;
import java.math.BigInteger;
public class TestExercise13_15 {
public static void main(String[] args) {
Rational r1 = new Rational(new BigInteger(4 + ""), new BigInteger(2 + ""));
Rational r2 = new Rational(new BigInteger(2 + ""), new BigInteger(3 + ""));
System.out.... |
package Deck;
public class Hearts extends Card {
private String rate;
private final String SUIT = "Hearts";
public Hearts(String rate){
this.rate = rate;
super.rate = rate;
super.SUIT = SUIT;
}
public String getRate() {
return rate;
}
public String getSUIT(... |
package obj.basic;
public class CreditCardTest {
public static void main(String[] args) {
CreditCard yourCard = new CreditCard();
//다음과 같이 변수 선언과 객체 생성 대입의 분리 가능
//CreditCard yourCard
//youtCard = new CreditCard();
yourCard.owner = new String("이민정");
//yourCard.number = 1111_2222_3333_4444L; // 오류 발생
//Sys... |
package com.jim.multipos.data.operations;
import com.jim.multipos.data.db.model.consignment.Invoice;
import com.jim.multipos.data.db.model.consignment.Outvoice;
import com.jim.multipos.data.db.model.inventory.BillingOperations;
import com.jim.multipos.data.db.model.inventory.IncomeProduct;
import com.jim.multipos.data... |
package com.tencent.mm.ui.base;
import com.tencent.mm.ui.base.MMSlideDelView.d;
class MMSlideDelView$1 implements d {
MMSlideDelView$1() {
}
public final void a(MMSlideDelView mMSlideDelView, boolean z) {
if (z) {
kwC.add(mMSlideDelView);
} else {
kwC.remove(mMSlid... |
package sound;
import javax.sound.sampled.*;
import java.io.File;
import java.io.IOException;
public class Sound {
private AudioInputStream audioInputStream;
private File file;
private Clip clip;
public Sound(String soundFileName) {
this.file = new File(soundFileName);
}
public void ... |
package com.hji.config;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
@SpringBootApplication
@EnableConfigServer
public class HelloConfigApplication {
public static void main(... |
package cn.edu.zucc.web.service.Impl;
import cn.edu.zucc.core.feature.test.TestSupport;
import cn.edu.zucc.web.service.LoadRunDataService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import static org.junit.Assert.*;
/**
* Created by zxy on 2/27/2017.
*/
public class LoadR... |
package com.dlq.servlet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.lang.reflect.Method;
/**
*@program: Java_Web
*@description:
*@author: Hasee
*@... |
/*
package com.security;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.codec.digest.HmacUtils;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
public class SecurityTest {
public static void main(String[] args) {
}
*/
/**
* 1.完全开放的接口(完全开放)
... |
/**
* Mybatis custom plug-in interceptor package
* Temporarily abandoned
* If you store JSON strings in your database later, you can add interceptions to parse JSON
*/
package interceptor;
|
package com.jawspeak.unifier;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class UnifierTest {
private Unifier unifier = new Unifier();
private SpyPrintStream spyPrintStream = new SpyPrintStrea... |
package com.thomaster.ourcloud.services.request.save.file;
import com.thomaster.ourcloud.model.filesystem.UploadedFile;
import com.thomaster.ourcloud.model.filesystem.UploadedFolder;
import com.thomaster.ourcloud.model.user.OCUser;
import com.thomaster.ourcloud.services.FileService;
import com.thomaster.ourcloud.servi... |
package com.example.galadar.stockxchange;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.media.MediaPl... |
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
public class Online_Shopping_Site {
private Map<Integer, Order> orderList = new HashMap<>();
public void createOrder(ArrayList<Company> a, int orderNum, String goodsType, String orderData) {
Order o = new Order();
bool... |
package com.example.teamboolean.apprentidash;
import com.example.teamboolean.apprentidash.Models.AppUser;
import com.example.teamboolean.apprentidash.Models.Day;
import org.junit.Test;
import java.time.LocalDate;
import java.time.LocalDateTime;
import static org.junit.Assert.*;
public class DayTest {
// test f... |
package com.hjtech.base.router.provider;
/*
* 项目名: HjtechARouterFrame
* 包名 com.hjtech.base.routermanager.provider
* 文件名: IUserProvider
* 创建者: YHF
* 创建时间: 2017/10/26 0026 on 14:31
* 描述: TODO
*/
public interface IUserProvider extends IFragmentProvider {
String USER_LOGIN = "/User/Login";... |
package com.tencent.mm.plugin.backup.backupmoveui;
import android.view.View.OnClickListener;
class BackupUI$1 implements OnClickListener {
final /* synthetic */ BackupUI gVH;
BackupUI$1(BackupUI backupUI) {
this.gVH = backupUI;
}
/* JADX WARNING: inconsistent code. */
/* Code decompiled ... |
package nl.jtosti.hermes.user.dto;
import nl.jtosti.hermes.company.dto.CompanyDTO;
import java.util.List;
public class ExtendedUserDTO extends UserDTO {
private List<CompanyDTO> companies;
private List<String> roles;
public List<CompanyDTO> getCompanies() {
return companies;
}
public vo... |
package com.example.v3.proxy;
/**
* 代理方法接口
*/
public interface Subject {
void request();
void sayHello();
}
|
/*
* 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 servihabitat;
import java.util.List;
/**
*
* @author abfd
*/
public class cargaCircunstancias
{
/**
... |
/*
* Copyright 2019 iserge.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
package com.it.userportrait.sink;
import com.it.userportrait.analy.CarrierEntity;
import com.it.userportrait.util.ClickHouseUtils;
import com.it.userportrait.util.DateUtils;
import org.apache.flink.streaming.api.functions.sink.SinkFunction;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
impo... |
package com.tencent.mm.plugin.card.ui;
import com.tencent.mm.modelgeo.a$a;
import com.tencent.mm.plugin.card.b.i;
import com.tencent.mm.plugin.card.model.am;
class CardDetailUI$1 implements a$a {
final /* synthetic */ CardDetailUI hBR;
CardDetailUI$1(CardDetailUI cardDetailUI) {
this.hBR = cardDetail... |
package com.lspring.springIoc;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class Basic_Inject {
@Test
public void inject_basic(){
ApplicationContext applicationContext = new ClassPathXmlApplicationC... |
package it.uniclam.rilevamento_presenze;
import it.uniclam.rilevamento_presenze.BeanClass.UserBean;
//import java.sql.ResultSetMetaData;
//import java.sql.SQLException;
//import java.util.*;
public class Sessione_Utente {
private Sessione_Utente(){
}
private static Sessione_Utente istance;
public UserBean c... |
package net.liuzd.spring.boot.v2.entity;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import net.liuzd.spring.bo... |
package com.goldgov.dygl.module.pmuserinfo.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.goldgov.dygl.module.partymember.service.PartyMemberQuery;
import com.goldgov.dygl.module.partymemberSh.domain.CheckInfo;
import com.goldgov.dygl.module.pmuserinfo.service.PmUserAwardI... |
package com.duanxr.yith.midium;
/**
* @author 段然 2021/8/16
*/
public class BeautifulArrangement {
/**
* Suppose you have n integers labeled 1 through n. A permutation of those n integers perm (1-indexed) is considered a beautiful arrangement if for every i (1 <= i <= n), either of the following is true:
*
... |
/**
*
*/
package com.jadn.cc.core;
public enum MediaMode {
Paused, Playing, UnInitialized
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.