text stringlengths 10 2.72M |
|---|
/*
* Copyright 2014 Google Inc. All Rights Reserved.
*
* 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 applica... |
package com.tencent.mm.plugin.appbrand.jsapi.audio;
import com.tencent.mm.plugin.appbrand.e;
import com.tencent.mm.plugin.appbrand.e$c;
import com.tencent.mm.plugin.appbrand.e.b;
import com.tencent.mm.plugin.appbrand.jsapi.audio.d.a;
import com.tencent.mm.sdk.platformtools.x;
class d$1 extends b {
final /* synthe... |
/*
* LumaQQ - Java QQ Client
*
* Copyright (C) 2004 luma <stubma@163.com>
*
* 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 2 of the License, or
* (at your option) any lat... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* PostPaymentHelper.java
*
* Created on Sep 7, 2009, 3:07:59 AM
*/
package legaltime.view;
import java.awt.event.ActionEvent;
import java.text.ParseException;
import javax.swing.JOptionPane;
import legaltime.Ap... |
package com.appsquadz.hostelutility;
class StudentComplaintsActivity {
}
|
package jp.co.tau.web7.admin.supplier.services;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import javax.persistence.RollbackException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.modelmapper.Condition;
impo... |
package com.xampy.namboo.ui.manyRoomData.manyRoomData;
import android.content.Context;
import android.net.Uri;
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.annotati... |
package pl.michalgorski.medinfo.models.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pl.michalgorski.medinfo.models.CommentEntity;
import pl.michalgorski.medinfo.models.DoctorEntity;
import pl.michalgorski.medinfo.models.forms.CommentForm... |
import java.io.FileReader;
import java.io.FileWriter;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.Scanner;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.xml.DomDriver;
public class WelcomeMenuControlle... |
package com.tencent.tencentmap.mapsdk.a;
import java.util.ArrayList;
class tg$2 implements Runnable {
private /* synthetic */ ArrayList a;
private /* synthetic */ tg b;
tg$2(tg tgVar, ArrayList arrayList) {
this.b = tgVar;
this.a = arrayList;
}
public final void run() {
t... |
import java.util.*;
abstract public class Graph {
abstract public boolean hasEdge(int p, int q);
abstract public Set<Integer> neighboursOf(int p);
abstract public void addEdge(int p, int q);
public List<Integer> depthFirstTraversal(int root) {
List<Integer> visited = new LinkedList<>();
LinkedList<I... |
package it.unical.asd.group6.computerSparePartsCompany.data.entities;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name="PRODUCT")
public class Product {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name... |
package cn.omsfuk.library.web.service;
import cn.omsfuk.library.web.model.Book;
import cn.omsfuk.library.web.model.Borrow;
import java.util.List;
import java.util.Map;
public interface BorrowService {
List<Book> listBorrow(int page);
Integer returnBook(List<Integer> id);
Integer borrowBook(List<Intege... |
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client.jdbc;
import java.sql.SQLException;
import net.snowflake.client.core.SFException;
import net.snowflake.client.log.SFLogger;
import net.snowflake.client.log.SFLoggerFactory;
import net.snowflake.common.core.Res... |
package com.tencent.mm.g.a;
import com.tencent.mm.sdk.b.b;
public final class gc extends b {
public a bPk;
public static final class a {
public boolean bPl = false;
public long bPm = 0;
}
public gc() {
this((byte) 0);
}
private gc(byte b) {
this.bPk = new a()... |
import java.util.*;
/**
*
*/
/**
* @author Nanda
*
*/
public class ArrayListTypesOfInit {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
/*
Using Arrays.asList()
*/
ArrayList<String> obj = new ArrayList<String>(
Arrays.asList("Pratap",... |
package webmail.managers.userManagers;
import webmail.entities.Contacts;
import webmail.managers.Manager;
import webmail.managers.otherManagers.SQLManager;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
/**
* Created by JOKER on 12... |
package com.chengfu.android.fuplayer.ui;
import android.content.Context;
import androidx.annotation.IntDef;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com... |
package day04_variables_intro;
public class VariableNamingRules {
public static void main (String [] args ){
// System.out.println("Break");
int static2 = 22;
int _static = 22;
int $static = 44;
int staticVar = 234;
int $ = 55;
int _ = 3000;
Syst... |
package animatronics.client.render.tile;
import java.nio.FloatBuffer;
import java.util.Random;
import org.lwjgl.opengl.GL11;
import animatronics.utils.handler.ClientTickHandler;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.ActiveRenderInfo;
import net.minecraft.client.renderer.GLAlloca... |
package com.mythosapps.time15.util;
import com.mythosapps.time15.storage.CsvFileLineWrongException;
import com.mythosapps.time15.types.BeginEndTask;
import com.mythosapps.time15.types.DaysDataNew;
import com.mythosapps.time15.types.KindOfDay;
import com.mythosapps.time15.types.Time15;
/**
* Utility class to work wit... |
package com.tencent.mm.plugin.wallet.bind.a;
import com.tencent.mm.ab.e;
import com.tencent.mm.network.q;
import com.tencent.mm.plugin.wallet.a.p;
import com.tencent.mm.plugin.wallet_core.model.ag;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.wallet_core.c.m;
public final class b extends m {
p... |
package org.sbbs.base.pager;
/**
*
*
*/
public interface IPagerParameters {
String getSortNameKey();
String getPageNumberKey();
String getSortDirectionKey();
String getPageSizeKey();
}
|
package src;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
import model.R;
import org.junit.Test;
public class PublishPaneTest {
PublishPane publishPane = new PublishPane();
/**
* .
*/
@Test
public void testGetCheckType_() {
publishPane.getCheckType();
publ... |
package com.minipg.fanster.armoury.object;
/**
* Created by Knot on 8/17/2017.
*/
public class TopicForm {
String title;
String link;
String description;
String category;
public TopicForm(){
}
public TopicForm(String title, String link, String description, String category) {
t... |
package great_class28;
import java.util.ArrayList;
import java.util.List;
/**
* Created by likz on 2023/4/21
*
* @author likz
*/
public class Problem_0017_LetterCombinationsOfAPhoneNumber {
public static char[][] phone = new char[][]{
{'a', 'b', 'c'},
{'d', 'e', 'f'},
{'g',... |
/*
* MetricComparator - Does the actual fusion of the analysis
* components. Part of the UBC CPSC 410 yardwand project.
*
* Author: Eric Furugori
*/
package fusion;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.... |
package com.tencent.mm.plugin.fav.ui.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import com.tencent.mm.plugin.fav.ui.m.b;
import com.tencent.mm.plugin.fav.ui.m.e;
import com.tencent.mm.... |
package com.smelending.kotak;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;
import org.apache.log4j.Logger;
public class initiateSettlement extends sav... |
package com.rc.portal.alipay.config;
import com.rc.commons.util.InfoUtil;
/* *
*类名:AlipayConfig
*功能:基础配置类
*详细:设置帐户有关信息及返回路径
*版本:3.3
*日期:2012-08-10
*说明:
*以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。
*该代码仅供学习和研究支付宝接口使用,只是提供一个参考。
*提示:如何获取安全校验码和合作身份者ID
*1.用您的签约支付宝账号登录支付宝网站(www.alipay.com)
*2.点击“... |
package com.khaale.bigdatarampup.mapreduce.hw3.part2;
import com.khaale.bigdatarampup.mapreduce.hw3.part2.parsing.BrowserDetector;
import com.khaale.bigdatarampup.mapreduce.hw3.part2.parsing.IpDataParser;
import com.khaale.bigdatarampup.mapreduce.hw3.part2.writables.IpStatsWritable;
import org.apache.hadoop.io.LongWri... |
/*
* 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 Entidades;
import java.util.Date;
import java.util.List;
/**
*
* @author rosemary
*/
public class entBrotacion
{
pri... |
/*
* Copyright ApeHat.com
*
* 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 wri... |
package com.xxx;
import java.io.IOException;
import org.apache.http.HttpHost;
import org.elasticsearch.action.admin.indices.create.CreateIndexRequest;
import org.elasticsearch.action.admin.indices.create.CreateIndexResponse;
import org.elasticsearch.client.RestClient;
import org.elasticsearch.client.RestHighLevelClie... |
package ru.Makivay.sandbox.utils;
import java.util.stream.IntStream;
public class SomeUselessStuff {
public static void infinityCpuHeat() {
IntStream.range(0, Runtime.getRuntime().availableProcessors()*2).parallel().forEach(i -> {
while (true) {
for (int index = 1; index < Int... |
import java.util.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.JPanel;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.Rectangle;
import java.util.Vector;
import java.awt.*;
public class Lienzo2 extends JPanel implements MouseListener {
private Vec... |
package com.projects.houronearth.activities.fragments.profile;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.provider.MediaStore;
import android.support.annotation.Nullable;
import android.support.design.... |
package variaveisTipos;
public class Variaveis {
public static void main(String[] args) {
byte pequeno = 10;
int numero = 100;
short curto = 12;
long grande = 120215641L;
System.out.println(numero);
System.out.println(curto);
Syste... |
package com.mostlymagic.guava.string.processing;
import static java.util.Arrays.asList;
import static org.apache.commons.lang3.StringUtils.isEmpty;
import static org.apache.commons.lang3.StringUtils.strip;
import static org.apache.commons.lang3.StringUtils.stripToEmpty;
import static org.apache.commons.lang3.StringUt... |
/*
* [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 studio.baka.originiumcraft.client.gui;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.util.ResourceLocation;
public class GuiTransparentButton extends GuiButton {
public GuiTransparentButton(GuiScr... |
package jp.co.logacy.dto.search;
/**
* BD検索用の検索条件保持DTO
*
* @author y_someya
*
*/
public class ItemsDto {
public ItemDto Item;
}
|
package SvgPac;
import java.awt.BasicStroke;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
public class SvgEllipse extends S... |
package com.hackerrank.github.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;... |
package bandeau;
import java.awt.Color;
public class ChangerCouleurFond extends Effet {
private Color newColor;
public ChangerCouleurFond(Bandeau monBandeau, Color myColor) {
super(monBandeau);
newColor=myColor;
}
public Color getNewColor() {
return newColor;
}
public void jouerE... |
package com.example.user.myapplication.main.activity.adapter;
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
im... |
package com.tencent.mm.plugin.webview.ui.tools.widget;
import android.app.Activity;
import com.tencent.mm.ui.MMActivity;
class WebViewSearchContentInputFooter$7 implements Runnable {
final /* synthetic */ WebViewSearchContentInputFooter qlx;
WebViewSearchContentInputFooter$7(WebViewSearchContentInputFooter w... |
package br.com.projeto.kafka.java;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class ProjetoKafkaJavaApplication {
public static void main(String[] args) {
SpringApplication.run(ProjetoKafkaJavaApplication.cl... |
/**
* Exception levée lorsqu'un cycle est détecté parmi les traitements
*/
public class CycleException extends Exception {
private static final long serialVersionUID = 1L;
public CycleException(String message) {
super(message);
}
}
|
package botenanna.behaviortree.guards;
import botenanna.behaviortree.ArgumentTranslator;
import botenanna.behaviortree.Leaf;
import botenanna.behaviortree.MissingNodeException;
import botenanna.behaviortree.NodeStatus;
import botenanna.game.Situation;
import botenanna.math.Vector3;
import java.util.function.Function;... |
package com.baohua.databingdemo.activity;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import androi... |
package com.zzlz13.zmusic.fragment;
import com.zzlz13.zlibrary.base.BaseInitFragment;
/**
* Created by hjr on 2016/5/10.
*/
public abstract class BaseFragment extends BaseInitFragment {
}
|
package edu.weber;
import javax.swing.*;
import java.awt.*;
import java.util.ArrayList;
public class TransferFrame extends JFrame{
public TransferFrame(AccountHolder accountHolder, ArrayList<AccountHolder> listOfAccounts)
{
super("Transfer from account: " + accountHolder.getAccountNumber());
... |
/*
* [y] hybris Platform
*
* Copyright (c) 2000-2016 SAP SE
* All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* Hybris ("Confidential Information"). You shall not disclose such
* Confidential Information and shall use it only in accordance with the
* terms of the l... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package main.game.action.creature;
import com.jme3.cinematic.Cinematic;
import com.jme3.cinematic.MotionPath;
import com.jme3.cinematic.MotionPathListener;
import com.jme3.cinematic.events.CinematicEvent;
import com.jme... |
package com.example.android.roomwithmoreentitiesapp.database;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Delete;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.Update;
@Dao
public interface BaseDao<T> {
@Insert
void insert(T object);
... |
package escriturauno;
import java.util.Scanner;
public class PruebaCrearArchivoTexto {
public static void main(String args[]) {
Scanner entrada = new Scanner(System.in);
String cadenaFinal = "";
System.out.println("Ingrese su nombre");
String nombre = entrada... |
package com.kakaopay.payments.api.dto;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import org.springframework.http.HttpStatus;
import java.io.Serializable;
import java.util.Map;
@Getter
@Setter
public class ResponseDto implements Serializable {
private String manageId; // 관리번호
... |
package com.application.view;
import com.application.controller.CartController;
import java.util.Objects;
public class CartView implements IView {
private static final String VIEW_FORMAT = "|%3s|%12s|%13s|";
private final CartController cartController;
public CartView(final CartController cartController) {
t... |
package uptc.softMin.logic.scalability;
public class Cl_Singh {
}
|
package plattern.BridgePattern;
public class Test {
public static void main(String args []) {
Pen pencil = new Pencil(new Blue());
Pen crayon = new Crayon(new Red());
Pen ballPointPen = new BallPointPen(new Yellow());
System.out.println(pencil.description());
System.out.prin... |
package kr.or.kosta.chat.entity;
import java.net.Socket;
import kr.or.kosta.chat.server.ClientThread;
public class User {
private String nickName;
public User() {}
public User(String nickName) {
this.nickName = nickName;
}
public String getNickName() {
return nickName;
}
public void setNickName(St... |
/*
TODO: Create a Server .
*/
import java.io.*;
import java.net.*;
public class Networking
{
public static void main(String[] args) throws Exception
{
ServerSocket ss = new ServerSocket(6666);
Socket s = ss.accept();//establishes connection and waits for the client
DataInputStream dis = new DataInp... |
package be.thomaswinters.goofer.generators.string;
import be.thomaswinters.datamuse.connection.DatamuseCaller;
import be.thomaswinters.datamuse.data.DatamuseWord;
import be.thomaswinters.datamuse.query.DatamuseQuery;
import java.io.IOException;
import java.util.List;
import java.util.stream.Collectors;
public class ... |
package de.zarncke.lib.io.store.ext;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.regex.Pattern;
import org.junit.Test;
import de.zarncke.lib.coll.L;
import de.zarncke.lib.coll.Pair;
import de.zarncke.lib.err.GuardedTest;
import de.zarncke.lib.io.store.MapStore... |
package Association.Aggregaion.Composition;
public class Driver {
private Vehicle availableVehicle;
public void rentVehicle(Vehicle v){
this.availableVehicle = v;
System.out.println("driver has now a vehicle to drive");
}
public void driveVehicle(double miles){
if(this.availableVehicle != null){
this.... |
package com.example.demo;
import java.util.Objects;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
@Entity
public class Order {
private @Id @GeneratedValue Long id;
pr... |
package com.ricex.cartracker.androidrequester.request.type;
import org.springframework.core.ParameterizedTypeReference;
public class BooleanResponseType extends ParameterizedTypeReference<Boolean> {
}
|
package com.wds.spring.batch.ch03;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.core.ChunkListener;
import org.springframework.batch.core.scope.context.ChunkContext;
/**
* Created by wds on 2015/10/1.
*/
public class FirstChunkListener implements ChunkListener {
pri... |
package com.example.expensetracker2020.Database.Repositories;
import android.app.Application;
import android.os.AsyncTask;
import androidx.lifecycle.LiveData;
import com.example.expensetracker2020.Database.AppDatabase;
import com.example.expensetracker2020.Database.DAOs.AccountDao;
import com.example.expensetracker2... |
package com.jiuzhe.app.hotel.entity;
import com.jiuzhe.app.hotel.constants.OrderStatusEnum;
/**
* @Description:自动将支付状态变成入住状态的类
*/
public class PaidToLived {
private String orderId;
private String merchantId;
private String userId;
private Integer paid = OrderStatusEnum.PAID.getIndex();
priva... |
package com.jiejing.repo.utils;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
/**
* @author baihe
* Created on 2020-07-16 23:33
*/
public class PageUtil {
/**
* Convert to Pageable
* @param pageNo the page ... |
package com.javano1.StudentJobMS.api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.... |
package android.support.v4.app;
import android.app.Activity;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import android.content.DialogInterface.OnDismissListener;
import android.os.Bundle;
import android.view.LayoutInflater;
import android... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
/**
* Created by Steve on 10/22/2017.
*/
@TeleOp(name="Dri... |
/*
* Copyright 2017 University of Michigan
*
* 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... |
/*
类的成员之四:初始化快
分类
静态代码块
非静态代码块(没有static修饰
相同
可以有输出语句
可以对类的属性+类的声明进行初始化操作
可以按照从上到下的顺序依次执行
不同
静态代码块
不可以对非静态的属性(属性+方法)初始化
静态代码块的执行要先于非静态代码块
静态代码块只执行一次
非静态代码块(没有static修饰)
每一创建对象的时候都会执行一次,且先于构造器执行
程序自己创建类中的属性方法
左击“Source”
创建接口
生成getter和setter方法
生成toString()方法
生成h... |
package com.tencent.mm.plugin.qqmail.ui;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnKeyListener;
import com.tencent.mm.plugin.qqmail.b.i;
class MailAddrsViewControl$5 implements OnKeyListener {
final /* synthetic */ MailAddrsViewControl mhb;
MailAddrsViewControl$5(Mail... |
package com.finddreams.androidnewstack.dagger;
import com.finddreams.androidnewstack.service.LivingService;
import com.finddreams.androidnewstack.service.RestApiAdapter;
import com.finddreams.androidnewstack.service.StockService;
import dagger.Module;
import dagger.Provides;
import retrofit2.Retrofit;
/**
* Created... |
package dynks.cache;
import dynks.URIMatcher;
import com.typesafe.config.Config;
import com.typesafe.config.ConfigFactory;
import org.junit.Test;
import javax.servlet.http.HttpServletRequest;
import java.util.concurrent.TimeUnit;
import static dynks.cache.test.DynksAssertions.assertThat;
import static org.mockito.Mo... |
package com.boraji.tutorial.springboot.model;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import ja... |
package pm.server.persistence.dao;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import pm.server.persistence.entity.PortfolioEntry;
public interface PortfolioEntryRepository extends JpaRepository<PortfolioEntry, Long> {
... |
package ru.otus.homework.services;
import org.junit.jupiter.api.*;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
import ru.otus.homework.models.Author;
import ru.otus.homework.models.Book;
import ru.otus.homework.services.dao.JdbcBookDao;
import javax.sql.DataSource;
import java.sql.SQLE... |
package view;
import javafx.scene.Group;
import javafx.scene.Node;
import javafx.scene.control.Button;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
import javafx.scene.text.Font;
import javafx.scene.text.Text;
import javafx.scene.text.TextAlignment;
import java.u... |
//package regrep;
//
///**
// * 正则表达式练习
// */
//
//public class RegrepExec {
// public static void main(String[] args) {
// /**
// * 每一个正则在编译之后都是一个Pattern对象
// */
// //demo1 qq号码的校验
//
// String qq="1234567890";
// boolean res=checkQQ(qq);
//
// }
//}
|
package com.yixin.dsc.service.common;
import java.math.BigDecimal;
import java.util.Date;
import com.yixin.common.utils.InvokeResult;
import com.yixin.dsc.dto.DscContractCancelDto;
import com.yixin.dsc.dto.query.DscFundsQueryDto;
import com.yixin.dsc.dto.query.DscSettleCalculationResultDto;
import com.yixin.dsc.dto.q... |
package vlad.fp.services.synchronous.rpc.server;
import vlad.fp.services.model.BrandID;
import vlad.fp.services.model.Credits;
import vlad.fp.services.model.Invoice;
import vlad.fp.services.model.InvoiceID;
import vlad.fp.services.synchronous.api.BillingService;
import vlad.fp.services.synchronous.rpc.RpcUtils;
impor... |
package com.cts.sr.moviecruiser.movie.utils;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
import org.springframework.web.client.RestTemplate;
import com.cts.sr.moviecruiser.movie.data.MovieDTO;
import com.fasterxml.jackson.core.JsonParser.Feature;
import com.fasterxml.jackson.co... |
package kodlamaio.hrms.business.concretes;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import kodlamaio.hrms.business.abstracts.CvService;
import kodlamaio.hrms.business.abstracts.ProgramingTechnologyService;
import kod... |
public class Main {
public static void main(String[] args) {
int[] numere = {8,4,9,1,2,222};
int k=-1,aux=0,n=9;
int mij=numere.length;
for(int i=0;i<numere.length-1;i++) {
for (int j = 0; j < numere.length-i-1; j++) {
if (numere[j] > numere[j+1]) {
... |
package converter.Entity2Dto;
import dao.AnimalDao;
import dto.AnimalDtoByte;
import entity.Animal;
import entity.AnimalI18n;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.convert.converter.Converter;
import org.springframework.stereotype.Component;
import java.util.Ar... |
package com.mapper;
import com.bean.User;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import java.util.List;
public interface UserMapper extends Mapper<User> {
List<User> getUser(@Param("user") User user);
Integer getCountByPhone(String phone);
}
|
package com.github.io24m.validate4java.validator;
import com.github.io24m.validate4java.ValidateMetadata;
/**
* @author lk1
* @description
* @create 2021-01-29 14:40
*/
public interface BaseValidator<T> {
boolean filter(ValidateMetadata<T> metadata);
boolean pass(ValidateMetadata<T> metadata);
boole... |
package com.itsdf07.okhttp3.callback;
/**
* @Description
* @Author itsdf07
* @Time 2018/9/28/028
*/
public interface HttpDataCallback extends HttpBaseCallback{
}
|
package zm.gov.moh.core.service.worker;
import android.content.Context;
import org.threeten.bp.LocalDateTime;
import org.threeten.bp.format.DateTimeFormatter;
import androidx.annotation.NonNull;
import androidx.work.WorkerParameters;
import zm.gov.moh.core.model.Key;
import zm.gov.moh.core.repository.database.entity... |
package officehours05_03;
import java.util.ArrayList;
import java.util.Arrays;
public class FourOrLess {
public static void main(String[] args) {
//remove in ArrayList
//remove(0)
ArrayList<String> list =new ArrayList<>(Arrays.asList("apples", "tree", "loop", "cat",
... |
package com.vietmedia365.voaapp.service;
import com.vietmedia365.voaapp.model.Chapter;
import com.vietmedia365.voaapp.model.Story;
import java.util.List;
import retrofit.Callback;
import retrofit.http.GET;
import retrofit.http.Path;
import retrofit.http.Query;
/**
* Created by pat109 on 9/26/2014.
*/
public inter... |
package collections.main_task.confection;
public abstract class Sweetness {
private String nameSweetness;
private int weightSweetness;
public Sweetness(String nameSweetness, int weightSweetness) {
this.nameSweetness = nameSweetness;
this.weightSweetness = weightSweetness;
}
public... |
package com.union.design.auth.jwt;
import org.apache.commons.lang3.StringUtils;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.InsufficientAuthenticationException;
import org.springframework.security.core.Authentication;
import org.springfra... |
package com.tatteam.popthecamera.android;
import android.os.Bundle;
import android.os.Handler;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
import com.badlogic.gdx.backends.android.AndroidFragment... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.