text stringlengths 10 2.72M |
|---|
package com.ruenzuo.sabisukatto.settings;
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.TextView;
import com.ruenzuo.sabisukatto.R;
import java.util.List;
/**
* Create... |
package com.jd.jarvisdemonim.ui.testadapteractivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import com.jd.jarvisdemonim.R;
import com.jd.jarvisdemonim.entity.RetrofitTestBean;
import com.jd.jarvisdemonim.ui.controller.RetrofitTestImpl;
import ... |
package com.poly.dotsave;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewpager.widget.ViewPager;
import androidx.viewpager2.widget.ViewPager2;
import and... |
package cn.e3mall.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.w... |
package com.example.suneel.musicapp.Adapters;
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.ImageView;
import android.widget.TextView;
import com.bumptech.glide.Glide;
im... |
package com.kwik.service.category;
import java.util.Collection;
import java.util.List;
import com.kwik.models.Category;
public interface CategoryService {
Collection<Category> listAll();
void add(Category category);
Category findBy(Long id);
void associate(Category category, List<Long> ids);
void destroy(C... |
package com.shilong.jysgl.service;
import java.util.List;
import java.util.Map;
import com.shilong.jysgl.pojo.po.Awardtea;
import com.shilong.jysgl.pojo.vo.AwardTeaCustom;
import com.shilong.jysgl.pojo.vo.AwardTeaQueryVo;
public interface AwardTeaService {
public void insertAwardTea(AwardTeaQueryVo awardTeaQueryVo,... |
package pages;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import com.aventstack.extentreports.Status;
import base.BasePage;
public class LoginPage extends BasePage
{
@FindBy(name="txtUsername") static WebElement username;
@F... |
/**
*
*/
package solo;
import it.unimi.dsi.fastutil.doubles.Double2ObjectSortedMap;
import it.unimi.dsi.fastutil.doubles.DoubleSortedSet;
import it.unimi.dsi.fastutil.objects.ObjectArrayList;
import it.unimi.dsi.fastutil.objects.ObjectArrays;
import java.awt.geom.AffineTransform;
import java.util.Arrays... |
package com.neusoft.issure.util.lang;
/**
* @Title: StrUtil.java
* @Description: (用一句话描述该文件做什么)
* @author: jetty
* @date: 2019/3/11 11:59
* @version V1.0
*/
public class StrUtil {
private static final char CHAR_UPPER_A = 'A';
private static final char CHAR_UPPER_Z = 'Z';
private static final cha... |
package scrap.heap.refactor;
import party.birthday.order.ballon.builder.Ballon;
import party.birthday.order.ballon.model.BallonColor;
import party.birthday.order.ballon.model.BallonMaterial;
import party.birthday.order.cake.builder.Cake;
import party.birthday.order.cake.model.CakeColor;
import party.birthday.order.cak... |
package com.sbs.sbsattend;
import java.util.List;
import com.sbs.sbsattend.model.Leave;
import com.sbs.sbsattend.model.Logic;
import com.sbs.tool.LayOut;
import com.sbs.tool.MySignal;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.... |
/*
* work_wx
* wuhen 2020/2/4.
* Copyright (c) 2020 jianfengwuhen@126.com All Rights Reserved.
*/
package com.work.wx.controller.modle.subChatItem;
import com.work.wx.controller.modle.BaseModel;
public class ChatModelNews extends BaseModel {
private String url; // 图文消息点击跳转地址。String类型
privat... |
package com.li.nio;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
public class ClientChannel {
public static void main(String[] args) {
try {
SocketChannel socketChannel = SocketChannel.open();
soc... |
package br.pucrs.arq.model;
import lombok.Data;
import org.springframework.data.annotation.Id;
/**
* by Thiago Carreira A. Nascimento
**/
@Data
public class Carta extends Midia {
@Id
private Integer id;
public Carta(){super();}
}
|
/*
* Copyright 2002-2018 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* 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 tema02;
import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.event.ActionEvent;
import java.awt.event.ActionList... |
package com.grupo.proyecto_pet.business.service;
import com.grupo.proyecto_pet.persistence.entity.Rol;
import com.grupo.proyecto_pet.persistence.entity.Usuario;
import com.grupo.proyecto_pet.persistence.repository.UsuarioRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.be... |
package com.javarush.test.level08.lesson11.bonus01;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/* Номер месяца
Программа вводит с клавиатуры имя месяца и выводит его ном... |
package org.apache.hadoop.hdfs;
import java.io.IOException;
import java.util.EnumSet;
import java.util.LinkedList;
import java.util.List;
import java.util.SortedSet;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.CyclicBarrier;
import java.util.logging.Level;
import java.util.logging.Logger;
i... |
package com.ecej.nove.hbase.config;
import java.util.concurrent.Executor;
import java.util.concurrent.ThreadPoolExecutor;
import javax.annotation.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframe... |
package com.nextLevel.hero.mngVacation.model.dao;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.nextLevel.hero.mngVacation.model.dto.AnnualVacationControlDTO;
import com.nextLevel.hero.mngVacation.model.dto.AnnualVacat... |
package filamentengine.editor;
import filamentengine.content.Entity;
import filamentengine.content.Scene;
public interface EditorExtension {
String getExtensionName();
void initializeExtension(EditorStateManager manager);
void entitySelected(Entity entity);
void sceneChanged(Scene scene);
void update(int de... |
package com.logzc.webzic.generic;
import com.logzc.common.converter.ResolvableType;
import com.logzc.webzic.generic.model.*;
import com.logzc.common.util.ReflectionUtil;
import org.junit.Assume;
import org.junit.Test;
import java.lang.reflect.Type;
import java.util.HashMap;
import java.util.List;
import java.util.Map... |
Using DFS
Base case: the last row is done. row == N
Recursive rule: if the position(i, j) is valid, go to the next row(i + 1)
Using the list to store current result.
Using check func to check the validality of assignment.
public class Solution {
public List<List<Integer>> nqueens(int n) {
List<List<Integer>> l... |
package com.clinic.dentist.controllers;
import com.clinic.dentist.api.service.IPatientService;
import com.clinic.dentist.date.DateSystem;
import com.clinic.dentist.date.TimeConverter;
import com.clinic.dentist.models.*;
import com.clinic.dentist.services.*;
import org.springframework.beans.factory.annotation.Autowired... |
package android.support.v4.graphics;
import android.content.Context;
import android.content.res.Resources;
import android.support.annotation.RequiresApi;
import android.support.annotation.RestrictTo;
import android.support.annotation.RestrictTo.Scope;
import android.util.Log;
import java.io.Closeable;
import java.io.F... |
package com.testFileUpload.pojo;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import java.io.Serializable;
@Data
@TableName(value = "user_role")
public class UserRole implements Serializable {
private int id;
private int uid;
private int rid;
}
|
/*
* 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.
*/
import java.util.UUID;
public class User {
private String id;
private String name;
private String email;
private String bi... |
package com.kheirallah.inc.strings;
//Easy
/*
Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[‘, and ‘]’, determine if the input string is valid.
An input string is valid if:
1. Open brackets must be closed by the same type of brackets
2. Open brackets must be closed in the correct order
Note th... |
/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2011 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... |
package news.model.business;
import java.util.List;
import javax.ejb.Local;
import news.model.NewsPortal;
@Local
public interface NewsPortalFacadeLocal {
public NewsPortal searchByArticle(String body);
public NewsPortal search(String title, String body);
public List<NewsPortal> getAllNews();
... |
package com.base.widget.message;
import org.json.JSONObject;
import com.base.danmaku.DanmakuItem;
import com.base.danmaku.DanmakuView;
import com.base.danmaku.DanmakuView.OnItemClickListener;
import com.base.host.BaseFragment;
import com.base.http.ErrorCode;
import com.base.http.JSONResponse;
import com.heihei.dialog... |
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.neuron.mytelkom.fragment;
import android.app.ActionBar;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
im... |
package com.skp.test.string;
import static org.junit.Assert.assertEquals;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.junit.Test;
public class AlphabetCountTest {
@Test
public void test() {
String strings = "strings";
AlphabetCount sut = new AlphabetCount... |
/*
* Copyright 2002-2022 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright (C) 2014 Vasilis Vryniotis <bbriniotis at datumbox.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 3 of the License, or
* (at your option) any later v... |
package exercicio02;
import exercicio01.Lampada;
public class LampadaFlouro extends Lampada
{
private int cnt;
LampadaFlouro(int valorAjuste, int watss, int cnt)
{
super(valorAjuste, watss);
this.cnt=cnt;
// TODO Auto-generated constructor stub
}
}
|
package com.junyoung.searchwheretogoapi.filter;
import static org.junit.jupiter.api.Assertions.*;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.BDDMockito.given;
import com.junyoung.searchwheretogoapi.model.data.User;
import com.junyoung.searchwheretogoapi.repository.UserRepository;
... |
package com.example.gauravbharti.garagebluetooth;
import android.content.Context;
import android.content.SharedPreferences;
import org.json.JSONArray;
/**
* Created by gauravbharti on 09/03/17.
*/
public class SessionManager
{ SharedPreferences.Editor editor;
SharedPreferences pref;
Context _context;
... |
package en05;
/**
* Created by C0116289 on 2017/05/15.
*/
public class Ex01 {
public static void main(String[] args) {
String istr="School of Computer Science.";
String ostr;
ostr = istr.replaceAll("oo","-");
System.out.println(ostr);
ostr= istr.replaceAll("[o ]","*");
... |
/*
* Copyright 2002-2022 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package fr.unice.polytech.isa.polyevent;
import fr.unice.polytech.isa.polyevent.entities.DemandePrestataire;
import fr.unice.polytech.isa.polyevent.entities.Evenement;
import fr.unice.polytech.isa.polyevent.entities.Prestataire;
import fr.unice.polytech.isa.polyevent.entities.Prestation;
import javax.ejb.EJB;
import ... |
public class BuyAndSellStock1 {
// public static int maxProfit(int[] prices) {
//
// int n = prices.length;
//
// int max = 0;
// for(int i = 0; i < n; i++){
// for(int j = i+1; j < n; j++){
// if (prices[j] - prices[i] >0 && prices[j]-prices[i]> max)
// ... |
package sample;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Comb... |
import java.util.*;
class subpalindrome
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter l and n");
int l=sc.nextInt();
int m=sc.nextInt();
System.out.println("Enter string");
String s=sc.next();
if(s.length()==l)
{
String arr[][]=new String[m]... |
/* Compilatudo.java */
/* Generated By:JavaCC: Do not edit this line. Compilatudo.java */
package CCompiler;
import java.io.*;
import java.util.Scanner;
import recovery.*;
public class Compilatudo implements CompilatudoConstants {
public static boolean debug_messages = true;
public static boolean debug_recove... |
package df.client;
import df.bo.BusinessObject;
import df.repository.entry.moniker.Moniker;
public class BdfModifyClient<V extends BusinessObject> {
private BdfModifyClient() {
}
public void publishCorrection(Moniker moniker, V value) {
return;
}
public BdfModifyClient<V> instance() {
... |
package entity;
import org.codehaus.jackson.annotate.JsonAnySetter;
/**
* Date: 25.12.2012
* Time: 22:38
*/
public class FurnitureItem {
private String id;
private Integer x;
private Integer y;
private Integer width;
private Integer height;
@JsonAnySetter
public void handleUnknown(Str... |
package testTasks.Model;
import java.util.ArrayList;
import java.util.List;
// playground class contains card pack and players list
public class Playground {
private List<Player> players = new ArrayList<>();
private Pack pack;
public List<Player> getPlayers() {
return players;
}
public Pack getPack() {
r... |
package alien4cloud.it;
import org.junit.runner.RunWith;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
@RunWith(Cucumber.class)
@CucumberOptions(features = { "classpath:alien/rest/application-version" }, format = { "pretty", "html:target/cucumber/application-version",
"json:target/... |
package com.xinhua.api.domain.refOrder;
import com.apsaras.aps.increment.domain.AbstractIncRequest;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import javax.validation.constraints.Size;
import java.io.Serializable;
/**
* Created by ning on 15/7/21.
* 当日撤单 请求
*
*/
publi... |
package cn.itheima.day_07.homework.animals;
public class Test {
public static void main(String[] args) {
Cat cat = new Cat("蓝","英国短毛");
Dog dog = new Dog();
dog.setColor("白");
dog.setBreed("博美犬");
cat.eat();
cat.work();
cat.bark();
System.out.println("------------");
dog.eat();
dog.work();
d... |
package uchet.service.units;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import uchet.models.Unit;
import uchet.repository.UnitRepository;
import java.util.Comparator;
import java.util.List;
import java.util.stream.Collectors;
@Service
public class Un... |
package f.star.iota.milk.ui.moe005tv.moe;
import android.os.Bundle;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import java.util.ArrayList;
import java.util.List;
import f.star.iota.milk.Net;
import f.star.iota.milk.base.PagerFragment;
import f.star.iota.milk.base.TitlePag... |
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.ResourceBundle;
/*
*
* @author Matt Ping & M... |
/*
* Created on 2004-11-26
*
*/
package com.aof.component.helpdesk.kb;
/**
* @author nicebean
*
*/
public class KnowledgeBase extends SimpleKnowledgeBase {
private String solution;
public String getSolution() {
return solution;
}
public void setSolution(String solution) {
this.... |
/*
* Copyright (C) 2015 Piotr Wittchen
*
* 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 ... |
package org.mike.organization.events.source;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.mike.organization.events.models.OrganizationChangeModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.stream.messaging.Source;
i... |
package com.youma.his.dao;
import com.youma.his.vo.Role;
import java.util.List;
/**
* 角色表操作接口
*
* @author Administrator
*/
public interface RoleDao {
/**
* 角色添加操作
*
* @param role 角色
* @return 影响行数
*/
public int roleAdd(Role role);
/**
* 修改角色信息操作
*
* @param rol... |
package com.trump.auction.order.api.impl;
import org.springframework.beans.factory.annotation.Autowired;
import com.alibaba.dubbo.config.annotation.Service;
import com.trump.auction.order.api.PaymentStubService;
import com.trump.auction.order.model.PaymentInfoModel;
import com.trump.auction.order.service.PaymentServi... |
package xtrus.user.apps.routing.parser;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import com.esum.comp.xtr.process.TransInfo;
import com.esum.framework.core.component.ComponentException;
import com.esum.fram... |
/* https://codeforces.com/contest/723/problem/D
* #dfs #dsu #greedy
*/
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Deque;
import java.util.LinkedList;
import java.util.Scanner;
public class LakesInBerland {
static boolean isValidLakePoint(int row, int ... |
package com.qrokodial.sparkle.components.ordered;
import com.qrokodial.sparkle.components.SparkleComponent;
public class MovableSparkleComponent<H extends OrderedComponentHolder> extends SparkleComponent<H> implements MovableComponent<H> {
/**
* Moves the component to the specified position in the holder (op... |
package gromcode.main.lesson15.homework15_1;
import java.util.Arrays;
public class Demo {
public static void main(String[] args) {
User u1 = new User(1, "User1", "121212");
User u2 = new User(4, "User2", "12143212");
User u3 = new User(34, "User3", "1rfd21212");
User u4 = new User(... |
package cn.edu.cqut.service.impl;
import cn.edu.cqut.entity.Customer;
import cn.edu.cqut.stats.SimpleCategory;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.edu.cqut.enti... |
package com.silrait.bookssearch.domain;
public class Book {
private String id;
private String title;
private String author;
private String thumbnail;
private String url;
private Double averageRating;
public Book(){}
public Book(String id, String title, String author, String thumbnail,... |
package cs3500.animator.view;
import java.util.ArrayList;
import java.util.Collections;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import cs3500.animator.model.Animation;
import cs3500.animator.model.ChangeColorAnimation;
import cs3500.animator.model.MoveAnimation;
import cs3500.animator.model.Oval;
... |
package org.sayesaman.app9.config;
import android.app.Activity;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.TextView;
import com.googlecode.androidannotations.annotations.AfterViews;
import com.googlecode.androidannotations.annotations.Bean;
impo... |
package net.yustinus.crud.web.base;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDet... |
package generator.util.structures;
import generator.visitors.AtomicValueType;
public class FunctionParameter {
private AtomicValueType type;
private String variableName;
public FunctionParameter(String variableName, AtomicValueType type) {
this.type = type;
this.variableName = variableNam... |
package com.testyantra.empspringmvc.jaxb.beans;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
@JsonRootName("employee-response")
public class EmployeeResponse {
@JsonProperty("status-code")
private int statusCode;
private Stri... |
package com.share.dao;
import com.share.template.HibernateTemplate;
public class DLResourceDao extends HibernateTemplate {
}
|
package com.jyn.leetcode.base;
/*
* https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof/
*/
public class ListNode {
int val;
public ListNode first;
public ListNode next;
ListNode(int x) {
val = x;
}
public static ListNode getListNodeTest() {
ListNode node1 = new ListNo... |
public class Truck implements Vehicle {
public Truck() {
}
@Override
public void honk() {
System.out.println("Truck HONK");
}
}
|
package za.co.jehuco.snooker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SnookerApplication {
public static void main(String[] args) {
SpringApplication.run(SnookerApplication.class, args);
}
}
|
package com.github.dongchan.scheduler;
import java.util.concurrent.atomic.AtomicInteger;
/**
* @author DongChan
* @date 2020/10/23
* @time 4:03 PM
*/
public class DueExecutionBatch {
private int threadPoolSize;
private final int generationNumber;
private final AtomicInteger executionsLeftInBatch;
... |
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode() {}
* ListNode(int val) { this.val = val; }
* ListNode(int val, ListNode next) { this.val = val; this.next = next; }
* }
*/
class Solution {
public ListNode removeNthFromEnd(ListNo... |
package payment.domain.service;
import com.amazonaws.services.sqs.AmazonSQS;
import com.amazonaws.services.sqs.model.Message;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.... |
package rest.test.happilyy.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.sp... |
package com.jxtb.jdbcrud;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import com.core.dao.JDBCBaseDao;
import org.apache.log4j.Logger;
/**
* Created with IntelliJ IDEA.
* User: Administrator
* Date: 17-3-27
* Time: 上午11:27
* To change this template use File | Set... |
package cn.hellohao.dao;
import cn.hellohao.pojo.UploadConfig;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface UploadConfigMapper {
UploadConfig getUpdateConfig();
Integer setUpdateConfig(UploadConfig uploadConfig);
}
|
package org.data.persistance.repository;
import org.data.persistance.model.Users;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface UserRepository extends JpaRepository<Users, Long> , UserRepositoryCustom{
Users findByUsernam... |
package com.xianzaishi.wms.tmscore.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import com.xianzaishi.wms.tmscore.vo.TimingDistributionWatiSeqVO;
import com.xianzaishi.wms.tmscore.vo.TimingDistributionWatiSeqQueryVO;
import com.xianzaishi.wms.common.exception.Bi... |
/*
* 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.struts2.dao.logindao;
import com.struts2.util.mapping.Onlineaccount;
import com.struts2.util.hibernateUtil.NewHibernateUti... |
package com.karya.model;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="shippingrule001mb")
public class... |
package com.trump.auction.trade.api;
import com.trump.auction.trade.model.AuctionRuleModel;
/**
* 拍卖
*
* @author zhangliyan
* @create 2018-01-02 17:48
**/
public interface AuctionRuleStubService {
/**
* 添加
* @param auctionRuleModel
* @return
*/
int insertAuctionRule(AuctionRuleModel... |
/*
* generated by Xtext
*/
package org.yazgel.snow.notation.text;
import org.eclipse.xtext.junit4.IInjectorProvider;
import com.google.inject.Injector;
public class ModuleUiInjectorProvider implements IInjectorProvider {
@Override
public Injector getInjector() {
return org.yazgel.snow.notation.t... |
package com.git.cloud.bill.model.vo;
/**
* 购买信息
*/
public class Shopping_lists {
private Parameters parameters;
private String service_id;
private String instance_id;
public void setParameters(Parameters parameters) {
this.parameters = parameters;
}
public Parameter... |
package num.grapecity.lab4;
import androidx.appcompat.app.AppCompatActivity;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.gr... |
package net.lvcy.card.entity;
public interface CombinSeven extends CombinCard{
}
|
/*
* This code is released under the terms and conditions of the Common Public License Version 1.0.
* You should have received a copy of the license with the code, if you didn't
* you can get it at the quantity project homepage or at
* <a href="http://www.opensource.org/licenses/cpl.php">http://www.opensource.org... |
package br.com.douglastuiuiu.biometricengine.job;
import br.com.douglastuiuiu.biometricengine.exception.ServiceException;
import br.com.douglastuiuiu.biometricengine.service.StorageService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import or... |
package com.leyton.flow.activator.inter;
import org.springframework.messaging.Message;
public interface HttpActivator {
void print(Message<?> message);
}
|
package rmi.server;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.ArrayList;
import rmi.libs.NguyenTo;
public class TinhToan extends UnicastRemoteObject implements NguyenTo {
public TinhToan() throws RemoteException {
}
@Override
publi... |
package cas2xb3_finalprototype;
import java.util.ArrayList;
import java.util.Scanner;
/*
* Sorts all LuggageT objects by claim numbers using ArrayLists.
*/
public class Merge {
private ArrayList<LuggageT> strList;
// Constructor
public Merge(ArrayList<LuggageT> input) {
strList = input;
... |
public class StringAlgo {
boolean matchExpUtil(char[] exp, char[] str, int i, int j) {
if (i == exp.length && j == str.length) {
return true;
}
if ((i == exp.length && j != str.length) || (i != exp.length && j == str.length)) {
return false;
}
if (exp[i] == '?' || exp[i] == str[j]) {
return matchEx... |
package com.fanfte.designPattern.decorator;
/**
* Created by tianen on 2018/9/28
*
* @author fanfte
* @date 2018/9/28
**/
public class Suit extends HeroDecorator {
private Hero decoratedHero;
public Suit(Hero decoratedHero) {
super(decoratedHero);
}
@Override
public void init() {
... |
package com.nextLevel.hero.mnghumanResource.model.service;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.servlet.ModelAndView;
import com.nextLevel.hero.mnghumanResource.model.d... |
package com.eussi._01_jca_jce.cryptopkg;
import javax.crypto.KeyGenerator;
import javax.crypto.Mac;
import javax.crypto.SecretKey;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.util.Arrays;
/**
*
* Created by wangxueming on 2019/4/1.
*/
public cla... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.