text stringlengths 10 2.72M |
|---|
package com.ireslab.sendx.electra.repository;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param... |
package com.komaxx.komaxx_gl.primitives;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import java.nio.ShortBuffer;
import android.opengl.GLES20;
import com.komaxx.komaxx_gl.RenderProgram;
import com.komaxx.komaxx_gl.util.RenderUtil;
/**
* Static methods to define and manipula... |
package kr.blogspot.ovsoce.allsearch.main.fragment;
import android.graphics.Bitmap;
import android.graphics.drawable.AnimationDrawable;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.We... |
package com.example.billage.backend.api;
import android.database.Cursor;
import android.util.Log;
import com.example.billage.backend.common.DbOpenHelper;
import com.example.billage.backend.common.Utils;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
public class StatisticTrans... |
package Tools;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.teamname.game.Actor.Player;
import com.teamname.game.Main;
import com.teamname.game.Screens.GameSc;
import java.util.Timer;
import java.util.... |
package test.offten;
/**
* Copyright (c) by www.leya920.com
* All right reserved.
* Create Date: 2017-03-23 17:11
* Create Author: maguoqiang
* File Name: Parent.java
* Last version: 1.0
* Function: //TODO
* Last Update Date: 2017-03-23 17:11
* Last Update Log:
* Comment: //TODO
**/
public class Parent {
... |
package dominio.test;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import dominio.Cuenta;
import dominio.Debito;
import java.util.Date;
import org.junit.jupiter.api.Assertions;
/**
* JUnits para testear la clase Debito
* @author Xabier
*
*/
public ... |
package com.wb.netty.http.service;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import io.netty.handler.codec.http.DefaultFullHttpResponse;
import io.netty.handler.codec.http.FullHttpResponse;
import io.netty.handler.codec.http.HttpResponseStatus;
import io... |
package modul3.getraenkeHandelMitEingabe;
import java.util.Scanner;
public class Getraenkeverwaltung {
@SuppressWarnings("Duplicates")
public static void main(String[] args) {
// Erzeugen des ersten Objekts
Getraenk getraenk1;
getraenk1 = new Getraenk();
// Setzen der Attributswerte vi... |
/*
* created 13.03.2005
*
* $Id:DiagramEditPart.java 2 2005-11-02 03:04:20Z csell $
*/
package com.byterefinery.rmbench.editparts;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List... |
package com.aaronguostudio.handler;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.os.SystemClock;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.widget.Button;
im... |
package com.runningphotos.ui;
import com.runningphotos.bom.User;
import com.runningphotos.dao.UserDao;
import com.runningphotos.service.MailSenderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.MessageSour... |
/*
* 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.anjar.random;
import java.util.ArrayList;
/**
*
* @author Anjar_Ibnu
*/
public class TestRandom {
public static v... |
package com.sfa.vo;
public class ChartVo {
private String month;// 달
private Long total_sale;// 매출합계
private Long total_mile;// 총 주행거리
private Long estimate_distance;//총 예상 주행거리
private Long estimate_sale;// 총 예상 매출액
private String id;//아이디
private String dept;//부서
public String getMonth() {
ret... |
package com.pkmnleague.game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.maps.tiled.TiledMapRenderer;
import com.badlogic.gdx.math.GridPoint2;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.... |
class IntegertoRoman {
public String intToRoman(int num) {
char[] symbols = { 'I', 'V', 'X', 'L', 'C', 'D', 'M' };
int[] values = { 1, 5, 10, 50, 100, 500, 1000 };
StringBuilder roman = new StringBuilder();
int t = num, i = 6, p, k;
while (t > 0) {
p = t / values... |
package models;
import java.util.*;
import javax.persistence.*;
import play.db.jpa.*;
@Entity
public class Item extends Model {
public String name;
public String comment;
public Item(String name, String comment) {
this.name = name;
this.comment = comment;
}
} |
package com.example.thirdsdk;
import com.iflytek.cloud.ErrorCode;
import com.iflytek.cloud.InitListener;
import com.iflytek.cloud.SpeechConstant;
import com.iflytek.cloud.SpeechError;
import com.iflytek.cloud.SpeechSynthesizer;
import com.iflytek.cloud.SynthesizerListener;
import android.app.AlertDialog;
import andro... |
/*
* Name: Đặng Huy Hoàng
* Class: DH12DT
*/
public class TokenJava {
private int count = -1;
private String data;
private String charc;
private String[] array;
public TokenJava(String data, String charc) {
this.data = data;
this.charc = charc;
array = data.split(charc);
}
public boole... |
package com.szcinda.express.persistence;
import com.szcinda.express.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Entity;
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
public class Client extends BaseEntity {
private String name;
private String nickName;
p... |
package it.unical.asd.group6.computerSparePartsCompany.data.dto;
import java.io.Serializable;
import java.time.LocalDate;
public class JobRequestDTO implements Serializable {
private Long ID;
private String title;
private String position;
private String email;
private String description;
priv... |
package com.app.bowlingscorer.data.model.entity;
/**
* Created by a.hegazy on 18/4/2018.
*/
public class Scores {
}
|
package com.kzw.leisure.widgets;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.kzw.leisure.R;
import com.kzw.leisure.utils... |
package cn.uway.pool;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.net.ftp.FTPClient;
import cn.uway.framework.connection.Device;
import cn.uway.framework.connection.FTPConnectionInfo;
import cn.uway.framework.connection.pool.ftp.FTPClientPool;
import cn.uway.frame... |
package prova;
import java.util.logging.Logger;
public class Main {
public static void main(String[] args) {
Logger logger = Logger.getLogger(Main.class.getName());
logger.log("Hello World");
}
} |
package com.samyotech.laundry.ui.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.co... |
package com.example.demo.controller;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.Get... |
package com.spark.sqlitedemo_android;
/**
* @author Spark
* @package com.spark.sqlitedemo_android
* @fileName StatBean
* @date 2018/9/6
* @describe
*/
public class StatBean {
private String name;
private String phone;
public String getName() {
return name;
}
public void setName(Str... |
package net.iz44kpvp.kitpvp.Comandos;
import java.util.ArrayList;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
im... |
package rain.test.study2020.m01.d30;
public class MulArray {
public static void main(String[] args) {
int[][] arr = {{1, 2}, {4, 5}, {6, 3}};
for (int i = 0; i < arr.length; i++) {
System.out.println(arr[i][0] + " " + arr[i][1]);
}
}
}
|
package com.pxene;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.io.File;
import java.util.List;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.Callable;
//public class AmaxFileProducer implements Runnable {
public class AmaxFileProducer imple... |
package org.motechproject.server.model;
public class SupportCase implements ExtractedMessage{
private String sender ;
private String phoneNumber ;
private String dateRaisedOn ;
private String description;
public SupportCase(){
}
public SupportCase(String sender, String phoneNumber, Stri... |
package com.kraken.lightmeup;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerMoveEvent;
public class LMUListener implem... |
package com.kunsoftware.page;
import java.util.Enumeration;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.ui.ModelMap;
import com.kunsoftware.util.WebUtil;
public class PageUtil {
public static void pageInfo(ModelMap model,PageInfo pageInfo) {
model.addAttrib... |
package com.tencent.mm.plugin.appbrand.jsapi.c;
import android.content.BroadcastReceiver;
import android.content.IntentFilter;
import com.tencent.mm.sdk.platformtools.ad;
import com.tencent.mm.sdk.platformtools.x;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
public final class a {
public s... |
package com.huawei.esdk.csdemo.view.panel;
import java.awt.Rectangle;
import java.util.Vector;
import javax.swing.BorderFactory;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;
import com.huawei.esdk.csdemo.common.LabelText;
import com... |
package com.chuxin.family.gallery;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map.Entry;
import java.util.Set;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.AsyncTask;
import androi... |
package kr.co.sist.mgr.faq.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
i... |
package workstarter.service;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import workstarter.domain.Company;
import workstarter.domain.Jobadvertisment;
import workstarter... |
package com.example.firebasemessaging.Activity;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Toast;
import androidx.activity.result.ActivityRe... |
/*
* 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.arpablue.database;
import java.util.ArrayList;
/**
* It class contains all method to execute SQL sentences over the data... |
package com.tencent.mm.plugin.account.ui;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
class i$1 implements OnClickListener {
final /* synthetic */ MobileInputUI eSB;
final /* synthetic */ i eSC;
i$1(i iVar, MobileInputUI mobileInputUI) {
this... |
package test;
import org.junit.Test;
import util.Key;
/**
* Created by MarioJ on 08/04/15.
*/
public class KeyTest {
public void generateKeyHashed() {
String encoded = Key.encode("55", "3491162895");
String decoded = Key.decode(encoded.getBytes());
String hashed = Key.generate("55", "3... |
package com.ybh.front.model;
import java.util.Date;
public class Admuser {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FreeHost_Admuser.id
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
private Integer id;... |
package day06_arithmetic_operators;
public class moreMathOperators {
public static void main (String [] args ){
int toyotas = 431;
int hondas = 233;
int vw = 2;
int tesla = 20;
int nissan = 1;
int bmw = 155;
int total = toyotas+ hondas+vw+tesla+nissan+ bmw;
... |
package com.heartmarket.model.dto.response;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter @Setter
@AllArgsConstructor
@NoArgsConstructor
public class MailTradeImg {
int imgNo;
String orgImg;
}
|
package com.etar.purifier.modules.verificationCode.controller;
import com.etar.purifier.common.annotation.LogOperate;
import com.etar.purifier.modules.common.entity.DataResult;
import com.etar.purifier.modules.common.entity.PageBean;
import com.etar.purifier.modules.common.entity.Result;
import com.etar.purifier.modul... |
/*
* Copyright 2013-2014 ReConf Team
*
* 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... |
package unidad4;
public class Ccuenta {
/**@author jesgo
*
*/
protected String nombre;
private String cuenta;
private double saldo;
private double tipoInterés;
public Ccuenta() {
}
public Ccuenta(String nom, String cue, double sal, double tipo) {
nombre = nom;
cuenta = cue;
... |
package send.money.transfer.send;
import send.money.transfer.Operation;
/**
* A simple action to deposit or withdraw money
*/
public interface MoneySendAction {
Long getAccountId(Operation operation);
/**
* Call an action upon the operation
* @param operation which status will be changed
*/... |
package littleservantmod.plugin.jei;
import mezz.jei.api.IModPlugin;
import mezz.jei.api.IModRegistry;
import mezz.jei.api.JEIPlugin;
@JEIPlugin
public class JEILSMLPlugin implements IModPlugin {
@Override
public void register(IModRegistry registry) {
//何故か加速するので
//SideTabBase.tabExpandSpeed = 4;
registry.... |
package com.jegsoftware.payperiodbudgeting.data;
import java.util.UUID;
/**
* Created by jonathon on 2/24/18.
*/
public class FakeItemDataSource implements IBudgetItemData {
BudgetItem savedItem;
@Override
public void save(BudgetItem item) {
savedItem = item;
}
@Override
public Bu... |
/**
* Provides the exception that can be thrown during the execution o the code.<br>
* The package contains the following exceptions:
* <ul>
* <li>{@code MappingException} : thrown when an error occurs during the mapping operation</li>
* <li>{@code MappingNotFoundException} : thrown when an error occurs when a map... |
package com.tatteam.popthecamera;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputProcessor;
import com.badlogic.gdx.Preferences;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
impor... |
package com.linkan.githubtrendingrepos.data.local.db;
import com.linkan.githubtrendingrepos.data.local.dao.AppDatabase;
import com.linkan.githubtrendingrepos.data.model.api.TrendingResponse;
import com.linkan.githubtrendingrepos.data.model.db.TrendingRepo;
import java.util.List;
import java.util.concurrent.Callable;
... |
package pe.gob.sunarp.incidenciasapp.service.implementacion;
import java.util.ArrayList;
import java.util.List;
import pe.gob.sunarp.incidenciasapp.dto.IncidenteDto;
public class DataIncidencia {
public DataIncidencia() {
}
static String[] arregloTipos; // = {"JAVA", "ORACLE", "SPRING"};
stati... |
package com.orca.app;
import static org.junit.Assert.assertTrue;
import org.junit.*;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
i... |
package com.freejavaman;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.SubMenu;
public class UI_Menu extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.lay... |
package com.hyty.tree.treejiegou.entity;
import com.alibaba.fastjson.annotation.JSONField;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
/**
* Created by Whk on... |
package com.pointburst.jsmusic.parser;
import com.pointburst.jsmusic.network.ServiceResponse;
/**
* Created by FARHAN on 12/27/2014.
*/
public interface IParser {
public ServiceResponse parseData(int eventType, String data);
}
|
/*
* Copyright 1999-2011 Alibaba Group.
*
* 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 appl... |
package com.smxknfie.springcloud.netflix.eureka.feign.hystrix;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDis... |
package tc.selenium.container;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
/**
* Finds web elements by id from the summary view
*
* @author sian.webster
*/
public class SummaryContainer {
@FindBy(id="name")
public WebElement name;
@FindBy(id="age")
public We... |
package zxn.dao;
import zxn.domain.User;
public interface UserDao {
public void addUser(User user);
public User findUser(String username, String password);
}
|
package com.CodingSheep.test.framework;
/**
* @author Jarrod Raine
*/
public enum ObjectId
{
Player(),
Block(),
Bullet(),
Flag();
} |
package three;
public class TernaryIfElse {
static int ternary(int i){
return i<10?i*100:i*10;
}
static int standardIfElse(int i) {
if(i<10) {
return i*10;
}else {
return i*100;
}
}
public static void main(String[] args) {
System.out.println(ternary(9));
System.out.println(ternary(10));
S... |
package com.learnJava.ngnix;
import java.util.Arrays;
import java.util.List;
import java.util.stream.IntStream;
public class BatchProcessing {
public static void main(String[] args) {
List<Integer> intList = Arrays.asList(1,2,3,4,5);
int BATCH = 3;
IntStream.range(0, (intList.size()+BAT... |
public class TicketTester {
public static void main(String[] args) {
Advance ticket1 = new Advance(4);
Advance ticket2 = new Advance(15);
StudentAdvance ticket3 = new StudentAdvance(5);
StudentAdvance ticket4 = new StudentAdvance(20);
Ticket[] tickets = new Ticket[] {ticke... |
package com.kerbii.undersiege;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
public abstract class GameObject {
/**
* Location data
*
* Different location dependent on type (mobs top left, arrows right center, etc)
*/
... |
package LinkedList;
import java.lang.Math;
public class Practice3 {
public static void main(String[] args) {
/*String s="abcd efgh";
int i=9;
int j=90;
int k=Math.min(i,j);
System.out.println(k);
String str[]=s.split("");
System.out.println(str.length);
char[] chr= {'a','b','c'};
int l=chr.length;*/
... |
package com.mz.API.repository;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import com.mz.API.model.Rol;
import com.mz.API.model.RoleName;
public interface RolRepository extends JpaRepository<Rol, Long> {
Optional<Rol> findByName(RoleName roleName);
}
|
package pe.gob.trabajo.repository.search;
import pe.gob.trabajo.domain.Dirpernat;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
/**
* Spring Data Elasticsearch repository for the Dirpernat entity.
*/
public interface DirpernatSearchRepository extends ElasticsearchRepository<Dirpe... |
/**
*
*/
package com.goodhealth.algorithm.Test;
/**
* @author 24663
* @date 2018年12月19日
* @Description
*/
public class SpecialChar {
public static void main(String[] args) {
System.out.println("测试语句");
System.out.println("测试语句'");
System.out.println("测试语句\n");// \n换行
System.out.println("测试语句\r");// \... |
package net.plazmix.core.api.common.orm.mysql;
import net.plazmix.core.api.common.orm.*;
import org.apache.commons.lang.StringUtils;
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.*;
import java.util... |
package testcase;
import es.utils.mapper.Mapper;
import es.utils.mapper.exception.MappingException;
import es.utils.mapper.exception.MappingNotFoundException;
import from.FromPrimitivesWrap;
import org.junit.jupiter.api.Test;
import to.ToPrimitivesWrap;
import static org.assertj.core.api.Assertions.assertThat;
publi... |
package com.example.ahmed.octopusmart.Activity.Base;
import android.content.ComponentName;
import android.content.Intent;
import android.support.design.widget.Snackbar;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import com.example.ahmed.octopusma... |
package com.tencent.mm.plugin.luckymoney.f2f.ui;
import android.animation.ValueAnimator;
import android.animation.ValueAnimator.AnimatorUpdateListener;
class ShuffleView$7 implements AnimatorUpdateListener {
final /* synthetic */ ShuffleView kPn;
ShuffleView$7(ShuffleView shuffleView) {
this.kPn = sh... |
class Node {
Node next;
int data;
Node(int data) {
this.data = data;
}
}
public class DeletePointerNode {
public boolean deleteNode(Node curr) {
if (curr == null || curr.next == null) return false;
Node q = curr.next;
curr.data = q.data; // copy data(simulate previous... |
package com.tencent.mm.g.a;
import android.os.Bundle;
public final class qw$a {
public Bundle bundle;
}
|
/**
* 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 enum_test;
/**
* Description:
*
* @author Baltan
* @date 2017/12/28 14:58
*/
public class Test1 {
public static void main(String[] args) {
System.out.println(Size.EXTRA_LARGE.toString());
Size[] sizes = Size.values();
for (Size s : sizes) {
System.out.print(s + "\t... |
package com.github.arsentiy67.usereditor.config;
import java.util.Properties;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
import org.springframework.context.annotation.Bean;
import org.sp... |
/*
* 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 herramientas;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;
/**
*
* @author abf... |
package com.progoth.synchrochat.client.events;
import com.google.web.bindery.event.shared.Event;
import com.progoth.synchrochat.shared.model.ChatRoom;
public class RoomJoinedEvent extends Event<RoomJoinedEvent.Handler>
{
public static interface Handler
{
void onRoomJoined(ChatRoom aRoom);
}
p... |
package com.excilys.formation.cdb.service.DTO.Mappers;
import java.time.LocalDate;
import com.excilys.formation.cdb.service.DTO.ComputerDto;
import com.excilys.formation.cdb.core.model.Computer;
import com.excilys.formation.cdb.core.model.Computer.ComputerBuilder;
import com.excilys.formation.cdb.service.Utility;
pu... |
package com.slort.struts.form.security;
import java.util.Date;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import com.slort.model.Opcionmenu;
import com.slort.struts.action.Acti... |
class Parent
{
void value()
{
System.out.println("enter in parent class");
}
}
class child extends Parent
{
void value()
{
super.value();
System.out.println("Enter in child class");
}
}
class Inv
{
public static void main(String[] args)
{
child c=new child();
c.value();
System.out.println("without object");
}
}
|
package com.shiro.controller;
import com.shiro.service.UserService;
import com.mysql.jdbc.StringUtils;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfra... |
package com.example.mapper;
import com.example.pojo.Recipe;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
@Mapper
@Repository
public interface RecipeMapper {
List<Recipe> selectAll();
Recipe selectById(int id);
Recipe selectLast();
Integ... |
package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.component.widget;
import com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.component.widget.a.e;
class AdlandingVideoSightView$1 implements e {
final /* synthetic */ AdlandingVideoSightView nGO;
... |
package com.sunbing.demo.service.Impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sunbing.demo.entity.ResponseResult;
import com.sunbing.demo.entity.User;
import c... |
package com.dais.mapper;
import com.dais.model.PrivatechatMsg;
import com.dais.model.PrivatechatMsgExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PrivatechatMsgMapper {
int countByExample(PrivatechatMsgExample example);
int deleteByExample(PrivatechatMsgExample e... |
package ccs.education.login.dto;
import org.springframework.security.core.authority.AuthorityUtils;
import org.springframework.security.core.userdetails.User;
import ccs.education.login.entity.Account;
import lombok.Getter;
@Getter
public class LoginUser extends User {
private Account account; // アカウ... |
package bot.behavior;
import lejos.hardware.Sound;
import lejos.hardware.sensor.EV3ColorSensor;
import lejos.robotics.Color;
import lejos.robotics.subsumption.Behavior;
import bot.BrickConfig;
public class ColorObjectDetector implements Behavior {
@Override
public boolean takeControl() {
// TODO Auto-generated m... |
package rhtn_homework;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;
public class BOJ_17103_골드바흐파티션 {
private static StringBuilder sb = new StringBuilder();
public static void main(String[] args) throws IOException{
// TODO Auto-generated metho... |
package ws.customer.service;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import ws.customer.data.Customer;
public class CustomerSpringService {
LinkedHashMap<String, Customer> customers;
public void setCustomers(LinkedHashMap<String, Customer> customers) {
this.customers = customers;
}
public... |
package com.squareup.rack.servlet;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.security.Principal;
import java.util.Enumeration;
import java.util.Locale;
import java.util.Map;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletInp... |
package com.learn_basic.reflection;
import java.lang.reflect.Method;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.List;
import java.util.Map;
// 通过反射 获取泛型
public class GetTypeByReflection {
public void test01(Map<String, User> map, List<User> list){
... |
/*
* 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 test;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
*
* @author elshan.abdullayev
*/
p... |
package com.example.plasticcabinets.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedBy;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.do... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.