text stringlengths 10 2.72M |
|---|
package com.emed.shopping.service.admin.store.impl;
import com.emed.shopping.base.BaseResult;
import com.emed.shopping.base.BaseServiceImpl;
import com.emed.shopping.dao.mapper.admin.store.ShopStoreMapper;
import com.emed.shopping.dao.model.admin.store.ShopStore;
import com.emed.shopping.service.admin.store.ShopStoreS... |
// SPDX-License-Identifier: BSD-3-Clause
package org.xbill.DNS.dnssec;
/**
* Codes for DNSSEC security statuses along with a reason why the status was determined.
*
* @since 3.5
*/
final class JustifiedSecStatus {
SecurityStatus status;
int edeReason;
String reason;
/**
* Creates a new instance of this... |
package com.example.thang.moviehype;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.util.Patterns;
import android.view.KeyEvent;
impo... |
package codeWars.perfectPower;
import java.util.ArrayList;
import java.util.List;
public class PerfectPower {
public static int[] isPerfectPower(int n) {
System.out.println(n + ": ");
List<Integer> result = new ArrayList<Integer>();
for (int i = 2 ; i<=(int)(Math.ceil(Math.sqrt(n))) ; i++) {
doubl... |
package controllers;
/**
* Created by Jonatan on 06/11/2015.
*/
public class Roles extends CRUD {
}
|
package db.jdbc;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Ref;
import java.sql.SQLException;
/**
* Base class for all database Formatters such as OracleFormatter.
*/
public abstract class SqlFormatter
{
/**
* Formats a blob to the following String "'<Blob length = "... |
package baitap;
abstract public class SinhVien {
public String hoTen;
public String nganh;
public SinhVien(String hoTen, String nganh) {
super();
this.hoTen = hoTen;
this.nganh = nganh;
}
abstract public double getDiemTrungBinh();
public String getHocLuc() {
double diemTrungBinh = getDiemTrungBinh(... |
package net.nima.trend.home.module.screen;
import net.nima.trend.biz.ao.FooAO;
import net.nima.trend.common.base.BaseScreen;
import org.springframework.beans.factory.annotation.Autowired;
import com.alibaba.citrus.turbine.Context;
import com.alibaba.citrus.turbine.TurbineRunData;
public class Index extend... |
/*
* MemInfo.java
* Written 2013 by M Koch
* Copyright abandoned. This file is in the public domain.
*/
package testcachesim;
public class MemInfo {
private CacheType type;
private String hexAddress;
private int decAddress;
private String size;
private Long timestamp;
private int usageCounter;
private int ... |
package com.oa.schedule.controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.... |
package com.grantingersoll.intell.index;
/**
* 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... |
/*
* Copyright (c) 2016 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.server.bulkops;
import pl.edu.icm.unity.server.translation.TranslationActionInstance;
import pl.edu.icm.unity.types.basic.Entity;
import pl.edu.icm.unity.types.transl... |
package Sorting;
public class MergeSort {
public static void main(String args[])
{
int[] data = new int[]{2,8,12,-3,6,5,8,-45,108,53,22,34,8};
mergeSort(data,0,12);
for (int i:data
) {
System.out.println(i);
}
}
private static void mergeSort(in... |
package demo01.image;
/**
* @Description:
* @Author: lay
* @Date: Created in 19:15 2018/12/7
* @Modified By:IntelliJ IDEA
*/
public interface Image {
void display();
}
|
package com.example.tomevans.planitdemo;
//import android.app.Fragment;
import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.text.TextUtils;
import a... |
package com.example.demo.controller;
import com.example.demo.domain.Movie;
import com.example.demo.service.MovieService;
import com.example.demo.dto.ResponseDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
/**
* Created by Summer on 2018/3/22.
*/
... |
package ro.ase.cts.proxy.clase;
public enum Moneda {
RON,
USD,
EUR;
}
|
/**
*
*/
package com.project.smart6.model;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* @author krish
*
*/
@Entity
@Table(name = "ipl_schedule")
public class IPLSchedule {
@Id
public int id;
public String match_no;
public String match_date_time;
... |
package com.programapprentice.app;
import com.programapprentice.util.TreeNode;
import org.junit.Test;
/**
* User: program-apprentice
* Date: 9/29/15
* Time: 9:04 PM
*/
public class BinaryTreeUpsideDown_Test {
BinaryTreeUpsideDown_156 obj = new BinaryTreeUpsideDown_156();
@Test
public void test1() {
... |
package net.gupt.ebuy.pojo;
/**
* 购物车商品类:包括普通商品,以及商品数量
* @author glf
*
*/
public class CartItem {
private Product product;//商品
private int qty;//对应数量
public CartItem() {
}
public CartItem(Product p, int qty) {
this.setProduct(p);
this.setQty(qty);
}
public Product getProduct() {
return product;... |
package hu.lamsoft.hms.androidclient.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
import java.text.DateFormat;
import ... |
package com.pykj.ykz.chapter4.test;
import com.pykj.ykz.chapter4.intercept.MyInterceptor;
import com.pykj.ykz.chapter4.intercept.ProxyBean;
import com.pykj.ykz.chapter4.service.HelloService;
import com.pykj.ykz.chapter4.service.impl.HelloServiceImpl;
import com.pykj.ykz.chapter4.service.impl.HelloTest;
/**
* @descri... |
package de.tu_darmstadt.elc.olw.jbi.component.producer;
import java.io.File;
import java.io.IOException;
import java.util.Properties;
import javax.jbi.messaging.MessageExchange;
import javax.jbi.messaging.NormalizedMessage;
import javax.jbi.servicedesc.ServiceEndpoint;
import javax.mail.Address;
import java... |
package com.gmail.filoghost.test;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.PlayerDeathEvent;
import org.bukkit.plugin.java.JavaPlugin... |
import java.io.Serializable;
public class Task implements Serializable {
protected boolean done = false;
protected String status = "[\u2718]";
protected String todo = " ";
protected String icon = "[T]";
//markAsDone
public void markAsDone ( ){
this.done = true;
this.status = ... |
package com.myxh.developernews.bean;
/**
* Created by asus on 2016/8/6.
*/
public class BaseData {
public boolean error;
public boolean isError() {
return error;
}
public void setError(boolean error) {
this.error = error;
}
}
|
/**
* Created by gudu on 10/20/2015.
*/
public class TestRobotBuilder {
public static void main(String[] args) {
RobotBuilder rb = new OldRobotBuild();
RobotEngineer re = new RobotEngineer(rb);
re.makeRobot();
Robot firstRobot = re.getRobot();
System.out.println("Robot ... |
/**
* Created by owen on 2017/10/31.
*/
public class ConvertSearchTree {
private TreeNode tail;
private TreeNode head;
public TreeNode Convert(TreeNode pRootOfTree) {
ConvertSub(pRootOfTree);
return head;
}
public void ConvertSub(TreeNode pRootOfTree) {
if (pRootOfTree ... |
/*
* 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 textsummarization;
import beans.UserBean;
import java.util.ArrayList;
import javax.swing.JOptionPane;
import services.ManageUs... |
package io.mickeckemi21.controller;
import io.mickeckemi21.model.Person;
import io.swagger.v3.oas.annotations.Hidden;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.ann... |
package com.technolearns.services.map;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;
import com.technolearns.model.Owner;
import com.technolearns.services.OwnerService;
import com.... |
package solution;
class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) {
val = x;
}
}
public class MaxProduct {
public int maxProduct(TreeNode root) {
return 0;
}
}
|
package com.volvobuses.client.main;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;
import com.volvobuses.client.service.VolvoBusesSer... |
package edu.asu.commons.experiment;
import edu.asu.commons.conf.ConfigurationTest;
import edu.asu.commons.event.ChatRequest;
import edu.asu.commons.event.EventChannel;
import edu.asu.commons.event.EventTypeChannel;
import edu.asu.commons.net.Identifier;
import org.junit.Before;
import org.junit.Test;
import java.io.F... |
package com.mediafire.sdk.api.responses;
import com.mediafire.sdk.api.responses.data_models.ChangedItems;
public class DeviceGetChangesResponse extends ApiResponse {
private ChangedItems updated;
private ChangedItems deleted;
private long device_revision;
private long changes_list_block;
public... |
package com.stackroute.rohit;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
public class OccurrenceTwiceOrMore {
public Map<String, Boolean> checkOccurrence(String[] input){
Map<String,Integer> newmap=new HashMap<String, Integer>();
for(String str:input){
... |
package com.apon.taalmaatjes.backend.api;
import com.apon.taalmaatjes.backend.api.returns.Result;
import com.apon.taalmaatjes.backend.api.returns.VolunteerInstanceReturn;
import com.apon.taalmaatjes.backend.api.returns.mapper.VolunteerInstanceMapper;
import com.apon.taalmaatjes.backend.database.generated.tables.pojos.... |
package modul.systemu.asi.frontend.model;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity
@Table(name = "priority")
public class Priority {
@Id
@Column(unique = true, nullable = false)
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
priva... |
/**
* Copyright (C) 2014-2017 Philip Helger (www.helger.com)
* philip[at]helger[dot]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/LICE... |
package com.xbang.bootdemo.annotation;
import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;
@Target({ElementType.METHOD})
@Inherited
@Retention(RetentionPolicy.RUNTIME)
public @interface LimitConfig {
//单位时间内允许访问的次数 默认是5
int value() default 5;
//单位时间 默认是1
long time() default 1;
... |
package test.java;
import java.util.ArrayList;
import java.awt.Dimension;
import java.awt.Component;
import main.java.gui.GamePanel;
import main.java.gui.PiecePanel;
import main.java.gui.CellPanel;
import main.java.gui.StockPanel;
import main.java.gui.interaction.DragTarget;
import main.java.gui.interaction.DropTarg... |
package com.github.riyaz.bakingapp.screens.recipes;
import android.arch.lifecycle.MutableLiveData;
import android.arch.lifecycle.ViewModel;
import android.util.Log;
import com.github.riyaz.bakingapp.model.Recipe;
import com.github.riyaz.bakingapp.net.RecipeService;
import java.util.List;
import javax.inject.Inject;
im... |
/*
* Copyright (c) 2016, Innovaciones Tecnologicas
* All rights reserved.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*/
package com.innovaciones.reporte.util;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterCha... |
package code.menu;
public class Default{
//TODO Labyrinthe z.B. "0-1_0-2_1-3_5-6_5-4_2-3_0-1"
public static final String L1 = "0-1_1-3_0-2_1-2";
public static final String L2 = "0-1_0-2_0-12_2-3_3-4_4-5_4-8_5-6_6-7_8-9_8-10_10-11_11-12";
public static final String L3 = "0-1_0-2_0-6_2-3_3-4_4-5... |
package org.softRoad.services;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
import org.softRoad.exception.ForbiddenException;
import org.softRoad.exception.InternalExcep... |
package com.ethan.df.factory_pattern.v_common;
/**
* 简单工厂模式
*/
public class TestMain {
public static void main(String[] args) {
Factory factory = new AppleFactory();
Fruit apple = factory.createProduct();
apple.printName();
}
}
|
package application;
import java.io.IOException;
import java.net.URL;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.layout.Pane;
public abstract class BaseController {
@FXML
public Pane root;
@FXML
public void initialize() {
init();
}
@FXML
protected abst... |
package cn.novelweb.tool.upload.fastdfs.protocol.storage;
import cn.novelweb.tool.upload.fastdfs.model.MateData;
import cn.novelweb.tool.upload.fastdfs.protocol.BaseResponse;
import cn.novelweb.tool.upload.fastdfs.protocol.storage.enums.StorageMetadataSetType;
import cn.novelweb.tool.upload.fastdfs.protocol.storage.re... |
package org.lfy.gateway.config;
import org.springframework.cloud.gateway.filter.ratelimit.KeyResolver;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import reactor.core.publisher.Mono;
/**
* Redi... |
package com.metoo.module.chatting.service.impl;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.metoo.core.dao.IGenericDAO;
... |
package com.example.km.genericapp.viewholders;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import com.example.km.genericapp.R;
/**
* Android version view holder.
*/
public class AndroidVersionViewHolder extends RecyclerView.ViewHolder {
public final... |
package com.cmm.pay;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan("com.cmm.pay")
public class PaymentAutoConfiguration {
}
|
package com.citibank.ods.entity.pl.valueobject;
/**
* Classe que instancia os valores correspondente a um registro da tabela :
* TplContactCust
* @author Hamilton Matos
* @date 26/03/2007
*/
public class TplContactCustEntityVO extends BaseTplContactCustEntityVO
{
/**
* Codigo da Operacao reali... |
package com.zju.courier.dao;
import com.zju.courier.entity.APInfo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface ApInfoDao {
List<APInfo> list();
APInfo query(int ap_id);
void update(@Param("apInfo") APInfo apInfo);
void insert(@Param("apInfo") APInfo apInfo);... |
package com.allmsi.plugin.flow.service.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.allmsi.plugin.external.service.impl.FlowExternalService;
import com.allmsi.plu... |
package commands;
import packets.Packet;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Scanner;
/**
* Класс команды exit
*/
public class Exit implements Command{
/**
* Поле сканера. Нужно, чтобы закрыть все потоки перед завершением работы програ... |
package es.ubu.lsi.model.asociacion;
import java.io.Serializable;
import javax.persistence.*;
@Entity
@Table(name="TipoIncidencia")
public class TipoIncidencia implements Serializable{
private static final long serialVersionUID = 1L;
@Id
private int id;
private String descripcion;
private int valor;
pub... |
package de.uulm.mmci.scatter;
import java.util.List;
import android.graphics.Canvas;
public class Scenario implements Drawable {
private List<Icon> targets;
public Scenario(List<Icon> targets) {
this.targets = targets;
}
public List<Icon> getTargets() {
return this.targets;
}
public void setScenario(... |
package xhu.wncg.firesystem.modules.controller.qo;
import xhu.wncg.firesystem.modules.pojo.Unit;
/**
* 场所表
*
* @author zhaobo
* @email 15528330581@163.com
* @version 2017-11-02 15:58:16
*/
public class UnitQO extends Unit {
String countKeys;
String startTime;
String endTime;
public String getCo... |
package com.gaoshin.top.plugin.generic;
import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.widget.LinearLayout;
import com.gaoshin.top.plugin.LabeledTextEdit;
public class GenericShortcutEditor extends LinearLayout {
private LabeledTextEdit actionE... |
package com.templates.controller;
import java.io.UnsupportedEncodingException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.... |
package com.example.khong.facerecognition;
public class Common {
public final static String SERVER_IP = "192.168.20.101:8080";
}
|
package com.niit.phonaholic.config;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springfram... |
package com.minamid.accessiblememorygame.ui;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.preference.PreferenceManager;
import android.view.LayoutInflater;
import android.view.View;
i... |
/*
* ################################################################
*
* 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 top.lvjp.rabbitmqmodel.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
*
* </p>
*
* @author lvjp
* @since 2019-05-03
*/
@Data
@... |
package DAO.Dbtable;
import Helpers.DbTable;
/**
* Classe Cibo che estende l'helpers DbTable
*/
public class Cibo extends DbTable {
public Cibo(){
name="cibo";
sql="";
}
}
|
package code.graphics;
import code.global.GlobalVariables;
import code.intersectObjects.IntersectsObjectLevel2;
import code.player.Player;
import code.player.Sprite;
import javafx.geometry.Rectangle2D;
import java.util.ArrayList;
import java.util.List;
import static code.global.GlobalVariables.CANVAS_HEIGHT;
import ... |
package com.example.canyetismis.coursework2;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.IBinder;
import android.os.Message;
import android.os.Messenger;
import android.os.RemoteException;
import androi... |
package io.breen.socrates.test.python;
import io.breen.socrates.criteria.Criteria;
import io.breen.socrates.file.python.PythonFile;
import io.breen.socrates.file.python.Variable;
import io.breen.socrates.submission.Submission;
import io.breen.socrates.submission.SubmittedFile;
import io.breen.socrates.test.*;
import ... |
package robotambulance.course;
public class Position implements Comparable<Position>{
private Vertice from;
private Vertice to;
private float distanceFrom;
public Position(Vertice from, Vertice to, float distanceFrom) {
super();
this.from = from;
this.to = to;
this.distanceFrom = distanceFrom;... |
package com.example.android.offline;
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.view.Menu;
import android.view.MenuItem;
import android.widget.EditText;
import andr... |
package com.project;
public class ActionCooldown {
private int maxCooldown;
private int cooldown;
public ActionCooldown(int cooldown) {
this.maxCooldown = cooldown;
this.cooldown = cooldown;
}
public boolean isOffCooldown(){
return cooldown<=0;
}
public void updateCooldown(){
if(isOffCooldown()){
... |
import java.util.*;
public class LotteryDrawing {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("请问您要从多少个数中抽取数字?");
int n = in.nextInt();
int[] a = new int[n];
System.out.println("请问您要抽取多少个数字?");
int k = in.nextInt();
int[] r = new int[k];
fo... |
package Model;
/**
*
* @author lala
*/
public class Simulator {
private final Road h = new Road(RoadSense.Horizontal);
private final Road h2 = new Road(RoadSense.Horizontal);
private final Road v = new Road(RoadSense.Vertical);
private final Road v2 = new Road(RoadSense.Vertical);
public ... |
package dev.liambloom.softwareEngineering.chapter9.lawFirm;
public class Client2
{
public static void main(String[] args)
{
Lawyer leia = new Lawyer();
System.out.print("Lawyer: ");
System.out.print(leia.getHours() + ", ");
System.out.printf("$%.2f, ", leia.getSalary());
... |
package edu.neu.ccs.cs5010;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collec... |
package com.ecej.nove.base.locks;
import java.util.List;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import org.apache.zookeeper.CreateMode;
import org.apache.zookeeper.KeeperException;
import org.apache.zookeeper.WatchedEvent;
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package se.kth.kthfsdashboard.virtualization;
/**
*
* @author Alberto Lorente Leal <albll@kth.se>
*/
import java.io.Serializable;
import java.util.ArrayList;
import javax.faces.application.FacesMessage;
import javax.... |
package different;
public class BankAccount {
int id;
double balance;
double popolnenieScheta(double sum1){
balance += sum1;
return balance;
}
double spisanieSoScheta(double sum2){
balance -= sum2;
return balance;
}
}
class BankTest{
public static void main(String[]args){
BankAccount... |
package imageasgraph;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Iterator;
import javax.imageio.ImageIO;
import mutators.Mutator;
import pixel.PixelAsColors;
import pixel.SimplePixel;
/**
* Represents a... |
/*
* 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 Module;
/**
*
* @author LENOVO
*/
public class SessionLogin {
private static String idUser;
private static String n... |
package com.microsoft.hsg.android.hvsample;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import jav... |
class A {
public static void main(String[] a){
String[]m={"一","二","三","四","五","六","七","八","九","十"};
for(int i=-1;i++<9;System.out.println("高橋"+m[i]+"郎"));}}
|
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.util.Iterator;
import java.util.LinkedList;
import javax.swing.JTextField;
public class Board {
private Square[][] table;
private Row[] rows;
private Column[] cols;
private Box[][] boxes;
priva... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Wrapper;
import Master.*;
import java.io.IOException;
import java.util.List;
import java.util.logging.FileHandler;
import java.util.logging.Logger;
import javax.jws.WebService;
import javax.jws.WebMe... |
package com.roundarch.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import org.springframework.data.annotation.Transient;
import com.annconia.api.entity.AbstractEntity;
import com.annconia.api.entity.DeleteArchive;
public... |
package com.meetingapp.android.rest.api;
import com.meetingapp.android.model.CountryCodeWithIP;
import io.reactivex.Observable;
import retrofit2.Call;
import retrofit2.http.GET;
/**
* This class used to define the web operations
*/
public interface ApiInterface {
@GET("/json")
Observable<CountryCodeWithIP>... |
package com.intentsg.service.user.repository;
import com.intentsg.service.user.model.User;
import com.intentsg.service.user.service.UserService;
import org.junit.After;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.j... |
package fr.unice.polytech.isa.polyevent;
import fr.unice.polytech.isa.polyevent.entities.Organisateur;
import fr.unice.polytech.isa.polyevent.entities.outils.Signal;
import javax.ejb.EJB;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import ja... |
package com.containers.repository;
import com.containers.model.Report;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.Set;
public interface ReportRepository extends JpaRepository<Report, Long> {
// @Query("SELECT cr FROM Report cr WHERE cr.container.containerIdNumber = :containerI... |
package dao;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery;
import entities.Flight;
public class FlightDAO extends GenericDAO<Flight>{
public FlightDAO () {
super(Flight.class);
}
public List<Flight> findAll () {
... |
package com.wdl.service.impl.rbac;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.annotation.Resource;
import org.springframework.beans.BeanUtils;
import org.springframework.stereot... |
package ar.edu.unlam.pb1.tp06.dominio;
/* 4. Desarrolla la clase PruebaEstadisticasDePersonas, cuyo objetivo es ingresar una muestra
de 50 personas y se calcule el:
a. El peso promedio
b. Cantidad de personas con bajo peso
c. Cantidad de personas con peso normal
d. Cantidad de personas con sobre peso
e. Promed... |
package com.sdz.animal;
public class Chien extends Canin implements Rintintin // class fille de Canin
{
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
// CONSTRUCTEURS
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
... |
package uk.ac.ebi.intact.view.webapp.controller.search.facet;
import org.apache.solr.client.solrj.response.FacetField;
/**
* Count negative interactions
*
* @author Marine Dumousseau (marine@ebi.ac.uk)
* @version $Id$
* @since <pre>18/09/12</pre>
*/
public class NegativeCount extends AbstractCount {
publi... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.utils.staterestapi.requests;
import com.yahoo.vespa.clustercontroller.utils.staterestapi.errors.InvalidContentException;
import com.yahoo.vespa.clustercontrol... |
package com.xxx.springboot.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import java.util.HashMap;
@Controller
pub... |
public class TaroFillingAStringDiv2 {
private boolean[][] seen;
private int[][] results;
private String S;
public int getNumber(String S) {
this.S = S;
seen = new boolean[S.length()][3];
results = new int[S.length()][3];
return solve(0, 2);
}
private int solve(... |
package com.jixin;
public class Current {
public void use220V() {
System.out.println("使用220V电压");
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.