text stringlengths 10 2.72M |
|---|
package org.example.service;
import org.example.entity.Student;
import org.example.repository.StudentRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
@Service
public... |
/**
* @author Anders Hagward
* @author Fredrik Hillnertz
* @version 2010-05-06
*/
public class Score implements Comparable<Score> {
private String author;
private int points;
public Score(String line) throws Exception {
String[] splitted = line.split("[|]");
if (splitted.length == 2) {
author = splitted[... |
package com.bridgelabz.indianstatescensusanalyzer;
public class StateCode {
int srNo;
String stateName;
String stateCode;
public StateCode(int srNo, String stateName, String stateCode) {
super();
this.srNo = srNo;
this.stateName = stateName;
this.stateCode = stateCode;
}
@Override
public Strin... |
package com.zipcodewilmington.arrayutility;
import java.util.ArrayList;
import java.util.Arrays;
/**
* Created by leon on 3/6/18.
*/
public class ArrayUtility<T> {
private T[] genericArray;
public ArrayUtility(T[] inputArray){
this.genericArray = inputArray;
}
public Integer countDuplicate... |
package com.goldgov.dygl.module.partymember.service.impl;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import com.goldgov.dygl.dynamicf... |
/*
* 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 Entidades;
import java.util.Date;
/**
*
* @author rosemary
*/
public class entProductoTerminado
{
private int id_pro... |
package com.sdc.automation.runner;
import org.junit.runner.RunWith;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import cucumber.api.testng.AbstractTestNGCucumberTests;
/**
* Created by imran on 12/08/15.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"target/test-classes... |
package com.tt.miniapp.msg;
import android.text.TextUtils;
import com.bytedance.sandboxapp.d.a;
import com.bytedance.sandboxapp.protocol.service.request.a;
import com.bytedance.sandboxapp.protocol.service.request.entity.HttpRequest;
import com.tt.frontendapiinterface.b;
import com.tt.miniapp.AppbrandApplication... |
package top.piao888.hbgc.mapper;
import java.util.List;
import top.piao888.hbgc.domain.Dept;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface DeptMapper {
int deleteByPrimaryKey(Long did);
int insert(Dept record);
Dept selectByPrimaryKey(Long did);
List<Dept> selectAll();
i... |
package Test;
import java.util.ArrayList;
import odeSolver.AdamsBashforth;
import odeSolver.AdamsMoulton;
import odeSolver.BDF;
import odeSolver.DifferentialEquation;
import odeSolver.EulerExplicit;
import odeSolver.EulerImplicit;
import odeSolver.Heun;
import odeSolver.Kutta3;
import odeSolver.MidPointExplicit;
imp... |
public class Television2 {
int channel;
int volume;
boolean onoff;
void print() {
System.out.println(channel);
}
void getChannel() {
return channel;
}
int getChannel() {
return channel;
}
void setChannel(int ch) {
channel=ch;
}
}
|
package Tests;
import org.testng.annotations.Test;
import Base.TestBase;
public class CustRegTest extends TestBase {
@Test
public void CustomerReg() {
logInPage.signIn("mngr16532", "udunYqu");
newCustomerPage.newCustomerField.click();
newCustomerPage.newcustomerNameField.click();
newCustomerPag... |
package com.kzw.leisure.realm;
import io.realm.RealmObject;
/**
* author: kang4
* Date: 2021/1/19
* Description:
*/
public class VideoWatchTypeSeriesRealm extends RealmObject {
public String seriesName;
public int seriesNum;
public VideoWatchTypeSeriesRealm(){
}
public VideoWatchTypeSeriesRea... |
package com.santander.bi.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.santander.bi.DAO.AreaDAO;
import com.santander.bi.dtos.AreaDTO;
import com.santander.bi.model.Area;
import java.util.List;
@Service
public class AreaServiceImpl ... |
/*
* [y] hybris Platform
*
* Copyright (c) 2000-2016 SAP SE
* All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* Hybris ("Confidential Information"). You shall not disclose such
* Confidential Information and shall use it only in accordance with the
* terms of the l... |
package controllers;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;
import java.io.IOException;
public class CategoriesOcassionsWeddingServlet extends HttpServlet{
public void doGet(HttpServle... |
/*
* Copyright 2018 Bradley Steele
*
* 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 ... |
package com.msir.service.impl;
import com.alibaba.fastjson.JSON;
import com.msir.service.NewsService;
import com.msir.utils.HttpUtils;
import com.msir.utils.HttpUtils;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.springframework.stereotype.Service;
import java.ne... |
package sokrisztian.todo.admin.api.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annot... |
package com.tencent.mm.ui.applet;
import android.content.Context;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.WindowManager;
import android.view.WindowManager.LayoutParams;
import android.widget.FrameLayout;
import android.widget.ImageView;
imp... |
package strings;
import java.util.Scanner;
public class Concatenate {
public static void main(String[] args) {
String str1,str2;
Scanner scan = new Scanner(System.in);
System.out.print("Enter the first string: ");
str1=scan.nextLine();
System.out.print("Enter second stri... |
package myproject.game.responses;
public class GameResult {
private String question;
private String answer;
private String message;
public GameResult() {
}
public String getAnswer() {
return answer;
}
public void setAnswer(String answer) {
this.answer = answer;
}
... |
package com.afterReturning.dao;
import com.afterReturning.app.Account;
import org.springframework.stereotype.Component;
import java.util.Arrays;
import java.util.List;
@Component
public class AccountDAO {
private String name;
private String serviceCode;
public List<Account> findAccounts() {
Li... |
package com.tencent.mm.plugin.profile.ui;
import com.tencent.mm.plugin.base.model.b;
class c$8 implements Runnable {
final /* synthetic */ c lVT;
c$8(c cVar) {
this.lVT = cVar;
}
public final void run() {
b.U(this.lVT.bGc, this.lVT.guS.field_username);
}
}
|
package com.slothius.chessplayer.fragmentdinamico;
import android.app.Fragment;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.... |
package com.tencent.mm.plugin.card.sharecard.model;
import android.text.TextUtils;
import com.tencent.mars.smc.IDKey;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.b.a;
import com.tencent.mm.ab.l;
import com.tencent.mm.kernel.g;
import com.tencent.mm.network.k;
import com.tencent.mm.network.q;
import com.tencen... |
int main() {
int drei;
int vier;
drei = 3;
vier = 2 * 2 * 1 * 1;
if (drei < vier) {
printInt(drei);
} else {
printInt(vier);
}
if (vier < drei) {
printInt(44 * vier);
drei = 0;
vier = 27;
} else
printInt(0);
printInt(drei * vier);
return 0;
}
|
/*
* 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 edu.eci.arsw.webstore;
import com.google.common.base.Predicate;
import static com.google.common.base.Predicates.or;
import org... |
package structuralPatterns.decoratorPattern;
public class FourthSP extends SchoolReport{
// public FourthSP() {
//// System.out.println("the sp construct");
// }
@Override
public void report() {
System.out.println("my score is 33 545 55 66 ");
}
@Override
public void sign() {... |
package 상속;
public class Employee {
String name;
String address;
int salary;
int rrn;
public Employee() {
}
public Employee(String name, String address, int salary, int rrn) {
super();
this.name = name;
this.address = address;
this.salary = salary;
this.rrn = rrn;
}
public void aa() {
... |
package SUT.SE61.Team07.Repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import org.springframework.web.bind.annotation.CrossOrigin;
... |
package com.java8.features;
import java.util.function.Consumer;
public class TestConsumer {
public static void main(String[] args) {
Consumer<Integer> consumer = (aa) -> {
System.out.println(aa * aa);
};
consumer.accept(12);
}
}
|
import algorithms.Algorithm;
import algorithms.EvolutionAlgorithm;
import algorithms.GreedyAlgorithm;
import algorithms.RandomAlgorithm;
import algorithms.crossover.Crossover;
import algorithms.crossover.OrderedCrossover;
import algorithms.mutation.InverseMutation;
import algorithms.mutation.Mutation;
import algorithms... |
public class Fibonacchi {
public static long iterative(int n) {
long curr = 0;
long prev = 1;
for (int i = 0; i < n; ++i) {
long next = curr + prev;
prev = curr;
curr = next;
}
return curr;
}
public static long recursive(int n) {
if (n <= 0) {
return 0;
} else if (n == 1) {
return 1;
... |
package edu.jalc.everydaythings.bottle.beverage;
import edu.jalc.everydaythings.bottle.Bottle;
import edu.jalc.everydaythings.liquid.beverage.Beverage;
abstract public class BeverageBottle extends Bottle {
BeverageBottle(double capacity, Beverage beverage){
super(capacity, beverage);
}
}
|
package oop.ex6.component.variable;
/**
* throws unrecognized value exception if its a reference to another variable.
*/
public class unRecognizedValueException extends VariableUsageException{
/** prevents annoying warning */
private static final long serialVersionUID = 1L;
}
|
/*
* This file is part of SMG, a symbolic memory graph Java library
* Originally developed as part of CPAChecker, the configurable software verification platform
*
* Copyright (C) 2011-2015 Petr Muller
* Copyright (C) 2007-2014 Dirk Beyer
* All rights reserved.
*
* Licensed under the Apache License, Ver... |
package com.InstanTecnic.demo.Mensajeria.Modelos;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="Consulta")
public class Con... |
package com.nxtlife.mgs.entity.school;
import java.io.Serializable;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.MapsId;
import com.nxtlife.mgs.entity.common.StudentSchoolGradeId;
import com.nxtlife.mgs.entity.user.Student;
@Entit... |
package AlgoritmoGenetico;
import java.util.ArrayList;
import java.util.Random;
public class AlgoritmoGenetico
{
private ArrayList<Individuo> populacao;
private int probabilidadeMutacao;
private Individuo melhorIndividuo;
public AlgoritmoGenetico(int tamanhoPopulacao,int probabilidadeMuta... |
package LinkedList;
/**
* @author admin
* @version 1.0.0
* @ClassName DoubleNode.java
* @Description 双链表模拟
* @createTime 2021年02月26日 15:03:00
*/
public class DoubleNode {
int val;
DoubleNode last; // 上一个
DoubleNode next;
DoubleNode(int val) {
this.val = val;
}
}
|
package com.mes.old.meta;
// Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final
import java.math.BigDecimal;
import java.util.Date;
/**
* TMrpItem generated by hbm2java
*/
public class TMrpItem implements java.io.Serializable {
private TMrpItemId id;
private Byte isstop;
private Byte isfinished;
privat... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... |
package fr.umlv.square.client;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.stream.Collectors;
/**
* Worker class is a class use to manage applicati... |
package com.trs.om.bean;
import java.util.Date;
/**
* ICP备案信息的分组.
*/
public class ICPinfoGroup {
private Integer id;
/** 分组名. */
private String group;
/** 该分组中的ICP备案信息数量. */
private Integer num;
/** 该分组的创建时间. */
private Date ctime;
public Integer getId() {
return id;
}
public void setId(Integer id)... |
package battle;
public class Character {
private int fullhp = 100;
private int hp = 50;
private int attack = 60;
private int speed = 60;
public int getHp()
{
return hp;
}
public void setHp(int hp)
{
this.hp = hp;
}
public int ... |
package ru.vang.slothsimageloader.binder;
import ru.vang.slothsimageloader.SlothsImageLoader.ImageSourceType;
import android.graphics.Bitmap;
import android.view.View;
import android.widget.ImageView;
public class ImageViewBinder implements ViewBinder {
@Override
public void displayImage(final View view, final Bit... |
/**
* Copyright (C), 2015-2019, XXX有限公司
* FileName: LazySimpleSingleton
* Author: huchu
* Date: 2019/3/18 14:55
* Description: 外部调用才开始实例化
* History:
* <author> <time> <version> <desc>
* 作者姓名 修改时间 版本号 描述
*/
package com.gupaoedu.vip.pattern.singlt... |
package shared;
import java.lang.*;
/** Sort method interface.
*/
public interface SortFunction{
//added by JL
//based on LEDA
/** The comparison method used for sorting functions.
* @param num1 The first object compared.
* @param num2 The second object compared.
* @return ... |
package com.digi.loginapi;
public interface EmailList {
String getEmail();
}
|
package database;
import objects.Song;
import objects.User;
import objects.forms.DeleteSongForm;
import objects.forms.LikeForm;
import objects.forms.NewSongForm;
import objects.forms.NewUserForm;
import util.DatabaseUtils;
import util.HashUtils;
import java.nio.charset.StandardCharsets;
import java.sql.*;
import java... |
package shadersmod.client;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.resources.I18n;
public class GuiButtonEnumShaderOption extends GuiButton {
private EnumShaderOption enumShaderOption = null;
public GuiButtonEnumShaderOption(EnumShaderOption enumShaderOption, int x, int y, int wi... |
package org.andestech.learning.sber2020;
public class Main {
public static void main(String[] args) {
// write your code here
int N = 9;
for (int i = 0; i < N ; i++) {
//..
if(i%2 != 0) continue;
System.out.print("i="+i+", ");
//..
//..
... |
package com.tencent.mm.plugin.game.wepkg;
import com.tencent.mm.plugin.game.wepkg.model.BaseWepkgProcessTask;
import com.tencent.mm.plugin.game.wepkg.model.WepkgCrossProcessTask;
import com.tencent.mm.plugin.game.wepkg.model.WepkgVersionManager;
import com.tencent.mm.plugin.game.wepkg.model.a;
import com.tencent.mm.pl... |
package com.example.mvpbase.presenter;
import android.os.Bundle;
import com.example.mvpbase.view.IBaseView;
import java.lang.ref.WeakReference;
/**
* 控制器基类:
* Presenter生命周期包装、View的绑定和解除,P层实现的基类
*/
public class BasePresenter<V extends IBaseView> implements IPresenter<V> {
private WeakReference<V> viewRef;
... |
import java.util.*;
public class GroupAnagrams {
//https://leetcode.com/problems/group-anagrams/
public static List<List<String>> groupAnagrams(String[] strs) {
Map<Chars, List<String>> map = new HashMap<>();
for (String str :strs) {
Integer[] arr = new Integer[26];
Arr... |
package com.iqmsoft.dw.kafka.config;
import lombok.Getter;
import io.dropwizard.Configuration;
@Getter
public class KafkaToWsConfiguration extends Configuration{
KafkaConsumerConfig kafkaConsumer;
}
|
package numberingSystem;
import exception.IllegalNumberException;
/**
*
* @author Ahmed El-Torky
*/
public abstract class NumberingSystem {
protected Object value;
public abstract Object getValue();
public abstract void setValue(Object value) throws IllegalNumberException;
}
|
package com.tencent.mm.plugin.fav.b.d;
import com.tencent.mm.sdk.platformtools.al.a;
import com.tencent.mm.sdk.platformtools.x;
class d$3 implements a {
final /* synthetic */ d iXP;
d$3(d dVar) {
this.iXP = dVar;
}
public final boolean vD() {
try {
d.d(this.iXP);
... |
package com.pangpang6.books.jvm;
public class CustomClassLoader extends ClassLoader {
}
|
import javax.swing.JOptionPane;
import java.util.Scanner;
public class digitalrootquestion1
{
public static void main(String[] args)
{ int addedDigits2 = 0;
int addedDigits3 = 0;
int digitalRoute = 0;
int originalNumber = 0;
int digit;
int addedDigits = 0;
int userNumber = 0;
String whatIsYourNumber... |
/*
* 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 controle;
import dao.ConnectionFactory;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultS... |
package com.yosep.msa.config;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties;
import org.springframework.con... |
package com.appstore.api.dao.impl;
import java.util.ArrayList;
import java.util.List;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import com.appstore.entity.App;
import com.appstore.api.dao.AppDAO;
public class AppImpl implements AppDAO{
private SessionFactory ses... |
package com.graduation.yearbook.application;
import android.app.Application;
import android.content.Context;
import android.support.multidex.MultiDex;
import com.crashlytics.android.Crashlytics;
import com.facebook.drawee.backends.pipeline.Fresco;
import io.fabric.sdk.android.Fabric;
/**
* Created by hanwe on 15/8... |
package com.bsa.bsa_giphy.controller;
import com.bsa.bsa_giphy.dto.Gif;
import com.bsa.bsa_giphy.dto.GifGenerationDto;
import com.bsa.bsa_giphy.service.CacheOperationService;
import com.bsa.bsa_giphy.service.GifOperationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.... |
package net.minecraft.block;
import java.util.Random;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
public interface IGrowable {
boolean canGrow(World paramWorld, BlockPos paramBlockPos, IBlockState paramIBlockState, boolean paramBoolean);
... |
package com.diozero.devices.imu.invensense;
/*
* #%L
* Organisation: diozero
* Project: diozero - IMU device classes
* Filename: AK8975Constants.java
*
* This file is part of the diozero project. More information about this project
* can be found at https://www.diozero.com/.
* %%
* Copyright (C) 201... |
package chapter05;
import java.util.Scanner;
public class Exercise05_17 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("Enter the number: ");
int number = input.nextInt();
for (int i = 1; i <= number; i++) {
for (int space = 1; space <... |
package com.dvilson.gadsleaderboard.models;
public class Project {
private String firstName ;
private String lastName;
private String emailAddress;
private String projectLink ;
public Project(String name, String lastName, String emailAddress, String projectLink) {
this.firstName... |
package com.horical.hrc7.materialapp;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.horical.hrc7.lib_base.dialog.DialogPool;
import com.horical.hrc7.materialapp.test.component.HelloView;
public class MainActivity extends AppCompatActivity {
HelloView helloView;
@Overr... |
package contenedor;
import java.util.ArrayList;
import javax.swing.JOptionPane;
import models.Coche;
public class contenedorCoches {
private static contenedorCoches ContCoches;
ArrayList<Coche> coches = new ArrayList<Coche>();
public static contenedorCoches getContenedorCoches() {
if (Con... |
package com.klg.newpolice.ui.authorisation;
import android.content.Context;
import com.klg.newpolice.data.AppDataManager;
import com.klg.newpolice.data.DataManager;
import io.reactivex.annotations.NonNull;
/**
* Created by sergejkozin on 9/22/17.
*/
public class AuthorisationPresenter implements AuthorisationCon... |
package com.gyb.eduservice.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gyb.eduservice.entity.EduCourseDescription;
public interface EduCourseDescriptionService extends IService<EduCourseDescription> {
}
|
package br.ufla.lemaf.ti.lemaf4j.utils;
import java.util.HashMap;
import java.util.Map;
import org.junit.Assert;
import org.junit.Test;
public class DigitoParaTest {
@Test
public void geracaoDeDigitoVerificadorParaBoleto() {
Map<DigitoPara, String> entradas = new HashMap<>();
entradas.put(ne... |
package negocio.libreria;
import java.util.Collection;
import java.util.Set;
//import jakarta.persistence.Entity;
//import jakarta.persistence.GeneratedValue;
//import jakarta.persistence.GenerationType;
//import jakarta.persistence.Id;
//import jakarta.persistence.NamedQuery;
//import jakarta.persistence.OneToMany;
... |
package com.espendwise.manta.dao;
import java.util.List;
import java.util.Map;
import com.espendwise.manta.model.data.GroupData;
import com.espendwise.manta.model.view.GroupConfigAllListView;
import com.espendwise.manta.model.view.GroupConfigListView;
import com.espendwise.manta.model.view.GroupFunctionListView;
imp... |
package com.mctoybox.toybox.classes;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Material;
import org.bukkit.event.EventHandler;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.event.player.PlayerItemHeldEvent;
import org.getspou... |
package ru.khaustov.coursediplom.entity;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
@Entity
@Table(name = "work_service")
public class Work {
@Id
@GeneratedValue(generator = "increment")
@GenericGenerator(name = "increment", strategy = "increment")
@Column(name = "... |
/*
* Copyright (C) 2021-2023 Hedera Hashgraph, LLC
*
* 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 applicab... |
package com.incuube.bot.model.income;
import lombok.Data;
import lombok.ToString;
@Data
@ToString(callSuper = true)
public class IncomeSuggestionMessage extends IncomeMessage {
private String postbackData;
private String buttonText;
}
|
package com.zking.ssm.dto;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;
@ToString
@Data
public class MyFileDto {
private Integer bookId;
private MultipartFile file;
public MyFileDto() {
}
// public ... |
package com.takshine.wxcrm.service.impl;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;
import com.takshine.wxcrm.base.model.BaseModel;
import com.takshine.wxcrm.base.services.BaseServiceImpl;
import com.takshine.wxcrm.domain.DcCrmOperator;
import com.takshine.w... |
package demo;
//Import the basic graphics classes.
import java.awt.*;
import javax.swing.*;
/**
* Simple program that loads, rotates and displays an image.
* Uses the file Duke_Blocks.gif, which should be in
* the same directory.
*
* @author MAG
* @version 20Feb2009
*/
public class RotateImage e... |
import java.util.*;
import javax.swing.JLabel;
public class Player {
private int credits;
private int dollars;
private String playerID;
private int playerRank = 1;
private int rehearsalCount = 0;
private String currentLocation = "trailer";
private String currentRole = "No role";
private... |
import java.util.*;
import java.time.LocalDate;
import java.io.*;
public class delTest {
public static void main(String[] args) throws Exception{
ArrayList<Medlem> mList = new ArrayList<Medlem>();
udfyldMedlemmer(mList);
while(true){
visMedlemmer(mList);
visKonkurrenceSvo... |
package com.tencent.mm.plugin.emoji.ui.v2;
import android.view.View;
import com.tencent.mm.R;
import java.util.List;
class EmojiStoreV2DesignerUI$2 implements Runnable {
final /* synthetic */ EmojiStoreV2DesignerUI ipH;
final /* synthetic */ List ipI;
EmojiStoreV2DesignerUI$2(EmojiStoreV2DesignerUI emoji... |
package org.ict.controller;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.ict.domain.BoardVO;
import org.ict.domain.Criteria;
import org.ict.domain.PageMaker;
import org.ict.domain.SearchCriteria;
import org.ict.domain.TestVO;
import org.ict.service.Boa... |
package com.hatenablog.huruyosi.springboot.entity;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persisten... |
package server.models;
import org.springframework.data.rest.core.config.Projection;
@Projection(types = Kompetenz.class)
public interface KompetenzProjection {
String getBeschreibung();
}
|
package com.nks.whatsapp;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
public class SQLiteStorage implements WhatsAppStorag... |
// Generated by view binder compiler. Do not edit!
package com.example.radio.databinding;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
i... |
/***********************************************************************
* Module: LopHoc.java
* Author: VietKOR
* Purpose: Defines the Class LopHoc
***********************************************************************/
import java.util.*;
/** @pdOid 5ffa4c8c-76e2-451a-a1c9-33c7b607af74 */
public class LopHoc... |
package com.hjtech.base.router.model.user;
/*
* 项目名: LightingDetection-sc
* 包名 com.hjtech.base.router.model.user
* 文件名: UserService
* 创建者: YHF
* 创建时间: 2017/12/1 0001 on 9:34
* 描述: TODO
*/
import android.support.v4.app.Fragment;
import com.hjtech.base.router.mannager.ServiceManager;
public ... |
package pl.ks.profiling.demo.memory.offheap;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
class OffHeapAllocator {
private static List<ByteBuffer> memoryLeak = new ArrayList<>();
public static void allocate() {
memoryLeak.add(ByteBuffer.allocateDirect(1 * 1024 * 1024... |
package com.marshalchen.ultimaterecyclerview.quickAdapter;
import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.marshalchen.ultimaterecyclerview.UltimateRecyclerviewViewHolder;
import com.marshalchen.ultimaterecyclerv... |
package timer.controller;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;... |
package com.samyotech.laundry.ui.activity;
import android.app.DatePickerDialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;
import androidx.fragment.app.... |
/**
* DNet eBusiness Suite
* Copyright: 2010-2013 Nan21 Electronics SRL. All rights reserved.
* Use is subject to license terms.
*/
package net.nan21.dnet.module.bd.presenter.impl.other.model;
import net.nan21.dnet.core.api.annotation.Ds;
import net.nan21.dnet.core.api.annotation.DsField;
import net.nan21... |
package empresa;
/**
*
* @author Adriana
*/
public class Main {
public static void main(String[] args) {
Empleado ofc1 = new Oficinista ("1",500);
Empleado ofc2 = new Oficinista ("2",500);
Empleado st1 = new SupervisorTecnico ("3",1000, 2);
Empleado st2 = new SupervisorTecnico... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.