text stringlengths 10 2.72M |
|---|
package controller.service.impl;
import controller.exception.ServiceLayerException;
import domain.Bus;
import model.dao.impl.BusDAOImpl;
import model.exception.DAOException;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Arrays;
import static org.... |
package banyuan.day05.practice.p02;
/**
* @author 陈浩
*/
public class Frog {
private String name;
private int num;
public void eat() {
}
public Frog() {
}
public Frog(String name, int num) {
this.name = name;
this.num = num;
}
public void sleep() {
}
... |
/*
* Tencent is pleased to support the open source community by making QMUI_Android available.
*
* Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain ... |
package com.takshine.wxcrm.service.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import net.sf.json.JsonConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.fact... |
package l2_servers;
import java.io.BufferedInputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.ServerSocket;... |
package com.anywaycloud.dao;
import java.util.List;
import com.anywaycloud.model.ServerFile;
public interface ServerFileMapper {
int insertReturnKey(ServerFile record);
ServerFile selectByShortURL(String shortUrl);
ServerFile checkRepeatByFilename(Integer uid, String path, String filename);
Lis... |
package com.mygdx.game.input;
import com.badlogic.gdx.controllers.Controller;
public class ControllerInput implements IPlayerInput {
public Controller controller;
public ControllerInput(Controller _controller) {
controller = _controller;
}
@Override
public boolean isLeftPressed() {
return controller.getA... |
package com.example.nikhil.listexample;
import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle sa... |
package ProjectPersonal.Thethreecarddealer;
public class NimTypeZero {
}
|
package com.tencent.mm.plugin.sns.ui.previewimageview;
import android.animation.Animator;
import android.animation.Animator.AnimatorListener;
class e$8 implements AnimatorListener {
final /* synthetic */ e olJ;
e$8(e eVar) {
this.olJ = eVar;
}
public final void onAnimationStart(Animator anim... |
package com.weique.dynamic.di.module;
import dagger.Binds;
import dagger.Module;
import com.weique.dynamic.mvp.contract.CommonRefreshContract;
import com.weique.dynamic.mvp.model.CommenRefreshModel;
/**
* ================================================
* Description:
* <p>
* Created by MVPArmsTemplate on 09/04... |
package converter;
import java.math.BigInteger;
import java.util.BitSet;
import java.util.NoSuchElementException;
import java.util.Scanner;
import java.util.function.BiFunction;
public class Main {
static char[] digits = new char[]{
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
'a', 'b... |
package ay.springframework.fruitwebfluxapi.bootstrap;
import ay.springframework.fruitwebfluxapi.domain.Category;
import ay.springframework.fruitwebfluxapi.domain.Vendor;
import ay.springframework.fruitwebfluxapi.repositories.CategoryRepository;
import ay.springframework.fruitwebfluxapi.repositories.VendorRepository;
i... |
/***********************************
* Copyright 2016 Masato Kawamura
* @Author masato-ka
*
* This software is MIT LICENSE
*
***********************************/
package com.masato.ka.geohash;
import java.util.HashMap;
import java.util.Map;
import com.masato.ka.geohash.constants.HashTableConstants;
import co... |
package com.yahoo.random;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class MD5Hashes {
/**
*MD5 is not collision resistent crytographic one way hash fn (one where you cant get which string can create hash1) md5(string)=has... |
package top.wangruns.educoder.gcc2018;
/**
*
* 挑战任务
将输入的字符串str进行反转。
编程要求
补全右侧String inversion(String str)函数实现字符串的反转并返回反转之后的字符串,
其中函数参数str表示要反转的字符串。
*
*/
public class 预一阶一关将字符串反正 {
public String inversion(String str){
if(str==null) return null;
StringBuilder sb=new StringBuilder();
for(int i=str.length()-... |
package com.augment.golden.bulbcontrol.OnChangeListeners;
import android.graphics.Color;
import android.graphics.PorterDuff;
import android.support.constraint.ConstraintLayout;
import android.view.MotionEvent;
import android.view.View;
import android.widget.ImageView;
import android.widget.SeekBar;
import com.augment... |
package io.jh.domain;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import javax.persistence.*;
import javax.validation.constraints.*;
import java.io.Serializable;
/**
* 门店周库存\n@author Jo
*/
@Entity
... |
package com.zihui.cwoa.system.config;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframew... |
package com.yc.bean;
import java.io.Serializable;
import lombok.Data;
@Data
public class Category implements Serializable{
private static final long serialVersionUID = -4213143187495581068L;
private Integer category_id;
private String category_name;
private Integer pid;
private GoodsType type;
}
|
package com.tencent.mm.plugin.backup.i;
import com.tencent.mm.g.a.w;
import com.tencent.mm.plugin.backup.a.a;
import com.tencent.mm.plugin.backup.a.d;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
class b$1 extends c<w> {
final /* synthetic */ b hdp;
b$1(b bVar) {
this.hdp = bVar;
... |
package com.zycus.clientonboard.dao;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import com.zycus.clientonboard.model.Client;
public interface ClientDao {
public Client getClientById(String govtIdNumber);
void saveClient(Client client);
List<Client> getClients();
voi... |
package Test1;
import java.io.FileInputStream;
import java.io.IOException;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.util.NumberToTextConverter;
import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFRow;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import o... |
package TextSet;
import Person.Person;
import java.util.Comparator;
import java.util.HashSet;
import java.util.Set;
import java.util.TreeSet;
/**
* Set中元素不可以重复
*/
public class TextSet {
public static void HashSet(){
Set<String> hashSet = new HashSet<>();
hashSet.add("DMW");
hashSet.add(... |
package level1;
//https://school.programmers.co.kr/learn/courses/30/lessons/140108
public class 문자열_나누기 {
public class Solution {
public int solution(String s) {
int answer = 0;
char[] chars = s.toCharArray();
answer = divider(answer, chars);
return answer;
... |
package com.icleveret.recipes.dao;
import com.icleveret.recipes.component.SessionHolder;
import com.icleveret.recipes.model.Measure;
import java.util.List;
public interface MeasureDao {
Measure add(Measure measure, SessionHolder.SessionContainer sessionContainer);
Measure updateName(String name, Integer me... |
package mathiasschoepke.pojo;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.MapsId;
imp... |
package com.rc.portal.dao;
import java.sql.SQLException;
import java.util.List;
import com.rc.portal.vo.TOrderLeader;
import com.rc.portal.vo.TOrderLeaderExample;
public interface TOrderLeaderDAO {
int countByExample(TOrderLeaderExample example) throws SQLException;
int deleteByExample(TOrderLeaderExample ... |
package com.peng.pp_app_sdk.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import java.util.List;
/**
* Created on 2015/12/16 0016.
* Author wangpengpeng
* Email 1678173987@qq.com
* Descrip... |
/*
* 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 mainalquiler;
/**
*
* @author Santi Duque
*/
public interface Usuario {
public void ingresar(String usu, String cl... |
package cn.com.zjol.userhome.adapter;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.support.v4.content.LocalBroadcastManager;
import android.support.v7.widget.RecyclerView;
import android.text.TextUtils;
impo... |
package JavaSE.OO.yichang;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
/*
* 1、异常是什么
* 1、异常模拟的是现实世界中不正常的事件
* 2、java中采用类去模拟异常
* 3、类是可以创建对象的
* 例:NullPointerException e=0x1234;
* e是引用类型,e中保存的内存地址指向堆中的对象
* 这个对象一定是NullPointerException类... |
import java.io.*;
import org.apache.http.HttpEntity;
//import org.apache.http.HttpStatus;
import org.apache.http.HttpResponse;
//import org.apache.http.client.ClientProtocolException;
//import org.apache.http.impl.DefaultHttpRequestFactory;
//import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http... |
package com.tencent.mm.pluginsdk.ui.chat;
import com.tencent.mm.R;
import com.tencent.mm.pluginsdk.ui.a.a;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.base.h;
class ChatFooter$26 implements a {
final /* synthetic */ ChatFooter qMv;
ChatFoote... |
package com.brettbush.service;
import org.junit.jupiter.api.Test;
import java.util.List;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
public class BigramProducerServiceTest {
private final BigramProducerService bigramProducerService ... |
/*
* [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 models;
import java.sql.*;
public class UserFeedback{
private Integer userFeedbackId;
private User user;
private String userMessage;
private Timestamp date;
//############ getter setters ##################
public void setUserFeedbackId(Integer userFeedbackId){
this.userFeedbackId = userFeedbackId;
}... |
package com.gari.canarychallenge.contentefragment;
import android.Manifest;
import android.content.Context;
import android.content.pm.PackageManager;
import android.content.res.AssetManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.... |
/**
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the ... |
package com.shaowei.workflow.controller;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;... |
package com.home.closematch.config;
import com.home.closematch.entity.Account;
import com.home.closematch.pojo.Msg;
import com.home.closematch.service.AccountService;
import com.home.closematch.utils.AccountUtils;
import com.home.closematch.utils.JwtUtils;
import com.home.closematch.utils.VerifyUtils;
import org.sprin... |
package pro.eddiecache.kits.disk;
import pro.eddiecache.core.CacheElement;
import pro.eddiecache.core.model.ICacheElement;
import pro.eddiecache.core.model.IElementAttributes;
public class PurgatoryElement<K, V> extends CacheElement<K, V>
{
private static final long serialVersionUID = 1L;
private boolean spoolable... |
package SebastianMiklaszewski.Excercises.Presentation;
import SebastianMiklaszewski.Excercises.Presentation.Shared.Exception.InvalidArgumentException;
import SebastianMiklaszewski.Excercises.Presentation.UseCase.ExerciseOne.ExerciseOneHandler;
public class ExerciseFacade {
private final ExerciseOneHandler exercis... |
package rent.common.repository;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org... |
package com.wooky.web.servlets;
import com.wooky.dao.ContactDao;
import com.wooky.model.Contact;
import com.wooky.web.freemarker.TemplateBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.inject.Inject;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
impo... |
package com.plexobject.dp.sample.domain;
import java.util.ArrayList;
import java.util.List;
public class Company implements Idable<String> {
private String symbol;
private String exchange;
private String name;
private Address address;
private List<CompanyEvent> events = new ArrayList<>();
pub... |
package com.coalesce.http;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.common.util.concurrent.ListeningExecutorService;
import com.google.common.util.concurrent.MoreExecutors;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.FileNotFoundException;
import ... |
package com.tencent.mm.protocal;
import com.tencent.mm.protocal.c.bhy;
import com.tencent.mm.protocal.c.oi;
import com.tencent.mm.protocal.c.tt;
import com.tencent.mm.protocal.c.tu;
import com.tencent.mm.protocal.c.tv;
import com.tencent.mm.protocal.k.b;
import com.tencent.mm.protocal.k.d;
import com.tencent.mm.sdk.pl... |
package com.tencent.mm.plugin.appbrand.appstorage;
import com.tencent.mm.plugin.appbrand.q.h;
import java.io.File;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.List;
public interface l {
j a(String str, FileStructStat fileStructStat);
j a(String str, h<ByteBuffer> hVar);
j a(... |
package com.zhouyi.business.core.service;
import com.zhouyi.business.core.model.*;
import com.zhouyi.business.core.vo.LedenConllectPersonVo2;
import com.zhouyi.business.core.vo.LedenUploadPacketVo;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import java.io.InputStrea... |
package com.automation.testcases;
import org.testng.annotations.Test;
import org.testng.annotations.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.PageFactory;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
impo... |
package proCat.entity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import java.util.Set;
@Data
@Entity
@Table(name = "app_user")
public class User {
@Id
@GeneratedValue(strateg... |
package org.grizz.service.collectors;
import com.beust.jcommander.internal.Maps;
import org.grizz.config.Configuration;
import org.joda.time.DateTime;
import org.springframework.stereotype.Component;
import pl.grizwold.microblog.model.Entry;
import java.util.Map;
import java.util.function.Function;
import java.util.s... |
package com.example.testapp.utils;
import com.example.testapp.entity.Student;
public class GlobalUser {
private static Student student=null;
public static void setGlobalStudent(Student s){
student=s;
}
public static Student getGlobalStudent(){
return student;
}
}
|
/*
* 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 Clases;
/**
*
* @author luis-d
*/
public class Cl_Cargo {
private int id;
private String desc;
private Double j... |
package de.jmda.app.xstaffr.client.fx.edit.customer;
import java.util.Set;
import de.jmda.app.xstaffr.common.domain.Customer;
import de.jmda.core.cdi.event.ActionOnEvent.AbstractEvent;
public interface CustomerEditorService
{
void reload();
public class CustomersChanged extends AbstractEvent<Set<Custom... |
/*
* Created on Jan 26, 2012
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package it.usi.xframe.xas.bfutil;
import it.usi.xframe.system.logging.elf.entities.AbstractTechnicalMessage;
import it.usi.xframe.system.logging.elf.enti... |
package kodlamaio.hrms.api.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import... |
import java.rmi.*;
public interface ServerInterface extends Remote{
public void joinRoom(String u, String room) throws RemoteException;
public void sendMsg(Message m) throws RemoteException;
public void leaveRoom(String u, String room) throws RemoteException;
}
|
package com.kunsoftware.service;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ... |
package com.kmilewsk.github.Web.Client;
import com.kmilewsk.github.Configuration.Web.Client.GitHubClientConfiguration;
import com.kmilewsk.github.Model.GitHubApiDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.an... |
package viinimuistio.tiedostojenkasittely;
import viinimuistio.domain.Muistiinpano;
/**
* Tallentaa konstruktorissa annetun muistiinpano-rajapinnan toteuttajan
* tiedostoon.
*
* @author TLKoodi
*/
public class MuistiinpanonTallentaja {
/**
* Muistiinpano jota halutaan käsitellä. Arvo asetetaan konstruk... |
package com.george.sms.helper.test.controller;
import com.george.sms.helper.service.impl.AliyunSmsSenderImpl;
import com.george.sms.helper.service.impl.TencentSmsSenderImpl;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotatio... |
package bai_tap;
public class TennisGame {
public static final String DASH = "-";
public static final int ZERO = 0;
public static final int FIFTEEN = 1;
public static final int THIRTY = 2;
public static final int FORTY = 3;
public static String getScore(String player1Name, String player2Name,... |
package com.xxx;
import java.util.List;
import java.util.concurrent.atomic.AtomicLong;
import org.springframework.stereotype.Component;
import com.google.common.collect.Lists;
@Component
public class AuthorServiceImpl implements AuthorService {
private AtomicLong idGenerator = new AtomicLong(0L);
private ... |
package calculator_app;
import java.awt.event.KeyEvent;
import java.math.BigDecimal;
import java.math.RoundingMode;
/**
*
* @author nassimabenbahtane
*/
public class Normal_Mode extends javax.swing.JFrame {
// init variables
public double num,ans;
public int operation;
// constructor
... |
/**
* Copyright 2013 Cloudera Inc.
*
* 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 i... |
package com.jiduqingqian.drawingboarddemo;
import android.app.Activity;
import android.content.Context;
import android.graphics.drawable.ColorDrawable;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup.LayoutParams;
import android.widget.PopupWindo... |
package net.example.template.persons.control;
import lombok.AllArgsConstructor;
import net.example.template.persons.entity.Person;
import org.springframework.stereotype.Service;
@Service
@AllArgsConstructor
public class PersonCreateService {
private final PersonRepository personRepository;
public void create... |
package org.maven.ide.eclipse.io;
import java.io.IOException;
public class UnauthorizedException
extends IOException
{
private static final long serialVersionUID = -3931433246316614538L;
public UnauthorizedException( String message )
{
super( message );
}
}
|
public class MultiplayerExtensionExample extends SimpleBaseGameActivity {
private static final int WIDTH = 800;
private static final int HEIGHT = 480;
// Server & client id's
private static final int SERVER_ID = 0;
private static final int CLIENT_ID = 1;
// Loopback IP (Localhost)
private static f... |
package com.cg.javafillstack.collection.list;
import java.util.ArrayList;
public class TestA {
public static void main(String[] args) {
ArrayList al=new ArrayList();
al.add(5);
al.add('p');
al.add("Mayank");
al.add(2.5);
/* for(int i=0; i<al.size(); i++)
{
Object r=al.get(i);
System.ou... |
package com.tencent.mm.plugin.freewifi.ui;
public class FreeWifiFrontPageUI$a {
public static FreeWifiFrontPageUI$a jnf = new FreeWifiFrontPageUI$a();
public int glH;
public String jmI;
public String text;
}
|
package hospitaal;
public enum Gender {MAN,WOMEN
}
|
package com.example.test;
public interface GetVersion {
String getVersion();
}
|
package com.tencent.mm.g.a;
import com.tencent.mm.sdk.b.b;
public final class fz extends b {
public a bOL;
public b bOM;
public fz() {
this((byte) 0);
}
private fz(byte b) {
this.bOL = new a();
this.bOM = new b();
this.sFm = false;
this.bJX = null;
}
}... |
package Restaurante;
public class ExceptionEmail extends Exception {
public ExceptionEmail() {
super("Email no valido ");
}
}
|
package com.diozero.api;
/*-
* #%L
* Organisation: diozero
* Project: diozero - Core
* Filename: I2CDeviceInterface.java
*
* This file is part of the diozero project. More information about this project
* can be found at https://www.diozero.com/.
* %%
* Copyright (C) 2016 - 2023 diozero
* %%
* Per... |
package com.example.api.web.rest;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.data.domain.Pageable;
import org.springframework.web.bind.annotation.DeleteMapp... |
/*
* Created on 26-dic-2004
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package es.ucm.fdi.si.controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import es.ucm.fdi.si.ICase;
import es.ucm.fdi.si.mod... |
package com.garande.tech.chatapp.viewModel;
import android.app.Application;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.LiveData;
import com.garande.tech.chatapp.model.User;
import com.garande.tech.chatapp.repositories.SplashRepository;
public class SplashViewModel extends AndroidViewMode... |
package com.example.topics.create;
import com.example.topics.core.Group;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CreateTopicResponse {
private String name;
private Group ownerGr... |
/**
* Copyright (c) 2019 Amarone- zjlgd.cn , All rights reserved.
*/
package cn.amarone.model.article.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Data;
/**
... |
class Solution {
public String solution(String p) {
String answer = "";
answer = recur(p);
return answer;
}
private String recur(String p) {
if (p.equals("")) {
return "";
}
String u = getBalanceString(p);
String v = p.substring(u.lengt... |
package com.jvmless.threecardgame.domain.shuffle;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface MongoCardsRepository extends MongoRepository<Cards, CardsId> {
}
|
package top.kylewang.bos.service.take_delivery.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;
import org... |
package com.tencent.mm.plugin.fts.b;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.fts.a.a.a;
class f$d extends a {
final /* synthetic */ f juX;
private f$d(f fVar) {
this.juX = fVar;
}
/* synthetic */ f$d(f fVar, byte b) {
this(fVar);
}
public final boolean e... |
package edu.iss.caps.service;
import java.util.ArrayList;
import java.util.List;
import edu.iss.caps.model.Course;
import edu.iss.caps.model.Enrolment;
import edu.iss.caps.model.StudentDetail;
public interface EnrolmentService {
ArrayList<Enrolment> findAllCoursesAttending();
ArrayList<Enrolment> fi... |
package shipment;
public class ECompanySales extends Shipment{
public ECompanySales() {
super(new int[] {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1});
}
}
|
package br.usp.memoriavirtual.modelo.entidades;
import java.io.Serializable;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQuery;
@NamedQuery(name = ... |
/**
* @author smxknife
* 2019-05-09
*/
package com.smxknife.datastructure.stack; |
package com.xncoding.pos.task;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.AsyncResult;
import org.springframework.stereotype.Component;
import java.util.concurrent.Future;
/**
* Description: 模块功能描述... |
package entity;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import javax.persistence.*;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
@Entity
@XmlRootElement
... |
package com.cloudogu.smeagol;
import com.google.common.base.MoreObjects;
import java.io.Serializable;
/**
* Account represents an authenticated user on the application.
*
* @author Sebastian Sdorra
*/
public final class Account implements Serializable {
private static final long serialVersionUID = 1L;
... |
package collectionpackage;
import java.util.TreeMap;
public class TreeMapClass {
public static void main(String[] args) {
// TODO Auto-generated method stub
TreeMap t = new TreeMap();
t.put("latha",98);
t.put("vidhu",96);
t.put("Raja", 94);
t.put("vimal", 89);
//Ascending order of keys maintained
//... |
package gov.virginia.dmas.ldap.services;
import java.util.List;
import gov.virginia.dmas.ldap.dto.EmployeeDTO;
public interface EmployeeService {
public List<EmployeeDTO> searchEmployees(String name);
public List<EmployeeDTO> getAllFromLDAP();
public EmployeeDTO findByMail(String email);
}
|
package graft.cpg.visitors;
import org.apache.tinkerpop.gremlin.structure.Vertex;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import soot.SootField;
import soot.Value;
import soot.jimple.*;
import graft.Graft;
import graft.cpg.AstBuilder;
import static graft.Const.*;
import static graft.cpg.CpgUtil.*;... |
package com.ydl.iec.iec104.server.handler;
import com.ydl.iec.iec104.common.Iec104Constant;
import com.ydl.iec.util.ByteUtil;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import io.netty.util.ReferenceCountUtil;
import org.slf4j.Lo... |
// assignment 2
// pair 043
// Wright Steven
// wrights
// Wang Shiyu
// shiyu
import tester.*;
public class ExamplesPhoneChain {
public ExamplesPhoneChain() {
}
IPCmt empty = new IPCmt();
Player tay = new Player("tay", "0");
Player kim = new Player("Kim", "1");
Player zoe = new Player(... |
package com.sendi.netrequest.rxquest;
/**
* Created by Administrator on 2020/5/19.
*/
public class Info {
String username;
String password;
String codeIdentity;
String checkCode;
public Info(String username, String password, String codeIdentity, String checkCode) {
this.username = userna... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.