text stringlengths 10 2.72M |
|---|
package exception;
public class UserNotAuthorizedException extends RuntimeException {
public UserNotAuthorizedException() {
super("User does not have permission to edit this post");
}
}
|
/**
*
*/
package com.ssm.service;
import java.util.List;
import com.ssm.pojo.User;
/**
* @author 作者
* @data 2019年7月31日
*/
public interface UserService {
List<User> getAllUser() throws Exception;
}
|
package xu.qiwei.com.jpushtest;
import android.os.Bundle;
import android.os.HandlerThread;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import java.net.DatagramSocket;
import java.net.SocketException;
import java.util.Random;
import xu.qiwei.com.jpushtest.h... |
import java.util.*;
public class Permutation {
public static boolean check(String input1, String input2) {
HashMap<Character, Integer> map = new HashMap<>();
char[] charInput1 = input1.toCharArray();
char [] charInput2 = input2.toCharArray();
for (int i = 0; i < charInput1.length; i... |
/**
* Data Transfer Objects.
*/
package io.jh.service.dto;
|
package com.tencent.mm.ui.contact;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.base.MMSlideDelView.f;
class ChatroomContactUI$10 implements f {
final /* synthetic */ ChatroomContactUI uiv;
ChatroomContactUI$10(ChatroomContactUI chatroomContactUI) {
this.uiv = chatroomContactUI... |
package phu.tran170204.assignment2.test;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import phu.tran170204.assignment2.model.test.CasualTest;
import phu.tran170204.assignment2.model.test.LecturerTest;
import phu.tran170204.assignment2.model.test.StaffTest;
@RunWith(Suite.class)
@Suite.SuiteC... |
package io.peppermint100.server.repository;
import io.peppermint100.server.entity.Item;
import org.dom4j.tree.AbstractEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface ItemRepository<Entity extends AbstractEntity> exten... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Monopoly;
import java.util.ArrayList;
/**
* Armazena informacoes do tabuleiro e informacoes gerais dos lugares
* @author Marcus
*/
public class Tabuleiro extends ArrayList<Lugar>{
/**
* Os... |
package chat.signa.net.pingfang.logging.util;
import android.app.Activity;
import android.content.DialogInterface;
import android.support.v7.app.AlertDialog;
import android.widget.DatePicker;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TimePicker;
import android.widget.Toa... |
package com.autohome.tesla.proxy.storm.tools;
/**
* Created by wangsheng on 14/10/30.
*/
public final class Z {
public final static String ZK_HOST="hadoop-lq-43:2181,hadoop-lq-44:2181,hadoop-lq-48:2181";
public final static String MYSQL_URL = "jdbc:mariadb://192.168.252.50:3306/perf";
public final stati... |
package com.mysender;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public class MySender extends Activity {
private static final String MyAction1 = "com.mybroadcast.action.Actio... |
package lotto.step3;
import lotto.step3.domain.*;
import lotto.step3.view.InputView;
import lotto.step3.view.ResultView;
public class LottoController {
public static void main(String[] args) {
int money = InputView.inputLottoPrice();
LottoShop lottoShop = new LottoShop();
Lotteries lotteri... |
package androidassignment.crossover.com.androidassignment;
/**
* Created by srinivas on 09-12-2016.
*/
public class MongoQueryBuilder {
public String getDatabaseName() {
return "lessen";
}
public String getApiKey() {
return "aMhcwsC-xs68LzUSUrhyktg2wGnpHpb-";
}
public String getB... |
package com.headfirst.designpatterns.factory.factory;
public class CaliforniaStyleCheesePizza extends Pizza{
public CaliforniaStyleCheesePizza(){
name = "California Style Deep Dish Cheese Pizza";
dough = "California Dough";
sauce = "California Sauce";
toppings.add("California Chees... |
package mas2019.group8.help_components;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
public class TKI {
public static ArrayList<Double> oppo... |
package src.facility_use;
public class InspectionImpl implements Inspection {
private String inspectionDate;
//Getters and Setters-----------------------------------------------------------------------------------------------------------------
public String getInspectionDate(){
return inspectionDa... |
package com.test.singtel;
import com.test.singtelInterface.CommonFeatures;
public class Fish extends Animal implements CommonFeatures{
public void swim() {
System.out.println("Can Swim");
}
public void sing() {
System.out.println("cannot sing");
}
@Override
void walk() {
System.ou... |
package com.payrespect.gametuorial;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;... |
package com.utils.util.encrypt;
import com.utils.util.StringUtils;
import java.nio.charset.Charset;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class Md5Utils {
private static Charset charset = Charset.forName("UTF-8");
public static byte[] md5(byte[] array) {
t... |
package tez.levent.feyyaz.kedi.activities;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.annotation.NonNull;
import android.support.design.widget.Snackbar;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.ap... |
public class Student
{
private String studentNo;
private String name;
private String surname;
private GradeInput[] grades = new GradeInput[5];
private byte lastIndexOfGrade = 0;//to keep track of GradeInput's in grades;
public Student()
{
}
public Student(String studentNo, String name, String surname)
... |
package LC0_200.LC0_50;
/**
* 2020-09-20 7:28 PM at Hangzhou
*/
public class LC38_Count_And_Say {
public String countAndSay(int n) {
String res = "1";
for (int i = 1; i < n; i++)
res = getNext(res);
return res;
}
public String getNext(String cur) {
int count... |
package com.santhosh.model;
import javax.persistence.*;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
@Entity
@Table(name="directtransaction")
public class Dtransaction {
@Id
private int sno;
private String custid;
private String sourceaccount;
private String... |
package com.jd.validator.bean;
import com.jd.validator.service.ValidatorService;
import lombok.extern.slf4j.Slf4j;
import org.apache.jmeter.config.Arguments;
import org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient;
import org.apache.jmeter.protocol.java.sampler.JavaSamplerContext;
import org.apache.jm... |
package com.jovin.services;
import com.jovin.dao.IssueUpdateDao;
import com.jovin.models.IssuesUpdates;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Created ... |
package teabar.ph.com.teabar.activity;
import android.content.Context;
import android.os.Bundle;
import android.support.design.widget.TabLayout;
import android.view.Gravity;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import java.util.ArrayList;
import java.util.List;... |
package helloworld;
import java.util.List;
public class LinkedList {
//链表反转 (iteration)
public ListNode reverse(ListNode head){
ListNode prev = null;
ListNode curr = head;
ListNode next = null;
while(curr != null){
next = curr.next; // 记录下一个被翻转的节点。
curr.next = prev;// 翻转箭... |
package com.tencent.tinker.lib.service;
import android.annotation.TargetApi;
import android.app.job.JobParameters;
import android.app.job.JobService;
import com.tencent.tinker.lib.f.a;
@TargetApi(21)
public class TinkerPatchService$JobServiceRunner extends JobService {
private a vss = null;
public boolean on... |
/**
* Copyright (c) 2016, 指端科技.
*/
package com.rofour.baseball.controller.manager;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.Log... |
package com.punbook.defaultlayout;
import android.app.Activity;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.MenuItem;
/**
* Created by admin on 5/19/2015.
*/
public class DoubleDetailActivity extends ActionBarActivity {
@Override
p... |
package stores.core.beans;
import java.io.Serializable;
public class StoresBean implements Serializable {
private String imagePath;
private String cta;
private String position;
private String delay;
public String getImagePath() {
return imagePath;
}
public void setImagePath(Strin... |
package com.voksel.electric.pc.ui.transaction;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.WrongValueException;
import org.zkoss.zk.ui.event.Ev... |
package my.app.platform.service.File;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import javax.servlet.http.HttpServletResponse;
import java.io.*;
/**
* @author 夏之阳
* 创建时间:2016-03-27 16:35
* 创建说明:下载文件服务
*/
@Service
public class DownLoadFileService {
... |
package hibernate.jpa.tableClass;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
public class Drums {
@Id
private int drumsId;
private String description;
private String brand;
private int price;
public Drums() {
}
public Drums(String description, String brand, int price) {
sup... |
/*
* 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 writing, software distributed under t... |
package CoreJava;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class BufferedReaderClass {
public static void main(String[] args) throws IOException {
// Instantiate BufferedReader object
BufferedReader reader = new BufferedReader(new Inpu... |
import java.io.Serializable;
@SuppressWarnings("serial")
public class Lecturer implements Serializable
{
private String name;
private String category;
private boolean freeAdvertisement;
private String email;
public Lecturer(String name, String category, String email,
boolean freeA... |
package com.hadoop;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.StringTokenizer;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
... |
package com.mysql.cj.conf.url;
import com.mysql.cj.conf.ConnectionUrl;
import com.mysql.cj.conf.ConnectionUrlParser;
import com.mysql.cj.conf.HostInfo;
import com.mysql.cj.conf.PropertyKey;
import com.mysql.cj.util.StringUtils;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.... |
package nl.themelvin.questlib.abstracts;
import nl.themelvin.questlib.reward.Reward;
import org.apache.commons.lang.math.NumberUtils;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList;
import org.bukkit.event.Listener;
import org.bukkit.event.bl... |
package com.framework.controller;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.servlet.... |
package org.ah.minecraft.armour.utils;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import org.bukkit.ChatColor;
import org.bukkit.Color;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Particle;
import org.bukkit.Sound;
import org.bukkit.attribute.Attribute;
i... |
package server.server;
import com.google.gson.JsonObject;
import lombok.experimental.PackagePrivate;
import org.joda.time.DateTime;
import org.joda.time.Period;
import org.joda.time.format.PeriodFormatter;
import org.joda.time.format.PeriodFormatterBuilder;
import java.io.PrintWriter;
@PackagePrivate
public class Co... |
@javax.xml.bind.annotation.XmlSchema(namespace = "http://webservices.lk/")
package lk.webservices;
|
/*
* 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 editor;
import java.awt.Color;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileOutputStream;... |
package one.kii.summer.beans.utils;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import org.springframework.util.StringUtils;
import java.io.IOException;
import java.util.Collections;
import java.util.HashMap;
i... |
package com.qiyuesuo.cloud.shiro.config;
import java.util.LinkedHashMap;
import java.util.Map;
import javax.servlet.Filter;
import org.apache.shiro.mgt.SecurityManager;
import org.apache.shiro.spring.web.ShiroFilterFactoryBean;
import org.apache.shiro.web.mgt.DefaultWebSecurityManager;
import org.springframework.con... |
package strings;
public class ReverseWordsInSentence {
private String str;
public ReverseWordsInSentence(String str) {
this.str=str;
}
public String performInPlace(){
if(str==null || str.equals(""))
return str;
StringBuilder sb = new StringBuilder(str);
int start=0;
for(int i=0;i<sb.length();i++){
... |
package project;
/**
* $Log$
* $Id$
* $Revision$
*/
import java.io.Serializable;
import java.util.Date;
/**
* Contains information of a single vending machine purchase
* @author FTM
*/
public class DataPoint implements Serializable{
//Name of the item variety
private String _name;
//System ID for the it... |
package com.dm.hibernate.strategy;
import java.util.List;
import org.hibernate.Hibernate;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.cfg.Configuration;
import org.hibernate.service.ServiceRegistry;
import org.hibernate.service.Se... |
package org.openntf.tiles.config;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* Information about database server and path.
*
* @author Mariusz Jakubowski
*
*/
public final class DBPath implements Serializable {
private static final long se... |
package user_management;
import user_management.security.Password;
/**
* @TODO
* Simple POJO like the previous
* This class should just consist of fields , getters and setters
* ToString() method will be overridden here with custom output (name associated with email)
* Equals method will also be overridden to ch... |
package GUI.BankTellerWindow;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import javax.swing.BoxLayout;
import java.awt.event.*;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFormattedT... |
package com.seemoreinteractive.seemoreinteractive.Model;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Comparator;
import java.util.Date;
public class UserMyOffers implements Serializable {
private static final long serialVersionUID = 5L;
private int id;
private St... |
package com.google.android.exoplayer2;
import com.google.android.exoplayer2.source.f;
import com.google.android.exoplayer2.w.a;
import com.google.android.exoplayer2.w.b;
final class n {
final b acM = new b();
final a acN = new a();
w acU;
int repeatMode;
public final f.b d(int i, long j) {
... |
package ir.ssatari.springcommons.controller;
import ir.ssatari.springcommons.model.response.message.MessagesListResponse;
import ir.ssatari.springcommons.service.MessageService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.http.MediaType;
import org.springframew... |
package inter;
/**
*
* @author unbel
* 每个语句构造被实现为Stmt的一个子类
*/
public class Stmt extends Node {
public Stmt(){}
public static Stmt Null =new Stmt();
public void gen(int b,int a){}
int after=0;
public static Stmt Enclosing=Stmt.Null;
}
|
import Classes.EntityA;
import Classes.EntityB;
import javax.swing.*;
import java.awt.*;
import java.awt.event.KeyEvent;
import java.awt.image.BufferStrategy;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.LinkedList;
public class Game extends Canvas implements Runnable {
priva... |
package org.ms.iknow.persistence.repo;
import org.ms.iknow.core.type.Neuron;
import org.ms.iknow.core.type.Synapse;
import java.util.List;
public interface Repository {
/**
* This method persists a {@link Neuron}.
*/
public Neuron persist(Neuron neuron);
/**
* This method persists the g... |
package controller;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@ComponentScan(basePackages = { "controller" })
public class WebServiceApp {
... |
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.GridBagLayout;
import com.jgoodies.forms.layout.For... |
package la.foton.treinamento.entities;
import la.foton.treinamento.util.Mensagem;
import la.foton.treinamento.util.NegocioException;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name = "ContaPoupanca")
public class ContaPoupanca extends Conta {
... |
import java.util.Scanner;
public class app_type_average {
public static void main(String[] args)
{
Scanner keyboard = new Scanner(System.in);
System.out.print("Enter num: ");
int num = keyboard.nextInt();
System.out.print("Divider: ");
int div = keyboard.nextInt();
... |
package com.comsoftacuity.dto;
import com.comsoftacuity.entity.AccountType;
public class Accountdto {
private Integer id;
private String code;
private Boolean bookmarks;
private String description;
private AccountType accountType;
public Accountdto() {
}
public Accountdto(Integer id... |
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
public class MatchingEngine {
OrderBook book = new OrderBook();
Order order1=new Order("SeLlAtMaRkEtOpEn","GOOG",10,10.11,true);
public void runThreads() {
ExecutorService executor = Executors... |
/*
* 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 areaperimetro;
/**
*
* @author ESTUDIANTE
*/
public class Rectangulo4 extends Figura4 {
private float bas... |
package device;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.UriBuilder;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.WebResource;
import com.sun.jersey.api.client.config.ClientConfig;
import com.sun.jersey.api.client.config.DefaultClientConfig;
public class RequestJson {
p... |
/*
* 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 modle;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.criterion.Restrictions;
import pojo.TradeNatu... |
package com.tencent.mm.ak.a.a;
import android.graphics.drawable.Drawable;
import com.tencent.mm.ak.a.c.b;
import com.tencent.mm.ak.a.c.o;
import com.tencent.mm.modelsfs.SFSContext;
import com.tencent.mm.sdk.platformtools.ag;
public final class c {
public final float alpha;
public final String bKg;
public ... |
/*
* 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 Homework6;
/**
*
* @author Andrei
*/
public interface Usable {
/**
* Methode that requires implemen... |
/*
* @autor: Mentor Bibaj
* @tema: PageRank Algorithm - The Mathematics of Google
* @komente: Bazuar ne shembullin e cekur ne dokumentin e derguar
* */
import javax.swing.*;
public class PageRank{
public static double[] produkti(double [][] A, double[] v){
double[] res = new double[v.length];
double temp;
... |
package com.xu.easyweb.action.guide;
import com.google.gson.reflect.TypeToken;
import com.xu.easyweb.action.BaseAction;
import com.xu.easyweb.entity.guide.Task;
import com.xu.easyweb.entity.guide.Ywlb;
import com.xu.easyweb.entity.guide.Ywlz;
import com.xu.easyweb.util.EntityMap;
import com.xu.easyweb.util.extjs.filte... |
package ru.kappers.service.impl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ru.kappers.model.PersonalInfo;
import ru.kappers.model.User;
import ru.kappers.repository.PersonalInfoRepository;
import ru.kappers.ser... |
package org.qizuo.cm.utils;
/**
* @author: fangl
* @description: 上传工具类
* @date: 9:10 2019/2/12
*/
public class UploadUtil {
}
|
package br.com.treinar.financeiro;
public class SegundaClasse {
public static void main(String[] args) {
System.out.println("Classe 2!!");
}
}
|
package com.java.eight;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.function.Consumer;
public class Java1_8 {
public static void main(String[] args) {
ArrayList<String> al=new ArrayList<>();
al.add("vinod");
al.add("hari");
al.add("madhu");
al.add("naveen");
Itera... |
package io.snapcard.exchange;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.snapcard.exchange.mongo.BitTicker;
import io.snapcard.exchange.mongo.BitTickerRepository;
import io.snapcard.exchange.rx.BitExchange;
import io.snapcard.exchange.rx.OnS... |
/*
* [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... |
/*
* 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 ... |
package com.groovybot.persistence.impl;
import javax.jdo.PersistenceManager;
import com.google.inject.Singleton;
import com.groovybot.model.ScriptExecutionEntity;
import com.groovybot.model.ScriptExecutionType;
import com.groovybot.persistence.PMF;
import com.groovybot.persistence.ScriptExecutionEntityDao;
@Singleto... |
package phl.outils.testsNumeriques;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
class testNumericTest {
@Test
void testEstEntier() {
boolean a = new testNumeric().estEntier("12");
as... |
package com.ehootu.park.model;
import java.io.Serializable;
import java.util.Date;
/**
* 法制宣传教育工作记录
*
* @author yinyujun
* @email
* @date 2017-09-21 10:21:55
*/
public class EducationalWorkEntity implements Serializable {
private static final long serialVersionUID = 1L;
//id
private String id;
//所属派出所... |
package com.sharpower.service;
import java.util.Map;
import com.sharpower.entity.Fun;
import com.sharpower.entity.Variable;
import com.sharpower.scada.exception.PlcException;
public interface PlcDataReader {
public Map<Variable,Object> readDataAll(Fun fun) throws PlcException;
}
|
/*
* 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 antrian.constant;
/**
*
* @author ZuhdanNur
*/
public final class Constant {
public static final String TABLE_TELLER = ... |
package com.tencent.mm.plugin.ipcall.ui;
import android.view.View;
import android.view.View.OnClickListener;
class g$5 implements OnClickListener {
final /* synthetic */ g kwi;
g$5(g gVar) {
this.kwi = gVar;
}
public final void onClick(View view) {
g.g(this.kwi);
}
}
|
package guru.osgi.simple.framework;
import java.io.InputStream;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
import org.osgi.framework.BundleException;
public ... |
package com.renren.api.connect.android.demo.activity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import com.renren.api.connect.androi... |
package com.tt.miniapp.maplocate;
import android.content.Context;
import com.tt.option.m.a;
public interface HostOptionMapLocateDepend {
ILocator createLocateInstance(Context paramContext);
a createMapInstance();
}
/* Location: C:\Users\august\Desktop\tik\df_miniapp\classes.jar!\com\... |
package com.tencent.tinker.a.b.a;
import com.tencent.tinker.a.c.b;
public abstract class a {
final b vpS = new b();
public int vpT = 0;
public final int cGQ() {
int indexOfKey = this.vpS.indexOfKey(this.vpT);
if (indexOfKey < 0) {
return this.vpT;
}
return this... |
package com.zhujinghui.novel.controller;
import com.zhujinghui.novel.service.AuthorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;
/**
* @Description: 作者控制器
* @Author: jinghui.zhu
* @CreateDate: 2019/2/27 22:54
* ... |
package com.example.submissiondicoding;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
imp... |
package cn.codef1.apidemo.demo.app;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.ComponentName;
import android.content.Intent;
import android.content.ServiceConnection;
import android.graphics.Color;
import android.os.Bundle;
import android.os.IBinder;
import android.suppor... |
package com.beiyelin.commonsql.bean;
import com.beiyelin.commonsql.jpa.BaseTreeEntity;
import lombok.Data;
/**
* @Author: Newmann HU
* @Description: Tree模型中,移动node
* 当前的node总是放到目标node之前,并且和目标node处在同一个层级level
*
* @Date: Created in 22:35 2018-07-14
*/
@Data
public class TreeNodeMove<T extends BaseTreeEntity> {
... |
public class ConcreteBuilder extends Builder {
Product product = new Product();
@Override
public void setPart() {
}
@Override
public Product buildProduct() {
return product;
}
}
|
package com.tencent.mm.plugin.appbrand.jsapi.share;
import android.content.Intent;
import com.tencent.mm.plugin.appbrand.config.AppBrandSysConfig;
import com.tencent.mm.plugin.appbrand.ipc.AppBrandMainProcessService;
import com.tencent.mm.plugin.appbrand.j;
import com.tencent.mm.plugin.appbrand.k;
import com.tencent.m... |
/**
*
*/
package com.hermes.ah3.jdbc;
import java.util.Map;
/**
* Ah3 driver中使用到的常量定义
* @author wuwl
*
*/
public class Ah3DriverConstant {
//Hermes Server 的默认地址
public static String DB_DEFAULT_HOST = "localhost";
//Hermes Server 的默认端口
public static String DB_DEFAULT_PORT = "8087";
public static String J... |
package com.hcl.dmu.demand.controller;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.... |
/*
* [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 jupiterpa.purchasing;
import jupiterpa.util.EID;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data @AllArgsConstructor
public class PurchaseOrder {
EID purchaseOrderId;
EID salesOrderId;
int partner;
EID materialId;
int quantity;
double amount;
String currency;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.