text stringlengths 10 2.72M |
|---|
package com.example.okta_cust_sign_in.util;
import android.app.AlertDialog;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;
import com.example.okta_cust_sign_in.R;
import java.lang.ref.WeakReference;
public class OktaProgressDialog {
... |
package com.beans;
import javax.ejb.Remote;
@Remote
public interface PaymentsServiceRemote {
boolean creditPayment(String token, int amount, String description);
}
|
package com.n2s.miniproject.pojo;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http... |
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
public class Power {
String name = "";
String cnt_in_effect;
String triggered;
String activated;
String expired;
String power_suspended;
String cnt_suspended;
String terminated;
String exerted;
String powe... |
package rafaxplayer.cheftools.stocks;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import rafaxplayer.cheftools.Globalclasses.BaseActivity;
import rafaxplayer.cheftools.Globalclasses.GlobalUttilities;
import rafaxplayer.cheftools.R;
import rafaxp... |
/*
* Copyright 2002-2020 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 command.dining;
import org.springframework.web.multipart.MultipartFile;
public class MenuCommand {
Long menuNo;
Long rstNo;
String menuName;
Long menuPrice;
String menuCnt;
MultipartFile [] menuImg;
public Long getMenuNo() {
return menuNo;
}
public void setMenuNo(Long menuNo) {
... |
/*
* Copyright 2002-2023 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 com._520it.wms.service;
import com._520it.wms.domain.OrderBill;
import com._520it.wms.domain.StockIncomeBill;
import com._520it.wms.page.PageResult;
import com._520it.wms.query.OrderBillQueryObject;
import com._520it.wms.query.StockIncomeBillQueryObject;
public interface IStockIncomeBillService {
void delete(... |
package xyz.alviksar.orchidarium.ui;
import android.annotation.SuppressLint;
import android.app.ActivityOptions;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.su... |
package com.badawy.carservice.fragment;
import android.app.Activity;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget... |
package com.lojaDeComputadorV3.converter;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.FacesConverter;
import com.lojaDeComputadorV3.dao.ProdutoDAO;
import com.lojaDeComputadorV3.domain.Produto;
@FacesCon... |
import java.io.*;
import java.lang.*;
import java.util.*;
// #include <stdio.h>
// #include <stdlib.h>
// #include <string.h>
// #include<stdbool.h>
/*
# Author : @RAJ009F
# Topic or Type : GFG/ARRAY
# Problem Statement : ConsecutiveEle.java
# Description :
# Complexity :
=======================
#sample output... |
package com.lenovohit.hcp.base.model;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.lenovohit.bdrp.authority.model.AuthRole;
import com.lenovohit.core.model.BaseIdModel;
import com.lenovohit.core.utils.BeanUtils;
@Entity
@Table(name = "HCP_ROLE") // 人员基本信息';
publ... |
package com.company;
import java.util.Random;
/**
* Created by 17032361 on 2017/8/8.
* 生成随机数
*/
//public class chapter3_12 {
// public static void main(String[] args){
// Random xx = new Random();
// int number = xx.nextInt(10);
// System.out.println(number);
// }
//}
public class chapter... |
package xhu.wncg.firesystem.modules.mapper;
import org.apache.ibatis.annotations.Param;
import xhu.wncg.firesystem.modules.controller.vo.DailyTableVO;
import xhu.wncg.firesystem.modules.controller.qo.DailyTableQO;
import xhu.wncg.common.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import xhu.wncg.fi... |
package com.example.activitytest;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.... |
package com.resjob.modules.app.dao;
import java.util.List;
import com.resjob.common.persistence.CrudDao;
import com.resjob.common.persistence.annotation.MyBatisDao;
import com.resjob.modules.app.entity.PaperKeyword;
/**
* 论文关键字DAO接口
* @author wupeng
* @version 2016-05-20
*/
@MyBatisDao
public interface PaperKeyw... |
/**
* Copyright 2015 Thomas Cashman
*/
package org.protogen.compiler.core.condition;
/**
*
* @author Thomas Cashman
*/
public interface Condition {
}
|
package DemoRest.WebApp.repository;
import DemoRest.WebApp.model.Users;
import org.springframework.data.jpa.repository.JpaRepository;
public interface UserRepository extends JpaRepository<Users, Integer> {
Users findByEmailAddress(String email_address);
Users findById(String id);
}
|
/**
* @author TATTYPLAY
* @date May 26, 2018
* @created 1:22:05 AM
* @filename CreationItemsReport.java
* @project Reporter
* @package com.tattyhost.reporter.inventory
* @copyright 2018
*/
package com.tattyhost.reporter.inventory.items;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Threads;
import java.util.Random;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author rm
*/
public class Bank_Account_Operation implements Runnable{
... |
import java.util.Scanner;
/**
*This program calcualtes the cost of a customers pizza based on its diameter and size
* @author Zachary Balean
*/
public class Main {
/**
* The method that is executed when you hit the run button.
* @param args the command line arguments
*/
public static void mai... |
package com.example.demo.controllers;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annota... |
package com.revature.ers.dao;
import java.util.List;
import com.revature.ers.model.User;
public interface UserDao {
public List<User> getUsers();
public List<User> getUsersByCompanyId(int companyId);
public User getUser(int id);
public User getUser(String username);
public User getLastCreatedUser();
public b... |
package yedamOracle.com;
public class NewJavaProgram {
public static void main(String[] args) {
int result, result2, num1, num2, num3;
num1 = 10;
num2 = 20;
num3 = 0;
result = num1 + (num2 * 3) + (30 / num1) - 10;
result2 = num1 % num2;
System.out.println(result);
System.out.print... |
package ua.edu.ucu.smartarr;
import java.util.Arrays;
public class DistinctDecorator extends SmartArrayDecorator {
public DistinctDecorator(SmartArray smartArray) {
super(smartArray);
}
@Override
public Object[] toArray() {
return Arrays.stream(smartArray.toArray()).distinct().toArr... |
package com.net;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import objects.Joueur;
public class Reception {
private ObjectInputStream obj_in;
public Reception(InputStream in) throws IOException {
this.obj_in = new ObjectInputStream(in);
}
public Joueur getJou... |
/**
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
Note: For the purpose of this problem, we define empty string as valid palindrome.
Example 1:
Input: "A man, a plan, a canal: Panama"
Output: true
*/
class Solution {
public boolean isPalindrome(S... |
package com.example.test;
import com.example.main.Calculate;
import io.micronaut.test.extensions.junit5.annotation.MicronautTest;
import org.junit.jupiter.api.Test;
import javax.inject.Inject;
import static org.junit.jupiter.api.Assertions.assertEquals;
@MicronautTest
public class ReplaceTest {
@Inject
Cal... |
package homework2;
//Gustavo Magalhaes Pereira. Circle2D.java
public class Circle2D {
public double x;
public double y;
public double radius;
public Circle2D () {
this.x = 0.0;
this.y = 0.0;
this.radius = 1.0;
}
public Circle2D (double x, double y, double radius) {
this.x = x;
this.y = y;
this.r... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.maizegenetics.analysis.imputation;
import net.maizegenetics.dna.map.Chromosome;
import net.maizegenetics.dna.snp.*;
import net.maizegenetics.dna.snp.genotypecall.GenotypeCallTableBuilder;
import net.maizegen... |
/**
*
*/
package de.jaroso.example.cxf.exceptions;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
/**
* ExceptionHandler
*
* <p>
* <i><small>Copyright (c) 2015 Jaroso GmbH</s... |
/*
* @Title: DateJsonDeserializer.java
* @Package: com.scf.core.serializer.json
* @author wubin
* @date 2016年9月13日 下午5:15:55
* @version 1.3.1
*/
package com.scf.core.serializer.support;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Da... |
package com.cursodeandroid.whatsapp.activity;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.ListView;
... |
package merge_sorted_arrays;
import java.util.Arrays;
// https://www.interviewcake.com/question/merge-sorted-arrays
public class App {
public static void main(String[] args) {
int[] my_list = { 3, 4, 6, 10, 11, 15 };
int[] alices_list = { 1, 5, 8, 12, 14, 19 };
int[] merged_list = merge_lists(my_list, alices_l... |
package cn.com.xbed.vo;
/**
* @Description:
* @author:Tom
* @create 2017-03-06 19:26
**/
public class User {
}
|
package no.uninett.adc.neo.dao;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.test.TestGraphDatabaseFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springf... |
package com.allstate;
import java.util.HashMap;
import java.util.Map;
/**
* Created by sameer on 2/1/17.
*/
public class Portfolio {
private String name;
public Map<String, Integer> getMapOfStocks() {
return mapOfStocks;
}
public Portfolio(String name) {
this.name = name;
}
... |
package iuh.edu.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springfra... |
public class InstanceAndClassVariables {
// Instance and a class variable don't have to be initialized because when they are declared they have a default value.
/* Default initialization.
boolean default false
byte, short, int, long, default 0
float double 0.0
char 'u\u0000' (NUL)
Everything... |
package edu.mit.cameraCulture.vblocks.predefined;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.opencv.core.Core;
import org.opencv.core.CvType;
import org.opencv.core.Mat;
import org.opencv.core.MatOfPoint;
import org.opencv.core.Point;
import org.opencv.core.Sca... |
package com.example.shreyesh.sarinstituteofmedicalscience;
import android.app.ProgressDialog;
import android.support.annotation.NonNull;
import android.support.design.widget.TextInputLayout;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import andr... |
package com.oracle.curd.controller;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.oracle.curd.bean.Ckin;
import com.oracle.curd.service.CkinService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.... |
package gui;
import java.awt.FlowLayout;
import java.awt.Graphics;
import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class DealerHandPanel extends JPanel {
private static final long serialVersionUID = 1L;
private static final int RAISE_HE... |
package com.megathrone.tmall.controller;
import com.comparator.*;
import com.github.pagehelper.PageHelper;
import com.megathrone.tmall.pojo.*;
import com.megathrone.tmall.service.*;
import org.apache.commons.lang.math.RandomUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewor... |
package business.abstracts;
import java.util.List;
import entities.concretes.Category;
public interface CategoryService {
List<Category> getAll();
void add(Category category);
void update(Category category);
void delete(Category category);
}
|
/* ------------------------------------------------------------------------------
* 软件名称:IM
* 公司名称:乐多科技
* 开发作者:Yongchao.Yang
* 开发时间:2014年11月10日/2014
* All Rights Reserved 2012-2015
* -------------------------------------------------------... |
package com.pelephone_mobile.mypelephone.network.rest;
import java.io.IOException;
import java.util.Set;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframework.http.Resp... |
public class MaximumSubarray {
public int maxSubArray(int[] nums) {
int n = nums.length;
int [] dp = new int[n];
dp[0] = nums[0];
int max = 0;
for(int i=1;i<n;i++){
dp[i] = dp[i-1] + (dp[i-1]>0?dp[i-1]:0) ;
max = Math.max(dp[i], max);
}
retu... |
package FactoryPattern;
public class Onion extends Veggies {
public Onion() {
super("Onion");
// TODO Auto-generated constructor stub
}
}
|
package com.revolut.moneytransfer.test.service;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.math.BigDecimal;
import java.net.URISyntaxException;
import java.util.Date;
import org.apache.http.client.ClientProtocolException;
import org.junit.Test;
import org.slf4j.Logger;
import ... |
package com.examples.mockito;
import org.junit.Ignore;
import org.junit.Test;
import org.mockito.Mockito;
import org.mockito.Spy;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.*;
/**
* Spy or the spy() ... |
package com.example.prog3.alkasaffollowup.ViewHolders;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import com.example.prog3.alkasaffollowup.R;
/**
* Created by prog3 on 3/26/2018.
*/
public class InvoicesViewHo... |
/*
* 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 server.rooms;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
/**
*
* @author luisburgos
... |
package tradingmaster.model;
public interface IPortfolio {
// void init(Map params);
//
// void onFirstCandle(Candle c);
//
// void onLastCandle(Candle c);
//
// void buy(BigDecimal price, BigDecimal amount, Candle c);
//
// void sell(BigDecimal price, BigDecimal amount, Candle c);
}
|
package com.zc.pivas.docteradvice.dtsystem.autocheck.req;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
/**
*
* 医嘱自动检查结果类
*
* @author cacabin
* @version 0.1
*/
@XmlAccessorType(XmlAccessType.FIELD)
public class Allergic
{
private String typ... |
package org.example.codingtest.oneLevel;
/**
* 행렬의 덧셈은 행과 열의 크기가 같은 두 행렬의 같은 행, 같은 열의 값을 서로 더한 결과가 됩니다.
* 2개의 행렬 arr1과 arr2를 입력받아, 행렬 덧셈의 결과를 반환하는 함수, solution을 완성해주세요.
**/
public class AddOfMatrix {
public static void main(String[] args) {
int[][] arr1 = {{1,2},
{2,3}};
... |
/*package com.bnrc.util.collectwifi;
import java.io.IOException;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.List;
import java.util.Map;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.cl... |
package cn.itcast.spring.IntegrateWeb;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.context.WebApplicationContext;
import org.spring... |
package pages;
import org.openqa.selenium.WebDriver;
public class UserHomePage extends BasePage {
public UserHomePage(WebDriver driver) {
super(driver);
}
public UserHomePage verifySignIn(){
//System.out.println(driver.getTitle());
verifyTitle("Amazon.com.au: Shop online for Electr... |
module hellofx {
requires com.youthlin.i18n;
requires com.almasb.fxgl.all;
requires logback.classic;
requires logback.core;
requires slf4j.api;
opens com.youthlin.example.javafx to javafx.fxml;
exports com.youthlin.example.javafx;
} |
package com.worldchip.bbpawphonechat.view;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.MotionEvent;
import andr... |
package com.jtexplorer.entity.dto;
import com.jtexplorer.entity.enums.RequestEnum;
import lombok.Data;
import lombok.ToString;
import java.math.BigDecimal;
import java.util.List;
/**
* JsonResult class
*
* @author 苏友朋
* @date 2019/03/01 09:03
*/
@Data
@ToString
public class JsonResult {
private boolean succ... |
package com.lambda.iith.dashboard.MainFragments;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.util.ArrayMap;
import android.view.LayoutInflater;
import android.view.View;
im... |
package com.pratik.ms.controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.ann... |
package com.niit.backend.service;
import java.util.List;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import com.niit.backend.dao.Empdao;
import com.niit.backend... |
package org.point85.domain.http;
import java.time.Duration;
import java.time.LocalDateTime;
/**
* OAuthAccessToken contains methods for handling an OAuth 2.0 access token
*
*/
public class OAuthAccessToken {
// expiration threshold (seconds)
private Duration threshold = Duration.ofSeconds(3600);
private String... |
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
public class IAndOCharStream {
public static void main(String[] args) {
// TODO Auto-generated method stub
File f = new File("d:/Java/test.txt");
try (FileReader fr = new FileReader(f)) {
char[] all = new... |
package com.redsun.platf.web.framework;
import com.redsun.platf.util.LogUtils;
import org.slf4j.Logger;
import org.springframework.web.servlet.mvc.AbstractController;
/**
* <p>Title: com.walsin.platf.web.framework.LoggingSupportController</p>
* <p>Description: 共用Log物件</p>
* <p>Copyright: Copyright (c) 2010</p>
*... |
package utils;
import bean.AdminLoginBean;
import bean.StudentInfoBean;
import bean.StudentLoginBean;
import java.util.ArrayList;
import java.util.List;
public class LoginUtils {
private JDBCUtils mJDBCUtils = JDBCUtils.getInstance();
public LoginUtils() {
mJDBCUtils.getConnection();
}
pub... |
package model.player;
public enum PlayerType
{
Batsman, Bowler, BattingAllrounder, BowlingAllrounder,
Allrounder, WicketkeeperBatsman
} |
package icw.bankingdriver;
import icw.bankingdriver.BankAccount;
/*
Next, design a checking account class,
also derived from the generic account class.
It should have the following member functions:
withdraw:
Before the base class function is called,
this function will determine if a withdrawal (a ch... |
package cz.muni.fi.pa165.monsterslayers.dao;
import cz.muni.fi.pa165.monsterslayers.entities.ClientRequest;
import org.springframework.data.repository.CrudRepository;
/**
* Client request repository interface extending spring CrudRepository
*
* @author Maksym Tsuhui
*/
public interface ClientRequestRepository ext... |
package it.polito.tdp.imdb.model;
import java.util.*;
import org.jgrapht.Graph;
import org.jgrapht.Graphs;
import org.jgrapht.graph.DefaultWeightedEdge;
import org.jgrapht.graph.SimpleWeightedGraph;
import it.polito.tdp.imdb.db.ImdbDAO;
public class Model {
ImdbDAO DAO;
private List <Integer> anno = new LinkedL... |
package commands.client.game;
import java.util.List;
import java.util.Set;
import commands.server.ingame.HeroSelectionInGameServerCommand;
import commands.server.ingame.HeroSelectionTimeoutInGameServerCommand;
import commands.server.ingame.InGameServerCommand;
import core.client.game.operations.Operation;
import core... |
package com.github.riyaz.bakingapp;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.test.InstrumentationRegistry;
import android.support.test.rule.ActivityTestRule;
import com.github.riyaz.bakingapp.model.Reci... |
package model.error;
public class ErrorPosicionInvalida extends Exception {
}
|
package com.delrima.webgene.arch.client.validation.validators;
import com.delrima.webgene.arch.client.validation.Validator;
/**
* <p>
* Validate a double value
* </p>
*
* @author bhavesh.thakker@ihg.com
* @since Sep 22, 2008
*
*/
public class DoubleValidator implements Validator {
public static final Doub... |
package sqldata;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import po.MatchPO;
import po.MatchResult;
import po.PlayerPO;
import po.Player... |
package jenkins.plugins.hipchat;
import org.junit.Test;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertTrue;
import static junit.framework.Assert.assertFalse;
import static org.junit.Assert.assertArrayEquals;
public class StandardHipChatServiceTest {
@Test
publi... |
package com.ctt;
import org.mybatis.spring.annotation.MapperScan;
import org.redisson.Redisson;
import org.redisson.api.RLock;
import org.redisson.api.RedissonClient;
import org.redisson.config.Config;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplicatio... |
/*
* © Copyright 2016 CERN. This software is distributed under the terms of the Apache License Version 2.0, copied
* verbatim in the file “COPYING“. In applying this licence, CERN does not waive the privileges and immunities granted
* to it by virtue of its status as an Intergovernmental Organization or submit itsel... |
package com.gcc.controller;
import com.gcc.entity.Citys;
import com.gcc.interceptor.RequireLogin;
import com.gcc.service.CitysService;
import com.gcc.vo.CityVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import jav... |
/*
* ################################################################
*
* 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 com.example.demo.service.impl;
import com.example.demo.service.CaptureImgService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.Sp... |
package car_rent.rent;
public enum GearBox {
AUTO, MANUAL
}
|
package com.jim.mybatis.model.mapper;
import com.jim.mybatis.model.po.Privilege;
public interface PrivilegeMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table privileges
*
* @mbggenerated Thu Sep 21 01:16:58 CST 2017
*/
int deleteByPrim... |
package com.saasxx.core.config;
import java.util.Properties;
import javax.persistence.EntityManagerFactory;
import javax.sql.DataSource;
import org.apache.ibatis.plugin.Interceptor;
import org.apache.ibatis.session.SqlSessionFactory;
import org.hibernate.cache.ehcache.EhCacheRegionFactory;
import org.hiber... |
/*
* @(#) IFileInfoService.java
* Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved.
*/
package com.esum.wp.ims.fileinfo.service;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.esum.appframework.service.IBaseService;
/**
*
* @author heowon@esum... |
package com.birivarmi.birivarmiapp.model;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persis... |
package com.gsccs.sme.test;
import java.util.Date;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4Clas... |
package com.jalsalabs.ticklemyphonefull;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.security.Security;
import java.util.Properties;
import javax.activation.DataHandler;
import javax.activation.DataSource;
im... |
package de.fusion.deluxeenchantments.config;
import java.util.List;
public interface ConfigReader {
boolean contains();
int getInt();
boolean getBoolean();
String getString();
List<?> getList();
Object getObject();
}
|
package com.oa.role.service;
import java.util.List;
import com.oa.page.form.Page;
import com.oa.role.form.RoleInfo;
public interface RoleInfoService {
public void addRoleInfo(RoleInfo roleInfo);
public List<RoleInfo> selectAllRoleInfo();
public List<RoleInfo> selectRoleInfoByPage(final Page<RoleInfo> page);... |
package com.desarollounder.undermetal;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
impor... |
package com.example.apprunner.User.menu2_profile_event.Adapter;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import ... |
package com.prep.glossary;
public class MethodOverriding {
public int sum(int a,int b){
return a+b;
}
public float sum(float a,float b){
return a+b;
}
}
|
package com.fbse.recommentmobilesystem.XZHL0730;
import java.util.List;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ListView;
import android.widget.TextView;
import com.fbse.recom... |
package com.mpowa.android.powapos.apps.powatools.util;
/**
* Created by Powa on 5/28/15.
*/
public class HtmlFormatter {
String htmlPageInit;
String htmlPageEnd;
StringBuffer tableInit = new StringBuffer();
String tableEnd;
public HtmlFormatter(){
htmlPageInit = "<!DOCTYPE HTML PUBLI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.