text stringlengths 10 2.72M |
|---|
package com.flute.atp.domain.model;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Transient;
import java.util.ArrayList;
import java.util.List;
@Setter
@Getter
public class AggregateRoot extends Entity {
public int version ;
@Transient
public List<DomainEvent> ev... |
package com.example.medicapp;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import android.Manifest;
import android.content.pm.PackageManager;
import android.location.Address;
import android.location.G... |
package tk.martijn_heil.elytraoptions.command.common;
import com.sk89q.intake.Command;
import com.sk89q.intake.CommandCallable;
import com.sk89q.intake.dispatcher.Dispatcher;
import com.sk89q.intake.parametric.annotation.Optional;
import org.bukkit.command.CommandSender;
public class CommonCommands
{
... |
package ativ_fix_iterator_AndreLucas;
import java.util.ArrayList;
import java.util.Iterator;
public class Aplicacao {
public static void main(String[] args) {
// TODO Auto-generated method stub
ArrayList<Integer> numeros = new ArrayList<Integer>();
numeros.add(12);
numeros.add(3);
numeros.ad... |
package interviewbit.array;
import java.util.ArrayList;
public class Array_Plus1 {
public ArrayList<Integer> plusOne(ArrayList<Integer> a) {
for (int i = 0; i < a.size(); i++) {
if (a.get(i) == 0) {
if (a.size() == 1) {
break;
} else {
a.remove(i);
i--;
}
} else {
break;
}
... |
import java.net.*;
import java.util.*;
import java.io.*;
/**
* This class, running on the main-server, handles an individual players
* communications with the main set of data. This class adds-to and deletes-from
* the object "LobbyOnlinePlayers" which holds all of the main data that each
* thread can pull from.
... |
package br.com.jdrmservices.repository.helper.compradireta;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.criterion.MatchMode;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.P... |
package moderate;
/* Sample code to read in test cases:*/
import java.io.*;
public class ReverseAdd {
public static void main (String[] args) throws IOException {
File file = new File(args[0]);
BufferedReader buffer = new BufferedReader(new FileReader(file));
String line;
while ((lin... |
package com.example.android.currencyconversion;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import com.firebase... |
package demo.constructors;
public class EmployeeDemoTest {
public static void main(String[] args) {
Employee davidEmployee = new Employee("David", 25);
System.out.println("Name : " + davidEmployee.getName());
System.out.println("Age : " + davidEmployee.getAge());
System.out.println("-------------------------... |
package org.apache.commons.net.examples.ntp;
import java.io.IOException;
import java.net.InetAddress;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import org.apache.commons.net.ntp.NTPUDPClient;
import org.apache.commons.net.ntp.N... |
package com.huawei.esdk.csdemo.listener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.JEditorPane;
import com.huawei.esdk.csdemo.action.SiteControlAction;
import com.huawei.esdk.csdemo.adapter.MouseAdapter;
import com.huawei.esdk.csdemo.common.LabelText;
import com.huawe... |
package uz.kassa.test.exception;
/** Author: Khumoyun Khujamov Date: 11/14/20 Time: 2:34 AM */
public class LoginException extends RuntimeException {
public LoginException(String message) {
super(message);
}
public LoginException(String message, Throwable cause) {
super(message, cause);
}
}
|
package earth.xor.db;
import java.util.List;
import earth.xor.model.Bookmark;
public class DatastoreFacade {
private BookmarksDatastore ds;
public DatastoreFacade(BookmarksDatastore ds) {
this.ds = ds;
}
public void addBookmark(Bookmark bookmark) {
this.ds.addBookmark(bookmark);
... |
package com.lubarov.daniel.data.serialization;
public final class ShortSerializer extends AbstractSerializer<Short> {
public static final ShortSerializer singleton = new ShortSerializer();
private ShortSerializer() {}
@Override
public void writeToSink(Short n, ByteSink sink) {
for (int i = 0; i < 2; ++i)... |
package example;
import javax.jws.WebService;
import javax.jws.WebMethod;
/**
* Created by sasakin on 17.10.2017.
*/
@WebService
public class HelloWorld {
@WebMethod
public String sayHelloWorldFrom(String from) {
String result = "Hello, world, from " + from;
System.out.println(result);
return result;... |
package com.iflytek.sas.voice.transfer.server.common;
import java.io.Serializable;
/**
* @author: JiangPing Li
* @date: 2018-08-06 9:50
*/
public class NullWritable implements Serializable {
private static final long serialVersionUID = -7589666158575232386L;
private static NullWritable instance = new NullW... |
package com.tencent.mm.plugin.appbrand.page;
class p$15 implements Runnable {
final /* synthetic */ p gnH;
final /* synthetic */ String gnK;
p$15(p pVar, String str) {
this.gnH = pVar;
this.gnK = str;
}
public final void run() {
this.gnH.gnn.setBackgroundColor(this.gnK);
... |
// assignment 10
// pair p134
// Singh, Bhavneet
// singhb
// Wang, Shiyu
// shiyu
import java.util.*;
/** Represents a US Map of States and Capitals. Use to learn about
* hashCode, equals, and hashMap */
public class USMap {
/** The <code>HashMap</code> to experiment with */
HashMap<City, State> s... |
package com.tencent.mm.plugin.account.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
class g$5 implements OnCancelListener {
final /* synthetic */ g eSt;
g$5(g gVar) {
this.eSt = gVar;
}
public final void onCancel(DialogInterface dialogIn... |
package fil7.ru.examples.java.date;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
/**
* Получение даты и времени из строки
* Способ выделения дня, месяца и т.д. из строки
*/
public class DatePart {
private Date fromDate = null;
private SimpleDateFormat formatter = null... |
import java.util.Scanner;
import javax.swing.JOptionPane;
import java.lang.Math;
public class computingpie3
{
public static void main(String[] args)
{
String termInput = JOptionPane.showInputDialog
(null, "Please enter the number of terms you wish to view of PI ( or type exit) ");
Scanner inputScanner =... |
package com.example.billage.frontend.adapter;
import android.widget.TextView;
import com.example.billage.frontend.utils.DateFormat;
import java.util.Calendar;
import java.util.GregorianCalendar;
import androidx.databinding.BindingAdapter;
public class TextBindingAdapter {
@BindingAdapter({"setCalendarHeaderTe... |
/*
* Copyright: (c) 2004-2011 Mayo Foundation for Medical Education and
* Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the
* triple-shield Mayo logo are trademarks and service marks of MFMER.
*
* Except as contained in the copyright notice above, or as used to identify
* MFMER as the auth... |
package MsgboxPack;
import javax.swing.*;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.util.ArrayList;
import java.util.List;
public class ScanWin extends JDialog {
final long serialVersionUID = 1L;
private JPanel c... |
package com.args.cineduniya;
import androidx.appcompat.app.AppCompatActivity;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.ProgressBar;
public class PrivacyPolicy_activity extends AppCompa... |
package com.formation.app;
public class EmptyClass {
}
|
package com.example.retail.services.fmcgproducts;
import com.example.retail.controllers.retailer.fmcg_retailer.FMCGProductsRequestBody;
import com.example.retail.models.discounts.CustomerOrdersDiscount;
import com.example.retail.models.discounts.DiscountCalculator;
import com.example.retail.services.discounts.Customer... |
package com.amsu.intelligentinsole.activity;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
impor... |
package practice;
public class MethodOverridingParentClass {
/*
Declaring a method in child class which is already present in the parent class is called Method Overriding.
In simple words, overriding means to override the functionality of an existing method.
In this case, if we call the method wi... |
package com.yixin.dsc.dto.query;
import java.io.Serializable;
import java.util.Date;
/**
* 结算放款信息DTO
* Package : com.yixin.dsc.dto.query
*
* @author YixinCapital -- wangwenlong
* 2018年9月10日 下午7:48:48
*
*/
public class DscSettleLoanInfoDto implements Serializable {
private static final long serialVersion... |
package com.tencent.mm.ui.chatting.g;
import android.view.View;
import android.widget.TextView;
import com.tencent.mm.R;
import com.tencent.mm.ui.chatting.a.b.a;
class a$b extends a {
TextView eCn;
final /* synthetic */ a tXW;
public a$b(a aVar, View view) {
this.tXW = aVar;
super(view);
... |
package io.dashapp.dashembed;
import android.os.Parcel;
import android.os.Parcelable;
public class Config implements Parcelable {
// A unique identifier for the DASH Foundation (provided by DASH)
public String appId;
public Boolean useDevelopmentServers;
public Config(String appId) {
this.app... |
package co.th.aten.network.web;
import java.io.IOException;
import java.io.OutputStream;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import javax.annotation.PostConstruct;
import javax.enterprise.inj... |
package com.hxzy.controller.admin;
import com.hxzy.common.util.MD5Util;
import com.hxzy.common.vo.ResponseMessage;
import com.hxzy.entity.Data;
import com.hxzy.entity.Major;
import com.hxzy.entity.Student;
import com.hxzy.service.DataService;
import com.hxzy.service.MajorService;
import com.hxzy.service.StudentService... |
package com.example.ian.rentermanager11;
import android.content.DialogInterface;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivit... |
package com.tencent.tencentmap.mapsdk.a;
import android.graphics.PointF;
public final class rn extends rl {
private PointF d;
private double e;
private double f;
public rn(sl slVar, double d, PointF pointF, long j, tt ttVar) {
super(slVar, j, ttVar);
this.e = d;
this.d = point... |
package String;
import java.util.HashMap;
public class RomanToInt_13 {
/*13. 罗马数字转整数*/
/*
一张HashMap存罗马数字与整数的映射;
遍历一遍字符串,分两种情况:
1、存在2个罗马数字为一组代表一个整数的特殊情况
2、单个罗马数字代表一个整数
*/
public int romanToInt(String s) {
HashMap<String,Integer> map = new HashMap<>();
map.put("M",1000);... |
package com.literature.controller;
import com.literature.common.JsonApi;
import com.literature.entity.*;
import com.literature.entity.Collections;
import com.literature.service.IBookService;
import com.literature.service.ICustomerInfoService;
import com.literature.util.IDUtil;
import com.literature.vo.CommentVo;
impor... |
package com.qgbase.config;
/**
* Created by lbb on 2018/4/26.
* 主要用于:
*/
public class Constants {
public final static int yesorno_Yes = 1;
public final static int yesorno_No = 0;
/*
系统最高级别管理员
*/
public final static String user_admin = "admin";
public final static String role_admin = "a... |
package com.example.doubnut.di.module;
import com.example.doubnut.ui.newlist.ListFragment;
import com.example.doubnut.ui.newsdetails.DetailsFragment;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;
@Module
public abstract class MainFragmentBindingModule {
@ContributesAndroidIn... |
package org.alienideology.jcord.handle.modifiers;
import org.alienideology.jcord.handle.audit.AuditAction;
import org.alienideology.jcord.handle.channel.IVoiceChannel;
import org.alienideology.jcord.handle.guild.IGuild;
import org.alienideology.jcord.handle.guild.IMember;
import org.alienideology.jcord.handle.guild.IR... |
package com.kunsoftware.service;
import java.util.Date;
import java.util.List;
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 org.springframework.t... |
/*
* 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 com.rc.components;
import com.rc.res.Colors;
import javax.swing.*;
import javax.swing.border.LineBorder;
import java.awt.*;
/**
* Created by song on 17-6-4.
*/
public class RCProgressBar extends JProgressBar
{
public RCProgressBar()
{
setForeground(Colors.PROGRESS_BAR_START);
setBo... |
/*
* 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.gui.Amal;
import com.codename1.components.ScaleImageButton;
import com.codename1.ui.Button;
import com.codename1... |
package com.example.android.quakereport;
import android.content.Context;
import android.support.v4.content.ContextCompat;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.Text... |
package com.yksoul.pay.service;
import com.yksoul.pay.domain.enums.PayErrorCodeEnum;
import com.yksoul.pay.exception.EasyPayException;
/**
* 微信支付获取openID
*
* @author yk
* @version 1.0
* @date 2018-06-15
*/
public interface IWxPay {
/**
* 获取用户OpenId
*
* @return
*/
default String getO... |
package com.rofour.baseball.controller.message;
import com.rofour.baseball.controller.base.BaseController;
import com.rofour.baseball.controller.model.DataGrid;
import com.rofour.baseball.controller.model.ResultInfo;
import com.rofour.baseball.controller.model.SelectModel;
import com.rofour.baseball.controller.model.m... |
package com.SkyBlue.base.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import com.SkyBl... |
package de.snake.util;
import java.awt.Color;
import java.awt.Graphics;
public class BigFeed extends Feed {
public BigFeed(int x, int y, Randomiser randomiser) {
super(x, y, randomiser);
// TODO Auto-generated constructor stub
}
@Override
public void paint(Graphics g) {
// TODO Auto-generated method stub
... |
package com.semantyca.nb.definition;
public class DefaultAppConst {
public static String MODULE_VERSION = "1.0";
public static String NAME = "";
public static String CODE = NAME.toLowerCase();
public static String NAME_ENG = "";
public static String NAME_DEU = "";
public static String NAME_FRA ... |
package com.sy.s1.member;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import lomb... |
package com.kodilla.designpatterns2.adapter.bookclasifier;
import com.kodilla.designpatterns2.adapter.bookclasifier.libraryb.Book;
import com.kodilla.designpatterns2.adapter.bookclasifier.libraryb.BookSignature;
import com.kodilla.designpatterns2.adapter.bookclasifier.libraryb.BookStatistics;
import com.kodilla.design... |
package com.dishcuss.foodie.hub.Activities;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.widget.ImageView;
import com.dishcuss.foodie.hub.Models.FoodItems;
import com.dishcuss.foodie.hub.Models.FoodsCategory;
import com.dishcuss.foodie.hub.Models.Restaurant;
import co... |
package f.a.a.a;
import f.a.a.a.a.b;
import java.util.LinkedList;
public final class a {
private final b unknownTagHandler;
public final f.a.a.b.a.a vHC;
public int vHD = 0;
public a(byte[] bArr, b bVar) {
this.vHC = new f.a.a.b.a.a(bArr, bArr.length);
this.unknownTagHandler = bVar;
... |
package com.ssgmail.shubhammsoni.materialapp;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.github.mikephil.charting.charts.PieChart;
impo... |
package com.ibm.watson.developer_cloud.android.myapplication;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.speech.RecognizerIntent;
import android.speech.SpeechRecognizer;
import an... |
package net.createk.pdftool;
import java.io.File;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
if (args.length != 3 && args.length != 4) {
System.err.println("Something went wrong: can't find batches/report file arguments.");
System.exit(1);
}
Fi... |
package pages.moproDCC;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import moproDCC.moproDCC.baseFile;
public class projectPage extends baseFile {
@FindBy(xpath="//input[@id='txtSearch' and @value='Search' ]")
WebElem... |
package geeks;
import java.util.*;
import java.util.stream.Collectors;
/**
* Created by kreddy on 2/20/18.
*/
public class WordBoggleWorking {
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
int tc = sc.nextInt();
String[] dic;
char[][] boggle;
int dicLen, nRow... |
package com.canfield010.mygame.gui;
import com.canfield010.mygame.Main;
import com.canfield010.mygame.MapHolder;
import com.canfield010.mygame.actors.Actor;
import com.canfield010.mygame.actors.Villager;
import com.canfield010.mygame.item.Log;
import com.canfield010.mygame.item.tool.Axe;
import com.canfield010.mygame.... |
package util;
import static java.lang.Integer.max;
/**
* Created by SRIN on 7/19/2017.
*/
public class RedBlackTree<Value> {
final int RED = 1;
final int BLACK = 2;
public class Node {
Integer key;
Value value;
Node left, right, parent;
int color;
Node (Integer... |
package pro.eddiecache.kits.disk.indexed;
import java.io.Serializable;
public class IndexedDiskElementDescriptor implements Serializable, Comparable<IndexedDiskElementDescriptor>
{
private static final long serialVersionUID = 1L;
long pos;
int len;
public IndexedDiskElementDescriptor(long pos, int len)
{
t... |
package samples.jsr305.nullness;
import javax.annotation.Nullable;
public class AnnotatedReturnValue {
@Nullable
public Object method() {
return null;
}
}
|
/*
* 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.pizzahouse.service;
import com.pizzahouse.exceptions.ResourceNotFoundException;
import com.pizzahouse.model.Role;
import c... |
package tictactoe;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import static tictactoe.Square.*;
public class Board {
private final Map<Square, Player> takenSquares;
public Board() {
... |
package com.pcms.util;
public interface PcmsConst {
/**
* 生成文件存放地址
*/
String FILEPATH = "/usr/local/website/model";
//String FILEPATH = "D://model";
//String FILEPATH = "/Users/feng/html";
/**
* 结果页面存放地址
*/
String RESULTPATH = "/usr/local/website/result";
String EXCELPA... |
/**
* @version 1.00 2003-08-10
* @author S Kannan
*/
package com.mycom.calculator;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swi... |
package com.wit.getaride;
import com.parse.ParseUser;
import android.app.Activity;
import android.app.ActionBar.LayoutParams;
import android.content.Context;
import android.content.Intent;
import android.location.LocationManager;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
... |
package buttons.characters;
import buttons.multiTransitions.CharacterClick;
import engine.Menu;
import components.Button;
public class NyxButton extends Button {
public NyxButton(int x, int y, String text, int width, int height, String imagePath) {
super(x, y, text, width, height, imagePath);
}
@Override
pub... |
package com.tencent.mm.plugin.account.security.ui;
import android.os.Message;
import com.tencent.mm.sdk.platformtools.ag;
class MySafeDeviceListUI$3 extends ag {
final /* synthetic */ MySafeDeviceListUI eOK;
MySafeDeviceListUI$3(MySafeDeviceListUI mySafeDeviceListUI) {
this.eOK = mySafeDeviceListUI;
... |
public class Vanne extends Branchement {
public Vanne(Compteur compteur) {
super(compteur);
}
}
|
package org.metaborg.sunshine;
import java.util.Map;
import java.util.Map.Entry;
import org.metaborg.core.MetaborgException;
import org.metaborg.sunshine.arguments.MainArguments;
import org.metaborg.util.log.ILogger;
import org.metaborg.util.log.LoggerUtils;
import com.beust.jcommander.JCommander;
import com.beust.j... |
package com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.builder;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.BeschichtungType;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.BeschichtungsEinheitType;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.BeschichtungsVerfahrenEnum;
... |
package com.eluniversal.test.core.petitions;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.lang.refl... |
package com.example.userportal.domain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Collection;
@Data
@Accessors(chain = true)
@EqualsAndHashCode... |
package com.chuxin.family.resource;
import com.chuxin.family.R;
/**
* 颜色角色资源管理类
* @author wentong.men
*
*/
public class CxResourceColor {
private CxResourceColor() {}
private static CxResourceColor color;
/**
*
* @param flag true 男 , false 女
* @return
*/
public static CxResourceColor getI... |
package com.ojcgame.warp;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.poi.hssf... |
package com.google.android.gms.wearable.internal;
import android.net.Uri;
import android.os.IBinder;
import android.os.Parcel;
import android.os.ParcelFileDescriptor;
import com.google.android.gms.wearable.Asset;
import com.google.android.gms.wearable.ConnectionConfiguration;
import com.google.android.gms.wearable.Put... |
package com.guli.acl.service;
import com.guli.acl.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 服务类
* </p>
*
* @author dtt
* @since 2021-04-06
*/
public interface UserRoleService extends IService<UserRole> {
}
|
package unalcol.io;
import unalcol.service.ServiceCore;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
/**
* <p>Title: Write</p>
* <p>
* <p>Description: Writing methods for a given object</p>
* <p>
* <p>Copyright: Copyright (c) 2009</p>
* <p>
* <p>Company: Kunsamu</p>
*
* @a... |
package com.sushichet.sushichet.fragment;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.... |
import java.awt.*;
/**
* Created by IntelliJ IDEA.
* User: champ9
* Date: 08.Haz.2004
* Time: 16:18:06
* To change this template use File | Settings | File Templates.
*/
public class Opamp extends CircuitElement {
private double lines[][] = {
{-3, -1, -2, -1},
... |
package com.workshops.fightmode;
import java.util.List;
public interface PaoYingShupIntf {
public PaoYingShupType takeAction(List<PaoYingShupType> actionHist);
public String getEngineName();
}
|
package com.tencent.mm.wallet_core.f;
class a$a {
static a uXR = new a();
}
|
/*
* [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 te... |
package genscript.parse;
import genscript.parse.exceptions.ParseException;
import genscript.parse.exceptions.SyntaxExceptionEndOfBuffer;
import genscript.parse.exceptions.SyntaxExceptionNotAccepted;
import global.StringOps;
import scriptinterface.Index;
import java.io.BufferedReader;
import java.io.IOExcepti... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package co.th.aten.hospital.util;
import java.io.File;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.Clip;
import javax.sound.sampled.DataLine;
/**
*
* @author Aten
*/
public class Sound {
... |
package application.socket;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.Socket;
import application.utils.CloseUtil;
/**
* Send Class defined the thread sending the data
* @author Zetian Qin zxq876
*
*/
public class ... |
package org.sbbs.app.demo.dao;
import static org.junit.Assert.fail;
import java.util.List;
import org.hibernate.SessionFactory;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.sbbs.app.demo.model.DemoTreeNode;
import org.sbbs.base.dao.BaseDaoTestCase;
import org.sbbs.b... |
package pe.gob.trabajo.web.rest;
import pe.gob.trabajo.LiquidacionesApp;
import pe.gob.trabajo.domain.Docpresate;
import pe.gob.trabajo.repository.DocpresateRepository;
import pe.gob.trabajo.repository.search.DocpresateSearchRepository;
import pe.gob.trabajo.web.rest.errors.ExceptionTranslator;
import org.junit.Befo... |
package com.example.proiectdam_serbansorinaalexandra.Data;
import android.os.AsyncTask;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpUR... |
package LC400_600.LC450_500;
import org.junit.Test;
import java.util.*;
public class LC472_Concatenated_Words {
@Test
public void test() {
System.out.println(findAllConcatenatedWordsInADict(new String[] {"cat","cats","catsdogcats","dog","dogcatsdog","hippopotamuses","rat","ratcatdogcat"}));
}
... |
package DAO;
import java.util.List;
import org.hibernate.Session;
public class hibernateDAO {
public Session getCurrentSession()
{
return HibernateUtil.getSessionFactory().openSession();
}
public void saveObject(Object obj)
{
getCurrentSession().save(obj);
}
public void updateObject(Object obj)
{
getCur... |
package gdut.ff.mapper;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import gdut.ff.domain.File;
i... |
package ec.com.yacare.y4all.asynctask.ws;
import android.os.AsyncTask;
import android.provider.Settings;
import ec.com.yacare.y4all.activities.LoginActivity;
import ec.com.yacare.y4all.activities.SplashActivity;
import ec.com.yacare.y4all.activities.DatosAplicacion;
import ec.com.yacare.y4all.lib.webservice.O... |
package com.widera.petclinic.domain.repository;
import com.widera.petclinic.domain.entities.User;
/**
* Created by maviek on 21.10.16.
*/
public interface UserRepository {
User findUserByUsername(String username);
void save(User user);
}
|
package org.nyer.sns.renren;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import org.apache.commons.lang.StringUtils;
import org.apache.http.entity.mime.MultipartEntity;
import org.apache.http.entity.mi... |
//@@author A0141021H
package seedu.whatnow.logic.commands;
import java.io.IOException;
import java.util.Optional;
import java.util.logging.Logger;
import seedu.whatnow.commons.core.Config;
import seedu.whatnow.commons.core.LogsCenter;
import seedu.whatnow.commons.exceptions.DataConversionException;
import seedu.whatn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.