text stringlengths 10 2.72M |
|---|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package lappa.smsbanking.IService.Impl;
import com.douwe.generic.dao.DataAccessException;
import java.util.List;
import lappa.smsbanking.Entities.CompteParent;
import lappa.smsbanking.IDao.ISmsCompte;
import lappa.smsba... |
package fr.iut_valence.tp_meteo.metier;
import android.content.Context;
import java.util.List;
import fr.iut_valence.tp_meteo.SQLite.DAO.MesureDAO;
import fr.iut_valence.tp_meteo.entity.Mesure;
import fr.iut_valence.tp_meteo.entity.Station;
/**
* Created by Antony on 13/12/2015.
*/
public class MetierMesure {
... |
package com.kunsoftware.bean;
import org.springframework.web.multipart.MultipartFile;
public class GalleryRequestBean {
private String type;
private Integer productResourceId;
private String productResourceName;
private String title1;
private String title2;
private Integer orderValue;
... |
package com.cz.android.cpp.sample.course.model;
public class CustomClass {
public int iVal;
public double dVal;
public char cVal;
public boolean bVal;
public OtherClass oVal;
public String sVal;
} |
/**
*/
package sdo;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Organization</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link sdo.O... |
package com.hanbit.gms.constant;
public class DB {
public static final String ORACLE_DRIVER ="oracle.jdbc.driver.OracleDriver";
public static final String ORACLE_URL ="jdbc:oracle:thin:@localhost:1521:xe";
public static final String MYSQL_DRIVER ="";
public static final String MYSQL_URL ="";
public static final S... |
package com.tencent.mm.plugin.emoji.a.a;
import com.tencent.mm.protocal.c.ts;
public final class e {
public static boolean a(ts tsVar) {
if (tsVar == null) {
return false;
}
return cs(tsVar.rwV, 1);
}
public static boolean b(ts tsVar) {
if (!(tsVar == null ? fa... |
package com.example.nicolas.spotifyshare;
import android.app.IntentService;
import android.content.Intent;
import android.util.Log;
import com.google.gson.Gson;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.ServerSocket;
impor... |
package com.training.ykb.payment.rest;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annot... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.inftel.scrum.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.... |
package com.demo.book.service;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
/**
* TODO
*
* @author zlkong
* @date 2017年10月24日 下午4:30:44
*
*/
@FeignClient(value = "BOOK")
public interface BookFeignService {
@GetMapping("/books")
S... |
package com.vaibhavdhunde.android.notes;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.app.LoaderManager;
import android.content.ContentValues;
import android.content.CursorLoader;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.Loa... |
package user;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
public class UserDAO {
private Connection conn;
private PreparedStatement pstmt;
String dbURL = "jdbc:mysql://192.168.219.119:3306/album";
String dbD... |
package ru.itis.springboot.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* created: 18-04-2021 - 20:15
* project: SpringBoot
*
* @author dinar
* @version v0.1
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TokenPair... |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Ge... |
class Student8 extends Person8{
Student8(String name, int age){
this.name = name;
this.age = age;
}
public void eat(String food){
System.out.println(food+"¸¦ ¸Ô´Ù.");
}
} |
package cq._09_Collections.Map.HashTable;
import java.util.Hashtable;
import org.junit.Test;
public class TestHashTable {
@Test
public void testHashTable() {
Hashtable<String, Object> hashtable = new Hashtable<String, Object>();
hashtable.put("a", "aa");
hashtable.put("b", "bb");
System.out.... |
package com.imooc.VO;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
/**
* http返回的最外层对象
* @author 宋德能
* @data 2019-12-01 18:22:19
*/
@Data
public class ResultVO<T> {
/** 错误码code */
private Integer code;
/** 提示信息 */
private String msg;
/** 具体内容 */
private T data... |
package com.example;
/**
* Created by shivam on 27/02/16.
*/
public class LoginPresenter implements ILoginPresenter {
private IAfterLoginActions loginView;
private LoginInteractor loginInteractor;
public LoginPresenter(IAfterLoginActions loginView){
this.loginView = loginView;
loginInt... |
package org.iptc.extra.core.types.document;
import com.google.gson.JsonElement;
import com.google.gson.JsonPrimitive;
public class TextField extends DocumentField {
protected String value;
public TextField() {
}
public TextField(String value) {
this.value = value;
}
public String getValue() {
retu... |
package platform;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.WindowEvent;
import java.util.Observable;
import java.util.Observer;
import javax... |
package com.yoeki.kalpnay.hrporatal.Profile;
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 com.yoeki.kalpnay.hrporatal.Profile.Model.user_info.BasicUserI... |
package com.root.mssm.ui.specification.discription;
import androidx.lifecycle.ViewModel;
public class DiscriptionViewModel extends ViewModel {
// TODO: Implement the ViewModel
} |
package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
}
public static int myMultiply(int firstNum, int secondNum){
return firstNum*secondNum;
}
}
|
package com.cb.project.constants;
/**
* @author user
*
*/
public interface IAccountConstants {
public interface Messages {
/**
* RESSOURCE_NOT_EXISTS
*/
String RESSOURCE_NOT_EXISTS = "The account does not exist";
/**
* RESSOURCE_NOT_EXISTS
*/
String ACCOUNT_USER_NOT_EXI... |
package com.tiandi.logistics.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tiandi.logistics.entity.pojo.RevenueSharing;
/**
* <p>
* 收入分成参照表 Mapper 接口
* </p>
*
* @author TP
* @since 2020-11-25
*/
public interface RevenueSharingMapper extends BaseMapper<RevenueSharing> {
}
|
package com.tt.miniapp.database.usagerecord;
public class UsageRecordInfo {
public String appID;
public Long duration;
public String scene;
public Long startTime;
public String subScene;
}
/* Location: C:\Users\august\Desktop\tik\df_miniapp\classes.jar!\com\tt\miniap... |
package Hub;
import java.awt.Rectangle;
import java.util.ArrayList;
import processing.core.PApplet;
import processing.core.PImage;
/**
* represents layout of entire campus that shows player's current location
* @author Emily
*
*/
public class Map
{
private ArrayList<Rectangle> rooms;
private Arr... |
package com.shubh.javaworld;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class ConcatenatedWords {
public List<String> findAllConcatenatedWordsInADict(String[] words) {
Set<String> wordSet = buildSet(words);
Set<String> notPresent = new HashSet<String... |
package com.tencent.mm.plugin.account.bind.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
class FindMContactIntroUI$3 implements OnClickListener {
final /* synthetic */ FindMContactIntroUI eHN;
FindMContactIntroUI$3(FindMContactIntroUI findMContactIntroUI)... |
package br.com.utfpr.dao.impl;
import br.com.utfpr.beans.Truck;
import br.com.utfpr.dao.ConnectionBuilder;
import br.com.utfpr.dao.Dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import... |
package com.tencent.sqlitelint.behaviour.alert;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.tencent.sqlitelint.SQLiteLintIssue;
import com.tencent.sqlitelint.d.b;
import com.tencent.sqliteli... |
package com.ns.greg.library.base_architecture.di.component;
import com.ns.greg.library.base_architecture.BaseActivity;
import com.ns.greg.library.base_architecture.di.module.ApplicationModule;
import com.ns.greg.library.base_architecture.di.module.SharedPreferenceModule;
import com.ns.greg.library.base_architecture.mo... |
package com.flipkart.programs;
public class MySemaphore {
/**
* A counting semaphore. Conceptually, a semaphore maintains a set of permits.
* Each acquire() blocks if necessary until a permit is available, and then takes it.
* Each release() adds a permit, potentially releasing a blocking acquirer.
* Howe... |
package net.fbvictorhugo.feelingcast;
import android.os.Bundle;
import android.support.v4.view.MenuItemCompat;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.app.MediaRouteActionProvider;
import android.support.v7.media.MediaRouteSelector;
import android.support.v7.media.MediaRouter;
import... |
package com.tt.miniapp.feedback.screenrecord;
import android.media.MediaCodecInfo;
import android.media.MediaCodecList;
import android.os.AsyncTask;
import android.util.SparseArray;
import com.tt.miniapphost.AppBrandLogger;
import java.lang.reflect.Field;
import java.util.ArrayList;
public class ScreenRecor... |
package me.bo0tzz;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.LinkedList;
import java.util.List;
import java.util.stream.Collectors;
public class Main {
public static void main(String[] args) {
String in;
try {
in = new String... |
/**
* Write a description of class ComplexNumber here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Complex
{
// instance variables - replace the example below with your own
private int a;
private int b;
/**
* Constructor for objects of class ComplexN... |
package io.github.azaiats.androidmvvm.sample.activities;
import android.support.annotation.NonNull;
import io.github.azaiats.androidmvvm.R;
import io.github.azaiats.androidmvvm.core.common.BindingConfig;
import io.github.azaiats.androidmvvm.databinding.ActivityStartBinding;
import io.github.azaiats.androidmvvm.naviga... |
package com.plexobject.dp.sample.domain;
import java.math.BigDecimal;
import java.util.Date;
public class TimeOfSales {
private String symbol;
private Date date;
private BigDecimal price;
private BigDecimal volume;
private String exchange;
public TimeOfSales() {
}
public TimeOfSales... |
package codex.instance;
import codex.service.RemoteServiceOptions;
import codex.model.Entity;
import codex.service.LocalServiceOptions;
import codex.utils.ImageUtils;
public class CommunicationServiceOptions extends LocalServiceOptions<InstanceCommunicationService> {
public CommunicationServiceOptions(InstanceCo... |
public class GuitarString
{
Note frets[];
GuitarString(Note openNote, int maxFrets)
{
frets = new Note[maxFrets+1];
for(int i=0;i<frets.length;i++)
{
frets[i] = openNote.plus(i);
}
}
public String toString()
{
String string = "";
... |
package com.findme.controller;
import com.findme.exception.BadRequestException;
import lombok.extern.log4j.Log4j;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestM... |
package rendering;
import shaders.ShaderProgram;
import shaders.UniformMatrix;
import shaders.UniformVec2;
import shaders.UniformVec3;
import shaders.UniformVec4;
import utils.MyFile;
/**
* Represents the shader program that is used for rendering the terrain.
*
* @author Karl
*
*/
public class Te... |
import java.util.Properties;
import javax.mail.MessagingException;
import javax.mail.Message;
import javax.mail.Message.*;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import java.util.Date;
import java.text.DateFormat;
imp... |
package com.sneaker.mall.api.model;
/**
* 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... |
package ba.bitcamp.LabS10D01;
public class StackInt {
private Node head;
public StackInt() {
head = null;
}
public void push(int value) {
Node newNode = new Node(value);
newNode.next = head;
head = newNode;
}
public int pop() {
if (head == null) {
throw new NullPointerException("Stack is ... |
package com.demo.withdrawal.util;
import static org.junit.jupiter.api.Assertions.*;
import java.math.BigDecimal;
import org.junit.jupiter.api.Test;
class ValidationUtilsTest {
@Test
void testValidateParams() {
assertThrows(Throwable.class, () -> {
ValidationUtils.validateParams(0, 0, "NA", "-1");
});
a... |
package com.linkedbook.dao;
import com.linkedbook.dto.deal.selectDeal.SelectDealInput;
import com.linkedbook.dto.deal.selectDeal.SelectDealOutput;
import com.linkedbook.dto.deal.selectDealDetail.SelectDealDetailOutput;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
publ... |
package com.stark.example7;
import org.fusesource.hawtbuf.Buffer;
import org.fusesource.hawtbuf.UTF8Buffer;
import org.fusesource.mqtt.client.*;
import java.net.URISyntaxException;
/**
* Created by Stark on 2017/11/3.
*/
public class MqttTest {
public static void main(String[] args) throws URISyntaxException {... |
package com.tencent.mm.ui.base;
public interface h$b {
boolean p(CharSequence charSequence);
}
|
package model;
import dao.ClienteDAO;
public class Cliente {
private String nome;
private Conta conta;
public Cliente(String agencia, String numConta) {
this.setConta(carregaConta(numConta, agencia));
if (this.getConta() == null) {
throw new NullPointerException("Conta não encontrada");
}
ClienteDAO... |
package org.jboss.jdf.example.ticketmonster.rest;
import java.util.List;
import javax.ejb.Stateless;
import javax.inject.Inject;
import javax.persistence.EntityManager;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.jboss.jdf.example.ticke... |
package com.gotkx.utils.dataBases.jdbc;
public class ComDef {
public static final int ARCH_TYPE_SINGLE = 0; // 单件
public static final int ARCH_TYPE_ROLL_SINGLE = 1; // 卷内
public static final int ARCH_TYPE_ROLL = 2; // 案卷
public static final int ARCH_TYPE_PROJECT = 6;// 项目
// 旧系统
public static final String DOC_... |
package com.trendyol.bootcamp;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import org.openqa.selenium.safari.SafariOptions;
import org.openqa.selenium.support.ui.Ex... |
package com.bignerdranch.android.tingleapp;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.wid... |
package devas.com.whatchaap;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.AppCompatButton;
import android.support.v7.widget.AppCompatEditText;
import android.util.Log;
import android.view.View;
public class Login extends App... |
package org.damienoreilly.zserv;
import org.springframework.core.style.ToStringCreator;
public class ZservProfile {
private String zservName;
private Zserv zserv;
public Zserv getZserv() {
return zserv;
}
public void setZserv(Zserv zserv) {
this.zserv = zserv;
}
public String getZservName() {
return ... |
package com.example.demo.service.imp;
import com.example.demo.dao.UserInfoMapper;
import com.example.demo.domain.UserInfo;
import com.example.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import... |
package math;
public class Vec4 {
double x, y, z, w;
/** Constructeur */
public Vec4(double x, double y, double z, double w) {
this.x = x;
this.y = y;
this.z = z;
this.w = w;
}
/** Constructeur */
public Vec4(Point3D point) {
this(point.getX(), point.getY(), point.getZ(), 1);
}
... |
package BaiTap;
public class Hello {
public static void main(String[] args) {
// Scanner scanner=new Scanner(System.in);
// System.out.print("Enter your name: ");
// String name = scanner.nextLine();
//
// System.out.println("Hello: " + name);
long millis=System.currentTimeMilli... |
package com.storageservice.bmi.dao;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityTransaction;
import javax.persistence.Persistence;
public enum StorageServiceDao {
instance;
private EntityManagerFactory emf;
// entity manager init
private S... |
package nodes;
import flow.*;
import nodes.base.*;
import exceptions.*;
public class Source extends AbstractNode implements Sender {
private Wire output;
public Source() {
output = new Wire();
}
@Override
public String getType() {
return "SOURCE";
}
public void switchOn() {
output.setValue(Bit.O... |
package com.locadoraveiculosweb.util;
public class PasswordUtils {
}
|
package com.tencent.mm.plugin.voiceprint.model;
import android.os.Parcel;
import android.os.Parcelable.Creator;
class VertifyInfo$1 implements Creator<VertifyInfo> {
VertifyInfo$1() {
}
public final /* synthetic */ Object createFromParcel(Parcel parcel) {
boolean z = true;
VertifyInfo ver... |
package com.duanxr.yith.hard;
import java.util.Stack;
/**
* @author 段然 2021/10/11
*/
public class IntegerToEnglishWords {
/**
* Convert a non-negative integer num to its English words representation.
*
*
*
* Example 1:
*
* Input: num = 123
* Output: "One Hundred Twenty Three"
* Examp... |
package com.rofour.baseball.service.message;
import com.rofour.baseball.controller.model.message.MsgTmplMymsgInfo;
import java.util.List;
/**
* @ClassName: MsgTmplMymsgService
* @Description: 用户消息模板操作服务
* @author: xulang
* @date: 2016年09月06日 13:21
*/
public interface MsgTmplMymsgService {
/**
* 删除
... |
package org.opentosca.core.model.endpoint.rest;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.I... |
package bookexercises.chapter1.fundamentals.two;
import edu.princeton.cs.algs4.Point2D;
import edu.princeton.cs.algs4.StdDraw;
import edu.princeton.cs.algs4.StdOut;
import edu.princeton.cs.algs4.StdRandom;
/**
* Write a Point2D client that takes an integer value N from the command line,
* generates N random points ... |
package com.NewIO;
import java.io.File;
import java.nio.file.FileSystem;
import java.nio.file.FileSystems;
import java.nio.file.Path;
import java.nio.file.Paths;
public class Path接口 {
public static void main(String[] args) {
Path path = Paths.get("D:","test","test","zhang.txt");
System.out.println... |
/*
* [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.example.danielatienza.farmdropapp.di.component;
import com.example.danielatienza.farmdropapp.di.module.MainModule;
import com.example.danielatienza.farmdropapp.di.scope.Activity;
import com.example.danielatienza.farmdropapp.presenter.main.MainPresenter;
import com.example.danielatienza.farmdropapp.ui.main.... |
/**
* Provides exception artifacts related to Hemajoo's Foundation resource bundle.
*/
package com.hemajoo.foundation.common.exception; |
package com.microsilver.mrcard.basicservice.model.enums;
public enum EWarning {
Unknown("未知错误",1000),
NonExistent("账号不存在",1001),
PasswordError("密码错误",1002),
SendCheckCodeError("发送验证码错误",1003),
CheckCodeError("验证码不正确",1004),
CheckCodeNonExistent("没有查询到验证码",1005),
CheckCode_Overdue("验证码已过期 ",1006),
Order_Err... |
package com.pointburst.jsmusic.events;
/**
* Created by kshitij on 30/7/14.
*/
public class ServiceClosedEvent {
}
|
//This file is part of JPACS.
//
// JPACS 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.
//
// JPACS is distributed ... |
package LessonsJavaCore_1;
import static MyClassesToWork.Print.print;
public class Lesson_2 {
public static void main ( String[] args ) {
print ( "Максимальне значення BYTE - " + Byte.MAX_VALUE );
print ( "Мінімальне значення BYTE - " + Byte.MIN_VALUE );
print ( "Максимальне значен... |
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
public class Database {
static String defaultFilename = "phon... |
package model.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
import model.AccessPoint;
import model.GridPoint;
import model.Level;
import model.PathLossModel;
import model.ReceiverCardImpl;
import model.Room;
import model.Trajectory;
import model.TxRadioImpl;
import model.Wall;
pub... |
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.Graphics;
import java.awt.event.*;
import java.util.ArrayList;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
public ... |
package Biblioteca;
import java.io.Serializable;
import java.util.Date;
import java.util.logging.Logger;
public class EntEmprestimo implements Serializable{
private int numexemplar;
private int ISBN;
private Date dataemprestimo;
private int codassociado;
public EntEmprestimo(int numexemplar, in... |
package mouse.client.network;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.util.ArrayList;
import java.util.List;
import mouse.shared.messages.serverToClient.ServerToClientMessage;
import mouse.shared.messages.serverToClient.ServerToClientMessageListener;
import org.slf4j.Logger;
import or... |
package Views;
import Models.Usuario_model;
import java.awt.GridLayout;
import java.util.ArrayList;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
public class Inicio_view extends JPanel
{
private JLabel listaUsuarios;
private JScrollPane scroll;
private JPanel usuar... |
package com.pangpang6.books.offer.chapter2;
import org.junit.Test;
import java.util.Stack;
public class StackTest {
@Test
public void test01() {
Stack<Integer> stack = new Stack<>();
System.out.println(stack.push(2));
System.out.println(stack.push(4));
System.out.println(stack.pop());
Syst... |
package com.axess.smartbankapi.repository;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.axess.smartbankapi.model.CCUser;
@Repository
public interface CCUserRepository extends JpaRepository<CCUser, Long... |
public class BalancoTrimestral {
public static void main(String[] args) {
// Declaração
double mesBalanco[];
// Instância
mesBalanco = new double[3];
mesBalanco[0] = 17000;
mesBalanco[1] = 23000;
mesBalanco[2] = 15500;
// P... |
/*
* Copyright © 2014 YAOCHEN Corporation, All Rights Reserved.
*/
package com.yaochen.address.data.domain.address;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class AdOaCountyRef implements Serializable{
/** OA系统的分公司ID */
private String companyId;
/** 地址库的 */... |
package adaptivex.pedidoscloud.View.EventListeners;
import android.content.Context;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
import adaptivex.pedidoscloud.Config.GlobalValues;
import adaptivex.pedidoscloud.Controller.PedidoController;
import adaptivex.pedidoscloud.R;
impo... |
package com.pgssoft.httpclient.internal.debug;
import com.pgssoft.httpclient.internal.rule.Rule;
import java.net.http.HttpRequest;
import java.util.List;
public class Debugger {
public void debug(List<Rule> rules, HttpRequest request) {
logRequest(request);
logRules(rules, request);
}
p... |
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Random;
public class TimeDisplay extends JFrame { // Extend JFrame class
public TimeDisplay() { // Constructor
... |
/*
Construir un programa que dado el numero de horas =?
devuleve el numero de semanas, dias, horas equivalestes
*/
package ejercicio_7;
import java.util.Scanner;
/**
*
* @author jrodriguez
*/
public class Ejercicio_7 {
/**
* @param args the command line arguments
*/
public static void main(Str... |
package com.sxli.javaconfig;
import com.sxli.pool.RedisPool;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class RedisConfig {
@Bean
public RedisPool redisPool(){
return new RedisPool();
}
}
|
package mapmaker.obj;
import javafx.scene.paint.Color;
import java.util.ArrayList;
import java.util.List;
public class Room {
private int x, y;
private String desc;
private String flag;
private ArrayList<String> attributes;
private Color color;
public Room(int x, int y){
... |
package main.java.com.java4beginners.ex1;
public abstract class Figura {
String nombre;
public void getInfoFigura(){
System.out.println("El perimetro total del/la " + nombre + " es: " + this.calcularPerimetro());
System.out.println("El area total del/la " + nombre + " es: " + this.calcularAre... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.09.... |
package com.tkb.elearning.model;
import java.sql.Timestamp;
public class Ensuredo {
//品保有什麼能服務的
private int id; //品保有什麼能服務的-id
private String do_title; //品保有什麼能服務的-標題
private String do_content; //品保有什麼能服務的-內文
private Timestamp create_date; //創建日期
public int getId() {
return... |
package com.tencent.mm.plugin.collect.reward.b;
import com.tencent.smtt.sdk.TbsReaderView$ReaderCallback;
public interface b {
public static final Integer[] hVj = new Integer[]{Integer.valueOf(100), Integer.valueOf(500), Integer.valueOf(1000), Integer.valueOf(2000), Integer.valueOf(TbsReaderView$ReaderCallback.GE... |
package com.tencent.mm.plugin.luckymoney.ui;
import android.view.View;
import android.view.View.OnClickListener;
class LuckyMoneyPrepareUI$21 implements OnClickListener {
final /* synthetic */ LuckyMoneyPrepareUI kWX;
LuckyMoneyPrepareUI$21(LuckyMoneyPrepareUI luckyMoneyPrepareUI) {
this.kWX = luckyM... |
package com.byxy.student.interceptor;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
import com.byxy.student.entity.Student;
public class LoginSprin... |
package com.ybg.company.service;
import java.util.List;
import com.ybg.base.jdbc.BaseMap;
import com.ybg.base.util.Page;
import com.ybg.company.domain.Company;
import com.ybg.company.qvo.CompanyQvo;
import com.ybg.component.org.inter.Organization;
public interface CompanyService {
/** 创建 企业
*
* @throws Excepti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.