text stringlengths 10 2.72M |
|---|
package services;
import model.domain.Client;
import model.forms.ClientFormModel;
import java.util.List;
public interface ClientService {
List<Client> findAll();
Client saveClient(ClientFormModel entity);
Client findOne(long idClient);
}
|
/*
* DataPanel.java
* Copyright (C) 2016 NanChang University, JiangXi, China
*
*/
package cn.myluo.datamining.gui;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.BorderLayout;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.File;
import javax.s... |
package codingTest;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.StringTokenizer;
public class kakao_2 {
private static StringBuilder sb = new St... |
package com.mimi.mimigroup.ui.adapter;
import android.graphics.Color;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.mimi.mimigroup.R;
import com.mimi.mimigroup.model.SM_R... |
import java.util.ArrayList;
import java.util.GregorianCalendar;
/**
* This class stores a booking with specific details whenever someone makes a new request.
* @author z5059430
*
*/
public class Booking {
public Booking(int id) {
this.id = id;
this.bookedRooms = new ArrayList<Room>();
}
/*... |
package zm.gov.moh.cervicalcancer.submodule.dashboard.patient.adapter;
public class ViewPagerAdapter {
}
|
package com.mideas.rpg.v2.hud;
/*import java.sql.SQLException;
import org.lwjgl.input.Mouse;
import org.lwjgl.opengl.Display;
import org.newdawn.slick.Color;
import com.mideas.rpg.v2.utils.Texture;
import com.mideas.rpg.v2.Interface;
import com.mideas.rpg.v2.Mideas;
import com.mideas.rpg.v2.Sprites;
impo... |
package hr.mealpler.client.adapters;
import hr.mealpler.client.activities.R;
import hr.mealpler.client.activities.FoodActivity;
import hr.mealpler.client.activities.ProductInfoActivity;
import hr.mealpler.client.activities.ProfileActivity;
import hr.mealpler.client.controller.Constants;
import hr.mealpler.clien... |
package online.stringtek.toy.framework.toymybatis.parser;
import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;
import online.stringtek.toy.framework.toymybatis.handler.SQLHandler;
import online.stringtek.toy.framework.toymybatis.io.Resources;
import online.stringtek.toy.framework.toymybati... |
package com.bowlong.tool;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.Date;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletOutput... |
package ru.itis.javalab.services;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Service;
import ru.itis.javalab.dto.UserSignInForm;
import ru.itis.javalab.models.User;
import ru.itis.javalab.models.UserCookie;
import ru.itis.javalab.repositories.CookieReposi... |
package com.lowes.lowesapp.rest.response;
/**
* Created by George on 1/23/2016.
*/
public class Breadcrumbs
{
private String nValue;
private String name;
public String getNValue ()
{
return nValue;
}
public void setNValue (String nValue)
{
this.nValue = nValue;
}
... |
package Client;
import Client.Services.*;
import Client.Services.Enums.*;
import Client.Services.Enums.Help.*;
public class MainClass
{
public static void main (String[] args)
{
AllExpenses all = new AllExpenses();
System.out.println("OUTPUT 1");
all.displayData(all.listOfWorker());
System.out.println(... |
package com.fleet.remote.shell;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @author April Han
*/
@SpringBootApplication
public class RemoteShellApplication {
public static void main(String[] args) {
SpringApplication.run(... |
package sistema;
/**
* Aggregate.java
* <p>
* An interface for an aggregate.
*
* @author Sara Martino
*
* @param <E> The type of elements contained in this aggregate
*/
public interface Aggregate<E> {
/**
* Returns an iterator.
* @return the iterator.
*/
public MyIterator<E> getIterator();
}
|
package com.modthemod.mtmspout;
import java.io.File;
import java.util.logging.Logger;
import org.spout.api.Engine;
import com.modthemod.api.platform.FileHierarchy;
import com.modthemod.api.platform.Platform;
public class SpoutPlatform implements Platform {
private final ModTheModSpout plugin;
private final Engin... |
class Solution {
public int uniqueMorseRepresentations(String[] words) {
String[] morse = new String[] {".-","-...","-.-.","-..",".","..-.","--.","....","..",".---","-.-",".-..","--","-.","---",".--.","--.-",".-.","...","-","..-","...-",".--","-..-","-.--","--.."};
Set<String> tran... |
package gil.action;
import bol.BOLObject;
import bol.utils.Case;
import dal.DALObject;
import gil.MainFrame;
import gil.utils.DialogBox;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
... |
package com.supconit.kqfx.web.fxzf.msg.services.Impl;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import org.apache.commons.collections.CollectionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation... |
package de.raidcraft.skillsandeffects.pvp.skills.magical;
import com.sk89q.minecraft.util.commands.CommandContext;
import de.raidcraft.skills.api.combat.EffectElement;
import de.raidcraft.skills.api.combat.EffectType;
import de.raidcraft.skills.api.exceptions.CombatException;
import de.raidcraft.skills.api.hero.Hero;
... |
package be.appfoundry.templateexample.ui.detail;
import be.appfoundry.core.di.ActivityScope;
import be.appfoundry.core.di.ApplicationComponent;
import dagger.Component;
@ActivityScope
@Component(dependencies = ApplicationComponent.class)
interface DetailComponent
extends DetailContract.Component<DetailContract.Mv... |
package cd.com.a.bo;
public interface PrdOrderService {
}
|
package com.skh.hkhr.util.image;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.RectF;
import android.graphics.Shader;
import com.skh.hkhr.util.log.PrintLog;
import com.squareup.picasso.Transformation;
impor... |
package com.tencent.mm.plugin.appbrand.game.a;
import com.tencent.mm.plugin.appbrand.app.e;
import com.tencent.mm.plugin.appbrand.appusage.k;
import com.tencent.mm.sdk.e.j.a;
import com.tencent.mm.sdk.e.l;
import com.tencent.mm.sdk.platformtools.x;
import java.util.ArrayList;
import java.util.List;
class i$2 implemen... |
package mk.petrovski.weathergurumvp.data.remote.helper.error;
/**
* Created by Nikola Petrovski on 2/22/2017.
*/
public class InternetConnectionException extends Throwable {
}
|
package com.tencent.mm.plugin.offline.ui;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import com.tencent.mm.g.a.gg;
import com.tencent.mm.sdk.b.a;
class WalletOfflineCoinPurseUI$33 implements OnMenuItemClickListener {
final /* synthetic */ WalletOfflineCoinPurseUI lMe;
... |
package ua.nure.timoshenko.summaryTask4.web.command.all;
import org.apache.log4j.Logger;
import ua.nure.timoshenko.summaryTask4.Path;
import ua.nure.timoshenko.summaryTask4.web.command.Command;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpS... |
package com.tencent.mm.plugin.game.gamewebview.ipc;
import android.os.Message;
import android.os.Messenger;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.Process;
import com.tencent.mm.sdk.platformtools.x;
import java.util.HashSet;
import java.util.Set;
public abstract class GWMainProcessT... |
package util.evaluator;
import enums.Operation;
import org.junit.Test;
import static org.junit.Assert.*;
public class ArithmeticEvalTest {
@Test
public void test_willOverFlowTrue(){
int a,b;
// addition
a = Integer.MAX_VALUE; b= Integer.MAX_VALUE;
assertTrue(ArithmeticEval.wil... |
package game.base.data;
/**
* 各个模块转化的基本data
* @author zoodoz
* create date 2018/6/20
*/
public abstract class PlayerBaseData {
}
|
package Model;
interface BuyComputer{
void buyCom();
}
class Real implements BuyComputer{
@Override
public void buyCom() {
System.out.println("buy computer");
}
}
class Proxy implements BuyComputer{
private BuyComputer buyComputer;
public Proxy(BuyComputer buyComputer){
this.buy... |
package leetcode_easy;
public class Question_693 {
public boolean hasAlternatingBits(int n) {
boolean hasAlternatingBits = true;
int expect_lsb = ((1 & n) == 1) ? 0 : 1;
n = n >> 1;
while (n > 0) {
int lsb = 1 & n;
if (expect_lsb != lsb) {
ha... |
package com.arkaces.aces_marketplace_api.error;
import lombok.Data;
@Data
public class FieldError {
private String field;
private String code;
private String message;
private Object[] messageArguments;
}
|
package com.tencent.tencentmap.mapsdk.a;
public final class jt extends mf {
static byte[] h;
public String a = "";
public int b = 0;
public int c = 0;
public int d = 0;
public int e = 0;
public byte[] f = null;
public String g = "";
public final void writeTo(me meVar) {
meV... |
package mainmenu;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.layout.*;
import javafx.stage.Stage;
import newgame.ButtonHandlerNewGame;
import newgame.TeamsList;
import java.io.FileInputStream;
public class ButtonOneHandlerObject extends ButtonHandler{
private Stage primarySta... |
package de.davelee.trams.customer.rest.controllers;
import de.davelee.trams.customer.api.CustomerFeedbackModel;
import de.davelee.trams.customer.data.CustomerFeedback;
import de.davelee.trams.customer.services.CustomerFeedbackService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
impor... |
package com.seemoreinteractive.seemoreinteractive;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.webkit.... |
package com.infotec.registro;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Properties;
import java.io.IOException;
import java.io.InputStream;
public clas... |
/*
* 2012-3 Red Hat Inc. and/or its affiliates and other contributors.
*
* 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 requi... |
package com.tencent.mm.plugin.sns.ui;
import android.app.Dialog;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import an... |
package com.sobey.exportExcel;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import com.sobey.exportExcel.model.ExcelModel;
@RunWith(SpringRunner.class)
@SpringBootTest
public class NMe... |
package edu.wayne.cs.severe.redress2.entity;
/**
* @author ojcchar
* @version 1.0
* @created 23-Mar-2014 12:28:48
*/
public class Refactoring {
public Refactoring() {
}
public void finalize() throws Throwable {
}
/**
* @param classQName
*/
public double getLOC(String classQNa... |
/*
* 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 org.sudrf.dao;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
i... |
package arrays;
// Java program to calculate the maximum
// absolute difference of an array.
public class MaximumAbsoluteDifference {
private static int maxDistance(int[] array) {
int min = array[0];
int max = array[0];
int minidx = 1;
int maxidx = 1;
int maxSum = 0;
for (int i = 1; i < array.length; i+... |
package io.fab.connector.data;
import java.io.Serializable;
public class Brand implements Serializable {
private static final long serialVersionUID = -5053645053414726365L;
private String name;
Brand() {}
public Brand(final String name) {
this.name = name;
}
public String getName() {
return name;
}
... |
package ch.springcloud.lite.core.loadBalance;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.stream.Collectors;
import ch.springcloud.lite.core.model.CloudServer;
pub... |
package com.spqa.wefun.include;
public class Const {
//"http://api.androidhive.info/volley/string_response.html"
public static final String URL_STRING_REQ = "http://192.168.1.114/wefun/v1/newfeeds";
//"http://192.168.1.112/wefun/v1/newfeeds";
}
|
/*
* 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 projectclient;
import java.util.List;
import java.util.ArrayList;
import javax.swing.*;
import java.awt.*;
import j... |
package Array;
import java.util.*;
//给定一个整数数组和一个数字,求数组中元素组合之和等于该数字的组合,数组中的数字可以重复使用
public class CombinationSum {
public static void main(String[] args) {
int [] a = {1,1, 4,2,3};
ArrayList<ArrayList<Integer>> res = FindPath(a, 5);
for (int i = 0; i < res.size(); i++) {
System.out.println(res.get(i));
}
Sy... |
package martin.s4a.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import java.util.ArrayList;
import java.util.Calendar;
import martin.s4a.library.Database;
impor... |
package artista;
import java.util.*;
public class Accounts {
private final int userIDNum;
private String userName;
private String password;
private String firstName;
private String lastName;
private String email;
List <Image> Images = new ArrayList<Image>();
//for accounts that are in the database that ... |
/* 1: */ package com.kaldin.questionbank.question.hibernate;
/* 2: */
/* 3: */ import com.kaldin.common.util.HibernateUtil;
/* 4: */ import com.kaldin.common.util.PagingBean;
/* 5: */ import com.kaldin.common.utility.StringUtility;
/* 6: */ import com.kaldin.questionbank.answer.dto.A... |
package page;
public class Sundara {
public static void main(String[] args) {
System.out.println("Hi Sundra");
}
}
|
public class ReversedArray extends SortedArray implements ReversedADT
{
public ReversedArray()
{
}
public ReversedArray(int size)
{
super(size);
}
public ReversedADT reverse()
{
// create reversed array with size based on the number of objects in the array to be reverse... |
package com.ctac.jpmc.game.conway;
import com.ctac.jpmc.game.ICoordinates;
/**
*
* 2D Coordinates
*
*
*/
public class Coordinates3D implements ICoordinates {
private int x;
private int y;
private int z;
/**
* Constructor with coordinates
*
* @param x x-coordinate
* @param y... |
/**
* 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.rudecrab.springsecurity.security;
import com.rudecrab.springsecurity.serviceimpl.UserServiceImpl;
import io.jsonwebtoken.Claims;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.UsernamePasswordAuthentication... |
package iristk.app.puzzle;
import java.awt.Color;
public class Figure {
public String form;
public Color color;
public String size;
public int[][] shape;
public int id;
public boolean isSet;
public boolean isSet() {
return isSet;
}
public void setSet(boolean isSet) {
this.isSet = isSet;
}
public Fi... |
package org.zx.common.security;
import com.auth0.jwt.JWT;
import com.auth0.jwt.algorithms.Algorithm;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.collect.Lists;
import org.springframework.context.ApplicationContext;
import org.springframework.security.authentication.AuthenticationManage... |
package com.data.rhis2;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.location.Location;
import android.location.LocationListener;
import android.location... |
package exer;
import java.util.HashMap;
import java.util.Scanner;
/**
* @author menglanyingfei
* @date 2017-7-14
*/
public class Main03_Distance {
public static void main(String[] args) {
HashMap<String, Integer> map = new HashMap<String, Integer>();
Scanner in = new Scanner(System.in);
String str;
int cn... |
package br.com.matheusvieira.appleilaoii;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import java.text.Numb... |
/**
* Spring Framework configuration files.
*/
package com.africa.gateway.config;
|
package tests;
import weightlifting.WeightLifter;
import utest.*;
import java.util.Arrays;
public class Part1 extends Testable {
public void assertion() {
check("WeightLifter.getStrongestWeightLifter: a metodusnak null-t kell visszaadnia, ha meg nem hoztak letre WeightLifter objektumot.", WeightLifter.ge... |
package service;
import domain.Curso;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import repository.CursoRepository;
import javax.transaction.Transactional;
import java.util.Collection;
@Service
public class CursoService {
@Autowired
CursoRepo... |
/*
* 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 Aula4.Questao2;
import java.util.List;
import java.util.ArrayList;
/**
*
* @author mauricio.moreira
*/
public class Profess... |
package jp.abyss.sysparticle.api.particle;
public interface PointParticleListEditable {
}
|
package com.fmachinus.practice.entity.mapping;
import com.fmachinus.practice.entity.Customer;
import com.fmachinus.practice.entity.dto.CustomerDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
@Mapper
public interface CustomerMapper {
CustomerMapper MAPPER = Mappers.getMapper(CustomerMapper... |
package com.lqs.hrm.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class PositionLevelExample {
/**
* This field was generated by MyBatis Generator. This field corresponds to the database table position_level
* @mbg.generated Mon May 25 00:12:01 CST 2020
*/
protec... |
/*
* Copyright 2011 Sergio Moyano Serrano.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
package com.java.tut.test;
import org.apache.commons.lang3.Validate;
public class Main
{
public static void main(String[] args)
{
try
{
Validate.matchesPattern("15:16", "^([01]?[0-9]|2[0-3]):[0-5][0-9]");
}
catch( IllegalArgumentException e)
{
System.out.println( e.getMessage());
}
... |
package com.company;
import java.util.Random;
import java.util.Scanner;
public class One_Shot_hi_lo {
public static void main(String[] args) {
Random random = new Random();
Scanner scanner= new Scanner(System.in);
int right=1+random.nextInt(100);
int guess;
System.out.println... |
import java.util.Scanner;
public class SubtractQuiz {
public static void main(String[] args)
{
final int NUMBER_OF_QUESTIONS = 5;// Number of questions
int correctCount = 0; // count of correct answers
int count = 0 ;// count the number of questions
long startTime = System.currentTimeMillis();
String output = " ... |
package ve.com.mastercircuito.objects;
public class BoardVoltage {
private Integer id;
private String voltage;
public BoardVoltage() {
super();
}
public BoardVoltage(Integer id, String voltage) {
super();
this.id = id;
this.voltage = voltage;
}
public Integer getId() {
return id... |
/*
* Squares and cubes the array elements using two threads.
*/
public class SquareCube {
private static int arr1[] = new int[]{1,2,3,4,5};
private static int arr2[] = new int[]{2,3,4,5,6};
private static int sumSquare=0, sumCube=0, finalSum=0;
public static void main(String[] args) {
Runnable run1 = ... |
package br.unit.uibb.entidades;
import java.util.UUID;
public class Conta {
private String numero;
private double saldo;
private Cliente cliente;
private String senha;
public Conta() {
}
public Conta(String numero, double saldo, Cliente cliente, String senha) {
this.numero = numero;
this.saldo = saldo;
... |
import java.util.*;
public class Main {
static Scanner in;
static int maxnum = 100; //받을 수 있는 숫자의 최대 개수
public static void main(String[] args) {
in = new Scanner(System.in);
int[] fnumbers = new int[maxnum];
int count = 0; int searchNum;
System.out.println("숫자를 차례대로 입력하세요.(최대 " + maxnum + "개... |
package com.es.phoneshop.web;
import com.es.phoneshop.model.product.Cart.Cart;
import com.es.phoneshop.model.product.Cart.CartService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import javax.servlet.http... |
/**
* Dedicated for methods needed to make the program robust in all areas. Returns
* boolean to program instructing whether user's input was valid
*/
package stockorganizer;
import java.util.ArrayList;
import java.util.LinkedList;
public class RobustChecker {
private String errorMessage; // Sets error me... |
/**
* Copyright 2019 bejson.com
*/
package com.wxapp.jsonbean;
/**
* Auto-generated: 2019-12-31 15:56:46
*
* @author bejson.com (i@bejson.com)
* @website http://www.bejson.com/java2pojo/
*/
public class UploadContact {
private OnlineAccount_wxid onlineAccount_wxid;
public OnlineAccount_wxid getOnl... |
package org.nmrg.model.page;
import java.io.Serializable;
import java.util.Set;
import org.nmrg.model.BaseModel;
/**
** 分页参数
**
* @ClassName: PageModel
** @Description: TODO
** @author CC
** @date 2017年8月11日 - 下午1:11:04
*/
public class PageModel implements Serializable {
// --- @Fields serialVersionUID : T... |
package com.IRCTradingDataGenerator.tradingDataGenerator.Repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.IRCTradingDataGenerator.tradingDataGenerator.Models.Principle;
public interface PrincipleDao extends JpaRepository<Principle, Integer>{
}
|
package test;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.ht... |
package com.lubarov.daniel.blog.post;
import com.lubarov.daniel.blog.comment.Comment;
import com.lubarov.daniel.blog.comment.CommentFormFormatter;
import com.lubarov.daniel.blog.comment.CommentFormatter;
import com.lubarov.daniel.data.option.Option;
import com.lubarov.daniel.data.sequence.Sequence;
import com.lubarov.... |
package com.jst.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.jst.myservice.PermissionServiceImpl;
@Controller
public class PermissionController {
@Autowired
... |
package beans;
import lombok.Data;
import util.Default;
@Data
public class PayrollCorrectingEntry {
private String id;
private String rowstamp;
private String firstname;
private String middlename;
private String lastname;
private String employeeid;
private String department;
private String explanatio... |
package ru.gadjets.comppartapp.service;
import ru.gadjets.comppartapp.dao.utils.Pager;
import ru.gadjets.comppartapp.entity.Part;
import java.util.List;
import java.util.Properties;
public interface PartPagerService {
void delete(int p);
public List<Part> findAll(Properties prop);
Part getById(int id);
... |
package com.jx.product.service;
import com.jx.product.model.Product;
import java.util.List;
public interface ProductService {
List<Product> query();
void updStock(String[] id, String[] num);
}
|
package org.gmart.devtools.java.serdes.codeGenExample.openApiExample.generatedFiles;
import java.util.List;
import javax.annotation.processing.Generated;
import org.gmart.devtools.java.serdes.codeGen.javaGen.model.classTypes.AbstractClassDefinition;
import org.gmart.devtools.java.serdes.codeGen.javaGen.model.classTy... |
package elora;
import static org.junit.Assert.*;
import java.util.Calendar;
import java.util.Date;
import org.junit.Test;
import elora.TellMeWhen;
/**
* Tests the {@link TellMeWhen} class.
*
* @author akauffman
*
*/
public class TellMeWhenTest {
/**
* Tests that empty parameters are being handled.
*/... |
package sample.entity;
import sample.util.DbHelper;
import javax.persistence.*;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Root;
import java.sql.Date;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
impor... |
package com.mysql.cj.xdevapi;
import com.mysql.cj.MysqlxSession;
import com.mysql.cj.protocol.Message;
import com.mysql.cj.protocol.x.XMessage;
import java.util.concurrent.CompletableFuture;
public class FindStatementImpl extends FilterableStatement<FindStatement, DocResult> implements FindStatement {
FindStatement... |
package ru.hitpoint.lib.hitpoint.network;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class NetServiceManager {
// private static final String BASE_URL = "http://192.168.0.100:8080";
private static final String BASE_URL = "http://superapi.pythonanywhere.com";
pri... |
package util;
public class Util {
public String compare(StringCompare stringCompare) {
if (stringCompare == null) return null;
if (stringCompare.first == null || stringCompare.second == null) {
return stringCompare.second;
}
if (stringCompare.first.length() + stringCom... |
package com.rockwellcollins.atc.limp.translate.lustre.limp2lustre;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import jkind.lustre.Ast;
import jkind.lustre.Constant;
import jkind.lustre.Expr;
import jkind.lustre.Function;
import jkind.lustre.Node;
import jk... |
package com.tencent.mm.opensdk.modelpay;
import android.os.Bundle;
import com.tencent.mm.opensdk.modelbase.BaseResp;
public class JumpToOfflinePay {
public static class Resp extends BaseResp {
public Resp(Bundle bundle) {
fromBundle(bundle);
}
public boolean checkArgs() {
... |
/*
* Copyright ApeHat.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... |
// Sun Certified Java Programmer
// Chapter 2, P125
// Object Orientation
interface Baz {
}
|
package com.tencent.mm.g.a;
public final class fm$a {
public int bNR;
public int bNS;
public int bNT;
public int bNU;
public String fileName;
public int result;
}
|
package support.yz.data.mvc.service.inter;
import support.yz.data.entity.entityInfo.EnterprisePatent;
public interface PatentService {
EnterprisePatent getPatentByName(String patentName) throws Exception;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.