text stringlengths 10 2.72M |
|---|
package net.sf.ardengine.events;
import net.sf.ardengine.input.InputTypes;
/**
* Event dispatched by InputManager
*/
public class MouseEvent extends AEvent{
/**X Coord of mouse at the time of event*/
private final float mouseX;
/**Y Coord of mouse at the time of event*/
private final float mouseY;
... |
package crossing.expireRule;
import leafNode.OrderEntry;
public interface ExpireRule {
boolean isOrderExpired(OrderEntry orderEntry);
}
|
package com.crudthymeleaf.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.crudthymeleaf.model.Computador;
@Repository
public interface ComputadorRepository extends JpaRepository<Computador, Integer>{
}
|
package rgg.campusvirtualapp.modelo;
import com.parse.ParseUser;
public class Modelo implements IModelo {
private int codAsignatura;
private int username;
@Override
public void verificarDatos(String username, String password) {
this.username = Integer.parseInt(username);
TablaUsuarios.comprobarLogin(username... |
package com.laychv.module_open_projects.dagger2.demo9;
import dagger.Component;
@Component(modules = MouseModule.class)
interface ComputerComponent {
void inject(Computer computer);
}
|
package com.zebra.pay.utils;
import org.apache.log4j.Logger;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
public class AdminInfo {
private static AdminInfo instance;
// 资源文件路径
// appinfo.properties路径
private String path = "admininfo.properties";
private Pr... |
package GalaxyWeather.WeatherPredictor.controller;
import GalaxyWeather.WeatherPredictor.dtos.ForecastDTO;
import GalaxyWeather.WeatherPredictor.service.WeatherService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;... |
import java.util.*;
public class physics
{
static KBC obj = new KBC();
public static double question()
{
double i,r=0;
for (i = 0 ; r<10000;i++ )
{
i = Math.random();
r = i*10;
if(r<3&&r>-1)
{
break;
}
}
retur... |
package chap16.sec06.stream_sorting;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
import java.util.stream.IntStream;
public class SortingExample {
public static void main(String[] args) {
// 숫자요소일 경우
IntStream intStream = Arrays.stream(new int[] {5,3,1,4,2});
intStream.sorted... |
package com.tencent.mm.plugin.appbrand.h;
import com.tencent.mm.ab.l;
import com.tencent.mm.ab.v.a;
import com.tencent.mm.plugin.appbrand.h.e.b;
import com.tencent.mm.protocal.c.ait;
import com.tencent.mm.sdk.platformtools.x;
class e$b$2 implements a {
final /* synthetic */ b gkh;
e$b$2(b bVar) {
thi... |
package org.lxy.javase_2;
/**
* @author menglanyingfei
* @date 2017-3-9
*/
public class ComparisonOfString {
/**
* @param args
*/
public static void main(String[] args) {
String str1 = "abc";
String str2 = "abc";
System.out.println(str1 == str2); // true
System.out.println(str1.equals(str2)); ... |
package com.adm.bamboo.plugin.loadrunner.ui;
import com.atlassian.bamboo.collections.ActionParametersMap;
import com.atlassian.bamboo.task.AbstractTaskConfigurator;
import com.atlassian.bamboo.task.TaskDefinition;
import com.atlassian.bamboo.task.TaskRequirementSupport;
import com.atlassian.bamboo.utils.error.ErrorCol... |
package com.charith.hackerrank.Sorting.MergeSortCountingInversions;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
class SolutionTest {
@Test
void countInversions() {
Assertions.assertEquals(3, Solution.countInversions(new int[]{2, 1, 3, 1, 2}));
}
} |
package pl.ark.chr.buginator.domain.messaging;
import pl.ark.chr.buginator.domain.BaseEntity;
import pl.ark.chr.buginator.domain.auth.User;
import pl.ark.chr.buginator.domain.core.Error;
import javax.persistence.*;
import java.util.Objects;
/**
* Notifications for user about new errors in applications.
* This clas... |
package com.zhouyi.business.core.service;
import com.zhouyi.business.core.dao.ReportMapper;
import com.zhouyi.business.core.model.CollectInfo;
import com.zhouyi.business.core.model.ReportDto;
import com.zhouyi.business.core.model.cmodes.ReportCondition;
import com.zhouyi.business.core.utils.CalendarUtils;
import lombo... |
package com.other.updown.constant;
/**
* @author zhangbingquan
* @desc 静态字符串类
* @time 2019-09-24 23:25
*/
public class Constants {
public static final String PLAT_VIDEO = "200";
public static final String PLAT_UNCAR = "300";
public static final String PLAT_WIFI = "299";
public static final String P... |
package principal.mapas;
import principal.herramientas.CargadorRecursos;
import principal.sprites.Sprite;
public class Mapa {
private String contenido;
private int ancho;
private int alto;
private Sprite[] sprites;
public Mapa(final String ruta) {
this.contenido = CargadorRecursos.leerArchivosTexto(rut... |
package programmers.level1;
import java.util.Stack;
class ReverseNum {
public int[] solution(long n) {
int[] answer = new int[(int) (Math.log10(n) + 1)];
/*
* Stack<Integer> stack = new Stack<Integer>();
*
* if (n != 0) { for (int i = 1; i <= answer.length; i++) stack.add((int) (n /
* Mat... |
package com.goldgov.dygl.module.portal.webservice.studyranking.impl;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Properties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework... |
package com.cn.jingfen.util;
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Date;
... |
package io;
import java.io.*;
/**
* 字节数组流:输入流
* 1、创建源
* 2、选择流
* 3、操作(读)
* 4、释放资源
*
* @Author created by barrett in 2020/5/14 23:05
*/
public class ByteArrayInputStreamDemo {
public static void main(String[] args) {
test3();
}
static void test3() {
byte[] src = "Talk is cheap, sh... |
package com.geekparkhub.core.hbase.api.hdfs;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.client.Put;
import org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapredu... |
package openopoly.util;
import java.util.ArrayList;
import openopoly.Player;
import openopoly.board.GameBoard;
import openopoly.control.game.GameChanceStack;
import openopoly.control.game.GameChestStack;
import openopoly.control.game.GameControl;
import openopoly.err.GameException;
import openopoly.err.PlaceDoesntExis... |
package com.foxcreations.springtest.app;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.mockito.Mockito.when;
import java.util.Arrays;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.m... |
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDPage;
import org.apache.pdfbox.pdmodel.PDPageContentStream;
import org.apache.pdfbox.pdmodel.common.PDRectangle;
import org.apache.pdfbox.pdmodel.font.PDFont;
import org.apache.pdfbox.pdmodel.font.PDType0Font;
import org.apache.pdfbox.util.... |
package hhc.common.entity.base;
import java.util.HashMap;
import java.util.Map;
public abstract class RankFeature {
public double[] features;
public Map<FeatureType, double[]> featureMap = new HashMap<FeatureType, double[]>();
// public RecordBase record;
public RankFeature() {
}
}
|
/**
*
*/
package exception;
/**
* Classe do tipo Exception que ao fazer a verificacao do erro lança a mensagem na consulta do indice relativo ao hospede
* antes do seu checkout no hotel
* @author Gabriel Alves - Joao Carlos - Melissa Diniz - Thais Nicoly
*
*/
@SuppressWarnings("serial")
public class IndiceInv... |
package util;
import java.sql.*;
// @author lyubentodorov
public class UserSettings
{
public static String setUSettings(String uName, Connection conn, String ticked)
{
String selectStatement = "CALL `shamo`.setSettings(?, ?);"; //grpName, memberUID
CallableStatement cb = null;
try
... |
package com.paleimitations.schoolsofmagic.common.data;
import com.google.common.collect.Lists;
import com.mojang.datafixers.util.Pair;
import com.paleimitations.schoolsofmagic.common.TeaBrewResult;
import com.paleimitations.schoolsofmagic.common.registries.TeaIngredientRegistry;
import com.paleimitations.schoolsofmagi... |
package Informatics;
/**
* Created by User on 25.02.2017.
*/
// Шаблон Java Синглтон позволяет создавать единственный экземпляр класса.
// У класса есть только один экземпляр, и он предоставляет к нему глобальную точку доступа.
class Main {
public static void main(String[] args) {
final int SIZE = 1000... |
package com.tencent.mm.plugin.wxcredit.ui;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.TextView;
import com.tencent.mm.ab.l;
import com.tencent.mm.plugin.w... |
package com.jst.qiantai;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class EduUser {
@RequestMapping("/uc/login")
public void name() {
}
}
|
package support.yz.data.mvc.mapper;
import org.apache.ibatis.annotations.*;
import support.yz.data.entity.entityInfo.EnterpriseAchievements;
@Mapper
public interface AchievementMapper {
/**
*
* @Descriptor 查成果信息
*/
@Select("SELECT * FROM company_achievements WHERE achievements_name = #{achievem... |
package com.tencent.map.lib.thread;
import com.tencent.map.lib.thread.HighThreadExecutor.a;
import com.tencent.map.lib.thread.HighThreadExecutor.a.b;
import java.util.Iterator;
import java.util.NoSuchElementException;
public class HighThreadExecutor$a$a implements Iterator<E> {
final /* synthetic */ a a;
priv... |
package com.reclameaqui.api.service;
import java.util.List;
import java.util.Optional;
import com.reclameaqui.api.documents.Company;
import com.reclameaqui.api.util.CompanyFilter;
public interface CompanyService {
Optional<Company> obterCNPJ(String cnpj);
Optional<Company> listarPorId(String id);
Company cadas... |
package cn.bs.zjzc.div;
import android.content.Context;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
imp... |
package com.cube.storm.language.lib.helper;
import android.content.Context;
import androidx.annotation.NonNull;
import android.text.TextUtils;
/**
* Helper class for getting details around a user's device language/locale
*/
public class LanguageHelper
{
/**
* Gets the locale of the device. Note: this does not re... |
/*
* Copyright 2015 by Pavel Perminov (packpaul@mail.ru)
* All code below is exclusively owned by its author - Pavel Perminov.
* Any changes, modifications, borrowing and adaptation are a subject for
* explicit permition from owner.
*/
package com.pp.currencyfairtest.mtprocessor.dto;
import com.fasterxml.jackson... |
package com.tencent.mm.plugin.appbrand.jsapi.m;
import com.tencent.mm.plugin.appbrand.jsapi.c;
import com.tencent.mm.plugin.appbrand.jsapi.h;
import com.tencent.mm.plugin.appbrand.r.g;
import com.tencent.mm.sdk.platformtools.ad;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.widget.MMWebView;
impo... |
package yincheng.gggithub.helper;
/**
* Mail : luoyincheng@gmail.com
* Date : 2018:05:05 19:59
* Github : yincheng.luo
*/
public class StateSaver {
private static final String SUFFIX = "$$StateSaver";
}
|
package hirondelle.web4j.ui.translate;
import java.util.*;
import hirondelle.web4j.model.ModelCtorException;
import hirondelle.web4j.model.ModelUtil;
import hirondelle.web4j.model.Id;
import hirondelle.web4j.model.Check;
import hirondelle.web4j.security.SafeText;
/**
Model Object for a translation.
<P... |
/*
* Copyright (c) 2014,2016 Hewlett Packard Enterprise Development Company, L.P.
*
* 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
*
* U... |
package com.klg.newpolice.ui.aboutchild;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.MenuItem;
import com.klg.newpolice.R;
import com.klg.newpolice.util.ActivityUtils;
public class AboutChildActivity extends AppCompatActivity {
private int mChildId;
@Overr... |
package edu.washington.cs.cse403d.coauthor.dataservice.impl.asyn;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import edu.washington.cs.cse403d.coauthor.dataservice.impl.PreparedStatementPool;
public class GetAuthorName extends AsyncFetch<String> {
private fin... |
package com.tencent.mm.ak;
class g$4 implements Runnable {
final /* synthetic */ float bCn;
final /* synthetic */ g dUE;
final /* synthetic */ String dUF;
final /* synthetic */ boolean dUG = true;
final /* synthetic */ int dUH;
g$4(g gVar, String str, float f, boolean z, int i) {
this.... |
package com.semantyca.officeframe.modules.reference.service;
import com.semantyca.nb.core.service.AbstractService;
import com.semantyca.officeframe.ApplicationConst;
import com.semantyca.officeframe.modules.reference.dao.OrgCategoryDAO;
import com.semantyca.officeframe.modules.reference.model.OrgCategory;
import java... |
package uz.kassa.test.dto;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.cons... |
public class Harmonica extends Instrument{
public Harmonica() {
super("Harmonica");
}
public void play() {
System.out.println("peeeeep!");
}
} |
package org.movilforum.net;
import java.io.IOException;
import java.net.DatagramSocket;
import java.net.SocketException;
import org.movilforum.net.media.AudioStreamManager;
import org.movilforum.net.media.VideoConversor;
import org.movilforum.net.media.VideoStreamManager;
/**
* Receives calls!
* @author dave
*
... |
package com.project.linkedindatabase.repository.types;
import com.project.linkedindatabase.domain.Type.AccomplishmentType;
import com.project.linkedindatabase.repository.BaseTypeRepository;
import com.project.linkedindatabase.service.types.AccomplishmentTypeService;
import java.sql.ResultSet;
import java.sql... |
package com.tencent.mm.plugin.address.ui;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Rect;
import android.text.TextUtils.TruncateAt;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
impor... |
package softHardAssert;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import org.testng.asserts.SoftAssert;
public class Verify {
WebDriver driver;
SoftAss... |
package com.liyinghua.AuthIntercepter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.HandlerInterceptor;
import com.liyinghua.common.ConstantClass;
public class Inter implements HandlerInterceptor{
@Override
public bo... |
package com.scf.skyware.main.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.scf.skyware.main.dao.MainDAO;
import com.scf.skyware.main.domain.User;
@Service
public class MainServiceImpl implements MainService
{
private Main... |
package helper;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import fabrica.Conexao;
import BD.TabelaBean;
public class SQLConsHelper {
private ResultSet rs = null;
private Connection con = null;
private PreparedStatement pstm = null;
... |
package la.foton.treinamento.entities;
import la.foton.treinamento.util.Mensagem;
import la.foton.treinamento.util.NegocioException;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
public class ContaTest {
private Conta conta;
... |
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class Main {
public static void main(String[] args) {
try {
MosMetroParser.getMosMetro();
} catch (IOExce... |
package tests;
import com.sun.org.glassfish.gmbal.Description;
import core.SeleniumSetUp;
import org.mockserver.client.MockServerClient;
import org.mockserver.integration.ClientAndServer;
import org.mockserver.model.HttpForward;
import org.openqa.selenium.WebDriver;
import org.testng.Assert;
import org.testng.annotati... |
package com.jack.jkbase.service.impl;
import com.jack.jkbase.entity.SysApp;
import com.jack.jkbase.mapper.SysAppMapper;
import com.jack.jkbase.service.ISysAppService;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
impo... |
package bean;
import java.io.Serializable;
/**
* Created by 洒笑天涯 on 2015/11/20.
* Function:数据库的表管理
*/
public class Table implements Serializable {
private static final long serialVersionUID = 1L;
private String tab_id;
private String table_name;
private String version;
public Table(String tab_... |
package program2;
import java.io.IOException;
import java.util.ArrayList;
/**
*Creates, sorts, and displays queues of president elements.
* @author Christian Wilson
* @param none
* @return void
*/
public class Program2 {
/**
* Executes operation of the program.
* @param args the command line arguments
* @... |
package com.example.stage1.itmonitor.assets;
/**
* Classe per gestire le notifiche all'avvio
**/
public class Host {
private int mIdHost;
private String mNameHost;
private int mNumberHost, mProblemHost;
public Host(int aIdHost, String aNameHost, int aNumberHost, int aProblemHost) {
this.mI... |
package pro.eddiecache.access;
import pro.eddiecache.access.exception.CacheException;
import pro.eddiecache.core.model.IElementAttributes;
import java.util.Set;
public interface IGroupCacheKitAccess<K, V> extends ICacheKitAccessManagement
{
V getFromGroup(K name, String group);
void putInGroup(K key, String group... |
package com.org.service;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import com.org.dao.OrderDAO;
@RunWith(MockitoJUnitRunner.class)
public class OrderServiceTest {
@Mock
Orde... |
/*
* UniTime 3.5 (University Timetabling Application)
* Copyright (C) 2013, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Soft... |
package com.findme.model;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.List;
@Getter @Setter @ToString
public class PostInfo {
private String message;
private String location;
private String userPostedId;
private String userPagePostedId;
private List<Long>... |
package com.freecrm.qa.configproperties;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.sel... |
package com.example.jessie.teamproject;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
... |
package io.tjf.releasenotes.helper;
public enum IssueType {
FEAT("feat"), FIX("fix"), DOC("doc"), DOCS("docs"), STYLE("style"), REFACTOR("refactor"), PERF("parf"),
TEST("test"), CHORE("chore");
private final String type;
private IssueType(String type) {
this.type = type;
}
public String getType() {
retur... |
// SCJPP163_03
// Chapter 2: Object Orientation
class Clidder
{
private final void flipper()
{
System.out.println("Clidder");
}
} |
/*
Come Back to later,will try to fix,
to many errors about indexing each spot in Ram,
fresh start in Memory
package OS;
/**
* Created by wei on 2/6/2017.
* This is the implementation of the Operating System's memory
* It contains methods that can add and modify data in the memory
*/
/*
public cl... |
package com.duanxr.yith.easy;
import java.util.LinkedList;
import java.util.List;
/**
* @author 段然 2021/3/8
*/
public class SelfDividingNumbers {
/**
* A self-dividing number is a number that is divisible by every digit it contains.
*
* For example, 128 is a self-dividing number because 128 % 1 == 0, 12... |
package server_util;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Vector;
import serverframe_thread.Server_WaitIo_Thread;
import util.DataPackage;
import util.Global_OnLine;
import util.UserBean;
/**
* 发送包工具类
*
* @author lisu
*
*/
public class ... |
package com.dishcuss.foodie.hub.Models;
import java.util.ArrayList;
/**
* Created by Naeem Ibrahim on 9/7/2016.
*/
public class SearchModel {
ArrayList<Restaurant> restaurantArrayList;
ArrayList<UserProfile> userProfileArrayList;
public SearchModel() {
}
public SearchModel(ArrayList<Restauran... |
package com.itsdf07.okhttp3.callback;
/**
* @Description
* @Author itsdf07
* @Time 2018/9/28/28
*/
public interface HttpProgressCallback extends HttpBaseCallback {
/**
* 下载/上传进度
*
* @param currentLen 已经上传的字节大小
* @param totalLen 文件的总字节大小
*/
void onProgress(long currentLen, long t... |
package dlsim.DLSim;
import java.awt.*;
import javax.swing.event.*;
import javax.swing.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.beans.*;
import java.util.Hashtable;
/**
* <p>Title: DLSim</p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) Matthew Leslie</p>
* <p>Company... |
import org.adv25.ADVNTRIP.Tools.Decoders.RTCM_3X;
import org.adv25.ADVNTRIP.Tools.Message;
import org.adv25.ADVNTRIP.Tools.RTCM.MSG1004;
import org.junit.Test;
import java.io.*;
import java.util.ArrayList;
public class Test1004 {
String path = "src/test/resources/testRtcm.rtcm3";
File file = new File(path);
... |
/*
* UniTime 3.5 (University Timetabling Application)
* Copyright (C) 2014, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Soft... |
/*
* Created on 28-nov-2004
*
*/
package es.ucm.fdi.si.modelo;
/**
* @author Alejandro Blanco, David Curieses Chamon, Oscar Ortega
*
* Proyecto Sistemas Informaticos:
*
* Herramienta CASE para diseņo y prototipado de aplicaciones hipermedia
*/
public class Punto {
private int x;
private int y;
... |
package com;
import java.util.Map;
/**
* Created by chenzhang on 2016/10/9.
*/
public interface RegistryService1 {
Map hello(Map map);
}
|
/*
* This software is licensed under the MIT License
* https://github.com/GStefanowich/MC-Server-Protection
*
* Copyright (c) 2019 Gregory Stefanowich
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... |
package chapter_1_11_Exception;
import java.util.logging.Level;
import java.util.logging.Logger;
public class MyLogger {
public static void main(String[] args) {
// TODO Auto-generated method stub
//Logger.getGlobal().setLevel(Level.OFF); //if exists -> no output
Logger logger = Logger.getGlobal();
logger.f... |
package org.xgame.database;
/**
* @Name: DataShardingBase.class
* @Description: // 基础分片数据对象
* @Create: DerekWu on 2018/9/1 12:09
* @Version: V1.0
*/
public abstract class DataShardingBase {
/** 数据库编号 */
private Short dbNum;
/** 表编号 */
private Short tableNum;
/** 插入、修改、删除 的时间 */
private lo... |
package com.weicent.android.csma.data.result.list;
import com.weicent.android.csma.data.BaseResult;
import com.weicent.android.csma.data.model.result.Users;
import java.util.List;
/**
*
*/
public class ResUsersList extends BaseResult{
public List<Users> data;
} |
package com.orilore.service;
import java.util.List;
import com.orilore.model.Dept;
public interface DeptService {
public List<Dept> findAll();
}
|
package lesson5.task7;
public class ForCikl {
public static void main(String args[]) {
int n = (int) (Math.random() * 6);
System.out.println("Сгенерировано число " + n);
int m = 1;
for (int i = 2; i <= n; i++)
m *= i;
System.out.println(n + "!" + "=" + m);
}... |
package Model;
public class Endereco {
String rua;
String cep;
String cidade;
String estado;
String pais;
String complemento;
int numero;
}
|
public class Main
{
public static void main(String[] args)
{
Container container = new Container();
container.count += 7843;
Main main = new Main();
System.out.println(main.sumDigits(container.count));
}
public Integer sumDigits(Integer number)
{
//@TODO: w... |
// **********************************************************************
// This file was generated by a TAF parser!
// TAF version 3.2.1.6 by WSRD Tencent.
// Generated from `/data/jcetool/taf//upload/kesenhu/AppPituWnsInterface.jce'
// **********************************************************************
package P... |
package com.tencent.mm.plugin.game.wepkg.model;
import com.tencent.mm.plugin.game.wepkg.ipc.WepkgMainProcessService;
import com.tencent.mm.plugin.game.wepkg.model.g.10;
import com.tencent.mm.plugin.game.wepkg.model.g.11;
import com.tencent.mm.plugin.game.wepkg.utils.d;
import com.tencent.mm.sdk.platformtools.ad;
clas... |
package com.carousell.marketplace.utils;
/**
* @author faizanmalik
* creation date 3/5/20
*/
public final class Constants {
private Constants() {}
public static final String SUCCESS = "Success";
public static final String LISTING_FORMATTER = "%s|%s|%s|%s|%s|%s";
public static final String SORT_PRICE... |
package cn.sina.controllor;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.security.authentication.AuthenticationManager;
import org.springfr... |
package com.tencent.mm.plugin.account.friend.a;
import android.content.ContentValues;
import android.database.Cursor;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.u;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.smtt.sdk.TbsListener$ErrorCode;
import com.tencent.t... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.example.covid_19;
public class Model {
String KonfirmasiTebaru;
String TotalKonfirmasi;
String KematianBaru;
String TotalMennggal;
String BaruSembuh;
String TotalSembuh;
String Country;
public String getTanggal() {
return tanggal;
}
public void setTanggal(S... |
package com.base.crm.website.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.base.crm.website.dao.WebsiteStatusCheckLogMapper;
import com.base.crm.website.entity.WebsiteStatusCheckLog;
import com.... |
package eu.torsteneriksson.storetracker;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
/**
* Created by torsten on 2015-09-05.
*/
public class Settings {
private SharedPreferences mSharedPref = null;
Settings(Context context){
... |
package city;
import java.util.*;
import java.io.BufferedReader;
import java.io.FileReader;
import dis.Disease;
import dis.Infection;
import player.Player;
import board.Cell;
import _aux.Options;
import _aux.CustomTypes;
import _aux.CustomTypes.Direction;
/*
City class
Represents a city object. Contains releva... |
/**
*
*/
package com.extension.service.impl;
import java.util.Calendar;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.extension.entity.Applicationkey;
import com.extension.re... |
// assignment 9
// pair p134
// Singh, Bhavneet
// singhb
// Wang, Shiyu
// shiyu
import java.util.*;
/**
* A class that defines a new permutation code, as well as methods for encoding
* and decoding of the messages that use this code.
*/
public class PermutationCode {
/** The original list of characters to be e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.