text stringlengths 10 2.72M |
|---|
package com.espendwise.manta.web.controllers;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.propertyeditors.StringTrim... |
package lookup;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.event.ForwardEvent;
import org.zkoss.zk.ui.util.GenericForwardComposer;
import org.zkoss.zul.Button;
import org.zkoss.zul.Combobox;
import... |
package com.cannapaceus.grader;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.time.LocalDate;
import java.util.ArrayList;
import static org.junit.jupiter.api.Assertions.*;
class CourseTest {
private Course course;
private Student student;
private Assignment ass... |
package mainModules;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.MenuItem;
import javafx.stage.Stage;
public class AboutController {
@FXML private Menu... |
package com.ttcscn.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.sprin... |
package com.slort.model;
public class EntityBase {
public EntityBase() {
}
public Object getNullValue() {
return null;
}
} |
package adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.ImageButton;
import android.widget.Tex... |
package managedbean;
import backingbean.reservation;
import db.dbConnection;
import javax.annotation.PostConstruct;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;
import java.io.Serializable;
import java.sql.ResultSet;
import java.sql.SQLExce... |
package com.koshcheyev.quadrangle.processing;
/**
* Created by Admin on 23.03.2017.
*/
public class SimpleIDCounter {
private static int id = 0;
public static int defineNewID(){
return id++;
}
}
|
package model;
import com.jfinal.plugin.activerecord.Model;
import java.util.List;
/**
* Created by reeco_000 on 2015/7/22.
*/
public class User extends Model<User>{
private int userid;
private String username;
private String password;
private List<Article> articles;
} |
package com.willowtree.camera;
import android.os.Bundle;
import android.util.Log;
import com.google.android.maps.*;
import com.vividsolutions.jts.geom.Coordinate;
import java.util.Iterator;
/**
* Created with IntelliJ IDEA.
* User: Omar Lake
* Date: 5/11/12
* Time: 9:58 AM
* To change this templat... |
package com.cs4125.bookingapp.services;
import com.cs4125.bookingapp.model.entities.Route;
import org.springframework.stereotype.Service;
import java.sql.Timestamp;
import java.util.List;
@Service
public interface RouteService {
String findAllRoutes(String startNodeName, String endNodeName, String dateTime);
... |
package sort_algorithm;
public class Challenging {
public static void main(String[] args){
int[] intArray = {20, -1, 3, -4, 32, 21, -5, 425, 10, 452, 31, -353, -43};
String[] stringArray = {"bcdef", "dbaqc", "abcde", "omadd", "bbbbb"};
// insertionSortWithRecursive2(intArray, intArray.length... |
import java.util.Scanner;
public class PostNeg_Main
{
/** Main method */
public static void main(String[] args) {
PostNegt result = new PostNegt();
result.setA(7);
result.setB(-2);
result.setNegative(true);
boolean result1 = result.posNeg(result.getA(), result.getB(), result.isNegative());
System.out.print... |
/*
* 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 sigu.controller;
import aplikasisigu.Home;
import java.io.IOException;
import sigu.model.modelBarang;
import sigu.model.modelK... |
/*
* Copyright 2008 Kjetil Valstadsve
*
* 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 agre... |
package bruteforcegen;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.Window;
public class ComponentTools {
public static void centerForm(Window window) {
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
Dim... |
package com.brainmentors.testengine.models.user;
import org.springframework.stereotype.Component;
@Component
public class User {
private String userid;
private String password;
private String name;
private String address;
private String phone;
private String url;
private String email;
public String getUserid... |
package com.fang.dailytask.LinkList;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Author: fangxueshun
* Description: 测试单链表
* Date: 2017/3/6
* Time: 18:25
*/
public class LinkListTest {
/*创建链表*/
@Test
public final void TestLinkList(){
LinkList linkList = new LinkList();
... |
package com.dinu;
public class FindTargetInMountainArray {
public static void main(String[] args) {
int[] arr= {2,5,7,8,9,11,33,55,66,45,23,22,19,12,3,0};
int target=12;
int peak=findPeak(arr);
/*
* System.out.println("peak : "+peak);
* System.out.println(binarySearch(arr,target,0,8));
*/
... |
package android.support.v7.view.menu;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.os.... |
package JZOF;
import java.util.ArrayList;
/**
* Created by yangqiao on 21/6/17.
*/
/*
输入n个整数,找出其中最小的K个数。
例如输入4,5,1,6,2,7,3,8这8个数字,
则最小的4个数字是1,2,3,4,。
*/
public class MinKNumber {
public static void main(String[] args) {
int[] numbers = new int[]{1, 4, 2, 8, 15, 7, 9, 10};
ArrayList<Integer> res... |
package com.tencent.mm.plugin.ipcall.a.c;
import android.os.Looper;
import com.tencent.mm.plugin.ipcall.a.a.c;
import com.tencent.mm.plugin.ipcall.a.i;
import com.tencent.mm.plugin.voip.model.v2protocal;
import com.tencent.mm.protocal.c.byy;
import com.tencent.mm.protocal.c.cah;
import com.tencent.mm.sdk.platformtools... |
package com.sanfriend.android_next_pulltorefresh;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.... |
package backjun.silver;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.util.Arrays;
import java.util.StringTokenizer;
public class Main_2805_나무자르기 {
static long max = 0;
static int[] namu;... |
package com.mmall.concurrency.example.singleton;
import com.mmall.concurrency.annotation.Recommend;
import com.mmall.concurrency.annotation.ThreadSafe;
/**
* @Auther: Mr.Dong
* @Date: 2019/3/1 10:20
* @Description: 枚举模式:最安全
*/
@ThreadSafe
@Recommend
public class SingletonExample7 {
private SingletonExample7(... |
package org.mge.ds.arrays;
/**
* Algorithm:
*
* Querying length of longest is fairly easy. Note that we are dealing with end
* elements only. We need not to maintain all the lists. We can store the end
* elements in an array. Discarding operation can be simulated with replacement,
* and extending a list is anal... |
/**
*
*/
package org.opentosca.planbuilder.type.plugin.mysqldatabase;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.opentosca.planbuilder.model.tosca.AbstractDeploymentArtifact;
import org.opentosca.planbuilder.model.tosca.AbstractImplementationArtifact;
import org.ope... |
package com.mikronia.pixpaint.component.dialogs;
import java.awt.BorderLayout;
import java.awt.Desktop;
import java.awt.event.WindowEvent;
import java.io.File;
import java.io.IOException;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.sw... |
package com.tencent.mm.ac;
import com.tencent.mm.ab.l;
public interface p$a<T extends l> {
void b(int i, int i2, String str, T t);
}
|
/*
* 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 javabankproject;
/**
*
* @author Novin Pendar
*/
public class JavaBankProject
{
/**
* @param ar... |
import java.util.Stack;
class StockSpanner {
static class Node {
int price;
int val;
public Node(int price, int val) {
this.price = price;
this.val = val;
}
}
Stack<Node> stack = new Stack<>();
public StockSpanner() {
}
public int n... |
package crawl;
import model.*;
import nlp.TagAnalyzer;
import scorer.CommentScorer;
import java.io.IOException;
import java.time.LocalDateTime;
import java.util.List;
public class BasicCommentQueryer extends CommentQueryer {
private TagAnalyzer analyzer;
private CommentCrawler crawler;
private CommentSc... |
package hk.com.kycheungal.girlsfrontline;
import android.content.ContentValues;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by fujitsu on 19/3/2017.
*/
public class DBHelper extends SQLiteOpenHelper {
public stat... |
import java.util.ArrayList;
import java.util.Scanner;
public class paskaita9 {
public static void main(String[] args) {
ArrayList<String> listas = new ArrayList<>();
boolean tikrinimas = true;
Scanner sc = new Scanner(System.in);
String inputString;
String didString = "";
while (listas.size() < 5) {
... |
package cn.edu.nju.se.lawcase.util;
import java.io.File;
public class GeneralTest {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
File file = new File("F:\\法律大全-资料\\法条库\\宪法类\\中华人民共和国国务院组织法-(1982-12-10).txt");
System.out.println(file.getAbsolu... |
package com.box.androidsdk.content.models;
import com.eclipsesource.json.JsonArray;
import com.eclipsesource.json.JsonObject;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java... |
package pl.luwi.series.distributed;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class TaskOrderedLine<P extends OrderedPoint> implements Serializable {
public Integer RDPID;
public Integer lineID;
public List<P> points;
private P star... |
/**
*
*/
package com.trs.om.rbac.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import org.apache.log4j.Logger;
import org.springframework.transaction.annotation.Transactional;
import com.trs.om.rbac.AuthorizationException;
import com.trs.om.rbac.IAuthorization;
import com.tr... |
package org.fuserleer.console;
import java.io.PrintStream;
import java.time.Instant;
import java.util.Collection;
import java.util.Date;
import java.util.stream.Collectors;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.Option;
import org.apache.commons.cli.Options;
import org.fus... |
package com.douane.dpworld.service;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Set;
import java.util.stream.Collector;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.... |
package com.sunzequn.sdfs.socket.client;
/**
* Created by Sloriac on 2016/12/16.
*/
public class KeepAliveHandler extends Thread {
private long lastTime;
private SockClient client;
public KeepAliveHandler(long lastTime, SockClient client) {
this.lastTime = lastTime;
this.client = client... |
package oop3;
public class Calculator {
int plus(int x, int y) {
System.out.println("int+int의 합 계산");
int result = x+y;
return result;
}
int plus(int x, int y, int z) {
System.out.println("int+int+int의 합 계산");
int result = x+y+z;
return result;
}
double plus(double x, double y) {
System.out.prin... |
package main.form.strategy;
import java.lang.reflect.Field;
public class NativeLabelNamingStrategy implements LabelNamingStrategy {
public String designName(Field field) {
return field.getName();
}
}
|
package org.a55889966.bleach.saran.tourguide;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.provider.MediaStore;
import androidx.annotation.NonNull;
import ... |
package edu.uci.ics.sdcl.firefly.report.predictive.spectra;
import java.util.Vector;
import edu.uci.ics.sdcl.firefly.Answer;
import edu.uci.ics.sdcl.firefly.Microtask;
/**
* Represents a line in the source code that under a fault localization investigation.
*
* @author adrianoc
*
*/
public class Line extends ... |
package com.zhouyi.business.core.service;
import com.zhouyi.business.core.dao.LedenEquipmentParetsMapper;
import com.zhouyi.business.core.model.LedenEquipmentParets;
import com.zhouyi.business.core.model.PageData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Serv... |
package InterviewTasks_Saim_Numbers;
import java.util.Arrays;
public class FibonnaciBoth {
public static void main(String[] args) {
//fibon(8);
fibonacci(10);
}
public static void fibon(int num){
int result = 0;
int num1 =0;
int num2 = 1;
for (int i = 1; i < num; i++) {
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package legaltime.controller;
import java.util.logging.Level;
import java.util.logging.Logger;
import legaltime.model.ClientAccountRegisterBean;
import legaltime.model.ClientAccountRegisterManager;
import legaltime.mod... |
package zhku.mvc.controller;
import zhku.mvc.annotation.Autowired;
import zhku.mvc.annotation.Controller;
import zhku.mvc.annotation.RequestMapping;
import zhku.mvc.service.MsgService;
import java.io.PrintWriter;
/**
* Created by ipc on 2017/8/26.
*/
@Controller("msg")
public class MsgController {
@Autowired(... |
package com.deltastuido.user;
import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;
/**
* The persistent class for the user_sns database table.
*
*/
@Entity
@Table(name = "user_sns")
@NamedQuery(name = "UserSns.findAll", query = "SELECT u FROM UserSns u")
public class UserSns implem... |
public class E27 {
public static void main(String[] args) {
String word = "Hello, World!";
int i = 0;
while (i < 1) {
word = word.replace("e", "u");
word = word.replace("o", "e");
word = word.replace("u", "o");
i++;
}
... |
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
public class Writer implements Runnable {
RWMonitor rwMonitor;
int writeIntervalInSecs;
public Writer(RWMonitor rwMonitor, int writeIntervalInSecs) {
this.rwMonitor = rwMonitor;
this.... |
/**
* Created by Jay Zhu, Jon Busa and Christian Murray
* Ver. Feb. 29 2016
*
* Jumper Questions
* a. If there is a rock or flower two spaces ahead of the jumper
* then it will not move, but turn by 90 degrees to the right.
*
* b. If the two spaces ahead does not exist, the jumper will not
* move... |
/*
* Copyright ApeHat.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... |
package Client;
import Controllers.Controller;
import Models.Usuario_model;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
public class ReceiverClient implements Runnable
{
private ObjectInputStream entrada... |
package com.tencent.mm.protocal;
final class c$ds extends c$g {
c$ds() {
super("launchApplication", "launchApplication", 260, true);
}
}
|
package com.littlecheesecake.redis.demo.repository;
import com.google.common.collect.Lists;
import com.sun.deploy.util.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.connection.RedisZSetCommands;
import org.springframework.data.redis.core.RedisCallback... |
package com.jt.manage.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import com.jt.common.mapper.SysMapper;
import com.jt.manage.pojo.Item;
public interface ItemMapper extends SysMapper<Item> {
/**
* 查询记录数
* @return
*/
... |
package src;
public class IfExprAST implements ExprAST {
private ExprAST condExpr, thenExpr, elseExpr;
public IfExprAST(ExprAST condExpr, ExprAST thenExpr, ExprAST elseExpr) {
this.condExpr = condExpr;
this.thenExpr = thenExpr;
this.elseExpr = elseExpr;
}
public ExprAST getCond() {
return condExpr;
}
... |
package org.study.regexp;
import java.util.function.Function;
import java.util.regex.MatchResult;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ReplaceFunction {
public static String replace(String searchString, String patternString, Function<MatchResult, String> mapping) {
... |
package com.walkerwang.algorithm.bigcompany;
import java.util.Scanner;
/**
* 算法基础-字符移位
*
* 小Q最近遇到了一个难题:把一个字符串的大写字母放到字符串的后面,各个字符的相对位置不变,且不能申请额外的空间。
你能帮帮小Q吗?
输入描述:
输入数据有多组,每组包含一个字符串s,且保证:1<=s.length<=1000.
输出描述:
对于每组数据,输出移位后的字符串。
输入例子:
AkleBiCeilD
输出例子:
kleieilABCD
* @author walkerwang
*
*... |
package com.ibeiliao.pay.api.provider;
import java.util.Date;
import java.util.List;
import com.ibeiliao.pay.api.ApiResultBase;
import com.ibeiliao.pay.api.dto.request.balance.OperateBalanceRequest;
import com.ibeiliao.pay.api.dto.response.balance.SchoolBalanceLogResponse;
import com.ibeiliao.pay.api.dto.response.bal... |
package com.youthchina.controller;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.youthchina.dao.tianjian.CommunityMapper;
import com.youthchina.service.user.JwtService;
import com.youthchina.util.AuthGenerator;
import org.junit.After;
import org.junit.Before;
import org.springframework.beans.factory.a... |
package com.awsp8.wizardry.Blocks;
import com.awsp8.wizardry.Info;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.util.IIcon;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
... |
package com.ToppInd;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
try {
// run AutoDimension.appref-ms and wait for process to finish
var autoDimensionProcess = new ProcessBuilder("cmd.exe", "/c", "AutoDimension.appref-ms").start();
... |
package com.tantransh.workshopapp.services;
public class ServiceData {
public static final String BASEURL = "http://ambspares.com/automobileworkshop/controller/";
public static final String CONTENTSERVICE = "ContentServiceInvoker.php";
public static final String JOBSERVICE = "JobServiceInvoker.php";
p... |
package p4;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import ja... |
package entity;
public class Patient {
private int id;
private String name;
private String epc;
private String record="";
public Patient(String name, String epc) {
this.id = -1; //-1:还没有id,这是非法id标识,只有当写入数据库的时候才会被创建
this.name = name;
this.epc = epc;
this.record="";
... |
/*
* Sonar Codesize Plugin
* Copyright (C) 2010 Matthijs Galesloot
* dev@sonar.codehaus.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/license... |
package sortimo.formularmanager.controller;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.Http... |
package deck;
import card.*;
import java.util.ArrayList;
public interface Deck {
/* Create the deck of cards */
public void create(int numberOfSuits, int numberOfRanks);
/* Shuffle the deck */
public void shuffle();
/* deal a card from the deck */
public Card deal();
public ArrayList<C... |
package DAO;
import java.io.ByteArrayInputStream;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.time.LocalDate;
import java.util.logging.Level;
import java.util.logging.Logger;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
i... |
package adp.group10.roomates.backend.model;
import java.io.Serializable;
/**
* Created by calle on 2017-04-23.
*/
public class AvailableItem implements Serializable {
private String Name;
public AvailableItem(){
// Required for Firebase
}
public AvailableItem(String name){
this.N... |
package com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.builder;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.AbstractVerbundType;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.DispositiveSperrListeType;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.FertigungszustandType;
i... |
package com.company.view;
import com.company.controller.Controller;
import com.company.model.MinesweeperCell;
import com.company.model.MinesweeperModel;
import javax.swing.*;
import java.awt.*;
public class GameField extends JPanel {
private static final int CELL_SIZE = 16;
private MinesweeperModel model;
... |
package com.example.ta;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.example.ta.API.ApiClient;
import c... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package unalcol.types.real.array;
import unalcol.math.metric.MetricVectorSpace;
import unalcol.math.metric.QuasiMetric;
/**
* @author jgomez
*/
public class MetricRealVectorSpace extends RealVectorSpace
imple... |
package com.compulynx.droid.view.activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.DividerItemDecoration;
import androidx.recycle... |
package com.sinotao.business.dao.entity;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* 检查信息表
* @author 佟磊
*/
@Table(name = "t_clinicar_check")
public class ClinicarCheck {
/**
... |
package com.akexorcist.myapplication;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import com.akexorcist.myapplication.common.BaseActivity;
import com.akexorcist.myapplication.manager.DialogManager;
import ... |
/*
* 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 br.cwi.crescer.repositorio;
import br.cwi.crescer.entity.Cidade;
import br.cwi.crescer.entity.Cliente;
import java.util.List;
... |
package com.dennistjahyadigotama.soaya.fcm;
/**
* Created by Denn on 7/21/2016.
*/
public class a {
/*
FirebaseMessaging.getInstance().subscribeToTopic("news");
Log.d(TAG, "Subscribed to news topic");
Log.d(TAG, "InstanceID token: " + FirebaseInstanceId.getInstance().getToken());
*/
}
|
package database.entity;
import javax.persistence.Entity;
/**
* Created by csvanefalk on 18/11/14.
*/
@Entity
public class Category extends AbstractEntity {
private String title;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
... |
/*
* 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.tt.miniapp.media;
import com.tt.miniapp.media.base.MediaEditor;
import com.tt.miniapp.media.impl.MediaEditImpl;
public class ImplInjector {
public static MediaEditor getMediaEditImpl() {
return (MediaEditor)new MediaEditImpl();
}
}
/* Location: C:\Users\august\Desktop\ti... |
package org.mge.general;
import java.util.HashMap;
public class KLengthMaNumber {
public static void main(String[] args) {
HashMap<String, Integer> map = new HashMap<String, Integer>();
map.put(null, 1);
}
}
|
package com.tomy.rest.store.logic;
import com.tomy.rest.entity.User;
import com.tomy.rest.store.UserStore;
import org.springframework.stereotype.Repository;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
@Repository
public class UserStoreLogic implements Us... |
package com.smxknife.java2.thread.waitnotify;
/**
* @author smxknife
* 2019/9/24
*/
public class _Run_wait_notify {
public static void main(String[] args) {
Obj obj = new Obj();
new Thread(() -> obj.doWait(), "th-1").start();
new Thread(() -> obj.doNotify(), "th-2").start();
System.out.println("从输出日志来看,... |
package com.tencent.mm.plugin.fts.ui;
import android.view.View;
import com.tencent.mm.plugin.fts.a.d.a.a;
import com.tencent.mm.plugin.fts.a.d.e;
import com.tencent.mm.plugin.fts.a.d.e.b;
import com.tencent.mm.sdk.platformtools.ag;
import java.util.HashSet;
public final class l extends d implements b {
private ag... |
package com.diozero.api;
/*-
* #%L
* Organisation: diozero
* Project: diozero - Core
* Filename: SerialDeviceInterface.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
* %%
* ... |
package com.myblog.version3.entity.Form;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
public class Register implements Serializable {
@NotBlank(message = "电话号码不能为空")
@Pattern(regexp = "^1(3|4|5|7|8)\\d{9}$", message = "请输入正确的手机号")
... |
// $Id: strcat.java2.java,v 1.4 2001/01/31 03:38:54 doug Exp $
// http://www.bagley.org/~doug/shootout/
package com.harris.mobihoc;
import java.io.*;
import java.util.*;
public class strcat implements Runnable{
private boolean contin = false;
private int n = 10;
public strcat(boolean contin, int n){
... |
interface X{
void foo();
}
interface Z extends X{
void hoge();
}
abstract class A implements Z{
public void foo(){
hoge();
}
}
class B extends A{
public void foo(){
System.out.println("A");
}
public void hoge(){
System.out.println("B");
}
}
class Test{
public static void main(Sttring[] ... |
import java.util.*;
import java.io.*;
public class cf496d{
public static void main(String [] args) throws IOException{
InputReader in = new InputReader("cf496d.in");
String s = in.next();
int [][] arr = new int[s.length() + 1][3];
for(int i = 0; i < s.length(); i++){
int num = s.charAt(i) - 48;
int... |
import java.util.*;
import java.math.*;
public class Main{
public static void main(String[] args){
Scanner lec = new Scanner(System.in);
BigInteger aa = new BigInteger("100000000");
System.out.println("entro");
while(true){
System.out.println(aa);
if(aa.isProbablePrime(10)){
System.out.println(aa);
... |
package com.jiw.dudu;
import com.jiw.dudu.design.optimization.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
/**
* @Description ColaStrategyTest
* @Author pangh
* @Date 2023年07月13日
... |
package com.smartwerkz.bytecode;
import static org.junit.Assert.*;
import java.lang.reflect.Modifier;
import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtNewMethod;
import org.junit.Test;
import com.smartwerkz.bytecode.controlflow.FrameExit;
import com.smartwerkz.bytecode.primitives.JavaObject... |
package io.cobrowse.reactnative;
import android.view.View;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.ViewGroupManager;
import java.util.WeakHashMap;
import androidx.annotation.NonNull;
public class RedactedViewManager extends ViewGroupManager<RedactedView> {
s... |
package com.hs.doubaobao.bean;
/**
* Created by zht on 2016/11/17.
*/
public class PhotoInfo {
public String url;
public int w;
public int h;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.