text stringlengths 10 2.72M |
|---|
package com.rms.risproject.conf;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
@Configuration
@ImportResource(locations={"classpath:spring/spring-*.xml"})
public class XmlBeanConfig {
}
|
package com.todo.persistence.query;
import com.todo.model.User;
import com.todo.persistence.entity.TodoEntity;
import com.todo.persistence.entity.UserEntity;
import com.todo.persistence.repository.UserRepository;
import com.todo.util.EntityConverter;
import org.springframework.beans.factory.annotation.Autowired;
impo... |
package cn.zhoudbw.mapper;
import cn.zhoudbw.model.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
/**
* @author zhoudbw
* 使用mybatis整合,就需要dao层的支持了
* @Repository 声明该类是DAO层
* <p>
* 由于是mybatis的整合,所以dao层命名为mapper。实际上是一样的。
*/
//@Repository
... |
package com.tencent.mm.plugin.expt;
import com.tencent.mm.bt.h.d;
import com.tencent.mm.kernel.api.c;
import com.tencent.mm.kernel.b.f;
import com.tencent.mm.kernel.b.g;
import com.tencent.mm.kernel.e;
import com.tencent.mm.platformtools.u;
import com.tencent.mm.platformtools.u.a;
import com.tencent.mm.plugin.expt.roo... |
package pages.header;
import com.codeborne.selenide.Condition;
import com.codeborne.selenide.SelenideElement;
import pages.login.LoginPageObject;
import pages.signup.SignupPageObject;
import static com.codeborne.selenide.Selenide.$;
import static com.codeborne.selenide.Selenide.page;
public class NavigationPageObjec... |
package com.bowlong.concurrent.async;
import java.sql.ResultSet;
import java.util.concurrent.Callable;
public abstract class CallableForResultSet implements Callable<ResultSet> {
@Override
public ResultSet call() throws Exception {
try {
return exec();
} catch (Exception e) {
e.printStackTrace();
retu... |
package com.semantyca.officeframe.modules.organizations.model;
import com.semantyca.nb.core.dataengine.jpa.model.SimpleReferenceEntity;
import com.semantyca.nb.core.user.IUser;
import com.semantyca.nb.modules.administrator.model.User;
import com.semantyca.officeframe.modules.organizations.init.ModuleConst;
import com... |
package com.prashanth.sunvalley.service;
import com.prashanth.sunvalley.Model.GradeDTO;
import com.prashanth.sunvalley.Model.StudentDTO;
import com.prashanth.sunvalley.domain.Grade;
import java.util.List;
public interface GradeService {
List<GradeDTO> getAllGrades();
GradeDTO getGradeById(Long id);
Grade... |
package yao.bean;
public class WordMeaning
{
private int wordMeaningID;
private int wordID;
private int meaningID;
private String wordname;
private String meaningName;
private String englishwordName;
private String languageName;
public WordMeaning()
{
}
public int getWo... |
package com.tencent.mm.ui.chatting.g;
import android.database.Cursor;
import com.tencent.mm.kernel.g;
import com.tencent.mm.model.au;
import com.tencent.mm.model.c;
import com.tencent.mm.model.s;
import com.tencent.mm.plugin.messenger.foundation.a.i;
import com.tencent.mm.sdk.platformtools.ah;
import com.tencent.mm.sd... |
package com.tencent.mm.g.c;
import android.content.ContentValues;
import android.database.Cursor;
import com.tencent.mm.sdk.e.c;
public abstract class fe extends c {
private static final int cVE = "RecordId".hashCode();
private static final int cVF = "AppId".hashCode();
private static final int cVG = "App... |
package com.scf.skyware.calendar.service;
import java.util.ArrayList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.scf.skyware.calendar.dao.CalendarDAO;
import com.scf.skyware.calendar.domain.Calendar_temp;
@Service
public class ... |
package com.sinotao.business.dao.entity;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
@Table(name = "t_clinicar_item")
public class ClinicarItem {
/**
* 检查项目编号
*/
@Id
private String code;
/**
* 检查项目名称
*/
private String name;
/**
* 是否启用
*/
privat... |
package br.inf.ufg.mddsm.broker.state;
/**
* Created by IntelliJ IDEA.
* User: gustavo
* Date: Aug 3, 2012
* Time: 5:29:30 PM
* To change this template use File | Settings | File Templates.
*/
public interface StateChangeListener {
void registerCreated(StateHolder register);
void registerDestroyed(StateHolder ... |
package orionlofty.com.apps.gadspracticeproject;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;
import androidx.fragment.app.Fragment;
import androidx.recyclerv... |
package de.jmda9.core.util.xml.jaxb;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import javax.xml.XMLConstants;
import javax.xml.bind.Marshaller;
import javax.xml.bind.PropertyException;
import javax.xml.validation.SchemaFactory;
import org.apache.logging.log4j.Log... |
package crossing.preProcessor;
import bplusTree.BPlusTree;
import crossing.MatchingContext;
import crossing.MatchingUtil;
import data.ExecutionReportData;
import leafNode.OrderEntry;
import leafNode.OrderList;
import leafNode.OrderListCursor;
import orderBook.OrderBook;
import sbe.msg.ExecutionTypeEnum;
import sbe.msg... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package unalcol.types.collection.tree.bplus;
/**
* @author jgomez
*/
public interface BPlusInnerNode<T> extends BPlusNode<T> {
public BPlusInnerNode<T> newInstance(BPlusNode<T>[] nodes, int n);
// Next metho... |
package customer;
public class Osterhase extends Hase {
public Osterhase(String name) {
super(name);
// TODO Auto-generated constructor stub
}
public void ostereier_verteilen()
{
System.out.println(this.getName() + " versteckt blaue Eier ...");
}
@Override
public void hoppeln() {
Syst... |
package com.tencent.mm.plugin.appbrand.jsapi.f;
import com.tencent.mm.plugin.appbrand.jsapi.h;
class i$b extends h {
private static final int CTRL_INDEX = 142;
private static final String NAME = "onMapMarkerClick";
private i$b() {
}
/* synthetic */ i$b(byte b) {
this();
}
}
|
/*
* LumaQQ - Java QQ Client
*
* Copyright (C) 2004 luma <stubma@163.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any lat... |
package ru.otus.spring.dao;
import au.com.bytecode.opencsv.CSVReader;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.io.Resource;
import org.springframework.stereotype.Repository;
import ru.otus.spring.domain.Question;
import java.io.IOException;
import java.io.InputStreamRe... |
package com.iuce.control;
public interface ILoginControl {
public boolean controlPassword(String password);
public boolean resetPassword(String password);
public boolean savePassword(String password);
public boolean controlFirstOpen();
public boolean changePassword(String currentPassword, String newPassw... |
package utils;
import org.bytedeco.javacv.Frame;
import org.bytedeco.javacv.Java2DFrameConverter;
import org.bytedeco.javacv.OpenCVFrameConverter;
import org.bytedeco.opencv.opencv_core.IplImage;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.IO... |
package com.tencent.mm.plugin.appbrand.game;
class d$2 implements Runnable {
final /* synthetic */ int doP;
final /* synthetic */ String fwv;
final /* synthetic */ d fzU;
d$2(d dVar, int i, String str) {
this.fzU = dVar;
this.doP = i;
this.fwv = str;
}
public final voi... |
// Sun Certified Java Programmer
// Chapter 2, P109
// Object Orientation
class Horse extends Animal {
//private void eat() { } // Access modifier is more restrictive
//public void eat() throws IOException { } // Declares a checked
// exception not defined by superclass version
//publ... |
package intra;
import java.util.Scanner;
//Question ||.1
public class Main {
public static void main(String[] args) {
double a ,b ;
Scanner kb =new Scanner(System.in);
System.out.println("saisir le primére number ");
a = kb.nextDouble();
System.out.println("saisir le primére number ");
b = kb.nextDoubl... |
package com.acms.jdbc;
public class Student {
private int student_id;
private String first_name;
private String last_name;
private String address;
private String email;
private String telephone;
private boolean isDeleted;
public Student(int student_id, String first_name, String last_name, String address, St... |
package ast.identifier;
import parser.*;
public class VariableFunctionIdentifier extends Identifier {
public VariableFunctionIdentifier(Token idToken) {
super(idToken);
}
} |
package com.learn.learn.bassis.强软弱虚引用;
import java.lang.ref.PhantomReference;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.SoftReference;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.List;
/**
* @Author: LL
* @Description:
* @Date:Create:in 2020/12/17 11:01
*/
clas... |
/*
* Copyright 2010-2011, CloudBees 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 a... |
package com.tencent.mm.plugin.wallet.balance.a;
import com.tencent.mm.plugin.wallet_core.model.ab;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.wallet_core.c.d;
import com.tencent.mm.wallet_core.tenpay.model.i;
import com.tencent.mm.wallet_core.ui.e;
import java.math.RoundingMode;
import java.util.... |
/*
* Copyright 2008 University of California at Berkeley
*
* 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 require... |
package udf;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
import org.apache.flink.table.api.EnvironmentSettings;
import org.apache.flink.table.api.bridge.java.StreamTableEnvironment;
public class SubString_Test {
public static void main(String[] args) {
EnvironmentSettings... |
package cn.bs.zjzc.model.impl;
import cn.bs.zjzc.App;
import cn.bs.zjzc.model.IRechargeModel;
import cn.bs.zjzc.model.callback.HttpTaskCallback;
import cn.bs.zjzc.model.response.RechargeResponse;
import cn.bs.zjzc.net.GsonCallback;
import cn.bs.zjzc.net.PostHttpTask;
import cn.bs.zjzc.net.RequestUrl;
/**
* Created b... |
package com.tencent.mm.plugin.appbrand.widget.sms;
public interface EditVerifyCodeView$a {
}
|
package com.workorder.activity.service.impl;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.... |
package com.mashibing;
import java.awt.*;
import java.util.function.Function;
/**
* @program: tank
* @author: hduprince
* @create: 2020-03-30 15:45
**/
public interface Movable {
default void move(Dir dir, Point point, Integer speed){
switch (dir) {
case LEFT:
point.x = p... |
package com.tencent.mm.g.a;
import com.tencent.mm.sdk.b.b;
public final class m extends b {
public a bGA;
public m() {
this((byte) 0);
}
private m(byte b) {
this.bGA = new a();
this.sFm = false;
this.bJX = null;
}
}
|
package co.sptnk.service.impl.mapper;
import co.sptnk.service.impl.mapper.configure.BeanMappingConfigure;
import org.dozer.DozerBeanMapper;
/**
* Created by Владимир on 02.11.2016.
*
* Абстрактная имплемнентация маппера
*/
public abstract class AbstractDozerMapper<TO, FROM> implements DozerMapping<TO, FROM> {
... |
package com.developpez.lmauzaize.java.concurrence.ch02_synchronisation.api_native;
import com.developpez.lmauzaize.java.concurrence.Logger;
public class WaitTempsAttente {
public static void main(String[] args) {
//////////////////////////////////////////
new Thread() {
public void run() {
Object verrou = ne... |
package model;
import exception.NoSuggestionsException;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.fail;
//Class to test Suggest University
public class SuggestUniversityTest {
@Test
... |
package de.propra2.ausleiherino24.data;
import de.propra2.ausleiherino24.model.Case;
import de.propra2.ausleiherino24.model.CustomerReview;
import java.util.ArrayList;
import java.util.List;
import org.assertj.core.api.Assertions;
import org.junit.Assert;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupit... |
package cn.joyfollow.k21smartplayer;
import android.content.Context;
import io.flutter.plugin.platform.PlatformView;
import io.flutter.plugin.platform.PlatformViewFactory;
import io.flutter.plugin.common.StandardMessageCodec;
import static io.flutter.plugin.common.PluginRegistry.Registrar;
public class SmartPlayerVi... |
package instruments;
import interfaces.IPlayable;
import interfaces.ISellable;
public class Instrument extends Product implements IPlayable {
private String model;
private String brand;
private String type;
private double buyingPrice;
private double sellingPrice;
private String sound;
pu... |
package com.gtfs.dao.impl;
import java.io.Serializable;
import java.util.List;
import org.hibernate.SQLQuery;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.transform.Transformers;
import org.hibernate.type.DateType;
import org.hibernate.type.... |
package com.dreamcatcher.factory;
import com.dreamcatcher.action.Action;
import com.dreamcatcher.main.action.*;
public class MainActionFactory {
private static Action mainViewAction;
private static Action mainSiteArticleSortAction;
private static Action mainRouteArticleSortAction;
static{
mainViewAct... |
//TODO Work more on the sign in options
/*
Home screen class with signin, and home-screen options of new case,
all avail mishnayos, and user's mishnayos
*/
package com.example.mna.mishnapals;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import androidx.annotation.NonNull;
import androidx.... |
package web;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class AreaServlet extends HttpServlet {
public void doGet(HttpServlet... |
package com.lei.domain.response.test;
import com.lei.domain.response.Response;
import com.thoughtworks.xstream.XStream;
public class TestResponse extends Response {
/**
* 序列号
*/
private static final long serialVersionUID = 1L;
/**
* 性别
*/
private String sex;
/**
* 年龄
*/
privat... |
package com.hcl.dmu.demand.stream.dao;
import java.util.List;
import com.hcl.dmu.demand.entity.DemandStreamEntity;
import com.hcl.dmu.demand.vo.DemandStreamVo;
public interface StreamDao {
public List<DemandStreamVo> getAllStreamDetails();
DemandStreamEntity findById(Long id);
}
|
package com.tencent.mm.ui.chatting.b;
import android.content.Context;
import android.content.Intent;
import android.util.SparseBooleanArray;
import android.view.MenuItem;
import android.widget.Toast;
import com.tencent.mm.R;
import com.tencent.mm.kernel.g;
import com.tencent.mm.model.au;
import com.tencent.mm.model.c;... |
package com.kush.lib.expressions.functions.samples;
import static com.kush.lib.expressions.types.Type.INTEGER;
import static com.kush.lib.expressions.types.factory.TypedValueFactory.newMutableValue;
import static com.kush.lib.expressions.types.factory.TypedValueFactory.value;
import com.kush.lib.expressions.functions... |
package model;
public class PictureBean {
String email;
String file;
String file_rename;
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getFile() {
return file;
}
public void setFile(String file) {
this.file = file;
}
public St... |
/*
Даны два целых числа A и B (A < B). Найти сумму всех целых чисел от A до B включительно.
*/
public class Ex_29 {
public static void main(String[] args){
if (args.length < 2) {
System.err.println("You haven't entered arguments! The task requires entering two arguments.");
return;
}
if (args.length > 2) ... |
package org.kiirun.adventofcode.day2;
import com.google.common.base.CharMatcher;
import com.google.common.base.Splitter;
import com.google.common.collect.Range;
import java.util.List;
import java.util.stream.Stream;
public class Day2 {
private static final String[] INPUT = {"2-4 r: prrmspx", "5-6 p: hpzplphxb", "5-... |
package com.example.optexdatagatherandroid;
public class DataGatherResult {
public boolean HasError;
public String ErrorId;
public String ErrorMessage;
public DataGatherInfo DataGatherInformation;
}
|
package ru.kappers.service;
import ru.kappers.model.catalog.Team;
import java.util.List;
/**
* Интерфейс сервиса команды
*/
public interface TeamService {
/**
* Сохранить команду
* @param team сохраняемая команда
* @return сохраненная команда
*/
Team save(Team team);
/**
* Уда... |
package rx.operators;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.MockitoAnnotations;
import org.robolectric.RobolectricTestRunner;
import rx.Subscriber;
import rx.functions.... |
package org.idea.plugin.atg.psi.reference;
import com.google.common.collect.Lists;
import com.intellij.lang.properties.PropertiesFileType;
import com.intellij.lang.properties.psi.impl.PropertiesFileImpl;
import com.intellij.lang.properties.psi.impl.PropertyValueImpl;
import com.intellij.openapi.components.ServiceManag... |
package com.gerray.fmsystem.ManagerModule.Profile;
import android.app.ProgressDialog;
import android.content.ContentResolver;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.DisplayMetrics;
import android.webkit.MimeTypeMap;
import and... |
import java.time.OffsetDateTime;
import java.time.ZonedDateTime;
public class OffsetDateTimeDemo
{
public static void main(String[] args)
{
/*
* Parameters:
*
* temporal - the temporal object to convert, not null
*
* Returns:the offset date-time, not null
*/
OffsetDateTime offsetDateTime = ... |
package cz.csas.atpcoolapp.rest;
import org.jboss.resteasy.plugins.interceptors.CorsFilter;
import org.jboss.resteasy.spi.ResteasyProviderFactory;
import javax.ws.rs.core.Application;
import java.util.HashSet;
import java.util.Set;
/**
* Configuration object for REST Service API
*
* Here can be various RESTeasy se... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.09.... |
package com.maoyan.day1;
/**
* Created by jiangdongyu on 2017/4/18.
*/
public class Prims {
/*
Guava提供了若干通用工具,包括原生类型数组与集合API的交互,原生类型和字节数组的相互转换,以及对某些原生类型的无符号形式的支持。
原生类型 Guava工具类(都在com.google.common.primitives包)
byte Bytes, SignedBytes, UnsignedBytes
short Shorts
int Ints, UnsignedInteger,... |
package com.tianlang.DAO;
import java.sql.*;
public class JDBCUtil {
Connection conn = null;
// Statement stm = null;
PreparedStatement pstm = null;
static{
try {
Class.forName("com.mysql.jdbc.Driver");
} catch (ClassNotFoundException e) {
e.printStackTrace();
... |
package com.ajith.beintouch;
import androidx.appcompat.app.AppCompatActivity;
import java.io.IOException;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
import android.widget.Button;
import androidx.annotation.Nullable;
import androidx.annotation... |
package org.rec.sample1;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import org.apache.mahout.cf.taste.common.Refreshable;
import org.apache.mahout.cf.taste.common.TasteException;
import org.apache.mahout.cf.taste.impl.comm... |
public class CountArgs {
public static void main(String[] args) {
if (args.length > 0) {
System.out.println("You provided " + args.length + " args.");
}
else {
System.out.println("None supplied");
}
}
} |
/*
* 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 age;
import java.util.Calendar;
/**
*
* @author xubo
*/
public class Main {
/**
* @param args the command line ... |
package conTest;
/*
* 目的: 演示构造法初始化对象 再演示set get初始化对象
*/
public class AnimalTest {
public static void main(String[] args) {
/*
* 使用无参构造
*/
Animal an = new Animal();
an.setName("神龟");
an.setAge(20000);
an.setGender("雄");
System.out.println(an.getName() + an.getAge() +an.getGender());
... |
package com.shaoye.dbtest;
import java.util.List;
import javax.annotation.Resource;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit... |
package com.dnomaid.iot.mqtt.device;
import java.util.ArrayList;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import com.dnomaid.iot.mqtt.global.Constants;
import com.dnomaid.iot.mqtt.topic.TopicJson;
import com.dnomaid.iot.mqtt.topic.TopicNoJson;
import com.dnomaid.iot.mqtt.topic.json.*;
im... |
package com.geeks.shoppingcart.entity;
import java.io.Serializable;
public class Account implements Serializable {
public static final String ROLE_MANAGER = "MANAGER";
public static final String ROLE_EMPLOYEE = "EMPLOYEE";
private String userName;
private String encrytedPassword;
private Boolean... |
package com.danielsandrutski.convert;
import com.danielsandrutski.convert.namedata.BigDigit;
import com.danielsandrutski.convert.namedata.NameData;
import com.danielsandrutski.convert.namedata.SmallDigit;
import java.text.DecimalFormat;
/**
* Создано DanielSand 03.11.2017
* Класс, позволяющий отобразить числа проп... |
package com.lyq.model;
import javax.persistence.*;
//目录管理
@Entity
@Table(name="t_mu")
public class Mu {
@Id
@GeneratedValue(strategy= GenerationType.AUTO)
private Integer mid; //主键Id
private String mname;//目录名称
private Integer kid; //对应课程id
//
@Transient
private String kname;//课程名称
... |
package com.research.robertodvp.audioanalyzer.DAO;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by robertov on 03/09/2017.
*/
public class EntityDAOHelper<T extends EntityDAOContract> extends SQLiteOpenHelper {
//... |
package edu.buffalo.cse.sql.index;
import java.awt.image.DataBuffer;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Iterator;
import edu.buffalo.cse.sq... |
package offer;
import java.awt.*;
import java.security.cert.PolicyNode;
import java.util.ArrayList;
import java.util.Arrays;
public class 矩阵中的路径 {
public static void main(String[] args) {
String str1 = "ABCEHJIGSFCSLOPQADEEMNOEADIDEJFMVCEIFGGS";
String str2 = "SLHECCEIDEJFGGFIE";
... |
package com.qunchuang.carmall.auth.phone;
import com.qunchuang.carmall.domain.Customer;
import com.qunchuang.carmall.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.Map;
/**
* 处理用户信息
*
* @author Curtain
* @... |
package org.fuserleer.ledger.atoms;
import java.io.IOException;
import java.util.Objects;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import org.fuserleer.Universe;
import org.fuserleer.crypto.Identity;
import org.fuserleer.crypto.Hash;
import org.fuserleer.exceptions.Validatio... |
package leet;
import edu.princeton.cs.algs4.In;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
/**
* Created by kreddy on 2/10/18.
*/
public class ReachingPoint {
public static boolean reachingPoints(int sx, int sy, int tx, int ty) {
return reachingPoints(sx, sy, tx, ty, new Has... |
package com.paisheng.instagme.common.pic;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.view.View;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.github.chrisbanes.photoview.P... |
package rs.code9.taster.service.memory;
import org.springframework.stereotype.Service;
import rs.code9.taster.model.Category;
import rs.code9.taster.service.CategoryService;
/**
* In memory backed {@link CategoryService} implementation.
*
* @author d.gajic
*/
@Service
public class InMemoryCategoryService extend... |
import java.math.*;
public class Tree {
public static int minimumTreedepth (TreeNode treeNodeRoot) {
if (treeNodeRoot == null) {return 0;} else { return (1+Math.min(minimumTreedepth(treeNodeRoot.leftTreennode),minimumTreedepth(treeNodeRoot.leftTreennode)));}
}
public static int maximumTreedepth ... |
package com.tencent.mm.modelmulti;
import com.tencent.mm.ab.j;
import com.tencent.mm.protocal.k.d;
import com.tencent.mm.protocal.k.e;
import com.tencent.mm.protocal.w.a;
import com.tencent.mm.protocal.w.b;
public class j$a extends j {
private final a dZH = new a();
private final b dZI = new b();
protect... |
package com.tencent.mm.plugin.account.ui;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
class RegSetInfoUI$32 implements OnMenuItemClickListener {
final /* synthetic */ RegSetInfoUI eWJ;
RegSetInfoUI$32(RegSetInfoUI regSetInfoUI) {
this.eWJ = regSetInfoUI;
}
... |
package cn.bs.zjzc.ui.view;
import cn.bs.zjzc.base.IBaseView;
/**
* Created by Ming on 2016/6/15.
*/
public interface IWithdrawView extends IBaseView {
}
|
package com.kh.member.controller;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
i... |
package testCases;
import org.openqa.selenium.Alert;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.supp... |
package com.smartwerkz.bytecode.classfile;
import java.util.ArrayList;
import java.util.List;
import com.smartwerkz.bytecode.vm.VirtualMachine;
public class Descriptor {
/**
* <ol>
* <li>()V == 0</li
* <li>([Ljava/lang/String;)V == 1</li>
* <li>()Ljava/lang/String; == 0</li>
* <li>((IF)V) == 2</li>
* <... |
package cache.inmemorycache.server.internal.datastore;
import java.sql.Timestamp;
import cache.inmemorycache.server.internal.transaction.Transaction;
public interface IDataStore {
public void set(String key, String value) throws InterruptedException, CloneNotSupportedException;
CacheValue get(java.lang.String ... |
/**
*/
package EpkDSL;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Node To Pp Connection</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link EpkDSL.NodeToPpConnection#getStart <em>Start</em>}</li>
* <li>{@link EpkDSL.Nod... |
package com.ic.SysAgenda.resource;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.DeleteMapping;
... |
package com.taikang.healthcare.cust.controller;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotat... |
package com.example.borja.simplecalculator;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class CalculatorActivity extends ActionBarActiv... |
/*
* Copyright (c) 2016. Universidad Politecnica de Madrid
*
* @author Badenes Olmedo, Carlos <cbadenes@fi.upm.es>
*
*/
package org.librairy.modeler.lda.functions;
import org.librairy.metrics.data.Ranking;
import org.librairy.metrics.distance.ExtendedKendallsTauDistance;
import org.librairy.modeler.lda.models.Co... |
package ru.job4j;
import static org.junit.Assert.assertThat;
import static org.hamcrest.core.Is.is;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import ru.job4j.tracker.*;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
public class StartUIConsoleTest {
private fina... |
package com.project.homes.app.common.attach.service;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframe... |
package in.yuchengl.scoutui;
/**
* Created by Yucheng on 10/3/15.
*/
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.Ar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.