text stringlengths 10 2.72M |
|---|
package fr.lteconsulting.training.moviedb.servlet;
import fr.lteconsulting.training.moviedb.ejb.GestionFabricants;
import fr.lteconsulting.training.moviedb.model.Categorie;
import fr.lteconsulting.training.moviedb.model.Fabricant;
import fr.lteconsulting.training.moviedb.outil.Session;
import fr.lteconsulting.training... |
package com.qr_market.fragment.adapter;
/**
* Created by orxan on 11.05.2015.
*/
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;
import android.widget.TextView;
... |
package com.comercial.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping("/acessos")
public class AcessoController {
@GetMapping("/login")
public String logi... |
package com.rofour.baseball.service.report.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.rofour.baseball.controller.model.report.ReportUserSmsModelInfo;
import com.rofour.baseball.dao.report.bean.ReportUserSmsModelBean;
import org.apache.commons.la... |
package com.diegolirio.report.models;
import java.util.List;
public class NotaFiscal {
private long id;
private int numero;
private String cnpj;
private String data;
private List<NotaProduto> notaProdutos;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public int getNu... |
package com.algaworks.curso.jpa.ecommerce.model;
import java.math.BigDecimal;
import java.util.List;
import java.util.Set;
import javax.persistence.CollectionTable;
import javax.persistence.Column;
import javax.persistence.ElementCollection;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import... |
package com.smxknife.lock.mysql;
import java.util.Arrays;
import java.util.Objects;
/**
* @author smxknife
* 2021/6/11
*/
public class GracefulClose {
public static void close(AutoCloseable... closeables) {
Arrays.asList(closeables).stream().filter(Objects::nonNull).forEach(closeable -> {
try {
closeabl... |
package ch.springcloud.lite.core.codec;
public interface CloudDecoder {
Object decode(String val, Class<?> type);
}
|
package com.itheima.core.service;
import com.alibaba.dubbo.config.annotation.Service;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.itheima.core.BrandCheckService;
import com.itheima.core.dao.good.BrandCheckDao;
import com.itheima.core.dao.good.BrandDao;
import com.itheima.core... |
package com.fleet.batch.config;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.JobExecutionListener;
public class CsvJobExecutionListener implements JobExecutionListener {
private static final Logger logger = Logg... |
package com.boardex.demo.domain.entity;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import javax.persistence.*;
@Entity
@Getter
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Table(name = "board")
public class BoardEntity extends TimeEntity{
@Id
@G... |
package com.tao.service;
import java.util.Properties;
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
import javax.mail.Authenticator;
import javax.mail.BodyPart;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Multipa... |
package com.thatman.testservice.client;
import com.thatman.testservice.Entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
@Component
@FeignClient(name = "service20",fallback = TestServiceTwoC... |
package com.cgm.twitter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframewor... |
package com.qcwp.carmanager.enumeration;
import java.io.File;
/**
* Created by qyh on 2017/1/7.
*/
public class PathEnum {
public final static String UserInfo ="UserInfo",
BOOK_directory ="BOOK"+ File.separator,
APK_PATH="APK"+ File.separator,
APK_Name="hykd.apk",
... |
package Assignment_1;
public class Parallelogram extends Quadrilateral
{
private int height;
Parallelogram(int x1, int x2, int x3, int x4, int y1, int y2, int y3, int y4, int height)
{
setCoordinates(x1,x2,x3,x4,y1,y2,y3,y4);
this.height = height;
}
float area()
{
float... |
package espwg;
import java.math.BigDecimal;
import org.hibernate.Session;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.Path;
import org.zkoss.zk.ui.util.GenericForwardComposer;
import org.zkoss.zul.Button;
import org.zkoss.zul.Decimalbox;
import org.zkoss.zul.... |
package View;
import Model.MainModel;
import Utils.Data;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import static javax.swing.JFrame.EXIT_ON_CLOSE... |
package com.capgemini.service;
import java.util.Date;
import java.util.List;
import com.capgemini.exceptions.NoSuchPaymentFoundException;
import com.capgemini.exceptions.PaymentFailureException;
import com.capgemini.model.Payment;
public interface PaymentService {
public boolean parkingBookingPayment(Paym... |
/*
* 2012-3 Red Hat Inc. and/or its affiliates and other contributors.
*
* 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 requi... |
package com.yinghai.a24divine_user.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.ShapeDrawable;
import android.graph... |
package com.mobica.rnd.parking.parkingbe;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
@SpringBootApplication
@EnableMongoRepositories("com.mobica.rnd.parking.p... |
package com.itheima.mobileplayer64.ui.activity;
import java.util.ArrayList;
import java.util.List;
import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import android.support.v4.view.ViewPager.OnPageChangeListener;
import android.view.View;
import android.widget.TextView;
import com.ithe... |
package com.tencent.tencentmap.mapsdk.a;
class cf$1 implements Runnable {
private /* synthetic */ cf a;
cf$1(cf cfVar) {
this.a = cfVar;
}
public final void run() {
if (this.a.b != null && this.a.a != null) {
this.a.a.a(this.a.b);
}
}
}
|
package com.lsz.common;
import com.google.common.base.MoreObjects;
import javax.annotation.Resources;
import java.io.*;
import java.net.URL;
import static com.google.common.base.Preconditions.checkArgument;
/*
* Created by ex-lingsuzhi on 2018/4/16.
*/
public class FileUtils {
public static String FileUTF8ToS... |
package com.atgem.googleplay;
import java.lang.reflect.Type;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import... |
import java.util.Scanner;
public class SumAndAverage {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("정수를 몇 개 더하시겠습니까? ");
int n = input.nextInt();
System.out.print(n + "개의 정수를 차례로 입력하시오: ");
float sum=0;
for (int i=0; i < n; i++)
sum = sum + ... |
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import XMLReader.SigninData;
import ECSConnecter.SigninConnecter;
public class testSignin {
public static void main(String[] args) {
try {
signintest();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackT... |
package com.semantyca.skyra.modules.operator.service;
import com.semantyca.nb.core.dataengine.jpa.model.constant.ExistenceState;
import com.semantyca.nb.core.rest.outgoing.Outcome;
import com.semantyca.nb.core.service.AbstractService;
import com.semantyca.nb.core.user.IUser;
import com.semantyca.officeframe.modules.re... |
package day2;
import java.util.concurrent.TimeUnit;
import org.hamcrest.Matchers;
import org.json.simple.JSONObject;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import io.restassured.RestAssured;
import static io.restassured.RestAssured.*;
public class GitHub {
@BeforeTest
public ... |
package model.dao;
import entities.Model;
import java.util.List;
import java.util.Map;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.engine.spi.FilterDefinition;
import org.primefaces.model.SortOrder;
import org.springframework.beans.factory.annotation.Autowired;
i... |
/*
* 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 law or agreed to in writing, software
* distributed u... |
package sso.spring;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/**
* 類說明:spring 應用 單例
* @author Ken
* @version 創建時間2016-01-25
*/
public class SpringContextUtil {
private static ApplicationContext context;
public static Applic... |
package com.nxtlife.mgs.jpa;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
... |
package Employee_task_Galya;
public class ContractEmployee extends Employee {
protected String federalTaxIDMember = "123456";
public ContractEmployee (String federalTaxIDMember, String employeeID){
}
@Override
public void getFullInfo() {
System.out.println("Employee FIN is " + federalTax... |
package com.valleskeyp.primerhyme;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.clien... |
package Unidade2;
import java.applet.Applet;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
public class AloMundo extends Applet {
/* 1) Escrever o Applet AloMundo e implementar os métodos do seu Ciclo de Vida. */
private static final long serialVersionUID = 1L;
@... |
package pl.edu.wat.wcy.pz.project.server.controller;
import lombok.AllArgsConstructor;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.messaging.simp.SimpMessagingTemplate;
import org.springframework.security.core.context.SecurityContextHolder;
imp... |
package com.pduleba.spring.data.dao;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import com.pduleba.jpa.model.OwnerModel;
@Repository
@Transactional
... |
package com.smartwerkz.bytecode.vm;
import java.io.IOException;
import com.smartwerkz.bytecode.classfile.Classfile;
import com.smartwerkz.bytecode.classfile.MethodInfo;
import com.smartwerkz.bytecode.primitives.JavaObject;
import com.smartwerkz.bytecode.vm.memory.Heap;
public class RuntimeDataArea {
private final ... |
public abstract class Shape {
private String shapeName;
public Shape(String name) {
shapeName = name;
}
abstract double area();
@Override
public String toString() {
return shapeName;
}
} |
/**
*
*/
package ufc.br.so.test;
import java.util.ArrayList;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import ufc.br.so.scheduler.model.processor.Process;
import ufc.br.so.scheduler.model.queue.MultiLevelQueue;
import ufc.br.so.scheduler.model.queue.Queue;
import ufc.br.so.scheduler.m... |
package com.example.lib.core;
import androidx.annotation.NonNull;
import com.example.lib.net.ReportNetworkType;
import org.jetbrains.annotations.NotNull;
//测试配置类
public class TestReportConfig extends ReportConfig implements Cloneable {
private TestReportConfig() {
}
public static final class Builder {... |
public class TestEdible {
public static void main(String[] args) {
Object[] objects = { new Tiger(), new Chicken(), new Apple(), new Orange() };
for (int i = 0; i < objects.length; i++) {
if (objects[i] instanceof Edible)
System.out.println(((Edible) objects[i]).howToEat());
if (objects[i] instanceof An... |
package am.main.exception;
import am.main.api.validation.FormValidation;
import am.main.session.AppSession;
import am.main.spi.AMCode;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
public class BusinessExcepti... |
package server.externalapi;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.*;
import java.net.URL;
import java.nio.charset.Charset;
/**
* JSONReader class that parses the JSON response from external API
*/
public class JSONReader {
/**
* Builds a string for the full JSON respon... |
package com.kush.lib.expressions;
public class ExpressionException extends Exception {
private static final long serialVersionUID = 1L;
public static ExpressionException exceptionWithMessage(String messageTemplate, Object... args) {
return new ExpressionException(String.format(messageTemplate, args))... |
package food;
/**
* User: Alexandr
* Date: 19.11.2014
*/
public class Desserts extends Drinks {
public void choc(Meat meat){
}
}
|
package ru.smartsarov.election.db;
import java.io.Serializable;
import javax.persistence.*;
/**
* The persistent class for the "uik_html" database table.
*
*/
@Entity
@Table(name="\"uik_html\"")
@NamedQuery(name="UikHtml.findAll", query="SELECT u FROM UikHtml u")
public class UikHtml implements Serializable {
p... |
import java.util.*;
public class process {
int state;
int parent;
int used;
int prio;
LinkedList<Integer> children;
LinkedList<Integer> resources;
process(){
state = 1;
parent = 0;
used = 0;
prio = 0;
children = new LinkedList<>();
resources ... |
package ru.otus.spring.barsegyan.dto.ws;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
public class NotificationDto {
private final NotificationType type;
private final Object payload;
}
|
package test;
import static org.junit.Assert.*;
import java.util.Hashtable;
import java.util.Vector;
import java.util.HashMap;
import org.junit.Before;
import org.junit.Test;
import edu.uci.ics.sdcl.firefly.Answer;
import edu.uci.ics.sdcl.firefly.CodeElement;
import edu.uci.ics.sdcl.firefly.CodeSnippet;
import edu.... |
package CSArmyBot.events;
import java.awt.*;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
import CSArmyBot.main;
import net.dv8tion.jda.core.EmbedBuilder;
import net.dv8tion.jda.core.entities.Message;
import net.dv8tion.jda.core.entities.TextChannel;
import net.dv8tion.jda.core.events.E... |
package com.paytechnologies.cloudacar;
import java.util.ArrayList;
import android.util.Log;
public class TripDetailsDTO {
public String startAddressAlias = "";
public String endAddressAlias = "";
public String prefTime = "";
public String Tripid;
public static Integer mid;
public Strin... |
public class Origem{
private int codReg;
private String regiao;
Pais p = new Pais();
public void setPais(Pais p){
this.p = p;
}
public Pais getPais(){
return p;
}
//Setters
public void setCodReg(int codReg){
this.codReg = codReg;
}
public void setRegiao(String regiao){
this.regia... |
package com.example.user.myapplication;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
/**
* Created by Acrylon3 on 13/12/2016.
*/
public class ScoreButton extends Button{
public ScoreButton(Context ... |
package es.maltimor.genericRest;
import java.util.HashMap;
import java.util.Map;
import javax.ws.rs.core.UriInfo;
import es.maltimor.genericUser.User;
/*
* Esta clase es la que centraliza la seguridad de todo el servicio rest, delegara en GenericMapperInfoTable
* la implementacion para poder definir l... |
package pe.egcc.interesapp.service;
import static java.lang.Math.pow;
public class InteresService {
public double calcularImporte(double capitalIni, double interes, int periodo){
double importe, calc_interes;
calc_interes= interes/100;
importe=capitalIni * pow((1+calc_interes)... |
package com.niit.designerswear;
import javax.enterprise.inject.spi.Bean;
import javax.transaction.Transactional;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import or... |
package com.tencent.mm.plugin.sport.ui;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import com.tencent.mm.R;
import com.tencent.mm.bg.d;
import com.tencent.mm.model.au;
import com.tencent.mm... |
package net.raydeejay.gossip.test;
import java.io.*;
import java.net.*;
public class B {
public static void main(String[] argv) {
try {
////////////
// Emitting
Socket client = new Socket("localhost", 1978);
PrintWriter out = new PrintWriter(client.getOutputStream(), true);
out.pr... |
import exceptions.IncorrectFileNameException;
import java.io.BufferedReader;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
public class UserFileReader {
final static String DEFAULT_F... |
package org.rhokk.hh.sealand.http;
import java.io.IOException;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.DefaultHttpClient;
import org.a... |
package com.lec.ex5_momchild;
// Child child1 = new Child ("첫째 ")
// child1.takeMoney(100);
public class Child {
private String name;
static MomPouch momPouch = new MomPouch();; // static
public Child(String name) { // 생성자,return type없어야하고,class name똑같에야하고
this.name = name;
momPouch = new MomPouch();
}
publ... |
package fr.lteconsulting.training.moviedb.servlet;
import fr.lteconsulting.training.moviedb.ejb.GestionUtilisateur;
import fr.lteconsulting.training.moviedb.model.Utilisateur;
import fr.lteconsulting.training.moviedb.outil.Session;
import fr.lteconsulting.training.moviedb.outil.Vues;
import javax.inject.Inject;
impor... |
package com.thoughtworks.domain.product_detail.usecases;
import com.thoughtworks.domain.UseCaseDataReceiver;
import com.thoughtworks.domain.UseCaseError;
import com.thoughtworks.domain.product_detail.Product;
import com.thoughtworks.domain.product_list.ProductRepository;
/**
* Created on 12-06-2018.
*/
public class... |
import java.util.Scanner;
public class Simpleinput {
static Scanner scan=new Scanner (System.in);
public static void main(String[] args){
int sum=0;
while(sum>=0)[]
sum+=scan();
}
public static int scan(){
return scan.nextInt();
}
} |
package lib.game;
import static org.lwjgl.opengl.GL11.*;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import math.geom.Point2f;
import math.geom.Point3f;
import math.... |
import com.jfinal.plugin.activerecord.ActiveRecordPlugin;
import com.jfinal.plugin.druid.DruidPlugin;
import com.link.webMagic.NwnuWebMagic;
import us.codecraft.webmagic.model.OOSpider;
public class NwnuTest {
public static void main(String[] args){
String url = "jdbc:mysql://localhost:3306/linkup?useUnic... |
package A;
import B.MovieDBBasic;
import B.MovieFachklasse;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Node;
import javafx.scene.control.Button;
import javafx.scene.control.TextField;
import javafx.scene.layout... |
package com.mes.old.meta;
// Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final
import java.math.BigDecimal;
import java.util.Date;
/**
* PProblemfeedback generated by hbm2java
*/
public class PProblemfeedback implements java.io.Serializable {
private BigDecimal uniqueid;
private String pdeptid;
private... |
// assignment 10
// pair p134
// Singh, Bhavneet
// singhb
// Wang, Shiyu
// shiyu
/** <code>Word</code> represents a word and its number of occurrences */
public class Word {
/*TEMPLATE
* Fields
* this.s.... -- String
* this.freq.... -- int
*
* Methods
* this.equals(Object).... |
package org.rebioma.client;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.Clic... |
package leecode.dfs;
import java.util.*;
public class 二叉树的序列化与反序列化_297 {
// Encodes a tree to a single string.
//一个函数进行序列化 不知道算不算先序
// 选择前序遍历,是因为 根|左|右根∣左∣右 的打印顺序,在反序列化时更容易定位出根节点的值。
//https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree/solution/shou-hui-tu-jie-gei-chu-dfshe-bfsliang... |
class Solution {
public int[] sortArrayByParity(int[] A) {
int[] result = new int[A.length];
int resultIndex = 0;
for(int i=0;i<A.length;i++){
if(A[i] % 2 == 0) result[resultIndex++] = A[i];
}
for(int i=0;i<A.length;i++){
if(A[i] % 2 ... |
package am.data.hibernate.model.lookup;
import am.data.hibernate.model.apps.RegisteredApplication;
import javax.persistence.*;
/**
* Created by ahmed.motair on 1/13/2018.
*/
@Entity
@Table(name="system_address")
public class SystemAddress {
public static final String TYPE = "type." + NotificationTy... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pasosServer.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import ... |
package com.jincarry.request;
/**
* Created by jincarry on 16-9-21.
*/
public class HttpResult {
public int code;
public String body;
public HttpResult(int code,String body){
this.code = code;
this.body = body;
}
public HttpResult(){}
}
|
package pt.mleiria.mlalgo.functions;
import junit.framework.TestCase;
public class LogFunctionTest extends TestCase {
public void testLogFunction() {
Double[] z = new Double[]{1., 3.25, 5.5, 7.75, 10.};
OneVarFunction<Double[], Double[]> log = new LogFunction();
Double[] res = log.value(z... |
public class TictactoeScore extends GameScore {
@Override
public void score(int tries) {
totalScore = totalScore - (tries * 100);
}
} |
package maedit;
import java.awt.Dimension;
import javax.swing.JEditorPane;
import javax.swing.JScrollPane;
public class HtmlPane {
JEditorPane editorPane;
JScrollPane scrollPane;
public HtmlPane() {
editorPane = new JEditorPane();
editorPane.setEditable(false);
editorPane.setConte... |
/*
* 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 be.livingsmart.eindwerk;
import be.livingsmart.hdr.Shift;
import be.livingsmart.hdr.ShiftItem;
import java.io.File;
import ja... |
package de.rwth.i9.palm.persistence;
/**
* This interface is a Factory-interface for any DAO that is needed in this
* application.
*/
public interface PersistenceStrategy
{
public AuthorDAO getAuthorDAO();
public AuthorInterestDAO getAuthorInterestDAO();
public AuthorInterestProfileDAO getAuthorInterestProfile... |
package com.hcp.objective.schedule;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.PersistJobDataAfterExecution;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.quart... |
package com.classcheck.panel;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swin... |
package org.alienideology.jcord.event.channel.dm;
import org.alienideology.jcord.handle.channel.IPrivateChannel;
/**
* @author AlienIdeology
*/
public interface IPrivateChannelEvent {
IPrivateChannel getPrivateChannel();
}
|
package com.duofei.controller;
import com.duofei.config.ConfigPro;
import com.duofei.event.NotifyRemoteApplicationEvent;
import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframewor... |
package com.paytechnologies.cloudacar;
import com.sromku.simple.fb.entities.Feed;
import com.viewpagerindicator.CirclePageIndicator;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v4.view.PagerAdapter;
import and... |
package cq.InnerClass;
//外部类
public class CreateInnerClass {
//内部类
class Contents{
private int i = 11;
public int value() {
return i;
}
}
class Destination{
//CreateInnerClass createInnerClass = CreateInnerClass.this;
private String label;
public Destination(String whereTo) ... |
package com.gmail.khanhit100896.foody.main;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.gmail.khanhit100896.foody.R;
public class SplashScreenActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceSt... |
package com.fnsvalue.skillshare.mapper;
import java.util.ArrayList;
import java.util.HashMap;
import org.apache.ibatis.annotations.Param;
public interface QuestionMapper {
int QuestionAdd(@Param("user_tb_user_id_pk")String USER_TB_USER_ID_PK, @Param("ask_tit")String ASK_TIT,@Param("ask_con") String ASK_CON);
... |
package com.resolutech.services;
//import com.resolutech.api.v1.model.VendorDTO;
import com.resolutech.model.VendorDTO;
import org.springframework.stereotype.Service;
import java.util.List;
/**
*
*/
@Service
public interface VendorService {
List<VendorDTO> getAll();
VendorDTO getVendorById(Long id);
... |
package com.stryksta.swtorcentral.ui.views.timeline;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.DashPathEffect;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.PathEff... |
package lab.ss5;
import java.util.Scanner;
public class Person {
public String Ten;
public String Gioitinh;
public String ngaysinh;
public String diachi;
// constructor
public Person(){
}
public Person(String ten, String gioitinh,String ngaysinh, String diachi) {
Ten = ten;
... |
package com.mo.mohttp.executor;
import com.mo.mohttp.Request;
import com.mo.mohttp.Response;
import com.mo.mohttp.anno.ThreadSafe;
import java.io.IOException;
import java.net.URISyntaxException;
@ThreadSafe
public interface Executor{
Response execute(Request request) throws IOException, URISyntaxEx... |
package com.icleveret.recipes.viewmodel;
import com.icleveret.recipes.model.User;
public class UserViewInfo {
private User user;
private String changedEmail;
private String changedPassword;
public UserViewInfo() {
}
public UserViewInfo(User user, String changedEmail, String changedPasswor... |
package com.example.pam2;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction;
import androidx.fragment.app.Fragment;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
private FragmentManage... |
/**
* 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 clientProfileApplication;
import javafx.scene.Parent;
import javafx.scene.Scene;
public class ClientProfileScene extends Scene{
public ClientProfileScene(Parent root) {
super(root , 1000.0 , 600.002);
}
}
|
package com.tencent.mm.plugin.appbrand.jsapi.op_report;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.l;
import com.tencent.mm.ab.v.a;
import com.tencent.mm.protocal.c.bhc;
class AppBrandOpReportLogic$b$1 implements a {
final /* synthetic */ String bAj;
AppBrandOpReportLogic$b$1(String str) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.