text stringlengths 10 2.72M |
|---|
package com.example.g0294.tutorial.ui;
import android.app.Activity;
import android.content.DialogInterface;
import android.support.v7.app.AlertDialog;
import android.util.Log;
import android.webkit.JsResult;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
public class MyWebChromeClient extends W... |
/*
* Copyright 2002-2019 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package PA165.language_school_manager.service;
import PA165.language_school_manager.Entities.Person;
import java.util.List;
import org... |
package p0500;
import java.awt.Color;
public class HueRenderer extends PointRenderer {
/**
* Génère un PointRenderer affichant des points de couleur
* en se basant sur le cercle chromatique
*/
public HueRenderer() {
super();
}
/**
* Génère un PointRenderer en se basant sur le cercle chromatique
* L... |
package by.belotserkovsky.controllers;
import by.belotserkovsky.excepsions.ResourceNotFoundException;
import by.belotserkovsky.pojos.History;
import by.belotserkovsky.pojos.User;
import by.belotserkovsky.services.ICalcService;
import by.belotserkovsky.services.IHistoryService;
import by.belotserkovsky.services.IUserSe... |
package com.example.demo.controller;
import com.example.demo.dao.*;
import com.example.demo.models.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Optional;
@RequestMapping("api/v1/")
@RestController
@CrossOri... |
package practica10.ejemplo3_herenciaEntreClases;
public interface IPersona {
void mostrarNombre(String nombre);
void mostrarDni(String dni);
}
|
package com.zantong.mobilecttx.common;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebView;
import com.zantong.mobilecttx.R;
import com.zantong.mobilecttx.utils.StateBarSetting;
import org.apache.cordova... |
package com.arthur.leetcode;
import java.util.LinkedList;
/**
* @title: No206_2
* @Author ArthurJi
* @Date: 2021/3/19 11:10
* @Version 1.0
*/
public class No206_2 {
public static void main(String[] args) {
}
public class ListNode {
int val;
ListNode next;
ListNode() {
... |
//fail to solve the problem
//because cannot find a easy way to judge "egg" with "ooo"
//the answer is pretty instructive:
//1. use a map.put(sList[i], tList[i]) to form a hashmap to judge
//2. By new HashSet<>(map.values()).size()) to slove "egg" with "ooo"
//(because HashSet<> will be built with a Collection of map.v... |
package com.miyatu.tianshixiaobai.entity;
import java.util.List;
public class XiaoBaiRecommendFragmentEntity {
private List<ListBean> list;
public List<ListBean> getList() {
return list;
}
public void setList(List<ListBean> list) {
this.list = list;
}
public static class Li... |
/*
* Copyright (c) 2013-2014, Neuro4j.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/licenses/LICENSE-2.0
*
* Unless required by applicab... |
package info.zhiqing.tinypiratebay.adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import an... |
public class BasicArcher {
public BasicArcher() {
}
public String archerAttacks() {
return "Archer Attacks!";
}
}
|
package com.wrathOfLoD.Models.Items.EquippableItems;
import com.wrathOfLoD.Models.Commands.EntityActionCommands.EquipItemCommands.EquipGreavesCommand;
import com.wrathOfLoD.Models.Commands.EntityActionCommands.EquipItemCommands.EquipItemCommand;
import com.wrathOfLoD.Models.Commands.EntityActionCommands.UnequipItemCom... |
package croissonrouge.darelbeida.competitions;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toa... |
import java.io.*;
public class Main {
static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
public static void main (String[] args) throws IOException {
String line;
while ((line = br.readLine()) != null) {
line = line.trim();
char[] nums... |
/*
* Created on Jan 12, 2007
*
*
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.citibank.ods.common.taglib;
import javax.servlet.jsp.tagext.TagSupport;
/**
* @author User
*
*
* Window - Preferences - Java - Code Style - Code Templates
*/
public abstract class Ba... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
StringBuilder stringBuilder = new StringBuilder(100000);
Scanner scanner = new Scanner(System.in);
String error = scanner.nextLine();
String correct = scanner.nextLine();
// 1.分割字符串
... |
package com.zain;
public class Main {
public static void main(String[] args) {
PassChecker checker=new PassChecker();
checker.start();
}
}
|
/**
* Copyright 2010 The European Bioinformatics Institute, and others.
*
* 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 ... |
/*
MusicalInstrument -- a class within the Cellular Automaton Explorer.
Copyright (C) 2005 David B. Bahr (http://academic.regis.edu/dbahr/)
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... |
package com.nepshop.dao;
import com.nepshop.model.Customer;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.sql.*;
import java.util.ArrayList;
import org.apache.commons.codec.binary.Base64;
import java.util.List;
public class CustomerDAO {
static Connecti... |
package DataStructures.trees;
/** Tree
6
/ \
4 10
/ \ / \
2 5 9 12
/ \ / / \
1 3 7 11 13
*/
public class DeleteNodeBST {
TreeNode root;
//tc: o(n)
public TreeNode deleteNode(TreeNode root, int key) {
if (root == null) return null;
int cmp = ... |
package com.gestion.servlet;
import java.io.IOException;
import java.util.Enumeration;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.serv... |
package annotation.getterCheck;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created by DELL on 2018/10/17.
* 因为起到语法检查/约束,仅仅在编译器起租用就行了,将Retention设置为SOURCE即可。
*/
@Target({ElementType.TYPE, Elem... |
package com.suven.frame.server.data.model;
import org.springframework.stereotype.Component;
/**
* Created by lipingfa on 2017/6/15.
*/
@Component
public class HelloWorld {
public String hello() {
return "Hello Wddddodsdadarld!";
}
}
|
package mao.action;
import mao.view.login.LoginView;
/**
* @author 豪
* @date 2018/6/19 22:31
*/
public class run {
public static void main(String[] agrs){
new LoginView();
}
}
|
package hu.cehessteg.vizeromu.Stage;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.utils.ClickListener;
import com.badlogic.gdx.utils.viewport.Viewport;
import hu.cehessteg.vizeromu.Actor.Gomb;
import hu.cehessteg.vizeromu.GlobalClasses.Assets;
import hu.csanyzeg.master.MyB... |
package im.compIII.exghdecore.testes.funcional;
import java.io.FileInputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import org.dbunit.DatabaseTestCase;
import org.dbunit.database.DatabaseConnection;
import org.dbunit.database.IDatabaseConnection;
import org.dbunit.dataset.IDataSet;
im... |
package jp.ac.kyushu_u.csce.modeltool.base.utility;
/**
* ファイルアクセス例外クラス
*
* @author KBK yoshimura
*/
public class FileAccessException extends Exception {
private static final long serialVersionUID = 1L;
public FileAccessException() {
super();
}
public FileAccessException(String message) {
... |
/*
这个程序在编译的时候会报错:
编码gbk的不可映射字符
这是因为有中文注释的原因;
解决方法:
这样编译 javac -encoding utf-8 ArrayListMagnet.java
@author 《head first Java》
@version “1.8.1_131”
*/
import java.util.*;//ArrayList这个类包含在java.util这个包中
//此程序的类名叫ArrayListMagnet
public class ArrayListMagnet{
public static void main (String[] args){
//创建Ar... |
/*
* Copyright 2002-2023 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package maze;
import java.awt.KeyEventDispatcher;
import java.awt.KeyboardFocusManager;
import java.awt.event.KeyEvent;
import javax.swing.JOptionPane;
public class MyKeyEventDispatcher implements KeyEventDispatcher {
public MyKeyEventDispatcher(MyPanel myPanel) {
this.myPanel = myPanel;
}
// private... |
package ir.madreseplus.ui.view.message;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.cardview.widget.CardView;
import java.text... |
package com.Hellel.PSoloid.homework6;
import com.Hellel.PSoloid.homework6.observable.Observable;
import com.Hellel.PSoloid.homework6.observable.Observer;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by Morozov on 08.07.2015.
*/
public class Animal implements Observable {... |
package mobi.app.redis;
import java.util.concurrent.TimeUnit;
/**
* User: thor
* Date: 13-1-4
* Time: 下午2:09
*/
public class RedisConnection {
public final String address;
public final int db;
public final String password ;
public final int timeout;
public final TimeUnit timeUnit;
public f... |
package com.software3.servlet;
import java.io.IOException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.software3.pojo.User;
import com.software3.service.UserService... |
package ru.job4j.loop;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Class MaxTest тестирует метод класса Counter.
* @author Goureev Ilya (mailto:ill-jah@yandex.ru)
* @version 1
* @since 2017-04-08
*/
public class CounterTest {
/**
* Тести... |
/*
* Copyright (C) 2015 The Tesla OS
*
* 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 agre... |
package com.comp3717.comp3717;
import java.util.ArrayList;
/**
* Created by Josh-ROG on 11/13/2016.
*/
public class Recipe {
private String name;
private ArrayList<String> ingredientList;
// private String instructions; add later on
public Recipe(String name, ArrayList<String> ingredientList) {
... |
package com.app.coinally.in.Utils;
/**
* Created by Vishal on 4/25/2016.
*/
public class Webservices {
/*this is host url from where all webservice call*/
public static String WEB_HOST_URL = "http://crypto.capitally.in/api";
public static String CRYPT_WEBSERVICE = WEB_HOST_URL + "/currency_api_app.php... |
package factory;
/**
* Created by max.lu on 2016/2/2.
*/
public class Blue extends Color {
public Blue() {
System.out.println("blue");
}
}
|
package com.longfellow.tree;
/*
* 从给定的后序和中序遍历恢复二叉搜索树
*/
public class PostInBuildTree {
public static TreeNode buildTree(int[] inorder, int[] postorder) {
if (inorder == null || inorder.length ==0 || postorder ==null || postorder.length ==0) {
return null;
}
return helper(inorder, 0 , i... |
package com.lagardien.interfaces;
/**
* Ijaaz Lagardien
* Group 3A
* Dr B. Kabaso
* Date: 12/03/2016
*/
public class CalculatorImpl implements Calculator
{
public float add(float a, float b) {
// TODO Auto-generated method stub
return a + b;
}
public float multiply(float a, float b) {
... |
package au.gov.nsw.records.digitalarchive.service;
import java.util.Date;
import java.util.List;
import org.hibernate.Hibernate;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.Transaction;
import au.gov.nsw.records.digitalarchive.ORM.Archivist;
import au.gov.nsw.records.digitalarchive... |
package toasty.messageinabottle;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.DividerItemDecoration;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import toasty.messageinabottle.exception.Err... |
package com.nfet.icare.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.nfet.icare.dao.EvaluateMapper;
import com.nfet.icare.pojo.Evaluate;
@Service
public class EvaluateServiceImpl implements EvaluateService {
@Autowired
private Ev... |
/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2011 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... |
/**
* RoomFactoryBuilder.java
* @author guochenshen
*
* creates rooms
*/
package object.graph;
import java.io.Serializable;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
public class RoomFactoryBuilder implements Serializable {
private Room room;
private static int roomID = 0;
// ********** DEF... |
package org.softRoad.models;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.softRoad.models.query.QueryUtils;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.HashSet;
import java.util.Set;
@Entity
@Table(name = "categories")
public class Category extends Soft... |
package com.hamatus.web.rest.dto;
import java.time.ZonedDateTime;
import javax.validation.constraints.*;
import java.io.Serializable;
import java.util.Objects;
import com.hamatus.domain.enumeration.ContentStatus;
/**
* A DTO for the Area entity.
*/
public class AreaViewDTO implements Serializable {
private Lo... |
//source: https://leetcode.com/problems/move-zeroes/solution/
//Easy
//Array
//Date: May 15 2019
/*
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.
Example:
Input: [0,1,0,3,12]
Output: [1,3,12,0,0]
Note:
You must do this in-place wit... |
import java.util.*;
public class CheckFibonacciNumber {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long input = sc.nextLong();
long[] f = new long[94];
f[0] = 0;
f[1] = 1;
f[2] = 1;
if(input==0 || input==1){
Syste... |
package com.ut.base.push;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import com.ut.base.AppManager;
import com.ut.base.BaseActivity;
import com.ut.jpushlib.CLJPushReceiver;
public class UTCLReceiver extends BroadcastRe... |
package main;
import java.math.BigDecimal;
import dao.CategoriaDao;
import dao.ProdutoDao;
import model.Categoria;
import model.Produto;
public class Principal {
public static void main(String[] args) {
ProdutoDao dao = new ProdutoDao();
CategoriaDao daoCategoria = new CategoriaDao();
Categoria categor... |
public class DeleteX{
public static void main(String[] args){
char charToDel = args[0].charAt(0);
String text = "";
while(!StdIn.isEmpty()){
char charact = StdIn.readChar();
if(charact != charToDel){
System.out.print(charact);
}
}
/*int textLength = text.length;
for(int i=0; i < t... |
package com.lagardien.dipviolation;
/**
* Ijaaz Lagardien
* Group 3A
* Dr B. Kabaso
* Date: 13 March 2016
*/
public class SuperWorker
{
public void work()
{
System.out.println("Working harder than other workers");
}
}
|
package com.jrz.bettingsite.player;
import org.springframework.stereotype.Service;
import java.util.Optional;
@Service
public interface PlayerService {
public Iterable<Player> findAll();
public Optional<Player> findById(Long id);
public void savePlayer(Player player);
void updatePlayer(Player pla... |
/**
* 二叉树的最近公共祖先 https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/
*/
public class 二叉树的最近公共祖先 {
public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {
//https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/solution/236-er-cha-shu-de-zui-ji... |
package com.example.md23_bai1_qlnv;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.widget.Toast;
import java.util.ArrayList;
import java.util.List;
... |
package com.bship.games;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Ship {
@JsonProperty("type")
private Harbor shipType;
private Point start;
private Point end;
public Ship() {}
public Ship(Harbor shipType, Point start, Point end) {
this.shipType = shipType;
... |
package org.springframework.samples.mvc.basic.account.dao;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.beanutils.PropertyUtils;
import org.apache.ibatis.session.RowBounds;
import org.apache.ibatis.session.SqlSession;
import org.mybatis.spring.support.SqlSessionDaoS... |
package com.swm.common.util;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRe... |
package ObjectDemoProduct;
public class abstract Sample {
public abstract demo();
} |
package com.pce.BookMeTutor.Model.Dto.Requests;
public class CompletionRequest {
private String secret;
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public CompletionRequest(String secret) {
super();
this.secret = secret;
}
public Comp... |
package com.pan.Concurrent.t5;
public class ThreadBt5 extends Thread{
private MyObjectt5 myObjectt5;
public ThreadBt5(MyObjectt5 myObjectt5)
{
super();
this.myObjectt5=myObjectt5;
}
@Override
public void run() {
super.run();
myObjectt5.speedPrintString();
... |
package verification;
import org.opt4j.satdecoding.Constraint;
import org.opt4j.satdecoding.Literal;
import org.opt4j.satdecoding.Constraint.Operator;
/**
* Class offering static methods to generate constraints.
*
* @author Fedor Smirnov
*
*/
public class ConstraintGeneration {
private ConstraintGeneration(){... |
/*
* Copyright 2002-2023 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package foo.service;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.*;
@ComponentScan(basePac... |
package com.stackroute.movieservice.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.annotation.Configuration;
import com.stackroute.movieservice.domain.Movie;
import com.stackroute.movieservice.repository... |
package com.sunbinqiang.iconcountview;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
im... |
package units.progadv.exceptions;
public class UnexpectedVariableException extends ComputationException {
public UnexpectedVariableException(String message) {
super(message);
}
}
|
package friends.queries.queries;
import friends.queries.data.DataRepository;
import friends.queries.dataloader.DataLoaderConfig;
import friends.queries.model.Item;
import friends.queries.model.User;
import io.leangen.graphql.annotations.*;
import io.leangen.graphql.execution.ResolutionEnvironment;
import io.leangen.gr... |
package GUI;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class Mouse extends JFrame {
private JPanel mous... |
package pinno.demo.hackernews.screen.detail.viewholder;
import android.support.annotation.NonNull;
import android.view.View;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import pinno.demo.hackernews.R;
import pinno.demo.hackernews.base.BaseViewHolder;
import pinno.demo.h... |
package domain;
/**
* User: Goutham Rathnaswamy
* Date: 19/07/2013
* Time: 14:30
*/
public class CustomerCredit {
private String name;
private String credit;
public CustomerCredit(){};
public String getName() {
return name;
}
public void setName(String name) {
this.name =... |
package com.zerobank.stepdefinitions;
import com.zerobank.pages.AccountActivityPage;
import io.cucumber.java.en.Then;
import org.junit.Assert;
import java.util.List;
public class AccountActivityStepDefinitions {
AccountActivityPage account_activity_page = new AccountActivityPage();
@Then("user verify the ... |
package com.gogo.base.utils;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
public class ConvertUtil {
pr... |
package model;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
public class Mecz {
private SimpleStringProperty dr1;
private SimpleStringProperty dr2;
private SimpleIntegerProperty wynik1;
private SimpleIntegerProperty wynik2;
public Mecz(String dr1, S... |
package num.grapecity.lab4;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteQueryBuilder;
import android.net.Uri;
import androidx.annotat... |
package ch.erp.management.mvp.contract;
import ch.erp.management.mvp.base.BaseModel;
import ch.erp.management.mvp.base.BasePresenter;
import ch.erp.management.mvp.base.BaseView;
/**
* 采购退货-Contract
*/
public interface MPurchaseReturnsContract {
/**
* 采购退货-IView
*/
interface MPurchaseReturnsIView ... |
package br.com.furb.service;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import br.com.furb.domain.User;
import br.com.furb.repository.UserRepository;
import br.com.furb.security.authentication.UserSV;
@Service
public class... |
package OnTap2;
public class XeTai extends PTGT{
private String trongTai;
public XeTai() {
super();
}
public XeTai(String hangSX, int namSX, double giaBan, String mau, String congSuat, String trongTai) {
super(hangSX, namSX, giaBan, mau);
this.trongTai = trongTai;
}
public String getCongSuat() {
... |
/******************************************************************************
* __ *
* <-----/@@\-----> *
* <-< < \\// > >-> *
... |
package com.mkyong.web.controller;
import java.util.LinkedList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframew... |
package com.ehy.utils;/**
* Created by Administrator on 2018-7-17.
*/
import javax.servlet.http.HttpServletRequest;
/**
* @Author zhouyu
* @Date2018-7-17 14:18
**/
public class CheckIdentifyCode {
public static String checkCode(HttpServletRequest request,String identifyCode){
String code = (String) re... |
package io.codex.cryptogram.signature;
/**
* HmacSHA384签名提供器
*
* @author 杨昌沛 646742615@qq.com
* 2018/10/17
*/
public class HMACSHA384SignatureProvider extends HMACSignatureProvider {
public HMACSHA384SignatureProvider() {
super("HmacSHA384");
}
}
|
package DesignPatternBuilders;
import DesignPatternCodeGenerator.CodeBuilder;
import DesignPatterns.Mediator.Colleague;
import DesignPatterns.Mediator.ConcreteColleague;
import DesignPatterns.Mediator.MediatorClass;
import DesignPatterns.Mediator.MediatorInterface;
import org.apache.commons.io.FileUtils;
import org.ec... |
package com.metoo.module.app.view.web.tool;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowire... |
/*
* 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 Practica_1;
/**
*
* @author mati
*/
public class Circulo {
private double r;
private Punto centrocir;
//constr... |
package java二.Class_String;
public class Dome {
public static void main(String[] args) {
String str1 = "123" ;
String str2 = "1" + "2" + "3" ;
String str3 = "2" ;
String str4 = "1" + str3 + "3" ;
System.out.println(str1 == str2); //true
//str1.length()
... |
package com.asm.entities.client;
import com.asm.entities.Automobile;
import com.asm.entities.MockData;
import java.util.ArrayList;
import java.util.List;
public class Client {
private String id;
private String name;
private String surnames;
private String phone;
private String email;
privat... |
package com.cs.session;
import com.cs.player.Player;
import com.cs.system.PlayerSessionRegistry;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.querydsl.QueryDslPredicateExecutor;
/**
* @author Hadi Movaghar
*/
public interface PlayerSessionRegistryRepository extends ... |
package com.xiv.gearplanner.controllers;
import com.xiv.gearplanner.services.ItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Pageable;
import org.springframework.data.web.PageableDefault;
import org.springframework.stereotype.Controller;
import org.spr... |
package com.daylyweb.music.mapper;
import java.io.Serializable;
import java.util.Map;
/**
* @ClassName: Music
* @Description:TODO
* @author: 丶Tik
* @date: 2017年10月15日 下午6:18:29
*
*/
public class Music implements Serializable{
/**
* @Fields serialVersionUID : TODO
*
... |
package queue;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.SimpleTimeZone;
public class QueueElement<T> {
public final String worker;
public final T element;
public final Date date;
final static DateFormat dateFormat;
... |
package junit.test;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.hb.framework.superhelp.util.Md5Tool;
import com.hb.framework.superhelp.util.PageView;
import com.hb.framework.system.entity.BaseData;
... |
package com.sinodynamic.hkgta.scheduler.job;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
import org.springframework.co... |
package com.mycompany.controllers;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXTextField;
import com.mycompany.gymadmin.AbrirVentana;
import com.mycompany.interacciondb.TablaSuscriptores;
import com.mycompany.interacciondb.datos;
import com.mycompany.interacciondb.llenarTablaSuscriptores;
imp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.