text stringlengths 10 2.72M |
|---|
package com.shangcai.action.customer.design;
import java.io.IOException;
public interface IDesignerAction {
/**
* 设置个人信息-设计师
*/
public void upd() throws IOException;
/**
* 获取个人信息-设计师
*/
public void get() throws IOException;
}
|
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int n,k;
cin>>n>>k;
int a[n],min;
for(int i=0;i<n;i++)
cin>>a[i];
sort(a,a+n);
int ... |
package com.example.myapplication;
import android.os.Build;
import androidx.annotation.RequiresApi;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import org.apache.commons.lang3.ArrayUtils;
public class D... |
package com.accp.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.R... |
package com.example.userportal.controller;
import com.example.userportal.requestmodel.payu.PayUOrderCreateResponse;
import com.example.userportal.service.PayUClient;
import com.example.userportal.service.dto.GooglePayOrderDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.se... |
package questao13;
/**
* NumberUtils
*/
public class NumberUtils {
int n;
public NumberUtils(int n) {
this.n = n;
}
public boolean isPair() {
if (n%2 == 0) {
return true;
}
return false;
}
public boolean isOdd() {
if (n % 2 == 0) {
... |
/*....................Pour parser le fichier modéle de donnée et de creer un JtreeModel qu'on va appeler dans la classe principale........................ */
//La récursivité :
package javaapplication;
import static java.awt.SystemColor.info;
import java.io.File;
import java.io.IOException;
import javax.swing.JFrame; ... |
package com.frantzoe.phonebook.contacts;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
// This will be AUTO IMPLEMENTED by Spring into a Bean called userRepository
// CRUD refers Create, Read, Update, Delete
@Repository
public interface ContactReposit... |
package shangguigu;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* Lock lock = new ReentrantLock(true):指定该锁为公平锁,此时线程会有序执行,而不是抢占式执行
*/
public class Thread19 {
// Lock lock = new ReentrantLock(true);
Lock lock = new ReentrantLock(true);
public void m1(){
... |
package be.kestro.io.core.api;
/**
* Service definition to control PWM pins. (Pulse-Width-Modulation)
*
*/
public interface PwmService extends IOService {
/**
* Sets the percentage by which pulses will be sent.
*
* @param percentage value from 0 to 100 to control the PWM.
*/
void setPulsePercentage(in... |
package com.atgem.googleplay;
import java.util.ArrayList;
import java.util.List;
import cn.jpush.android.api.JPushInterface;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.widget... |
package com.dxt2.dagger2demo2;
import dagger.Module;
import dagger.Provides;
/**
* Created by Administrator on 2018/6/6 0006.
*/
//使用该注解来指定应该注入一个怎么样的鼠标,
//我们在MouseModule中分别指定两个方法返回一个怎样的鼠标,
// 再在Computer类中声明Mouse对象时指定它应该被注入一个什么类型的鼠标
@Module
public class WMouseModule {
@Provides
@WMouseType("wired")//指定该方法返回... |
package kr.ko.nexmain.server.MissingU.membership.model;
import kr.ko.nexmain.server.MissingU.common.model.CommReqVO;
import org.hibernate.validator.constraints.NotEmpty;
public class MemberRegisterReqVO extends CommReqVO {
private static final long serialVersionUID = 1L;
private Integer memberId;
private Strin... |
package com.study.jpa.entity;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.*;
/**
* Created by francis on 2015. 12. 1..
*/
@Entity
@Table(name = "parent", catalog = "study")
public class Parent {
@Id
@GeneratedValue(strategy = IDENTITY)
private @Column(name = "pid"... |
package Shapes;
import util.Input;
public class Circle {
private double radius;
public Circle(){
radius = Input.getDouble();
System.out.println("The radius is: " + getArea());
System.out.println("The circumference is "+ getCircumference());
new Circle();
... |
package com.view;
import java.util.SortedMap;
import java.awt.GridLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.LineBorder;
import javax.swing.event.ChangeListener;
import javax.swing.event.ChangeEvent;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartPanel;
im... |
/*Serialization is converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or transmitted across a network connection link to be reconstructed later in the same or another computer environment.
Design an algorithm to serialize and deserialize a binary search t... |
// Generated by data binding compiler. Do not edit!
package tkhub.project.kesbewa.databinding;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appc... |
package leetcode_easy;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class Question_118 {
public List<List<Integer>> generate(int numRows) {
List<List<Integer>> result = new ArrayList<>();
Integer[] upperLevel = null;
for (int i = 1; i <= numRows; i++... |
package com.jiuzhe.app.hotel.service.impl;
import com.jiuzhe.app.hotel.dao.CountDao;
import com.jiuzhe.app.hotel.service.CountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Map;
/**
* @Description:统计功能
* @author:郑鹏宇
* @date: ... |
package com.yixin.kepler.common.enums;
/**
* 资产状态枚举
* Package : com.yixin.kepler.common.enums
*
* @author YixinCapital -- wangwenlong
* 2018年7月10日 下午3:26:39
*
*/
public enum AssetStateEnum {
INIT(0), //初始化
SUCCESS(1), //成功
FAILD(2),//失败
DOING(3),//进行中
REJECT(4),//驳回
ACCEPT_FAILD(... |
package com.zhowin.miyou.mine.activity;
import android.app.Dialog;
import android.view.View;
import com.zhowin.base_library.callback.OnCenterHitMessageListener;
import com.zhowin.base_library.model.UserInfo;
import com.zhowin.base_library.utils.ActivityManager;
import com.zhowin.base_library.utils.AppUtils;
import co... |
package hu.bme.aut.exhibitionexplorer.fragment;
import android.os.AsyncTask;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v7.widget.LinearLay... |
package com.example.mefirst;
import java.util.ArrayList;
import java.util.Iterator;
import android.graphics.Color;
public class ChildManager {
private static ChildManager ChildManager = null;
private ArrayList<Child> Children = null;
private ChildManager() {
Children = new ArrayList<Child>();
... |
package com.tencent.mm.plugin.soter.b;
import com.tencent.d.b.e.b;
import com.tencent.d.b.e.e;
import com.tencent.d.b.e.e.a;
import com.tencent.mm.ab.l;
import com.tencent.mm.kernel.g;
import com.tencent.mm.network.k;
import com.tencent.mm.network.q;
import com.tencent.mm.sdk.platformtools.x;
public final class f ext... |
/**
* Copyright (c) 2016, 指端科技.
*/
package com.rofour.baseball.dao.manager.mapper;
import java.util.List;
import java.util.Map;
import javax.inject.Named;
import com.rofour.baseball.controller.model.manager.RoleInfo;
import com.rofour.baseball.dao.manager.bean.RoleBean;
/**
* @ClassName: RoleMapper
* @Descr... |
package com.company.bank.controllers;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
public class FileManager {
private static FileManager instance;
private FileManager() {
}
public static FileManager getInstance() {
if (instance == null) {
instance = new Fi... |
package com.atguigu.gmall.pms.service.impl;
import com.atguigu.gmall.pms.dao.AttrAttrgroupRelationDao;
import com.atguigu.gmall.pms.dao.AttrDao;
import com.atguigu.gmall.pms.dao.ProductAttrValueDao;
import com.atguigu.gmall.pms.entity.AttrAttrgroupRelationEntity;
import com.atguigu.gmall.pms.entity.AttrEntity;
import... |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU... |
package cpracticeF;
public class a5
{
public static void main(String[] args)
{
// 객체 생성
Artist kim = new Artist("뮤지션 김씨");
Architect lee = new Architect("건축가 이씨");
Developer park = new Developer("개발자 박씨");
Lawyer choi = new Lawyer("변호사 최씨");
// 그룹화: 인터페이스 기준
Friend[] friends = { kim, lee, park, choi }... |
package app;
import controller.ListaTelefonicaController;
public class ListaTelefonicaArvoreBinaria {
public static void main(String[] args) {
ListaTelefonicaController objController = new ListaTelefonicaController();
objController.start();
}
}
|
package eg.edu.alexu.csd.oop.draw;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Point;
import java.util.Map;
public class AbstractShape implements Shape {
@Override
public void setPosition(Point position) {
// TODO Auto-generated method stub
}
@Override
public Point getPosition() {
// ... |
package com.claycorp.nexstore.api.entity;
public class Price {
private String currency;
private Double amount;
public Price() {
}
public String getCurrency() {
return currency;
}
public Price setCurrency(String currency) {
this.currency = currency;
return this;
}
public Double getAmount() {
ret... |
package Utils;
import android.location.Address;
import android.location.Geocoder;
import java.io.IOException;
import AsyncTask.AddressAst;
/**
* Created by lequan on 5/18/2016.
*/
public class AddressUtils
{
public static String getAddress(Geocoder geocoder, double latitude, double longitude)
{
St... |
package edu.progmatic.messageapp.filter;
import org.springframework.stereotype.Component;
import javax.servlet.*;
import java.io.IOException;
import java.util.Arrays;
@Component
public class FilterConfig implements Filter {
@Override
public void doFilter(ServletRequest servletRequest, ServletResponse servle... |
/*
* Copyright 2017 University of Michigan
*
* 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... |
package ecutb.fishingtrip.service;
import ecutb.fishingtrip.data.AppUserRepository;
import ecutb.fishingtrip.data.FishingTripRepository;
import ecutb.fishingtrip.dto.CreateFishingTrip;
import ecutb.fishingtrip.entity.AppUser;
import ecutb.fishingtrip.entity.FishingTrip;
import org.springframework.beans.factory.annotat... |
package com.cache.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ignite.cache.query.annotations.QuerySqlField;
import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Person ... |
package pl.ark.chr.buginator.repository.core;
import org.springframework.data.jpa.repository.JpaRepository;
import pl.ark.chr.buginator.domain.core.UserAgentData;
//TODO: check possibility to be removed and managed by Error (using cascade from JPA)
public interface UserAgentDataRepository extends JpaRepository<UserAg... |
package com.xiaoxiao.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class XiaoxiaoUserHobby {
private Long userId;
private String hobbyId;
}
|
package com.example.userportal.service.mapper;
import com.example.userportal.domain.Shop;
import com.example.userportal.service.dto.ShopDTO;
import org.mapstruct.Mapper;
import java.util.List;
@Mapper(componentModel = "spring")
public interface ShopMapper {
ShopDTO toShopDto(Shop shop);
Shop toShop(ShopDTO... |
package com.greenfoxacademy.springsecuritytest;
import com.greenfoxacademy.springsecuritytest.interfaces.ApiInterface;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;... |
package isden.mois.magellanlauncher;
/**
* Created by isden on 05.01.17.
*/
public class Constants {
/**
* Updater constants.
*/
public final static String VERSION_CHECK_URL = "https://api.github.com/repos/isdenmois/fibook/releases/latest";
public final static String UPDATES_PREFERENCES = "ISD... |
package MoveAroundBoard;
import java.util.ArrayList;
public class Board {
private ArrayList<Square> contents = new ArrayList<Square>();
Board(){
}
public void addSquare(Square square) {
contents.add(square);
}
public Square getSquare(int index) {
return contents.get(index);
}
public int size() {
... |
package pdx.module.janitorial;
public class CleaningRequests {
public static String[] columns = {"Floor", "Room", "Time", "Elapsed"};
public static String[][] placeholder = {
{"1", "102", "9:20 AM", "35 Minutes"},
{"4", "406", "9:32 AM", "23 Minutes"},
{"3", "308", "9:50 AM", "5 Minutes"}
};
}
|
public class Perfectno
{
public static void main(String[] args)
{
int s=0,n=28;
for(int i=1;i<n;i++)
{
if(n%i==0)
s=s+i;
}
if(s==n)
System.out.println("It's a perfect number");
else
System.out.println("Not a p... |
/***************************************************************************
* *
* Page details: This is the step definition file for shopping *
cart page
* Author: Venukrishnan VR ... |
package jp.astra.cameramap;
import jp.astra.cameramap.helper.BaseActivity;
import jp.astra.cameramap.helper.CameraMapException;
import jp.astra.cameramap.helper.Logger;
import jp.astra.cameramap.helper.Util;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;... |
package com.tencent.mm.plugin.sns.f;
import android.view.View;
class b$2 implements Runnable {
final /* synthetic */ View ntO;
final /* synthetic */ b ntP;
final /* synthetic */ View val$view;
b$2(b bVar, View view, View view2) {
this.ntP = bVar;
this.val$view = view;
this.ntO... |
package com.tencent.mm.plugin.appbrand.dynamic.b;
import android.graphics.Bitmap;
import android.graphics.Rect;
import android.os.Bundle;
import android.os.Parcelable;
import android.text.TextUtils;
import com.tencent.mm.ipcinvoker.f;
import com.tencent.mm.modelappbrand.b.b;
import com.tencent.mm.modelappbrand.b.b$h;
... |
package com.tencent.mm.plugin.exdevice.model;
import com.tencent.mm.bt.h.d;
import com.tencent.mm.plugin.exdevice.f.b.b.b;
class ad$6 implements d {
ad$6() {
}
public final String[] xb() {
return b.diD;
}
}
|
package com.module.model.entity;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import javax.xml.bind.annotation.XmlTransient;
import java.util.UUID;
@Entity
@Table(name = "work_places")
public class WorkPlaceEntity {
@Column(name = "hr_number")
private String hrNumber;
... |
package com.ojas.service;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
import com.ojas.model.User;
import com.ojas.response.UserResponse;
@Service
public interface UserService {
public ResponseEntity<Object> saveUser(User user);
}
|
package com.lux.netcracker.homework.homework.service.bookService;
import com.lux.netcracker.homework.homework.model.Book;
import java.util.ArrayList;
import java.util.List;
public interface BookService {
Book addBook(Book book);
void delete(long id);
Book getByName(String name);
Book editBook(Book... |
package sso.ojdbc.dao;
import java.util.List;
/**
* @author Ken
* @version 創建時間:2016-02-02
*/
public interface PagingDao {
List query(final String sql) throws Exception;
List query(String sql, Object[] args) throws Exception;
public List query2(final String sql, final Object[] args) throws Exceptio... |
package com.bingo.code.example.design.observer.rewrite;
/**
* �����Ķ��ߣ�Ϊ�˼�����һ������
*/
public class Reader implements Observer{
/**
* ���ߵ�����
*/
private String name;
public void update(Subject subject) {
//���Dz������ķ�ʽ
System.out.println(name+"�յ���ֽ�ˣ��Ķ��ȡ�������==="+((NewsPaper)subject).getCon... |
package ec.com.yacare.y4all.lib.dto;
public class TiempoAudio {
private Long tiempo;
private short[] audio;
public Long getTiempo() {
return tiempo;
}
public void setTiempo(Long tiempo) {
this.tiempo = tiempo;
}
public short[] getAudio() {
return audio;
}
public void setAudio(... |
package com.BasicLearn.四种权限;
public class Demo {
/*
* private , (default) , protected , public
* 权限说明
* private : 类内部
* default : 类内部 , 同一个包
* protected : 类内部 , 同一个包, 不同包的子类
* public : 类内部, 同一个包 , 不同的包的子类 , 同一个工程
*
* 四种都可修饰任意的属性方法。
* public , default --... |
package cz.kojotak.udemy.vertx.stockBroker.api.quote;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import cz.kojotak.udemy.vertx.stockBroker.db.DbHandler;
import cz.kojotak.udemy... |
package View;
import Connection.DB_Connection;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.Tab;
import javafx.scene.control.Te... |
package com.hlf.java7features;
import org.junit.Test;
import java.io.BufferedWriter;
import java.io.IOException;
import java.nio.file.*;
import java.nio.file.attribute.FileAttribute;
import java.nio.file.attribute.PosixFilePermission;
import java.nio.file.attribute.PosixFilePermissions;
import java.util.ArrayList;
im... |
package com.javateam.SpringBootBoard.config;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.jdbc.DataSourceProperties;
import org.springframework.context.annotation... |
package inventory.service;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import todo.entity.Role;
import com.mysql.jdbc.Statement;
public class RoleDaoList {
private Statement stmt;
private List<Role> roles;
private static RoleDaoList ro... |
package android.support.v7.widget;
public abstract class RecyclerView$c {
public void onChanged() {
}
public void ab(int i, int i2) {
}
public void c(int i, int i2, Object obj) {
ab(i, i2);
}
public void ac(int i, int i2) {
}
public void ad(int i, int i2) {
}
pu... |
package com.bnr.android.criminalintent;
import android.support.v4.app.Fragment;
/**
* Created by winters on 1/10/16.
*/
public class CrimeCameraActivity extends SingleFragmentActivity {
@Override
protected Fragment createFragment() {
//return new CrimeCameraActivity();
return null;
}
}... |
package com.tencent.mm.plugin.wallet.balance.ui.lqt;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.tencent.mm.plugin.wxpay.a.f;
import com.tencent.mm.plugin.wxpay.a.g;
import com.tencent.mm.plugin.wxpay.a.i;
import com... |
package com.rc.portal.vo;
import java.util.Date;
public class TMemberCertificates {
private Long id;
private Long memberId;
private String idcardJustUrl;
private String idcardBackUrl;
private Integer idcardType;
private String idcardCode;
private String idcardAddress;
private Da... |
package com.database.endingCredit.domain.movie.dto;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class MovieBlobDTO {
private List<MovieList> wholeMovieList;
private List<MovieBestSeller> ... |
package de.jmda.gen.java.impl;
import static org.junit.Assert.assertTrue;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.junit.Test;
import de.jmda.gen.Generator;
import de.jmda.gen.GeneratorException;
import de.jmda.gen.java.TypeKindGenerator;
public class JUTDefault... |
package com.tencent.mm.plugin.topstory.ui.video;
import com.tencent.mars.cdn.CdnLogic;
import com.tencent.mars.cdn.CdnLogic.C2CDownloadRequest;
import com.tencent.mm.modelcdntran.f;
import com.tencent.mm.modelcdntran.g;
import com.tencent.mm.modelvideo.b;
import com.tencent.mm.modelvideo.o;
import com.tencent.mm.plugi... |
package com.tencent.mm.protocal;
public class c$jo extends c$g {
public c$jo() {
super("unbindBankCard", "unbindBankCard", 216, true);
}
}
|
package org.fog.test.perfeval;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Random;
import org.cloudbus.cloudsim.Host;
import org.cloudbus.cloudsim.Log;
import org.cloudbus.clouds... |
package org.jboss.forge.addon.deltaspike.commands;
import java.util.Arrays;
import java.util.List;
import javax.inject.Inject;
import org.jboss.forge.addon.deltaspike.CoordinateVersionConverter;
import org.jboss.forge.addon.deltaspike.DeltaSpikeModule;
import org.jboss.forge.addon.deltaspike.DeltaSpikeModules;
impor... |
package kh.picsell.project;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org... |
package dao;
import java.util.ArrayList;
import entity.CartItem;
import exception.DAOException;
public interface ICartItemDAO {
public ArrayList<CartItem> queryByCartId(int cartId) throws DAOException;
public CartItem queryByItemId(int id) throws DAOException;
public void delete(int id) throws DAOException;
... |
package com.budget.hibernate.dao;
import com.budget.spring.beans.AdminJoin;
import com.budget.spring.beans.UserJoin;
public interface DAO
{
String insertAdminDetails(AdminJoin joinNow);
String insertUserDetails(UserJoin userjoin);
void myUsers();
}
|
package com.base.ifocus.myapplication.Adapter;
/**
* Created by iFocus on 11-09-2015.
*/
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.base.ifocus... |
package musicspring;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.... |
package org.alienideology.jcord.event.guild.member;
import org.alienideology.jcord.Identity;
import org.alienideology.jcord.handle.guild.IGuild;
import org.alienideology.jcord.handle.guild.IMember;
import org.alienideology.jcord.handle.guild.IRole;
import java.util.List;
/**
* @author AlienIdeology
*/
public class... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package com.ilp.innovations.myapplication.Fragments;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.app.SearchManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.In... |
package com.ifre.entity.ruleengin;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotation... |
package org.denevell.natch.jsp.tests;
import static org.junit.Assert.assertEquals;
import java.util.ArrayList;
import java.util.List;
import org.denevell.natch.io.posts.PostResource;
import org.denevell.natch.utils.Pagination;
import org.junit.Before;
import org.junit.Test;
import com.google.common.collect.Lists;
... |
package com.weekendproject.connectivly.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;
import com.weekendproject.connectivly.model.GrnPoProduct;
... |
package com.ljw.vo;
import com.ljw.pojo.ChemClassInfo;
/**
* @Description:化学商品种类VO
* @Author Created by liangjunwei on 2018/8/2 17:39
*/
public class ChemClassInfoVO extends ChemClassInfo{
private String menuName;//二级栏目名称
public String getMenuName() {
return menuName;
}
public void setMen... |
package com.learning.usercenter.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.learning.usercenter.dao.RoleMapper;
import com.learning.use... |
package com.example.android.automuteathome;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.... |
package eu.lsem.bakalarka.webfrontend.action.general;
import eu.lsem.bakalarka.dao.ThesesDao;
import eu.lsem.bakalarka.dao.DirectoriesDao;
import eu.lsem.bakalarka.model.Thesis;
import eu.lsem.bakalarka.model.ThesisSearch;
import eu.lsem.bakalarka.service.ApplicationConfiguration;
import eu.lsem.bakalarka.servi... |
package com.vines.mybatis.dao;
import com.vines.mybatis.db.MybatisDaoTemplate;
import com.vines.domain.User;
import org.springframework.stereotype.Component;
@Component
public class UserDao extends MybatisDaoTemplate<User,Integer> {
}
|
package avex.models;
public class AthleteValue {
Double athletevalue,price;
public Double getAthletevalue() {
return athletevalue;
}
public void setAthletevalue(Double athletevalue) {
this.athletevalue = athletevalue;
}
public Double getPrice() {
return price;
}
public void setPrice(Double price) {
... |
package com.example.nadir.buddycheckalarm;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompat... |
package com.pointless;
/**
* Created by vaibh on 8/2/2017.
*/
public interface AdHandler {
public void showAds(boolean show) ;
}
|
package com.eazy.firda.eazy;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.location.Location;
import android.preference.PreferenceManager;
import android.support.design.widget.Snackbar;
import android.su... |
package com.tencent.mm.ui.base;
public interface MultiTouchImageView$a {
void bDv();
void bDw();
}
|
import java.time.Clock;
import java.time.ZoneId;
import java.time.ZonedDateTime;
public class ZoneDateTimeDemo
{
public static void main(String[] args)
{
ZonedDateTime zonedDateTime1 = ZonedDateTime.now(Clock.systemUTC());
System.out.println(zonedDateTime1);
ZonedDateTime zonedDateTime2 = ZonedDateTime.now... |
package com.e6soft.bpm.controllers;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation... |
/*
* Copyright © 2014 YAOCHEN Corporation, All Rights Reserved.
*/
package com.yaochen.address.data.mapper.address;
import com.easyooo.framework.sharding.annotation.Table;
import com.yaochen.address.data.domain.address.AdRole;
import com.yaochen.address.support.Repository;
@Repository
@Table("AD_ROLE")
public inter... |
package chapter10.Exercise10_01;
public class Time {
private int hour;
private int minute;
private int second;
public Time() {
second = (int) ((System.currentTimeMillis() / 1_000) % 60);
minute = (int) (((System.currentTimeMillis() / 1_000) / 60) % 60);
hour = (int) ((System.currentTimeMillis() / (60_000 * ... |
package com.encore.exception;
public class InvalidInputException extends Exception{
public InvalidInputException(){
this("Min and max are incorrect...");
}
public InvalidInputException(String message){
super(message);
}
}
|
package hl.restauth.auth;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONObject;
import hl.common.ImgUtil;
import hl.common.http.HttpResp;
import hl.common.http.RestApiUtil;
public class FaceAuth {
public JsonUs... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.