text stringlengths 10 2.72M |
|---|
package com.heartmarket.model.dto.response;
import java.util.List;
import com.heartmarket.model.dto.Trade;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class MySellList {
// 거래 리스트
Trade sTrade;
// 거래 완료 여부
int c... |
package cn.edu.zucc.music.entity;
import org.neo4j.ogm.annotation.*;
import java.io.Serializable;
import java.util.List;
@NodeEntity(label = "artist")
public class ArtistEntityItem implements Serializable {
@Id
@GeneratedValue
private Long id;
public Long getId() {
return id;
}
pu... |
import java.util.Scanner;
/**
* Created by jason chou on 2016/11/17.
*/
public class classwork {
public static void main(String[] args) {
int age;
Scanner scanner = new Scanner(System.in);
System.out.print("enter your age");
age = scanner.nextInt();
if(age>18){
... |
package com.prashanth.sunvalley.Model;
import lombok.Data;
import java.math.BigDecimal;
import java.util.List;
@Data
public class FeeDTO {
private Long id;
private BigDecimal tuitionFee;
private BigDecimal bookFee;
private BigDecimal uniformFee;
private BigDecimal transportFee;
private BigDec... |
package com.ctac.jpmc.game.conway;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import java.util.HashSet;
import java.util.Set;
import org.junit.Test;
import com.ctac.jpmc.game.ICoordinates;
public class Coordinates3DTest {
@Test
public void te... |
package com.tencent.mm.plugin.appbrand.q;
import android.support.v4.e.a;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public final class g<K, V> {
private final Map<K, Set<V>> gBs = new a();
public final void o(K k, V v) {
... |
package com.szcinda.express.persistence;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;
import java.util.Collection;
import ja... |
package BinTree.OJExer;
import java.util.LinkedList;
import java.util.Queue;
public class isSubTree {
public class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) {
val = x;
}
}
public boolean isSubtree(TreeNode s, TreeNode t) {
... |
package win.yulongsun.a01storage;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import win.yulongsun.a01... |
package com.sfa.vo;
public class AffirmationVo {
private Long no;
private String content;
public Long getNo() {
return no;
}
public void setNo(Long no) {
this.no = no;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
... |
package hdfs.server;
import java.io.Serializable;
import hdfs.FileDescriptionI;
public interface FileDataI extends Serializable, Iterable<Integer> {
FileDescriptionI getFile();
int getNumberDaemons();
void addDaemon(int daemon);
int getNumberFragments();
void setNumberFragments(int num... |
package org.usfirst.frc.team1155.robot.commands;
import edu.wpi.first.wpilibj.command.Command;
import org.usfirst.frc.team1155.robot.Robot;
import org.usfirst.frc.team1155.robot.subsystems.DriveSubsystem.SensorMode;
class DistanceDriveCommand extends Command {
private double distanceToDrive;
//distance in in... |
package com.wat.exception;
public class Personnes {
private String nom;
private String prenom;
private int age;
public static final int NbreMaxOreil = 2;
public static int nbreTotalDePersonne;
public Personnes() {
}
public Personnes(String nom,String prenom,int age) {
this.nom=nom;
this.prenom=prenom... |
package com.techlab.accountproxy;
import com.techlab.account.proxy.test.AccountProxy;
public class AccountProxyTest {
public static void main(String[] args) {
AccountProxy proxy = new AccountProxy("SBI100", "Sonam", 500);
proxy.deposit(100);
System.out.println(proxy.getBalance());
}
}
|
package org.ddth.blogging.yahoo.grabber;
import org.ddth.blogging.Author;
import org.ddth.blogging.yahoo.YahooBlogAPI;
import org.ddth.dinoage.core.ProfileGrabberSession;
import org.ddth.http.core.connection.Request;
import org.ddth.http.core.content.Content;
public class YProfileGrabberSession extends Profil... |
/*
* Copyright (C) 2014 - 2015 Marko Salmela, http://fuusio.org
*
* 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 ... |
package student_record.dao;
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 student_records.entity.Student;
import student_records.entity.StudentDto;
public cla... |
import com.google.gson.Gson;
import okhttp3.HttpUrl;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class GetRequest {
public static void main(String[] args) throws IOException {
OkHttpClient client = new OkHttpClient();
final String app_id ... |
/**
Copyright [2020] [Javier Linares Castrillón]
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 wri... |
package cqu.shy.game;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import cqu.shy.resource.ImageResource;
class Bullet extends FlyingObject{
private MyImage image;
private int Dx;
private int Dy;
private int x;
private int y;
private int move_speed;
private boolean isDeath=false;
private b... |
package com.tencent.mm.ui.video;
import android.media.MediaPlayer.OnPreparedListener;
class VideoView$2 implements OnPreparedListener {
final /* synthetic */ VideoView uFz;
VideoView$2(VideoView videoView) {
this.uFz = videoView;
}
/* JADX WARNING: inconsistent code. */
/* Code decompile... |
import java.util.*;
class Solution {
public int[] solution(String s) {
s = s.substring(2, s.length() - 2);
String[] sList = s.replace("},{", " ").split(" ");
Queue<List<String>> q = new LinkedList<>();
for (String str: sList) {
String[] strList = str.sp... |
package com.tec2.pdm2.app;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.HashMap;
/**
* Created by luishoracio on 29/04/14.
*/
public class Usuarios{
private ArrayList<HashMap<String,String>> usuarios;
private ArrayList<H... |
package PO42Y.Osinnikov.wdad.data.managers;
import org.xml.sax.SAXException;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
import java.io.IOException;
/**
* Created by User on 30.10.2016.
*/
public class TestPreferencesManager {
public static void main(S... |
package com.tencent.mm.plugin.voip.ui;
import com.tencent.mm.R;
import com.tencent.mm.plugin.voip.b.b;
class VideoActivity$4 implements Runnable {
final /* synthetic */ VideoActivity oQn;
VideoActivity$4(VideoActivity videoActivity) {
this.oQn = videoActivity;
}
public final void run() {
... |
package com.tencent.mm.plugin.scanner.ui;
import android.os.Message;
import com.tencent.mm.plugin.scanner.util.h;
import com.tencent.mm.sdk.platformtools.ag;
import com.tencent.mm.sdk.platformtools.x;
class BaseScanUI$9 extends ag {
final /* synthetic */ BaseScanUI mHS;
BaseScanUI$9(BaseScanUI baseScanUI) {
... |
package com.dayone.dao;
import java.util.List;
import org.springframework.jdbc.core.JdbcTemplate;
import com.dayone.model.Product;
import com.dayone.util.ConnectionUtil;
public class ProductDAO {
private JdbcTemplate jdbcTemplate=ConnectionUtil.getJdbcTemplate();
public void add(Product model)
{
S... |
package com.immotor.bluetoothadvertiser.command;
import android.text.TextUtils;
import com.immotor.bluetoothadvertiser.utils.HexUtils;
/**
* Created by ForestWang on 2016/3/28.
*/
public class ManufacturerSpecificDataBuilder {
static final int OFF_ADDRESS = 0;
static final int LEN_ADDRESS = 6;
private... |
package id.co.igustiglen.TripBandung;
/**
* Created by I Gusti Glen on 11-Agustus-20.
* Nim :10117099
* Kelas :IF-3
*/
public enum ModelObject {
WISATA(R.string.wisata, R.layout.slider_wisata)
;
private int mTitleResId;
private int mLayoutResId;
ModelObject(int titleResId, int la... |
package com.game.entity;
import java.util.ArrayList;
import java.util.List;
public class EntityDatabase {
public List<Entity> entities = new ArrayList<Entity>();
public int size() {
return entities.size();
}
public void addEntity(Entity Entity) {
entities.add(Entity);
}
public void removeEntity(Entity E... |
import org.hibernate.SQLQuery;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.boot.Metadata;
import org.hibernate.boot.MetadataSources;
import org.hibernate.boot.registry.StandardServiceRegistry;
import org.hibernate.boot.registry.StandardServic... |
package com.tencent.mm.ac.a;
public enum g$a$a {
;
static {
dNy = 1;
dNz = 2;
dNA = 3;
dNB = new int[]{dNy, dNz, dNA};
}
}
|
package messageDigest_test;
import java.security.MessageDigest;
/**
* Description:
*
* @author Baltan
* @date 2018/2/17 14:13
*/
public class Test1 {
public static void main(String[] args) throws Exception {
getMd5("新年好");
}
public static void getMd5(String text) throws Exception {
M... |
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.StringTokenizer;
import java.util.Vector;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JOptionPane;
/**
* Clase enca... |
/*
* Copyright(C)2021, FPT University
* Lab Java Web
*
* Record of change
* DATE VERSION AUTHOR DESCRIPTION
* 2021-06-23 1.0 Ducnxhe141626 First Implement
*/
package entity;
/**
* This class used to contain attribute and method getter, setter of... |
package de.raidcraft.skillsandeffects.pve.skills;
import com.sk89q.minecraft.util.commands.CommandContext;
import de.raidcraft.RaidCraft;
import de.raidcraft.skills.api.exceptions.CombatException;
import de.raidcraft.skills.api.hero.Hero;
import de.raidcraft.skills.api.persistance.SkillProperties;
import de.raidcraft.... |
package enthu_l;
class e_1037{
void methodA(){
System.out.println("base - MethodA");
}
}
class Sub extends e_1037{
public void methodA(){
System.out.println("sub - MethodA");
}
public void methodB(){
System.out.println("sub - MethodB");
}
public static void main(String args[]){
... |
package com.codingblocks.sprint1;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.codingblocks.sprint1.R;
public class OnProgressActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState... |
package servletsdemo;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
public class Servlet extends HttpServlet {
@Override
public void doGet(HttpServle... |
package com.qihoo.finance.chronus.metadata.api.user.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qihoo.finance.chronus.metadata.api.common.Entity;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.Transient;
... |
package com.tencent.mm.app.plugin;
import android.app.Service;
import android.content.Intent;
import android.os.Bundle;
import com.tencent.mm.app.plugin.URISpanHandlerSet.a;
import com.tencent.mm.bg.d;
import com.tencent.mm.pluginsdk.s;
import com.tencent.mm.pluginsdk.ui.applet.m;
import com.tencent.mm.pluginsdk.ui.d.... |
/*
* UniTime 3.2 - 3.5 (University Timetabling Application)
* Copyright (C) 2008 - 2013, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... |
package xyz.maksimenko.iqbuzztt;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import... |
package UnitTests;
import java.awt.Color;
import Renderer.ImageWriter;
import org.junit.Test;
public class ImageWriterTest {
@Test
public void test() {
ImageWriter imageWriter=new ImageWriter("ImageTest", 500,500,10,10);
for(int i=0;i<imageWriter.getHeight();i++)
{
for(int j=0;j<im... |
package com.tencent.mm.plugin.clean.ui.newui;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
class CleanMsgUI$4 implements OnMenuItemClickListener {
final /* synthetic */ CleanMsgUI hTx;
CleanMsgUI$4(CleanMsgUI cleanMsgUI) {
this.hTx = cleanMsgUI;
}
publi... |
package animatronics.api;
import animatronics.api.misc.Vector3;
import net.minecraft.item.ItemStack;
public interface IItemBlockOutline {
/**
* @param stack Stack the player holds.
* @return Outline draw coordinates.
*/
public Vector3 getBindingCoordinates(ItemStack stack);
}
|
package Tienda;
import java.time.LocalDate;
import java.time.Month;
import java.util.Calendar;
import java.util.Scanner;
public class Main {
public static Fecha f1 = new Fecha();
public static Scanner in = new Scanner(System.in);
public static void DefinirFecha(){
f1.setDia(... |
package org.newdawn.slick.tests;
import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.BasicGame;
import org.newdawn.slick.Color;
import org.newdawn.slick.Game;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.geo... |
package com.tencent.mm.plugin.boots;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.boots.a.a;
import com.tencent.mm.plugin.boots.a.c;
import com.tencent.mm.plugin.boots.a.e;
import java.util.List;
public final class b implements c {
public final void nd(int i) {
if (((e) g.n(e.class)).getTi... |
package com.qihoo.finance.chronus.core.task.impl;
import com.qihoo.finance.chronus.core.task.TaskItemService;
import com.qihoo.finance.chronus.metadata.api.task.dao.TaskItemDao;
import com.qihoo.finance.chronus.metadata.api.task.entity.TaskItemEntity;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereo... |
package Controllers;
import backend.Database.PersonGatewayDB;
import org.apache.http.HttpEntity;
import org.apache.http.client.methods.*;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.Entity... |
package com.NLPProject;
/**
* NLP Project Part 2
* Use this as the main class for your project.
* Implement the logic to generate the SQL query and the query answer.
* Create additional methods, variables, and classes as needed.
*
*/
import java.util.Scanner;
public class CS421_Project2
{
pub... |
package com.dazhi.config;
import com.dazhi.naming.api.config.ConfigService;
import org.springframework.boot.actuate.health.AbstractHealthIndicator;
import org.springframework.boot.actuate.health.Health.Builder;
public class NacosConfigHealthIndicator extends AbstractHealthIndicator {
// private final ConfigService... |
package kz.kbtu.auth.main;
import kz.kbtu.auth.base.Employee;
import kz.kbtu.communication.order.Order;
import kz.kbtu.communication.order.OrderStatus;
import kz.kbtu.communication.order.SendingOrders;
import kz.kbtu.study.course.Course;
import kz.kbtu.study.course.CourseStatus;
import kz.kbtu.study.throwable.CreditOv... |
package com.chuxin.family.service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
import com.chuxin.family.global.CxGlobalParams;
public class CxStartUpReceiver extends BroadcastReceiver {
@Override
public void onReceive(Cont... |
package com.ss.android.ugc.aweme.miniapp.g;
import android.app.Application;
import android.content.Context;
import com.ss.android.ugc.aweme.miniapp.f.a;
import com.ss.android.ugc.aweme.miniapp.f.a.b;
import com.ss.android.ugc.aweme.miniapp.f.a.c;
import com.ss.android.ugc.aweme.miniapp.f.a.d;
import com.ss.and... |
package com.tencent.mm.plugin.clean.c;
class e$1 implements Runnable {
final /* synthetic */ e hRj;
e$1(e eVar) {
this.hRj = eVar;
}
public final void run() {
e.c(this.hRj).cq(e.a(this.hRj), e.b(this.hRj));
}
}
|
package com.facebook.react.uimanager.layoutanimation;
import android.view.View;
import android.view.animation.AccelerateDecelerateInterpolator;
import android.view.animation.AccelerateInterpolator;
import android.view.animation.Animation;
import android.view.animation.DecelerateInterpolator;
import android.view... |
package ch.ubx.startlist.server;
import static org.junit.Assert.assertTrue;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.junit.After;
import org.junit.Before;
public class ErrorOutputTestHelperTest {
private static final Logger log = Logger.getLogger(ErrorOutputTestHelperTest.class.... |
package br.org.cni.cniws.services;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
* The persistent class for the TB_CADASTRO database table.
*
*/
@XmlRootElement(name="dadosCnesDto")
public class DadosCnesDto {
private List<DadosCnes> d... |
package distance3;
import java.awt.image.BufferedImage;
import org.ejml.data.DenseMatrix64F;
import boofcv.alg.distort.DistortImageOps;
import boofcv.alg.distort.ImageDistort;
import boofcv.alg.geo.PerspectiveOps;
import boofcv.alg.geo.RectifyImageOps;
import boofcv.alg.geo.rectify.RectifyCalibrated;
import boofcv.c... |
package com.tencent.appbrand.mmkv;
public enum c {
LevelDebug, LevelError, LevelInfo, LevelNone, LevelWarning;
static {
LevelError = new c("LevelError", 3);
LevelNone = new c("LevelNone", 4);
a = new c[] { LevelDebug, LevelInfo, LevelWarning, LevelError, LevelNone };
}
}
/* Location... |
package com.mimi.mimigroup.ui.utility;
import android.app.Dialog;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import android.view.View;
import andro... |
package com.tencent.mm.plugin.appbrand.dynamic;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
public final class i {
private static final i fuP = new i();
public Map<String, String> fuO = new HashMap();
public static i aeT() {
return fuP;
}
public final Str... |
package com.tencent.xweb.x5;
import android.content.Context;
import android.widget.TextView;
import com.tencent.smtt.utils.TbsLogClient;
import org.xwalk.core.Log;
class X5WebFactory$a extends TbsLogClient {
final /* synthetic */ X5WebFactory vDN;
public X5WebFactory$a(X5WebFactory x5WebFactory, Context cont... |
package Domain;
import Exceptions.DomainException;
import org.hamcrest.Matcher;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import server.GiocatoreRemotoForTest;
import server.Partita;
import server.Server;
import java.util.HashMap;
import java.util... |
package com.tencent.tencentmap.mapsdk.a;
public interface ej {
void b();
}
|
package com.tiroller.diceroller;
import com.tiroller.diceroller.model.Result;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import java.util.ArrayList;
import java.util.Random;
import static org.junit.Assert.assertEquals;
@SpringBootTest
public class ResultTest {
... |
package demo.plagdetect.calfeature;
import demo.plagdetect.util.FileUtil;
import java.io.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class CalCommentSim {
private final static String REGEX_EXTRACT_COMMENT = "\\/\\/[^\\n]*|\\/\\*([^\\*^\\/]*|[\\*^\\/*]*|[^\\**\\/]*)*\\*+\\/";
/... |
import io.reactivex.Flowable;
import org.reactivestreams.Publisher;
import java.util.concurrent.TimeUnit;
import java.util.function.Function;
// CompletableFuture only passes through the 'then' chain/ tree once
// where as flow in for continuous data, like timer, WebSocket, database read(one by one), ... |
package ive.dsa.exception;
/**
* When the input message is emxpty, it occurs.
*
* @author POON Ngai Kuen(180091780)
* @version 1.0
*/
public class EmptyMessageException extends RuntimeException {
// Constructor
public EmptyMessageException() {
super("<message_string> is empty.");
// TODO Auto-generated co... |
package jwscert.rest.services;
import static org.junit.Assert.assertEquals;
import java.net.URISyntaxException;
import org.junit.Test;
import com.sun.jersey.api.client.WebResource;
public class HelloWorldTest extends BaseTest {
@Test
public void get() throws URISyntaxException {
WebResource webResource... |
package com.mxfit.mentix.menu3.Utils;
import android.content.Context;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
/**
* Created by Mentix on 2018-02-26.
*/
public class CopyDatabase {
public CopyDatabase(Context context){
try{
InputStream input... |
package com.tsm.template.controller;
import com.tsm.template.dto.MessageDTO;
import com.tsm.template.exceptions.BadRequestException;
import com.tsm.template.exceptions.MessageException;
import com.tsm.template.exceptions.ResourceNotFoundException;
import com.tsm.template.mappers.MessageMapper;
import com.tsm.template.... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the ter... |
package be.bewire.slp.exceptions;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
// TODO: handle exception here or in ApplicationExceptionHandler
//@ResponseStatus(code = HttpStatus.NOT_FOUND, reason = "resource not found")
public class ResourceNotFoundExcep... |
package network.kekejl.com.mvpdemo;
import android.os.SystemClock;
import android.support.v4.widget.SwipeRefreshLayout;
import java.util.ArrayList;
/**
* 作者:tzh on 2016/6/12 11:48
* <p/>
* 类描述:
* <p/>
* 修改描述:
*/
public class ListViewIteratorImpl implements ListViewIteatore {
ArrayList<String> mList = new A... |
// Kufas.ru 6.1.1.2
package hw.gorovtsov.mathtesting.tasks;
import hw.gorovtsov.mathtesting.input.*;
;
public class Second {
public static void main(String[] args) {
double a;
double b;
double c;
double d;
double[] vars = new double[4];
double rez;
NumSetFour s = new NumSetFour();
vars = s.go();
... |
package com.moon.institution.serviceimpl;
import com.moon.institution.dao.IInstitutionDao;
import com.moon.institution.entity.Institution;
import com.moon.institution.service.IInstitutionService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import ja... |
package com.lot.parking.division;
import lombok.Data;
@Data
public class ElectricDivision extends Division {
public ElectricDivision(int availableCount) {
super(availableCount);
}
}
|
package com.training.day17.collections;
import java.util.LinkedList;
import java.util.List;
public class FifthLinkedList {
public static void main(String[] args) {
LinkedList list = new LinkedList();
//1.Adding elements to the LinkedList
list.add("Harry");
list.add("Ajeet");
list.add("T... |
package banking.exceptions.sign_up_exceptions;
public class UsernameAlreadyExistException extends Exception {
/**
*
*/
private static final long serialVersionUID = 2210029269480514960L;
}
|
package com.tencent.mm.plugin.webview.ui.tools.fts;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.bg.d;
import com.tencent.mm.plugin.websearch.api.p;
import com.tencent.mm.sdk.platformtools.ad;
... |
package org.gtap;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java... |
package com.github.igorsuhorukov.gcode;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.impl.ScheduledPollConsumer;
import org.apache.camel.util.ObjectHelper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* The LinuxCnc consumer.
*/
public class LinuxCncCo... |
package com.github.grimsa.aoc2018.day3;
import java.awt.*;
import java.util.Objects;
import java.util.regex.Pattern;
import java.util.stream.IntStream;
import java.util.stream.Stream;
public final class Area extends Rectangle {
private static final Pattern CLAIM_PATTERN = Pattern.compile("^#(?<id>\\d+) @ (?<left>... |
package com.aitest.web.util;
import org.springframework.stereotype.Component;
@Component
public class ClassTransferUtil {
}
|
package com.df.Dialog;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import com.df.network.protocol;
import javax.swing.JLabel;
import javax.swing.JTextField;
import java.awt.SystemC... |
package com.adelegue.reactivestreams;
import com.ning.http.client.AsyncCompletionHandler;
import com.ning.http.client.AsyncHttpClient;
import com.ning.http.client.ListenableFuture;
import com.ning.http.client.Response;
import org.reactivestreams.Publisher;
import org.reactivestreams.Subscriber;
import org.reactivestre... |
package pkg1;
public class TestCons {
public TestCons()
{
this(22,23,41);
System.out.println("this is default constructor");
}
public TestCons(int a)
{
this();
System.out.println("this is 1 parameterized constuctor");
}
public TestCons(int a,int b)
{
this(22);
System.out.println("this... |
package rjm.romek.awscourse.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalk;
import com.amazonaws.services.elasticbeanstalk.model.DescribeEnvironmentHealthRequest;
import com.amazo... |
package com.tencent.mm.plugin.freewifi.model;
import android.content.BroadcastReceiver;
import android.content.IntentFilter;
import android.net.wifi.WifiManager;
import com.tencent.mm.sdk.platformtools.ad;
import com.tencent.mm.sdk.platformtools.x;
public final class h {
boolean heV;
a jka;
BroadcastRecei... |
package com.coco.winter.common.serviceImpl;
import com.coco.winter.utils.RedisUtil;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
... |
package com.bierocratie.model.accounting;
import java.math.BigDecimal;
import java.math.BigInteger;
/**
* Created with IntelliJ IDEA.
* User: pir
* Date: 31/10/14
* Time: 16:52
* To change this template use File | Settings | File Templates.
*/
public class CategoryAndMonth {
private Category category;
... |
package com.hiwes.cores.thread.thread2.Thread0215;
/**
* 验证第二个结论:
* 当其他线程执行X对象中synchronized同步方法时呈同步效果;
*/
public class MyThread12 extends Thread {
private Service12 service;
private MyObject2 object;
public MyThread12(Service12 service, MyObject2 object) {
super();
this.service = servi... |
import processing.core.PApplet;
import processing.core.PImage;
public class HybridImage extends PApplet{
PImage image;
PImage image2;
PImage resImage;
public void setup() {
image = loadImage("../data/retrato1.jpg");
image2 = loadImage("../data/retrato2.jpg");
}
int convolution(int x, int y, float[][]... |
package com.lizogub.LabWork9.pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.ExpectedConditions;
import static org.testng.Assert.assertEquals;
public class DashboardPage {
WebDriver driver;... |
package com.xiaoxiao.controller;
import com.xiaoxiao.pojo.XiaoxiaoAdminMessage;
import com.xiaoxiao.service.backend.TinyAdminManagerService;
import com.xiaoxiao.utils.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
im... |
package tilePack;
import org.newdawn.slick.Image;
public class Platform extends Tile{
public Platform(String name, Image Frames) {
super(name, Frames);
this.setTag("platform");
// TODO Auto-generated constructor stub
}
}
|
package com.example.lebox;
import androidx.annotation.NonNull;
import androidx.camera.camera2.internal.PreviewConfigProvider;
import androidx.camera.core.Camera;
import androidx.camera.core.CameraSelector;
import androidx.camera.core.CameraX;
import androidx.camera.core.ImageAnalysis;
import androidx.camera.core.Image... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.