text stringlengths 10 2.72M |
|---|
package com.rx.mvvm.aop.anno;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created by wuwei
* 2021/3/22
* ไฝ็ฅไฟไฝ ๆฐธๆ BUG
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
pu... |
package service.impl;
import org.springframework.stereotype.Service;
import repository.RoleRepository;
import service.RoleService;
import javax.annotation.Resource;
import java.util.HashMap;
/**
* Created by xheart on 2016/8/14.
*/
@Service
public class RoleServiceImpl implements RoleService {
@R... |
package uk.gov.hmcts.jsonstore;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.MissingNode;
public class JsonResourceStoreWithInheritance extends JsonStoreWithInherita... |
package net.minecraft.network;
import net.minecraft.util.text.ITextComponent;
public interface INetHandler {
void onDisconnect(ITextComponent paramITextComponent);
}
/* Location: C:\Users\BSV\AppData\Local\Temp\Rar$DRa6216.20396\Preview\Preview.jar!\net\minecraft\network\INetHandler.class
* Java com... |
package com.facebook.react.bridge;
import com.facebook.jni.HybridData;
import java.util.ArrayList;
public class ReadableNativeArray extends NativeArray implements ReadableArray {
private static int jniPassCounter;
private static boolean mUseNativeAccessor;
private Object[] mLocalArray;
pr... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package invertedFile;
import util.DefaultSearch;
import util.LoadRTree;
import util.ScoredObject;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.util.Collection... |
package com.utils;
import org.openqa.selenium.By;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class Commons extends Setup {
protected RemoteWebDriver driver;
public Commons(RemoteWebDriver... |
package Modeles;
import java.util.ArrayList;
import Objets.Assists;
public class MAssists extends MDefaultTable<Assists>
{
private static final long serialVersionUID = 1L;
public MAssists()
{
super();
data = new ArrayList<Assists>();
String[] newheaders = {"Cours", "Assistant", "Type"};
setHeaders(ne... |
/*
* Sonar Codesize Plugin
* Copyright (C) 2010 Matthijs Galesloot
* dev@sonar.codehaus.org
*
* 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/license... |
/*----------------------------------------------------------------
* Author: Cristina Scheibler
* Written: 7/16/2017
* Last updated: 7/17/2017
*
* Compilation: javac Percolation.java
*
*----------------------------------------------------------------*/
import edu.princeton.cs.algs4.Weight... |
package com.kgitbank.spring.domain.chat.controller;
import java.util.List;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotati... |
package ohjelma.verkko;
import java.util.HashSet;
import java.util.Scanner;
import ohjelma.tietorakenteet.iHashMap;
import ohjelma.tietorakenteet.iHashSet;
/**
* Luo verkon annetuista solmuista / kaarista.
*
* @author kkivikat
*/
public class Verkko {
private HashSet<Kaari> kaaret;
private iHashMap<Inte... |
package cn.springboot.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller("helloController")
public class HelloController {
public HelloController() {
System.out.println... |
/**
* Solutii Ecommerce, Automatizare, Validare si Analiza | Seava.ro
* Copyright: 2013 Nan21 Electronics SRL. All rights reserved.
* Use is subject to license terms.
*/
package seava.ad.business.impl.system;
import java.util.List;
import javax.persistence.EntityManager;
import seava.ad.business.api.system.IDataSo... |
package Quiz1;
import java.util.*;
public class Laptop {
Scanner s = new Scanner(System.in);
String brand;
String color;
String model;
String screen;
double weight;
public void setBrand() {
System.out.println("Enter the brand : ");
this.brand = s.next();
}
public void setColor() {
... |
package de.ronnyritscher.projekt_codesnippetcollectionapp;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget... |
package com.tencent.mm.plugin.freewifi.e;
import com.tencent.mm.plugin.freewifi.m;
import com.tencent.mm.sdk.platformtools.x;
public final class d {
private String bIQ;
private String bLe;
private int jkE;
/* synthetic */ d(byte b) {
this();
}
private d() {
}
public final sy... |
package com.github.jerrysearch.tns.console.draw;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import org.fusesource.jansi.Ansi;
import org.fusesource.jansi.Ansi.Color;
import org.fuses... |
package org.hpe.df.utilities;
import org.ojai.store.Connection;
import org.ojai.store.DocumentStore;
import org.ojai.store.DriverManager;
import org.ojai.store.Query;
public class ViewDBRows {
public static void main(String[] args) {
String storeName = "/metrics";
DocumentStore store;
Connection connec... |
package net.lin.www;
import com.google.gson.Gson;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.File;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.*;
/**
* Created by Lin on 12/29/15.
*/
public class... |
package Lab04.Zad3;
public class Main {
public static void main(String[] args) {
Editor editor = new Editor(500,500);
}
}
|
package ifl.games.runtime.Menus;
import ifl.games.runtime.ManagedScene;
/**
*** @author Brian Broyles - IFL Game Studio
**/
public abstract class ManagedMenuScene extends ManagedScene {
public ManagedMenuScene(float pLoadingScreenMinimumSecondsShown) {
super(pLoadingScreenMinimumSecondsShown);
}
@Override
publi... |
package com.santander.bi.dtos;
import java.sql.Timestamp;
public class EstatusDTO {
private Integer idEstatus;
private String estatus;
private String descripcion;
//CAMPOS SEGUIMIENTO
private String habilitado="H";
private Timestamp fechaCreacion;
p... |
package com.bierocratie.ui.view.catalog;
import com.bierocratie.model.catalog.Beer;
import com.bierocratie.model.catalog.Supplier;
import com.bierocratie.ui.NavigatorUI;
import com.bierocratie.ui.component.AbstractMenuBar;
import com.bierocratie.ui.component.OrderMenuBar;
import com.bierocratie.ui.view.Abstract... |
package com.dahua.design.creation.factory.simplefactory;
public class simplaFactoryTest {
public static void main(String[] args) {
AbstractPayWay ali = PayFactory.getPayWay("ali");
ali.pay();
AbstractPayWay tx = PayFactory.getPayWay("tx");
tx.pay();
}
}
|
package UserExamples;
import COMSETsystem.AgentModule;
import COMSETsystem.Intersection;
import COMSETsystem.ResourceAnalyzerModule;
public class Agent extends AgentModule {
public Agent(Intersection loc, ResourceAnalyzerModule resMod) {
super(loc, resMod);
}
@Override
//TODO Implement your own move() and oth... |
package babylanguage.babyapp.practicelanguagecommon;
import android.app.Dialog;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import babylanguage.babyapp.appscommon.services.AndroidHelper;
import services.AppConstants;
public class HelpDialogPro {
public static Dial... |
package com.osce.result;
import com.alibaba.fastjson.JSON;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName: ErrorContext
* @Description: ้่ฏฏไธไธๆ๏ผ้่ฏฏๅ ๆ
* @Author yangtongbin
* @Date 2017/9/13 16:37
*/
public class ErrorContext {
/** ้่ฏฏๅ ๆ */
private List<CommonError> errorStack = new ArrayLis... |
import java.util.Scanner;
class Toy
{
private int toyId,minAge,maxAge,price,quantity,refundableDeposit,rentalAmount;
private String toyName,toyType;
public Toy() {
}
public Toy(int toyId, String toyName, String toyType, int minAge, int maxAge, int price, int quantity,int rentalAmount, int refundableDe... |
package cn.com.itjh.api.resource;
import com.google.common.base.Joiner;
import com.google.common.net.HttpHeaders;
import com.wordnik.swagger.annotations.*;
import org.glassfish.jersey.media.multipart.FormDataParam;
import org.springframework.web.bind.annotation.RequestMethod;
import javax.inject.Inject;
import javax.... |
/*
* 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 br.com.ecommerce.pages.retaguarda.cadastros.produtos;
import static br.com.ecommerce.config.DriverFactory.getDriver;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import br.com.ecommerce.config.... |
package org.damienoreilly.zserv;
import org.damienoreilly.zserv.daemon.DaemonManagerCallbackHandler;
public interface ZservProcess extends Runnable {
void setZservName(String zservName);
void setZservBaseDir(String zservDir);
void setCallbackHandler(DaemonManagerCallbackHandler daemonManagerCallbackHandler);
... |
package com.darglk.todolist.controller;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.security.co... |
package br.ufs.livraria.modelo;
import java.io.Serializable;
import javax.persistence.*;
@Entity
public class Livro implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue
private Integer id;
private String titulo;
private String sinopse;
private Integer edicao;
priva... |
package neo.ce;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import neo.ce.service.IVirtualService;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class TestSpringScope {
public static void main(String[] args) {
try {
ClassPathXmlApplication... |
public class Alumnus extends CommunityMenber {
}
|
package controllers;
import battleships.Player;
import battleships.Utilities;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.Node;
import javafx.scene.control.Button;
import javafx.scene.control.CheckBox;
import javafx.scene.control.Label;
import javafx.... |
package com.demo.test.domain;
import lombok.*;
import java.io.Serializable;
/**
* Token็Model็ฑป๏ผๅฏไปฅๅขๅ ๅญๆฎตๆ้ซๅฎๅ
จๆง๏ผไพๅฆๆถ้ดๆณใurl็ญพๅ
* โ่ฏทๆฑ็APIๅๆฐโ+โๆถ้ดๆณโ+โ็โ่ฟ่กMD5็ฎๆณๅ ๅฏ
*
* @author Jack
* @version 2.0 use now
* @date 2019/05/30 23:40 PM
* @date 2019/10/08 18:55 PM update
*/
@Data
@AllArgsConstructor(access = AccessLevel.PR... |
package com.baizhi.entity;
import java.util.Date;
public class Book {
private Integer book_id;
private String book_name;
private String author;
private String press;
private Date up_date;
private Double book_price;
private Double dang_price;
private String img;
private String description1;
private Integer b... |
package com.ymt.entity;
import java.io.File;
/**
* Created by sunsheng on 2017/5/10.
*/
public class Constant {
private static final String ROOT = System.getProperty("user.dir");
public static File getResultPath(){return new File(ROOT, "results/");}
public static File getMinicap() {
return n... |
package com.cts.lifeengage.model;
import java.io.Serializable;
public class FNAProductFormTo implements Serializable{
private String productquestions;
private String productoptions;
private String preferredproduct;
public FNAProductFormTo(String productquestions, String productoptions,String preferredproduct) {
thi... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the ter... |
package com.supconit.kqfx.web.util;
/**
* ๆจกๅไปฃ็ ๆฅๅฃ
* @author ่ดบ็งๅปท
*
*/
public class ModuleCodeConstant {
/**
* ็ญไฟก่ฎฐๅฝๆฅ่ฏข
*/
public static final String MODULE_DXJLCX_CODE = "IMESSAGE_PUB";
/**
* ็ญไฟก่ฎฐๅฝๆจกๆฟ็ฎก็
*/
public static final String MODULE_DXJLMB_CODE = "LSZHGL_TYDD_TYDD_DXXXT_DXMBGL";
/**
* ็ญไฟก็ณป็ป
*/... |
/*
* Copyright (C) 2015 Miquel Sas
*
* 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 Software Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program is dis... |
package edu.jspiders.beanwiringexplicit.util;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import edu.jspiders.beanwiringexplicit.beans.Student;
public class BeanWiringExplicitUtil
{
public static void main(String[] args)
{
// Create the container
ClassPathXmlApplicat... |
package com.traider.journal.Controllers;
import com.traider.journal.Coin;
import com.traider.journal.System.Binance;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetM... |
package com.chuxin.family.views.chat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import org.json.JSONException;
import org.json.JSONObject;
import com.chuxin.family.global.CxGlobalParams;
import com.chuxin.family.models.GuessRequestMessage;
import com.chuxin.family.models.Gu... |
package com.ftd.schaepher.coursemanagement.db;
import android.content.Context;
import android.test.InstrumentationTestCase;
import com.ftd.schaepher.coursemanagement.pojo.TableUserDepartmentHead;
import com.ftd.schaepher.coursemanagement.pojo.TableUserTeacher;
import com.ftd.schaepher.coursemanagement.pojo.TableUserT... |
package com.example.amtis2;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Bundle;
import java.util.ArrayList;
public class HospitalList extends AppCompatActivity {
private ArrayList<Ho... |
package com.smxknife.network.demo04;
import java.net.URI;
/**
* @author smxknife
* 2019-02-14
*/
public class URIUtil {
public static void output(URI uri) {
System.out.println("-----------------------------");
System.out.println("-- uri: " + uri);
System.out.printf("-- scheme: %s\r\n", uri.getScheme());
... |
package com.tencent.mm.plugin.account.ui;
import android.content.Context;
import android.widget.Toast;
import com.tencent.mm.kernel.g;
import com.tencent.mm.platformtools.x;
import com.tencent.mm.plugin.account.a.j;
import com.tencent.mm.plugin.account.friend.a.l;
import com.tencent.mm.plugin.account.model.b.a;
import... |
/**
* JSON ้
ๅใซ้ขใใๅฆ็ package
*/
package org.yipuran.gsonhelper.array; |
import java.util.TreeMap;
public class removeentry {
public static void main(String[] args) {
TreeMap<String, Integer> t1 = new TreeMap<String, Integer>();
t1.put("c",02);
t1.put("h",12);
t1.put("o",22);
t1.put("w",32);
t1.remove("d");
System.out.println(t1);... |
package org.ddth.dinoage.eclipse.ui.perferences;
import org.ddth.dinoage.eclipse.Activator;
import org.eclipse.jface.preference.BooleanFieldEditor;
import org.eclipse.jface.preference.DirectoryFieldEditor;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.jface.preference.RadioGroupFiel... |
package MethodSample;
import java.util.Scanner;
//์์ฑ์ ๋ฉ์๋: ํด๋์ค๊ฐ์ ๊ฐ์ ์ฃผ๊ณ ๋ฐ๊ฑฐ๋ ํฉ๋๋ค.
//์์ฑ์๋ ์์์ด ๋์ง ์์ต๋๋ค. ์์ฑ์๋ ํดใน๋์ค๋ช
๊ณผ ๊ฐ์ ์ด๋ฆ์ ์ฌ์ฉ.
//๋ฐํํ์
์ด ์๋ค. ๊ทธ๋์ return์ ์ฌ์ฉํ์ง ์๋๋ค.
//์ ๊ทผ์ ํ์๋ public ์ด๊ฑฐ๋ ์๋ต๊ฐ๋ฅํ๋ค.
//์์ฑ์ ๋ฉ์๋๋ ์ค๋ฒ๋ก๋ฉ์ด ๊ฐ๋ฅํ๋ค.
//ํ๋ก๊ทธ๋๋จธ๊ฐ ์์ฑ์ ๋ฉ์๋๋ฅผ ์์ฑํ์ง์์ผ๋ฉด JVM์ด ์๋์ผ๋ก ๋ง๋ค์ด์ค๋๋ค.
//์์ฑ์ ๋ฉ์๋๊ฐ ํ๋๋ผ๋ ์์ผ๋ฉด ๊ทธ ๋ ๋ง๋ค์ด ์ค๋๋ค.
// ๊ทธ๋ฆฌ๊ณ , ํด๋์ค์ ํด๋์ค ๋ณ์์ ๊ฐ์ ... |
package ThunderSmotch.testmod;
import net.minecraft.init.Blocks;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.mi... |
package org.dmonix.net;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.SocketTimeoutException;
import java.net.URL;
import java.util.Date;
... |
package com.tencent.mm.plugin.mmsight.model.a;
import android.os.Looper;
import android.os.Message;
import com.tencent.mm.sdk.platformtools.ag;
class h$1 extends ag {
final /* synthetic */ h lij;
h$1(h hVar, Looper looper) {
this.lij = hVar;
super(looper);
}
public final void handleM... |
package de.zarncke.lib.id;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import com.google.common.base.Function;
import de.zarncke.lib.block.Running;
import de.zarncke.lib.coll.L;
import de.zarncke.lib.ctx.Context;
import d... |
package com.bridgelabz.functionalprograms;
import java.util.*;
public class ZeroSum {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("Enter the number of Integers");
int numberOfIntegers = sc.nextInt();
int[] array = new int[numberOfIntegers];
System.out.... |
package com.goldenratio.test;
import static org.junit.Assert.*;
import org.junit.Test;
import com.goldenratio.proof.Main;
/**
* Patrick Culligan
*/
public class OutOfBoundsTest {
@Test
public void test() {
/**
* Test fails because it is outside the parameters
* of the acceptable boundary
*/
Ma... |
/**
* Created at 2007-12-13 by pony
*/
package com.allinpay.generator.ibatis.generator;
import java.io.CharArrayWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.OutputStream;
import java.io.Writer;
import java.util.Locale;
import java... |
package jdbc.step3.test;
import java.io.FileInputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Properties;
/*
* ๋๋น Access ํ๊ธฐ์ํ 4๋จ๊ณ ์์
์ ์์ฑํ๋ ๋ก์ง..
* 1. ๋๋น์๋ฒ์ ๋ํ ํํธ์ ์ธ ์ ๋ณด๋ค(์๋ฒ ์ค... |
package com.tencent.mm.plugin.account.ui;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
class MobileInputUI$12 implements OnMenuItemClickListener {
final /* synthetic */ MobileInputUI eTe;
MobileInputUI$12(MobileInputUI mobileInputUI) {
this.eTe = mobileInputUI;
... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the te... |
package com.yygame.common.utils;
import org.junit.Test;
/**
* @author yzy
*/
public class AesUtilTest {
@Test
public void testEncryptAndDecrypt() {
String key = "2d9472f8-18bb-4291-8d0b-7851e8088f3b";
String content = "B2A9EEC49B2C841B1D722046378F11DB";
String encode = AesUtil.encr... |
package Test;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
import Model.Question;
class AnswerInputTest {
@Test
void test() {
String player1name = "checkGetRandomQuestionPlayer1", player2name = "checkGetRandomQuestionPlayer2", difficultEasy = "Easy";
Controller.Ga... |
/*
* 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 org.fuserleer.ledger;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Objects;
import org.fuserleer.crypto.BLSKeyPair;
import org.fuserleer.crypto.BLSPublicKey;
import org.fuserleer.crypto.BLSSignature;
import org.fuserleer.crypto.CryptoException;
import org.fuserl... |
package fr.projetcookie.boussole.providers;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.StatusLine;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
impo... |
package com.example.graeme.blockpuzzle;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widge... |
package com.hjl.demo.Utils.event;
import android.support.v4.app.FragmentActivity;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.ViewGroup;
/**
* [description about this class]
*
* @author hujiao
* @version [Demo, 2016/04/06 11:40]
* @copyright Copyrigh... |
package org.dummy.jdbc.sql;
import java.util.ArrayList;
import java.util.List;
import java.util.StringJoiner;
import java.util.stream.Collectors;
/**
* INSERT.
*/
public class Insert {
private String tab;
private List<String> cols = new ArrayList<>();
private List<String> vals = new ArrayList<>();
... |
package exceptions;
// Referenced classes of package exceptions:
// LexicalException
public class IllegalIntegerException extends LexicalException
{
public IllegalIntegerException()
{
this("Illegal Integer, no blank between interger and letters.");
}
public IllegalIntegerException... |
package com.mybigday.rnthermalprinter;
import com.facebook.react.bridge.ReadableMap;
/**
* Created by pepper on 2017/11/22.
*/
public interface Printer {
void writeText(String text, ReadableMap property);
void writeQRCode(String content, ReadableMap property);
void writeImage(String path, ReadableMap p... |
package com.trainining.day23.threads;
public class ThreadInference {
public static void main(String[] args) {
final Shared s = new Shared();
Thread t1 = new Thread() {
@Override
public void run() {
s.m1();
}
};
Thread t2 = new Thread() {
@Override
public void run() {
s.m1();
}
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pasosServer.servlet;
import com.frame.JavaBeans.Frame;
import java.io.IOException;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Calendar;
import java.util.Date;
import javax.ejb.EJB... |
package com.test.mjp.ui.fragment.animaldetails;
import android.arch.lifecycle.ViewModelProvider;
import com.test.mjp.interact.AnimalDetailsFetchInteract;
import io.reactivex.annotations.NonNull;
public class AnimalDetailsViewModelFactory implements ViewModelProvider.Factory {
private AnimalDetailsFetchInteract ... |
package com.bb.superdemo;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Porte... |
package org.training.controller.commands.menu;
import org.training.constants.PageConstants;
import org.training.constants.URIConstants;
import org.training.controller.commands.Command;
import org.training.dao.impl.ItemDAOImpl;
import org.training.model.entities.Item;
import org.training.service.ItemService;
import org... |
package com.tencent.mm.plugin.collect.ui;
import com.tencent.mm.plugin.collect.a.a;
import com.tencent.mm.plugin.collect.ui.CollectMainUI.13;
import com.tencent.mm.plugin.wxpay.a$i;
import com.tencent.mm.protocal.c.atm;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.ui.base.l;
import com.tencent.mm.... |
package eg.edu.alexu.csd.oop.draw;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Point;
import java.util.Map;
public class AbstractShape implements Shape {
Point position = new Point();
Color color = new Color(000);
@Override
public void setPosition(Point position) {
// TODO Auto-generated m... |
package queue;
import java.util.*;
public class Programmars_3 {
public static void main(String[] args){
Programmars_3 s = new Programmars_3();
int[] scoville = {1, 2, 3, 9, 10, 12};
int K = 7;
int answer = s.solution(scoville, K);
System.out.println(answer);
}
pub... |
package com.medplus.departmentinfo.service;
import java.util.List;
import com.medplus.departmentinfo.beans.DepartmentBean;
import com.medplus.departmentinfo.beans.EmployeeBean;
public interface DepartmentService {
public List<DepartmentBean> getALLDepartment();
public String updateDepartment(DepartmentBean depart... |
//
// Este archivo ha sido generado por la arquitectura JavaTM para la implantaciรณn de la referencia de enlace (JAXB) XML v2.2.8-b130911.1802
// Visite <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Todas las modificaciones realizadas en este archivo se perderรกn si se vuelve a compilar el ... |
package com.vilio.mps.push.service;
import com.vilio.mps.common.dao.AppDao;
import com.vilio.mps.common.dao.MpsMessageReceiveInfoMapper;
import com.vilio.mps.common.pojo.App;
import com.vilio.mps.common.pojo.MpsReceiveMessageInfo;
import com.vilio.mps.common.service.BaseService;
import com.vilio.mps.common.service.Com... |
/*
* 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 Unit05;
/**
*
* @author CongThanh
*/
public class Dog extends Animal {
@Override
public void run() {
Syste... |
package com.kps.dsk;
/**
* An enumeration describing DirectShow video renderer filters.
*
* @author KPS
*/
public enum DSVideoRendererType {
/**
* Video Mixing Renderer 7. Uses DirectDraw 7. Requires Windows XP or later.
*/
VMR7,
/**
* Video Mixing Renderer 9. Uses Dire... |
package War;
public class Card {
private int value;
private String name;
private String rank;
private String suit;
// public static String[] suits = {
// "Clubs", "Diamonds", "Hearts", "Spades"};
public Card(int val, String suitVal) {
this.value = val;
this.suit = suitVal;
this.name = t... |
package com.example.choupisport;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class ExercicesTableDbHelper extends SQLiteOpenHelper {
private static final String DATABASE_NAME = "exercicestable.db";
private static fin... |
package com.rsm.yuri.projecttaxilivredriver.historictravelslist;
import com.rsm.yuri.projecttaxilivredriver.historictravelslist.events.HistoricTravelListEvent;
import com.rsm.yuri.projecttaxilivredriver.main.entities.Travel;
public interface HistoricTravelsListPresenter {
void onPause();
void onResume();
... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the ter... |
package Rac;
import javax.swing.JFrame;
public class TestBoxLayout {
public static void main(String[] args) {
JFrame frame = new JFrame("toan");
Sim sim = new Sim();
Display t = new Display();
new Thread(sim).start();
frame.add(t);
frame.setVisible(true);
frame.setDefaultCloseOperation(... |
package com.SkyBlue.base.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bi... |
package com.telyo.trainassistant.ui;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.Gravity;
import android.view.View;
import android.view.WindowManager;
import android.wid... |
package exceptions;
// Referenced classes of package exceptions:
// SemanticException
public class ProcedureNameMismatchedException extends SemanticException
{
public ProcedureNameMismatchedException()
{
this("Procedure Name Mismatched Exception.");
}
public ProcedureNameMismatche... |
/*
* 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 selenium_test;
import org.openqa.selenium.chrome.ChromeDriver;
/**
*
* @author Kelly
*/
public class FriendsOfFriendsThrea... |
package com.zhowin.miyou.mine.model;
import java.util.List;
/**
* ๅๅๅๅๅ่กจ
*/
public class ShopMallPropsList {
/**
* id : 2
* name : ๅ
่ณๆต
* type : 1
* pictureKey : http://qfah2px93.hn-bkt.clouddn.com/image.backgroundPicture.default.default.jpg
* enable : 1
* sort : 1
* createTi... |
package kr.ko.nexmain.server.MissingU.common.mail;
import java.util.Locale;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import kr.ko.nexmain.server.MissingU.common.Constants;
import kr.ko.nexmain.server.MissingU.common.model.MailSendParam;
import kr.ko.nexmain.server.MissingU.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.