text stringlengths 10 2.72M |
|---|
package com.bytedance.sandboxapp.protocol.service.c;
import android.app.Activity;
import com.bytedance.sandboxapp.b.b;
public interface a extends b {
boolean canCheckFollowAwemeState();
void checkFollowAwemeState(String paramString1, String paramString2, c paramc);
void getAwemeUidFromSuffixMeta... |
package cn.wycclub.dto;
import javax.validation.constraints.*;
/**
* 注册表单信息
*
* @author WuYuchen
* @create 2018-02-13 22:24
**/
public class RegisterForm {
@Pattern(regexp = "^[a-zA-Z0-9]{5,10}$", message = "用户名为5位到10位之间的数字或字母!")
private String username;
@Pattern(regexp = "^[a-zA-Z... |
package com.DataJpa;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Component;
/**
* Created by bakhodir on 5/13/16.
*/
@Component
public interface BaseDao<T> extends CrudRepository<T, Long> {
@Query("select... |
class MyPrint implements Runnable {
@Override
public void run() {
System.out.print(Thread.currentThread().getName()+ " : ");
for(char ch = 'g'; ch<='m'; ch++) {
System.out.printf("%c",ch);
}
System.out.println();
}
}
public class PrintChar3 {
public static void main(String[] args) {
Thread th1 =... |
package cn.com.ykse.santa.repository.entity;
public class DemandFileCfgDO {
private Integer cfgId;
private Integer demandId;
private Integer fileId;
public Integer getCfgId() {
return cfgId;
}
public void setCfgId(Integer cfgId) {
this.cfgId = cfgId;
}
public Intege... |
package com.store.pojo;
/**
* 分页对象
* @author 付军
*
*/
public class Page {
//当前页
private int pageNo=1;
//每页显示的条数
private int pageSize=5;
//一共有多少条记录
private int allCount=1;
//一共有多少页 需要计算的
private int totalPage=1;
public int getPageNo() {
//判断
if(pageNo<1) ... |
package com.widera.petclinic.controller;
import com.widera.petclinic.domain.entities.User;
import com.widera.petclinic.service.OwnerService;
import com.widera.petclinic.service.UserManagementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.Authe... |
package com.hxzy.mapper;
import com.hxzy.entity.JobtableViews;
/**
* 作品浏览和点赞
*/
public interface JobtableViewsMapper {
int deleteByPrimaryKey(Integer jobTableId);
int insert(JobtableViews record);
JobtableViews selectByPrimaryKey(Integer jobTableId);
int updateByPrimaryKeySelective(JobtableViews... |
package woundsDetection;
import javafx.event.EventHandler;
import javafx.geometry.Rectangle2D;
import javafx.scene.canvas.Canvas;
import javafx.scene.input.MouseEvent;
import javafx.scene.shape.Rectangle;
import javafx.stage.FileChooser;
import javafx.stage.Stage;
import java.io.File;
public class EventHandlerr {
... |
package pe.egcc.interesapp.service;
import pe.egcc.interesapp.dto.InteresDto;
public class InteresService {
public InteresDto calculaImporteAcmulado(InteresDto interesDto) {
double capital;
double interes;
double importeAcumulado;
double tasaInteresMensual;
double periodo... |
package org.eginez;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
public class Problem4Test {
@Test
public void test2() {
int sol = Problem4.coinsCount(31, Arrays.asList(1, 10, 25), new HashMap<>()... |
package com.softvilla.slmparentportal;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import com.github.aakira.expandablelayout.ExpandableRelativeLayout;
/**
* Created by Malik on 04/08... |
package com.example.dou.mysale;
import android.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Dou on 2016/4/27.
*/
public class TicketActivity extends ListActivity {
private List listItem;
private ArrayAdap... |
import java.util.HashMap;
import java.util.Scanner;
public class MainERP {
public static void main(String[] args) {
Scanner teclado = new Scanner(System.in);
int id,qtde;
float preco;
String nome;
HashMap<Integer, Produto> mapa;
mapa = new HashMap<Integer, Produto>();
int opcao;
do {
System.ou... |
import java.util.ArrayList;
public class Passenger {
String name;
int numberOfBags;
ArrayList<Flight> flight;
int seatNumber;
public Passenger(String name, int numberOfBags) {
this.name = name;
this.numberOfBags = numberOfBags;
this.flight = new ArrayList<Flight>();
... |
package com.NewIO;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
public class Test {
}
|
package com.tencent.mm.plugin.wallet_core.ui;
import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.g.a.le;
import com.tencent.mm.plugin.wallet_core.model.ECardInfo;
import com.tencent.mm.sdk.b.a;
import com.tencent.mm.sdk.p... |
public class LinkedList {
private ListNode head = null;
private ListNode tail = null;
private int n = 0;
public Object get(int i) {
if (i<0 || i>=n) {
return null;
}
ListNode node = head;
for (int j=0; j<i; j++) {
node = node.next;
}
... |
package com.kingcar.rent.pro.utils;
import org.json.JSONObject;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.security.KeyFactory;
import java.security.PrivateKey;
import java.security.spec.PKCS8EncodedKeySpec;
/**
* Created by cwj on 2016/3/18.
*/
public class AliPaySignUti... |
package Kodluyoruz_HomeWork_AbdAlrahimZakaria.Week3_AirplaneSystem.Concrete_Classes;
import Kodluyoruz_HomeWork_AbdAlrahimZakaria.Week3_AirplaneSystem.Abstract_Classes.FlightTicketSystem;
public class THYAirLines extends FlightTicketSystem {
public static void main(String[] args) {
THYAirLines THY = new ... |
package com.atguigu.boot.bean;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
@NoArgsConstructor
@AllArgsConstructor
@Data
@ToString
public class Pet {
private Integer age;
private String name;
}
|
package nodomain.cleversort.time;
public class StopWatch {
private StopWatchService stopWatchService;
private long startTime;
public void start() {
startTime = stopWatchService.getNanoCounterValue();
}
public long calculateElapsedTimeInMilliSeconds() {
return (stopWatchService.g... |
package org.quarkchain.web3j.protocol.core.response;
import java.math.BigInteger;
import org.quarkchain.web3j.protocol.core.Response;
import org.quarkchain.web3j.utils.Numeric;
/**
* eth_gasPrice
*/
public class GasPrice extends Response<String> {
public BigInteger getGasPrice() {
return Numeric.decode... |
package com.leetcode.oj;
import java.util.Stack;
// 114 https://leetcode.com/problems/flatten-binary-tree-to-linked-list/
public class FlattenBinaryTreeToLinkedList_114 {
// Definition for a binary tree node.
public static class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) ... |
package com.feicui.edu.eshop.feature.category;
import android.view.View;
import android.widget.TextView;
import com.feicui.edu.eshop.R;
import com.feicui.edu.eshop.base.utils.BaseListAdapter;
import com.feicui.edu.eshop.network.entity.CategoryPrimary;
import butterknife.BindView;
/**
* Created by Administrator on ... |
package decorator.design.pattern.example1;
public abstract class Beverage {
String description;
public String getDescription(){
return description;
}
public abstract float getCost();
}
|
package pl.edu.amu.datasupplier.resource;
import org.bson.types.ObjectId;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.mockito.MockitoAnnotations;
import org.modelmapper.ModelMapper;
import org.springframework.beans.factory.annotation.... |
package com.cnk.travelogix.presales.core.interceptors;
import de.hybris.platform.servicelayer.interceptor.InterceptorContext;
import de.hybris.platform.servicelayer.interceptor.InterceptorException;
import de.hybris.platform.servicelayer.interceptor.ValidateInterceptor;
import de.hybris.platform.util.localization.Loca... |
/*
* 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 edufarming;
import java.awt.Desktop;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxExcep... |
package com.wb.cloud.entitles;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @ClassName : CommonResult
* @Author : 王斌
* @Date : 2020-11-18 09:37
* @Description
* @Version
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class C... |
package com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.builder;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.ArbeitsvorgangTypType;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.SPALTENSolldatenType;
import java.io.StringWriter;
import javax.xml.bind.JAXBElement;
import javax.xml.bin... |
package com.cs4125.bookingapp.ui.main;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.navigation.NavController;
import androidx.navigation.Navigation;
import androidx.navigation.fragment.NavHostFragment;
import... |
package com.aummn.suburb.validator;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.assertj.core.api.Assertions.assertThat;
@RunWith(JUnitParamsRunner.class)
public class SuburbValidatorJUnitParamsTest {
@Test
@Par... |
package com.spring.JunitTest;
public class Calculator {
public double sum(double n1, double n2) {
return n1 + n2;
}
}
|
package com.studio.saradey.aplicationvk.ui.fragment;
/**
* @author jtgn on 15.08.2018
*/
import android.os.Bundle;
import android.preference.PreferenceFragment;
import com.studio.saradey.aplicationvk.R;
public class MyPreferencesFragment extends PreferenceFragment {
public MyPreferencesFragm... |
package evm.dmc.core.api.back;
/**
* Interface allows implementations to be plotted on chart
*
* @author id23cat
*
*/
public interface Plottable {
default double[] plot(int index) {
return null;
}
default int getElementsCount() {
return -1;
}
default String getTitle(int index) {
return null;
}
}
|
package com.ciphertext.implementation;
import com.ciphertext.decrypt.Decryptor;
import com.ciphertext.encrypt.Encryptor;
import com.ciphertext.input.StringIO;
import com.ciphertext.interfaces.CipherInterface;
public class CipherTextImplementation {
public static void main(String[] args) {
System.out.pri... |
package com.brainmentors.apps.jdbcexample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
@Repository
public class UserDAO {
@Autowired
private JdbcTemplate jdbcTemplate;
public UserDTO login(User... |
package productimporter;
import java.util.ArrayList;
import java.util.List;
public final class ProductInventorySpy implements ProductInventory {
private ArrayList<Product> log;
public ProductInventorySpy() {
log = new ArrayList<Product>();
}
public ArrayList<Product> getLog() {
retu... |
package com.tencent.mm.ai;
import com.tencent.mm.ai.c.4;
import com.tencent.mm.model.am.b.a;
import com.tencent.mm.sdk.platformtools.bi;
class c$4$1 implements Runnable {
final /* synthetic */ String bAA;
final /* synthetic */ String dSW;
final /* synthetic */ boolean dSX;
final /* synthetic */ 4 dSY;... |
package com.bmb.test;
import com.basic.icon.IconBase;
import com.basic.view.screen.SplashScreen;
import com.global.App;
import com.jgoodies.looks.*;
import com.jgoodies.looks.windows.WindowsLookAndFeel;
import com.mlm.comp.impl.WindowMlm;
import com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal;
... |
package com.walkerwang.algorithm.swordoffer;
import java.util.ArrayList;
import java.util.Iterator;
public class TreeFindPath {
public static void main(String[] args) {
TreeNode treeNode10 = new TreeNode(10);
TreeNode treeNode5 = new TreeNode(5);
TreeNode treeNode4 = new TreeNode(4);
TreeNode treeNode7 = new... |
import java.awt.Point;
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.Pane;
import jav... |
// CS 349 Undo Demo
// Daniel Vogel (2013)
import javax.swing.*;
import javax.swing.event.UndoableEditEvent;
import javax.swing.undo.UndoManager;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.*;
public class Main {
Model model;
public static void main(String[] args) {
new Main()... |
package controllers;
import dao.impl.UserDaoImpl;
import dto.UserDTO;
import model.Role;
import model.User;
import service.impl.UserServiceImpl;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
impo... |
package com.nisa.doaharian.Services;
import com.nisa.doaharian.Models.DaftarDzikirPagi;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.GET;
public interface DaftarDzikirPagiService {
@GET("/NisaNH/doa-harian-muslim-server/dzikir_pagi")
Call<List<DaftarDzikirPagi>> getDzikirPagi();
}
|
package pdx.module.frontdesk.gui;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.JTabbedPane;
import javax.swing.JToolBar;
import javax.swing.JPanel;
import javax.swing.WindowConstants;
... |
package gr.athena.innovation.fagi.core.normalizer;
/**
* Interface for a normalization class.
*
* @author nkarag
*/
public interface INormalizer {
/**
* Returns the name of the normalizer.
*
* @return the name of the transformation as a String
*/
public String getName();
}
|
package com.designPattern.SOLID.isp.solution;
public interface UPIPayments {
public void doTransfer();
} |
package io.kuoche.share.data.db.jpa.repository;
import io.kuoche.share.data.db.jpa.entity.OrderDetailData;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface JpaOrderDetailRepository extends JpaRepository<OrderDetailData, Long> {
List<OrderDetailData> findAllByA... |
package com.youthchina.domain.Qinghong;
import java.sql.Timestamp;
/**
* @program: youthchina
* @description: 简历存储
* @author: Qinghong Wang
* @create: 2019-03-23 14:19
**/
public class ResumeStore {
private Integer store_id;
private String resume_name;
private Integer stu_id;
private Integer is_d... |
package org.a55889966.bleach.saran.tourguide;
import java.io.Serializable;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class EventClass implements Serializable {
String eventId;
String eventName;
String startingLocation;
... |
package by.epam.concexamples.synchronizer.exchanger;
import java.util.concurrent.Exchanger;
/**
* Created by Alex on 21.10.2016.
*/
public class TeamBox extends Thread{
private String teamName;
private Tyre tyre;
private Exchanger<Tyre> tyreExchanger;
public TeamBox(String teamName, Tyre tyre, Exch... |
package com.ss.android.ugc.aweme.miniapp;
import android.app.Activity;
import android.content.Context;
import com.ss.android.ugc.aweme.dfbase.c.f;
public class BaseActivity extends Activity {
protected void attachBaseContext(Context paramContext) {
super.attachBaseContext(paramContext);
f.a(paramCo... |
package com.arkaces.aces_marketplace_api.security;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframewo... |
package view;
import javafx.animation.FadeTransition;
import javafx.scene.Group;
import javafx.scene.Node;
import javafx.scene.control.Button;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
import javafx.scene.shape.Rectangle;
... |
package com.qswy.app.activity.aroundbusiness;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;
impo... |
package hello;
import java.util.Comparator;
/**
* Created by Javier on 06/04/2017.
*/
public class CustomComparator implements Comparator<Contexto> {
@Override
public int compare(Contexto object1, Contexto object2) {
if(object1.getValor() > object2.getValor())
{
return -1;
... |
package org.vice.core.generate;
import org.vice.core.Constants;
import org.vice.core.conf.VColumn;
import org.vice.core.conf.VTable;
import org.vice.core.conf.ViceConfig;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
/**
* Created by dongzhaocheng on 2014... |
package api;
public class Position {
private double x;
private double y;
private double direction; // in degrees
public Position() {
x = 0;
y = 0;
direction = 0;
}
public Position(double x, double y, double direction) {
this.x = x;
this.y = y;
... |
package com.rc.portal.interceptor;
import java.net.URLEncoder;
import javax.servlet.http.HttpServletRequest;
import com.opensymphony.webwork.ServletActionContext;
import com.opensymphony.xwork.ActionInvocation;
import com.opensymphony.xwork.interceptor.Interceptor;
import com.opensymphony.xwork.util.OgnlValueStack;
... |
package at.htl.mealcounter.control;
import at.htl.mealcounter.entity.Consumation;
import at.htl.mealcounter.entity.NfcCard;
import at.htl.mealcounter.entity.Person;
import io.quarkus.hibernate.orm.panache.PanacheRepository;
import org.eclipse.microprofile.config.inject.ConfigProperty;
import javax.enterprise.context.... |
package ru.romanbrazhnikov.userformsender.viewer.business;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import ru.romanbrazhnikov.userformsender.R;
import ru.romanbrazhnikov.userformsender.application.model.UserForm;
/**
* Created by roman on 21.10.17.
* <p>
* Tool class ... |
package com.horical.hrc7.lib_base.recycle_view;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import com.horical.hrc7.lib_base.helper.finder.ViewFinder;
import java.util.List;
/**
* Created by quang.pv on 6/1/2017.
*/
public abstract class BaseViewHolder<T, K> extends RecyclerView.View... |
package com.lingnet.vocs.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.lingnet.common.entity.BaseEntity;
@Entity
@Table(name = "machine")
public class Machine extends BaseEntity implements java.io.Serializable{
/**
*
... |
package servletHandle;
import dao.ImageDao;
import javaBean.Image;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import j... |
package com.caicaiRibbon;
/**
* @author caicai
* @Date 2021/3/28 下午9:58
*/
public class caicaiRibbonRule {
}
|
/**
* @author smxknife
* 2020/7/9
*/
package com.smxknife.servlet.async; |
package com.tencent.mm.plugin.appbrand.jsapi.bluetooth.ble.sdk.c;
public enum j {
OK(0, ""),
FAIL(-1, "fail"),
BLE_NO_INIT(10000, "fail:not init"),
BLE_NOT_AVAILABLE(10001, "fail:not available"),
BLE_NO_DEVICE(10002, "fail:no device"),
BLE_CONNECTION_FAIL(10003, "fail:connection fail"),
BLE... |
package kr.highthon.common.exception;
public class AlreadyPaidException extends RuntimeException {
}
|
package animatronics.debug;
import animatronics.common.inventory.elements.SlotLocked;
import animatronics.utils.inventory.container.ContainerBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Slot;
import net.minecraft.item.I... |
<<<<<<< HEAD
package chapter08;
public class Exercise08_08 {
public static void main(String[] args) {
printClosestPoints(
new int[][] { { 0, 0 }, { 1, 1 }, { -1, -1 }, { 2, 2 }, { -2, -2 }, { -3, -3 }, { -4, -4 }, { 5, 5 } });
}
public static void printClosestPoints(int[][] list) {
String str = "";
doub... |
package com.beiyelin.document.controller;
import com.beiyelin.document.entity.Document;
import com.beiyelin.document.entity.PathTree;
import com.beiyelin.document.repository.DocumentRepository;
import com.beiyelin.document.service.DocumentQueryService;
import com.beiyelin.document.service.StorageService;
import org.ap... |
/************************************************
*
* Dispositivos Programables, Funciones
* de filtros digitales para la implementación
* de un Transmultiplexor simétrico.
*
* Profesor: Juan Manuel Madrigal Bravo.
*
* Elaboró: Juan Capiz Castro.
*
*
*************************************************/
p... |
package com.infotecsjava.keyvalue.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotat... |
package com.syzible.dublinnotifier.ui;
/**
* Created by ed on 21/02/2017.
*/
public interface FilterListener {
void onFilter();
}
|
package com.mcf.service.impl;
import java.util.Date;
import java.util.Map;
import javax.annotation.Resource;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;
import com.mcf... |
package com.tencent.mm.plugin.ext;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Build;
import android.os.Looper;
import com.tencent.mm.bt.h.d;
import com.tencent.mm.compatible.e.m;
import com.tencent.mm.compatible.util.k;
import com.tencent.mm.g.a.et;
import com.tencent.mm... |
package com.example.news.Util;
import com.example.news.Gson.NewsList;
import com.google.gson.Gson;
public class Utility {
//使用Gson解析获取的json数据
public static NewsList parseJsonWithGson(final String requestText) {
Gson gson = new Gson();
return gson.fromJson(requestText, NewsList.class);
}
}
|
import static edu.princeton.cs.algs4.StdRandom.uniform;
/**
* @author andreea teodor
*/
public class CalculateAvgThreshold{
public static void main(String[] args) {
double sum = 0.0;
int times = 0;
for (int i = 0; i < 100; i++) {
int n = uniform(2, 100);
... |
package kr.or.kosta.sample;
import java.util.Calendar;
import kr.or.kosta.sample2.Bar;
public class Foo {
public static void main(String[] args) {
Bar bar = new Bar();
bar.myMethod();
String message = "명절 잘들 쉬세요";
Calendar today;
int num = 343434343;
String a;
String str = String.valueOf... |
package com.facebook.react;
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import com.facebook.i.a.a;
import com.facebook.react.bridge.JSBundleLoader;
import com.facebook.react.bridge.JSCJavaScriptExecutorFactory;
import com.facebook.react.bridge.JSIModulesProvider... |
/*
* 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 pe.gob.onpe.adan.service.Adan.impl;
import java.util.ArrayList;
import org.springframework.beans.factory.annotation.Autowired;... |
package com.snow.gk.core.utils;
import com.snow.gk.core.exception.CustomException;
import com.snow.gk.core.ui.drivers.DriverSetup;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriverException;
import org.openqa.selenium.WebElement;
public class JSExecutor {
private JSExecutor(){}
... |
package javadatetime;
import java.time.*;
import java.time.temporal.Temporal;
import java.time.temporal.ChronoUnit;
public class JavaPeriodExample
{
public static void main(String[] args)
{
Period period1=Period.ofDays(24);//Obtains a Period representing a number of days.
Temporal temp=period1.addTo(... |
package co.th.aten.network.report;
import java.io.File;
import java.util.List;
import java.util.Map;
import javax.faces.context.FacesContext;
import javax.servlet.ServletContext;
import net.sf.jasperreports.engine.JREmptyDataSource;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperrepor... |
//对冲型双指针,不断把短的那一边往里移动
class Solution {
public int maxArea(int[] height) {
int size = height.length;
int start = 0;
int end = size - 1;
int ans = 0;
while(start < end){
ans = Math.max(Math.min(height[start], height[end]) * (end - start), ans);
if(height... |
package kr.co.sist.mgr.faq.vo;
/**
* 관리자 화면에서 문의목록을 간단하게 보여주기 위한 목적의 VO
* @author JU
*/
public class MgrReqVO {
private int reqNum;
private String reqType, reqTitle, id, reqFlag;
public MgrReqVO() {
}
public MgrReqVO(int reqNum, String reqType, String reqTitle, String id, String reqFlag) {
... |
*/
package Iterator;
/**
*
* @author MSI
*/
public interface patientDetails {
public Iterator getIterator();
}
|
package com.estilox.application.entityModel;
import java.io.Serializable;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persis... |
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Queue;
public class Store implements process {
LinkedList<Item> stock;
LinkedList<Customer> customers;
Queue<Customer> customerQueue;
Store() {
stock = new LinkedList<>();
customers = new LinkedList<>()... |
/*
* 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 choiceofuser;
import mainclasses.Student;
import mainclasses.Course;
import mainclasses.Teacher;
import mainclasses.Assignment... |
package com.espendwise.manta.web.util.smac;
import com.espendwise.manta.util.Utility;
import com.espendwise.manta.web.util.UrlPathAssistent;
import org.apache.log4j.Logger;
import org.springframework.context.ApplicationContext;
import org.springframework.web.context.request.RequestContextHolder;
import org.springfram... |
/*
* 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 padraosingletonnumerotelefone;
import java.io.IOException;
import persistencia.PersistenciaSerializada;
/**
*
* @author 201... |
package ru.kappers.service.parser;
import org.apache.tomcat.util.digester.DocumentProperties;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.junit.MockitoJUnitRunner;
import org.springframework.util.ResourceUtils;
import ru.kappers.model.CurrencyRate;
import... |
package bootcamp.test;
import org.testng.annotations.Test;
public class ExecutionOrder {
@Test
public void a() {
System.out.println("Test a");
}
@Test
public void c() {
System.out.println("Test c");
}
@Test
public void b() {
System.out.println("Test b");
}
@Test
public void A() {
System.out.prin... |
package org.rebioma.server.hibernate;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.apache.log4j.Logger;
import org.... |
package Query.Plan;
import Query.Engine.QueryIndexer;
import Query.Entities.PlanTable;
import Entity.Constraint;
import Entity.Value;
import java.util.List;
/**
* Created by liuche on 5/29/17.
*
*/
public class FilterConstraintPlan extends Plan {
private Constraint varConstraint;
public FilterConstrai... |
package com.koreait.dto;
public class ClientDto {
private int cId,cEmpId;
private String cName,cAddr,cSSn;
public ClientDto() { }
public int getcId() {
return cId;
}
public void setcId(int cId) {
this.cId = cId;
}
public int getcEmpId() {
return cEmpId;
}
public void setcEmpId... |
package uk.gov.ons.ctp.response.action.export.message;
import com.godaddy.logging.Logger;
import com.godaddy.logging.LoggerFactory;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.