text stringlengths 10 2.72M |
|---|
package array;
import java.util.Scanner;
public class Largeno2 {
public static void main(String[] args)
{
Scanner s=new Scanner (System.in);
double n1, n2,n3;
System.out.println("Enter Number1:");
n1=s.nextDouble();
System.out.println("Enter Number2... |
package com.company.model;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.*;
import java.util.Date;
import java.util.Set;
@Entity
@Getter
@Setter
@NoArgsConstructor
@Table()
public class Manufacturer {
@Id
@GeneratedValue(strategy = GenerationType.IDENTI... |
package myshop.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import myshop.mapper.ShoppingCartMapper;
import myshop.model.ShoppingCartItem;
import myshop.service.ShoppingCartService;
@Service
public class ShoppingCar... |
package 表栈队列;
public class Hello{
public static void main(String[] args){
Cat cat = new Cat();
cat.name = "tom";
cat.age = 20;
System.out.println("name:" + cat.name + ", age:" + cat.age);
}
private static class Cat{
String name;
int age;
}
} |
package com.esum.framework.jdbc.handler;
import java.sql.CallableStatement;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.apache.commons.lang.StringUtils;
import org.apache.ibatis.type.BaseTypeHandler;
import org.apache.ibatis.type.JdbcType;
public class YNBoo... |
package com.ismailsozen.bilgilerenteresan;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import java.util.ArrayList;
import java.util.List;
public class SQliteHelper... |
package com.cs.payment.devcode;
/**
* @author Hadi Movaghar
*/
public class DCInvalidSessionException extends RuntimeException {
private static final long serialVersionUID = 1L;
private final String playerId;
private final String sessionId;
public static final String INVALID_SESSION = "Session %s i... |
/**
* This class is generated by jOOQ
*/
package schema.tables.records;
import java.sql.Timestamp;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record10;
import org.jooq.Row10;
import org.jooq.impl.UpdatableRecordImpl;
import schema.tables.AssessmentStaffwork... |
package com.daniel.controller;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.daniel.dao.AdminDao;
impo... |
package secondfactor.util;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.util.Random;
public class GenerateOTPUtil {
public static String generateOTP() {
try {
SecureRandom secureRandom = SecureRandom.getInstanceStrong();
String OTP... |
package com.thomasdedinsky.fydp.fydpweb.auth;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
@Service
public class EmailService {
//private final Java... |
package com.example.authexample;
public class Constants {
public final static String SERVER_URL = "http://10.0.2.2:3000/";
// public final static String SERVER_URL = "http://androidappserver1.herokuapp.com/";
} |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2014.09.03 um 04... |
package com.taim.backendservice.service.staff;
import com.taim.backendservice.model.Staff;
import com.taim.backendservice.service.IBaseService;
public interface IStaffService extends IBaseService<Staff> {
}
|
package com.twoblueonebrown;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class Lambert implements ILambert {
private List<Double> W0;
public double calcula(double x){
if(Math.abs(x)<(1/Math.exp(1))) {
double inf = Double.POSITIVE_INFINITY;
... |
package test;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import com.blog.util.MD5Coder;
public class TestMD5 {
@Before
public void setUp() throws Exception {
}
@Test
public void test() {
String value="a1101971076";
String va= MD5Coder.encodeMD5Hex(value);
String value2=MD5C... |
/*
* Класс: org.sheart.mpanzer.game.Model
* Описание:
* Класс предназначен для парсинга, хранения и отрисовки моделей в формате
* Wavefront OBJ.
* ____________________________________________________________________________
* Проект "Mission „Panzer“" лицензирован под BSD-3 License, ознакомиться с к... |
package org.example.codingtest.twoLevel;
import java.util.LinkedList;
import java.util.Queue;
import java.util.concurrent.LinkedBlockingQueue;
public class TruckPassingTheBridge {
public static void main(String[] args) {
int bridge_length = 2;
int weight = 10;
int[] truck_weights = {7,4,5,... |
package net.lvcy.card.entity;
public interface CombinNine extends CombinCard{
}
|
/*
* Inicial.java
*
* Created on 18/05/2007, 04:30:43 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package com.davivienda.utilidades.conversion;
import java.math.BigDecimal;
import java.util.Formatter;
/**
*
* @author jjvargas
*/
public class I... |
package org.flowable.cloud.runtime.core;
/**
* @author chen.xing<br>
* @version 1.0<br>
* @Desc good study day day up
* @data 2019<br>
*/
public interface Constant {
String CLOUD_STAGE_BEAN_NAME = "cloudClassDelegateServiceTaskStages";
}
|
package kz.greetgo.file_storage.errors;
import kz.greetgo.file_storage.impl.TablePosition;
public class TableIsAbsent extends RuntimeException {
public final TablePosition tablePosition;
// @Override
// public synchronized Throwable fillInStackTrace() {
// return this;
// }
public TableIsAbsent(TablePosit... |
/*
* 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.topica.vn.baitap_thaytrungnt9.JDBC;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DriverM... |
package com.jrz.bettingsite.player;
import com.jrz.bettingsite.team.Team;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mockito;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.WebMv... |
package com.maliang.core.arithmetic.function;
import java.util.List;
import java.util.Map;
import com.maliang.core.arithmetic.ArithmeticExpression;
import com.maliang.core.exception.TianmaException;
import com.maliang.core.util.Utils;
public class Check {
@SuppressWarnings("unchecked")
public static Obj... |
/*
* @(#)Expert.java 1.0 06/24/99
*
*/
package org.google.code.netapps.chat.primitive;
/**
* Class for presenting expert (privileged participant).
*
* @version 1.0 06/24/99
* @author Alexander Shvets
*/
public class Expert extends PrivilegedParticipant {
/**
* Constructs expert with the ... |
/**
* Created by JohnBae on 10/17/15.
*/
public class EngineLogic {
public EngineLogic() {
}
public void k(){
}
}
|
package com.xzvfi.myheart.view;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.media.Image;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageButton;
import android.widget... |
package com.openfarmanager.android.filesystem.commands;
import com.openfarmanager.android.core.AbstractCommand;
import com.openfarmanager.android.filesystem.DropboxFile;
import com.openfarmanager.android.filesystem.actions.network.DropboxTask;
import com.openfarmanager.android.fragments.MainPanel;
/**
* @author Vlad... |
package edu.kmi.primejavaC.JWC.View.Form;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Toolkit;
import javax.swing.JFrame;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.SwingConstants;
import edu.kmi.primejavaC.JWC.Controller.FrontControl... |
package kr.co.wisenut.editor.model;
public class Video {
private int recid;
private int vdoId;
private String vdoTitle;
private String vdoType;
private String language;
private String productionDate;
/*private String filePath;
private String vdoExt;*/
private int runtime;
/*private String vdoLClasCd1;
priva... |
package com.lesports.albatross.entity.user;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
*
* Created by zhouchenbin on 16/6/1.
*/
public class MomentMessageEntity {
@SerializedName("avatarUri")
@Expose
private String avatarUri;
@SerializedName("... |
package it.unical.dimes.processmining.core;
import java.util.HashMap;
import java.util.Map;
import java.util.TreeSet;
/**
*
* @author frank created on Mar 8, 2013 2:35:58 PM
*/
public class Node {
HashMap<TreeSet<Integer>, Integer> output = new HashMap<TreeSet<Integer>, Integer>();
HashMap<TreeSet<Integer>, I... |
package team21.pylonconstructor;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.widget.EditText;
import an... |
package com.test;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import com.test.base.Solution;
/**
* 36ms
* @author YLine
*
* 2018年12月12日 上午11:01:22
*/
public class SolutionA implements Solution
{
private static final int LENGTH = 10;
@Override
public List<String>... |
package org.vincent.event.threadpool;
import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.AsyncConfigurer;
import org... |
package sop.vo;
/**
* @Author: LCF
* @Date: 2020/1/9 12:37
* @Package: sop.vo
*/
public class SearchTemplateConditionVo {
private Integer fkItemMaster;
private String itemMasterType;
private Integer fkTemplate;
private String templateName;
private String engTemplateNam... |
package pro.likada.dao;
import pro.likada.model.Product;
import java.util.List;
/**
* Created by bumur on 14.02.2017.
*/
public interface ProductDAO {
Product findById(long id);
List<Product> getProductsByGroupIds(List<Long> groupsIds);
List<Product> getProductsByGroupId(Long groupId);
void sav... |
package com.testapp;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.EnableScheduling;
@PropertySource(value = "classpath:META-INF/buil... |
package com.github.life.lab.leisure.backend.gateway.application;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;
/**
* ... |
package Exercise2;
import java.util.concurrent.CompletableFuture;
public class Q6 {
public static void main(String[] args) {
//if we have to hit multiple api by seperate thread
CompletableFuture.supplyAsync(()->5)
.thenCompose((x)->CompletableFuture.supplyAsync(()->x+3))
... |
package reynoldstitko.gillian;
import java.io.Closeable;
/**
* Created by gillianreynolds-titko on 2/2/17.
*/
public interface Connection extends Closeable{
//Define the interface
String getIP(); //public modifier is redundant for interface methods
String getPort();
String getProtocol();
Strin... |
package toolkit.wicket.pagerenderer;
import org.apache.wicket.Application;
import org.apache.wicket.Page;
import org.apache.wicket.core.request.handler.PageProvider;
import org.apache.wicket.core.request.handler.RenderPageRequestHandler;
import org.apache.wicket.protocol.http.BufferedWebResponse;
import org.apache.wic... |
package miniProgram;
import miniProgram.lotto.Lotto;
public class RunLotto {
public static void main(String[] args) {
Lotto lotto = new Lotto();
lotto.randomSevenNumber();
long myMoney = 0;
long myCount = 0;
while(true) {
myMoney += 1000;
myCount++;
System.out.println("내 번호 뽑기");
lotto.rand... |
package com.example.android.beatmymovies;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.util.ArrayList;
/**
* Created by Admin on 05-01-2016.
*/
public clas... |
/*
* 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 hfttugas;
/**
*
* @author ROG
*/
public class buku extends perpustakaan{
private String judul;
private... |
package ua.siemens.dbtool.model.entities;
import ua.siemens.dbtool.model.enums.ActivityType;
import ua.siemens.dbtool.model.enums.Status;
import javax.persistence.*;
import java.time.LocalDate;
/**
* The class is a representation of Activity Entity
*
* @author Perevoznyk Pavlo
* creation date 11 May 2017
* @ver... |
import java.util.*;
public class AnotherCandies
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
int numTestCases = in.nextInt();
//loop through total test cases
for (int i = 0; i < numTestCases; i++)
{
in.nextLine();
//get number of children
lo... |
package datamodel.huffman.tree.linked;
import java.util.PriorityQueue;
import datamodel.RGB;
import datamodel.huffman.tree.AbstractTreeFactory;
import datamodel.huffman.tree.Tree;
import datamodel.huffman.tree.TreeNode;
/**
* produces linked trees and treenodes
*
* @apiviz.uses datamodel.huffman.tree.linked.Lin... |
package lu.eminozandac.ondamondclinet.utils;
import com.google.android.gms.maps.model.LatLng;
import java.util.Calendar;
import java.util.Random;
public class MyMath {
public static double EPSILON = 0.00000000001;
public static final String UNIT_METER = "meter";
public static final String UNIT_FEET = "feet";
... |
package pool;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicInteger;
public class AtomicIntergerDemo {
//原子性操作
// static int i = 0;
static AtomicInteger ai=new AtomicInteger(0);
public static void main(String[] args) {
CountDownLatch cd1 = new CountDow... |
package org.notice.gui;
import java.awt.*;
import org.notice.gui.panels.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import org.notice.beans.CommonStuff;
import org.notice.graphs.Graphs;
public class MySkillsTabbedPane ... |
package loecraftpack.common.blocks;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.INetworkManager;
import net.minecraft.network.packet.Packet;
import net.minecraft.network.packet.Packet132TileEntityData;
import net.min... |
package com.springD.framework.shiro;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.se... |
package test;
public class Test1 {
public static void main(String[] args) {
int a=20;
String c="吃货";
System.out.println("吃货的世界我不懂");
int d =3;
System.out.println("aaa");
System.out.println("bbbb");
}
}
|
package network.topdown.application.http.protocol;
import org.apache.commons.lang3.StringUtils;
import java.io.*;
import java.net.Socket;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.Map;
public class HttpRequestUtil {
public static void writeRequest(Writer writer, HttpRe... |
package ec.com.comida.comunication;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.j... |
package com.suntf.pkm;
import cn.jpush.android.api.JPushInterface;
import android.app.Application;
import android.util.Log;
public class PKMApplication extends Application
{
@Override
public void onCreate()
{
Log.d("PKMApplication", "onCreate");
super.onCreate();
JPushInterface.setDebugMode(true); //设置开启日志... |
package com.shopspecial.service;
import java.util.Collection;
import com.shopspecial.dao.ItemDAO;
import com.shopspecial.dao.ItemDAOImpl;
import com.shopspecial.pojo.Item;
public class ItemServiceImpl implements ItemService {
private ItemDAO dao = new ItemDAOImpl();
@Override
public void addNewItem(I... |
package bl.teambl;
public class TeamPlayer {
}
|
package com.lxl.util;
import com.lxl.BaseTest;
import org.apache.log4j.Logger;
import org.junit.Ignore;
import org.junit.Test;
/**
* Created by xiaolu on 15/5/5.
*/
public class Log extends BaseTest{
Logger logger = Logger.getLogger(Log.class);
@Test
@Ignore
public void log()
{
System.ou... |
package invadem;
import org.junit.Test;
import static org.junit.Assert.*;
public class InvaderTest {
@Test
public void testInvaderConstruction() {
Invader inv = new Invader();
assertNotNull(inv);
}
@Test
public void testInvaderFireProjectile() {
Invader inv = new Invade... |
package shu.ces.company.control;
import org.apache.tomcat.util.http.parser.Cookie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
impo... |
/*
* 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 Main;
import Entity.data_mapel;
import Entity.data_pengajar;
import Error.data_mapelException;
import Error.data_nil... |
package ball;
import ball.model.GenericBall;
/**
* Created by tinamt on 8/19/14.
*/
public interface Behavior {
public void update(GenericBall ball);
}
|
package crap_game;
public class BlueDie extends Die {
@Override
public Color dieColor() {
return Color.BLUE;
}
}
|
/**
* The MIT License (MIT)
*
* Copyright (c) 2018 Paul Campbell
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, ... |
package com.psy.sportsboard.user.dao;
import com.psy.sportsboard.sportsArticles.vo.SportsArticlesVO;
import com.psy.sportsboard.user.vo.UserVO;
public interface UserDao {
public int isExsistEmail(String email);
public int addUser(UserVO userVO);
public UserVO signIn(UserVO userVO);
public int upd... |
package Negocio;
import java.util.List;
import Controlador.*;
public class Negocio {
public static void main(String [] arg) {
Controlador controlador=new Controlador();
Negocio negocio = new Negocio();
List<String> atributos=controlador.leerFichero("AtributosJuego.txt");
List<String> juego=controlador.... |
package com.example.kyle.mystudentpal;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.EditText;
import android.widget.LinearLayout;
import an... |
package com.example.springbootdemo.service.country;
import com.example.springbootdemo.model.Country;
import com.example.springbootdemo.service.IGeneralService;
public interface ICountryService extends IGeneralService<Country> {
}
|
package dao;
import java.util.List;
import entidad.Provincias;
public interface DaoProvincias {
public List<Provincias> readAll();
public Provincias obtenerProvincia(String id_provincia);
}
|
package com.zxt.compplatform.formengine.service;
import java.util.Comparator;
import com.zxt.compplatform.formengine.entity.view.Tab;
/**
* tab比较器
* @author 007
*/
public class Comparat implements Comparator {
public int compare(Object o1, Object o2) {
Tab tab1 = (Tab) o1;
Tab tab2 = (Tab) o2;
if (tab1.ge... |
package com.sportzcourt.booking.ui.activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
import com.sportzcourt.booking.R;
import com.sportzcourt.booking.controller.DataController;
import com... |
package com.fatihdogan.datastructure;
import com.fatihdogan.datastructure.list.ArrayListClass;
import com.fatihdogan.datastructure.list.CompareArrayListNikedList;
import com.fatihdogan.datastructure.list.LinkedListClass;
import com.fatihdogan.datastructure.map.HashMapClass;
import com.fatihdogan.datastructure.map.MapC... |
package com.j1902.shopping.mapper;
import com.j1902.shopping.pojo.Order;
import com.j1902.shopping.pojo.OrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
public interface OrderMapper {
long countByExample(OrderExample example);
int... |
package com.jim.mybatis.model.mapper;
import com.jim.mybatis.model.po.UserRole;
public interface UserRoleMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_role
*
* @mbggenerated Thu Sep 21 01:16:58 CST 2017
*/
int insert(UserRole... |
package com.cos.blog.service;
import java.util.List;
import com.cos.blog.domain.board.Board;
import com.cos.blog.domain.board.BoardDao;
import com.cos.blog.domain.board.dto.DetailRespDto;
import com.cos.blog.domain.board.dto.SaveReqDto;
import com.cos.blog.domain.board.dto.UpdateReqDto;
public class BoardService {
... |
package com.example.smsviawifi;
import java.io.File;
import android.content.ContentResolver;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.provider.ContactsContract;
import android.provider.ContactsContract.PhoneLookup;
public class ContactsRetrieve... |
package com.android.app.warehousemanagement.db;
import java.util.ArrayList;
import java.util.HashMap;
import org.json.JSONException;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Dialog... |
package com.example.federation.Events;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Matrix;
import android.net.Uri;
import android... |
package MachineLearning;
public class GetLevel {
public static String getLevel(String level){
if(level.equals("1")){
return "1,0,0,0";
}
else if(level.equals("2")){
return "0,1,0,0";
}
else if(level.equals("3")){
return "0,0,1,0";
}
else if(level.equals("3")){
return "0,0,0,1";
}
else{... |
package com.example.user.entity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @ClassName: User
* @Description: 用户实体类
* @Author: yongchen
* @Date: 2020/10/22 10:46
**/
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
public c... |
package org.openmrs.module.mirebalais.apploader.apps;
import org.openmrs.module.appframework.domain.AppDescriptor;
import org.openmrs.module.mirebalais.MirebalaisConstants;
import org.openmrs.module.mirebalais.apploader.CustomAppLoaderConstants;
import org.openmrs.module.pihcore.config.Config;
import org.springframewo... |
package br.com.salon.carine.lima.repositoriessdp;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import br.com.salon.carine.lima.models.Usuario;
@Repository
public interface UsuarioRepositorySJPA extends JpaRepository<Usuari... |
/*
* Copyright (c) 2017, Oracle and/or its affiliates.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this ... |
package com.enedis.ludovic;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.Random;
import java.util.Scanner;
import static java.lang.Character.isDigit;
/**
* Classe avec les méthodes outils pour les deux jeux
*/
public class Tools {
private static final L... |
package sampleproject.db;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Collection;
import java.util.List;
import java.util.regex.PatternSyntaxException;
/**
* A DvdDatabase object provides access to all of the Dvds in the system and
* all the operations that act upon ... |
package com.framgia.fsalon.screen.editstatusdialog;
import com.framgia.fsalon.data.model.Status;
import com.framgia.fsalon.data.source.BookingRepository;
import java.util.List;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.annotations.NonNull;
import io.reactivex.disposables.Composite... |
import java.util.Scanner;
public class Mostrardo{
public static void main(String[]arg){
Scanner Lee=new Scanner(System.in);
int a,b,c=0,d=0;
System.out.print("Dame un numero: ");
a=Lee.nextInt();
System.out.print("Dame un numero mayor: ");
b=Lee.nextInt();
a+=1;
if(a<b){
do{
System.out.print(a+" ");
a++;
}whil... |
package com.esum.appframework.struts.action;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
im... |
package com.eegeo.mapapi.services.mapscene;
import androidx.annotation.UiThread;
/**
* The data that defines a Mapscene, as created by the Map Designer or the Mapscene REST Service.
*/
public class Mapscene
{
/**
* The name of the Mapscene
*/
public final String name;
/**
* The hashed ID... |
package com.microservice.authserver.entity;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.Table;
import o... |
package extraction.output;
import extraction.logging.Logger;
public abstract class OutputHandler {
Logger logger;
public OutputHandler(Logger logger) {
this.logger = logger;
}
public abstract void output(OutputObject object);
public abstract void close();
}
|
package com.example.trialattemptone;
import android.app.AlarmManager;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.conten... |
package entrepot.bean.fait;
import entrepot.bean.contrat.IFait;
import entrepot.bean.dimension.Fournisseur;
import entrepot.bean.dimension.Produit;
import entrepot.bean.dimension.Temps;
/**
* @author tarik
*/
public class Fait_achat implements IFait{
private String code_fait_achat;
private String ref_produit... |
package immutable;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class CelestialCoordinatesTest {
@Test
private void testCelestialCoordinates() {
assertEquals("CelestialCoordinates{x=1, y=2, z=4}", new CelestialCoordinates(1, 2, 3).toString());... |
/**
*
*/
package com.hotel.master.user;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import com.hotel.master.customer.Custome... |
package com.git.cloud.resmgt.common.service;
import java.util.List;
import com.git.cloud.common.exception.RollbackableBizException;
import com.git.cloud.common.service.IService;
import com.git.cloud.resmgt.common.model.po.CmVmPo;
import com.git.cloud.resmgt.common.model.vo.CmSnapshotVo;
import com.git.cloud.r... |
package com.nikita.recipiesapp.views.steps;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.CollapsingToolbarLayout;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActiv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.