text stringlengths 10 2.72M |
|---|
//package com.sprmvc.web.ch5.services;
//
//import com.sprmvc.web.ch5.Order;
//import com.sprmvc.web.ch5.Spitter;
//import com.sprmvc.web.ch5.Spittle;
//import org.springframework.beans.factory.annotation.Autowired;
//
//import java.util.List;
//
//public class OrderBean {
//
//// @Autowired
// private OrderServi... |
package co.staruml.test;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.HashMap;
import javax.swing.*;
import co.staruml.awt.*;
import co.staruml.core.Const;
import co.staruml.core.DiagramControl;
import co.staruml.core.DiagramView;
import co.staruml.core.EdgeVi... |
/*
* 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 eu.stoehler.botapi.users;
import eu.stoehler.botapi.data.Command;
import eu.stoehler.botapi.data.Transaction;
import static eu... |
package com.youyan.android.headlines.utils;
import android.content.Context;
import android.widget.Toast;
/**
* Created by android on 3/21/18.
* Toast类
*/
public class ToastUtil {
private final static boolean isShow = true;
private ToastUtil(){
throw new UnsupportedOperationException("ToastUtil c... |
package com.mac.dubbo.erp.baby.mapper.order;
import com.mac.dubbo.erp.baby.model.order.Order;
public interface OrderMapper {
/**
* 根据员工号查询订单总金额
* @param employeeId
* @return
*/
Order selectSumOrderByCustomerId(String employeeId);
/**
* 根据员工号查询订单个数
* @param employeeId
*... |
package com.wangyi.wangyi_yanxuan.mapper;
import com.sun.org.glassfish.gmbal.ParameterNames;
import com.wangyi.wangyi_yanxuan.domain.Grade;
import org.apache.ibatis.annotations.*;
import javax.annotation.PreDestroy;
import java.util.List;
import java.util.Map;
public interface GradeMapper {
//按id 删除
@Delete... |
package com.mkay.scorecard;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.SupportMapFragment;
import android.annotation.SuppressLint;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.os.Bundle;
import android.view.LayoutInflater;
i... |
package example.data.redis.redis.lock;
import example.data.redis.SpringBootExampleDataRedisApplicationTests;
import example.data.redis.lock.RedisLock;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import java.util.... |
package cn.bs.zjzc.baidumap;
import com.baidu.location.LocationClient;
import com.baidu.location.LocationClientOption;
/**
* 百度地图定位参数设置
* Created by mgc on 2016/6/27.
*/
public class BaiduMapLocate {
// 定位相关
private LocationClient mLocClient;
public BaiduMapLocate(LocationClient mLocClient) {
... |
package store;
import entities.Category;
import entities.Purchase;
import java.time.LocalDate;
public class PurchaseStore implements IPurchaseStore {
@Override
public Purchase[] getPurchases(LocalDate startDate, LocalDate endDate) {
return new Purchase[0];
}
@Override
public Purchase[] ... |
package com.plter.card2d;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.ScaleAnimation;
import android.widget.ImageView;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle ... |
package com.mtihc.minecraft.treasurechest.persistance;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.bukkit.Location;
import org.bukkit.configuration.serialization.ConfigurationSerializable;
import org.bukkit.inventory.ItemSta... |
package org.crama.burrhamilton.controller;
import org.crama.burrhamilton.model.Answer;
import org.crama.burrhamilton.model.SocialUser;
import org.crama.burrhamilton.model.Statement;
import org.crama.burrhamilton.service.AnswerService;
import org.crama.burrhamilton.service.StatementService;
import org.crama.burr... |
package com.personalloan.service;
import com.personalloan.model.LoanDetails;
public interface PersonalloanService {
static Object createLoan(LoanDetails loanDetails, Long customerId) {
// TODO Auto-generated method stub
return null;
}
}
|
package nakoradio.mybad.core;
import java.util.List;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.SuperBuilder;
@Data
@Builder
public class Failure {
private List<Error> errors;
}
|
package com.tencent.mm.plugin.appbrand.jsapi.auth;
import com.tencent.mm.protocal.c.bio;
import java.util.LinkedList;
interface JsApiLogin$LoginTask$a {
void a(LinkedList<bio> linkedList, String str, String str2, String str3);
void aid();
void qe(String str);
}
|
/*
* Copyright (c) 2018-2025, lxr All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and t... |
/*
* 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 dataAccessLayer;
/**
*
* @author Ruchi
*/
public class player {
private String userName;
private Strin... |
package easy;
/* Sample code to read in test cases:*/
import java.io.*;
import java.util.*;
import java.lang.*;
public class SelfDescribingNumbers {
public static void main (String[] args) throws IOException {
File file = new File(args[0]);
BufferedReader buffer = new BufferedReader(new FileReader(... |
package programmers;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.stream.Collectors;
public class DivideNumber {
public static void main(String[] args) {
System.out.println(Arrays.toString(solution(new int[] {5,9,7,10}, 5)));
}
public static int[] solution(in... |
package com.practice.imdc.movieservice.constants;
public enum Genre {
DRAMA("Drama"),
FICTION("Fiction"),
SCI_FI("Sci-fi"),
COMEDY("Comedy"),
ROMANCE("Romance"),
ACTION("Action");
private String value;
Genre(String value) {
this.value = value;
}
}
|
import java.util.Iterator;
import java.util.LinkedList;
public class LinkedList_ {
public static void main(String[] args) {
LinkedList<String> array = new LinkedList<String>();
array.add("BMW");
array.add("FORD");
array.add("BMW");
Iterator <String> itr = array.iterator();
... |
package c.t.m.g;
import android.annotation.SuppressLint;
import android.content.Context;
import android.os.Build.VERSION;
import android.provider.Settings.Global;
import android.provider.Settings.System;
import android.telephony.CellInfo;
import android.telephony.CellLocation;
import android.telephony.NeighboringCellI... |
package com.sula.controller;
import java.util.Date;
import com.fengpei.ioc.Controller;
import com.jfinal.plugin.activerecord.Page;
import com.jfinal.plugin.activerecord.Record;
import com.sula.service.OrderService;
import com.sula.util.ResultJson;
import com.sula.util.Status;
public class OrderController extends Con... |
package org.basic.comp.abst;
public interface WidgetEditObj {
void editObj(Object o, int i);
}
|
package org.ah.minecraft.machines;
import org.bukkit.Effect;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.ItemStack;
public class BreakMachine extends Machine {
private ItemStack pickaxe;
public BreakMachine(Block b) {
... |
package ttyy.com.coder.scanner;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.RectF;
import android.text.Layout;
import android.text.StaticLayout;... |
package com.funck.awss3.adapters.jpa;
import com.funck.awss3.domain.entities.Product;
import lombok.RequiredArgsConstructor;
import org.modelmapper.ModelMapper;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.stream.Collectors;
@RequiredArgsConstructor
@Component
public class... |
package jackson;
import java.util.Map;
import org.junit.Assert;
import org.junit.Test;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.MapperFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
public class AutoValueTest
{
public ObjectMapper getObjectMapper()... |
package com.codingdojo.overflow.repository;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import com.codingdojo.overflow.models.TagQuestion;
@Repository
public interface TagQuestionRepository extends CrudRepository<TagQuestion, Long> {
}
|
package com.dreamworks.example;
import com.dreamworks.example.config.Neo4jEmbeddedConfig;
import com.dreamworks.example.model.Task;
import com.dreamworks.example.model.TaskVersion;
import com.dreamworks.example.model.request.TaskPayload;
import com.dreamworks.example.model.request.TaskVersionPayload;
import com.dreamw... |
package tech.iooo.coco.configuration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerM... |
package com.instamojo.api.dao;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.hibernate.Criteria;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrictions;
import org.springframework.... |
package vista;
import javax.swing.*;
import java.awt.*;
public class RegistrarCliente extends JPanel{
JPanel panel = new JPanel();
public RegistrarCliente() {
setBounds(500, 200, 1080, 800);
setBackground(new Color(32, 112, 193));
iniciarComponentes();
setLayout(null);
}
... |
package headFirst.adapter.object;
/**
*
*/
public class MallarDuck implements Duck {
@Override
public void quack() {
System.out.println("꽥, 꽥!!");
}
@Override
public void fly() {
System.out.println("나는 6마일 날았어~");
}
}
|
package ru.lember.neointegrationadapter.java;
public interface UnaryTriFunction<T, R> extends TriFunction<T, T, T, R> {
}
|
package br.com.walmart.krusty.exception;
import javax.ejb.ApplicationException;
@ApplicationException
public class NoResultException extends KrustyBusinessException {
private static final long serialVersionUID = -7742163129912624978L;
public NoResultException() {
super();
}
public N... |
package pl.michalgorski.medinfo.models.repositories;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import pl.michalgorski.medinfo.models.DoctorEntity;
import java.security.cert.PKIXRevocationChecker;
import java.util.Arrays;
import java.util.List;
import ... |
package com.application.service;
import com.application.model.tax.ITax;
import com.application.model.tax.Percent;
import com.application.util.Calculator;
/**
* This class calculates the tax amount on provided base amount with given tax
*/
public class TaxCalculationService {
/**
* Calculates tax applied on give... |
/*
Document : SME_Lending
Created on : August 21, 2015, 11:56:42 AM
Author : Anuj Verma
*/
package com.spring.service;
import java.util.List;
import com.spring.domain.ChequeInventory;
public interface CustomerCareService {
List<ChequeInventory> getChequeReport(int buyerId);
}
|
package com.example.illuminate_me;
import android.graphics.Bitmap;
import android.net.Uri;
public class UserImage {
private ImageDescription description ;
private Bitmap imageBit;
private Uri imageUri;
//(1)
public ImageDescription getDescription (){
return description;
}
//(2)
public void... |
package backjoon.dynamic;
import java.io.*;
public class Backjoon9461 {
private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
private static final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
private static long[] arr;
public stat... |
package xdpm.nhom11.angrybirdsproject.xmlbird;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.andengine.entity.IEntity;
imp... |
package loadbalance;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.concurrent.Semaphore;
import com.amazonaws.AmazonClientException;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.auth.AWSCredentials;
import com.amazonaws.auth.AW... |
package com.hqhcn.android.service.impl;
import com.hqh.android.dao.ExamsiteMapper;
import com.hqh.android.entity.Examsite;
import com.hqh.android.entity.ExamsiteExample;
import com.hqh.android.entity.Ksld;
import com.hqh.android.entity.KsldExample;
import com.hqh.android.service.ExamsiteService;
import com.hqh.android... |
package br.com.nozinho.dao;
import javax.ejb.Local;
import br.com.nozinho.ejb.dao.GenericDAO;
import br.com.nozinho.model.FormacaoIntelectual;
@Local
public interface FormacaoIntelectualDAO extends GenericDAO<FormacaoIntelectual, Long> {
}
|
package com.ibeiliao.trade.api.dto.response;
import com.ibeiliao.pay.api.ApiResultBase;
import com.ibeiliao.trade.api.dto.OrderVO;
public class GetOrderInfoResponse extends ApiResultBase {
/**
*
*/
private static final long serialVersionUID = 7160752045816605675L;
private OrderVO order;
public OrderVO... |
package in.hocg.plugin.task;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableAsync;
/**
* Created by hocgin on 16-12-19.
*/
@EnableAsync
public class AsyncTask {
@Async
public void demo(int param) {
}
}
|
package com.growsic.study.myquizapp;
import android.content.res.AssetManager;
import android.os.StrictMode;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java... |
import java.util.*;
public class voting
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
String s = scan.nextLine();
char[] c = s.toCharArray();
while (!(c[0] == '#'))
{
int num = s.length();
int y = 0, n = 0, a = 0, p = 0;
for (int i = 0; i < num; i++)
{
i... |
/*
* Sonar, open source software quality management tool.
* Copyright (C) 2009 SonarSource
* mailto:contact AT sonarsource DOT com
*
* Sonar is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either... |
package com.jim.multipos.ui.admin_main_page.fragments.establishment.presenter;
import com.jim.multipos.core.BaseView;
import com.jim.multipos.ui.admin_main_page.fragments.establishment.model.Establishment;
import com.jim.multipos.ui.admin_main_page.fragments.establishment.model.EstablishmentPos;
public interface Esta... |
package com.spring.querybuilder;
import java.util.List;
public class QueryRequest {
private Select select;
public QueryRequest(Select select) {
this.select = select;
}
public Select getSelect() {
return this.select;
}
}
class Where {
List<String> fields;
Limit limit;
}
class Limit {
private String k... |
package com.calc.gui.panel.buttons;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import... |
package org.apache.maven.plugin.deltacoverage.change;
import java.util.List;
public class ClassChange {
private String name;
private String filename;
private List<LineChange> lines;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Strin... |
package com.yixin.dsc.service.common;
import com.yixin.dsc.dto.DscAdmittanceDto;
import com.yixin.dsc.dto.DscCapitalSupportDto;
import com.yixin.dsc.dto.query.DscBankInteractiveResultDto;
import com.yixin.dsc.dto.query.DscMainInfoDto;
import com.yixin.dsc.dto.query.DscPaymentErrorDto;
import com.yixin.kepler.enity.Sys... |
package com.example.didiorder.view;
import android.content.Context;
import com.example.didiorder.adapter.OrderAdapter;
/**
* Created by qqq34 on 2016/1/20.
*/
public interface OrderView {
void isHideSwipe(boolean isHide);
Context getContext();
void setSwipEnable(boolean isEnable);
void showSnack... |
package com.google.android.exoplayer2.i;
public final class k {
private int aCp;
private int aCq;
private int aCr;
private byte[] data;
public k(byte[] bArr, int i, int i2) {
k(bArr, i, i2);
}
public final void k(byte[] bArr, int i, int i2) {
this.data = bArr;
this... |
package lintcode;
import lintcode.util.Interval;
import java.util.Collections;
import java.util.Comparator;
import java.util.LinkedList;
import java.util.List;
/**
* Created by jiajia on 2017/10/17.
*/
public class L156 {
/* public static Comparator<Interval> comparator = new Comparator<Interval>() {
@... |
package org.fuusio.api.plugin;
/**
* {@link InjectorProvider} defines interface for objects that provide a {@link PluginInjector}.
*/
public interface InjectorProvider {
PluginInjector getInjector();
}
|
package app.integro.sjbhs.adapters;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import androidx.cardview.widget.CardView;
import androidx.recyclerview.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.... |
package problem;
public class BinarySearch {
int searchNumber(int[] arr , int x) {
int l=0,r = arr.length -1;
while(l<=r) {
int mid = l + (r-1)/2;
if(arr[mid]==x)
return mid;
if(arr[mid]<x)
l = mid+1;
else
r=mid-1;
}
return -1;
}
public static void main(String[] args) {
// TODO... |
package DataStructuresTextbook.Arrays.Chapter_3.insertSort;
/**
* Created by Joakim on 12/02/15.
*/
public class InsertSortApp
{
public static void main(String args[])
{
int maxSize = 100; // size of the array
ArrayIns arr = new ArrayIns(maxSize); // create an object of class ArrayIns
... |
package com.tencent.mm.ui.transmit;
import com.tencent.mm.g.a.lj;
import com.tencent.mm.sdk.b.a;
import com.tencent.mm.ui.widget.a.c.a.b;
import com.tencent.mm.y.g$a;
class SelectConversationUI$7 implements b {
final /* synthetic */ g$a fZg;
final /* synthetic */ SelectConversationUI uEC;
SelectConversat... |
package learn.kidsapp.learnmath;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.transition.AutoTransition;
import android.transition.TransitionManager;
import android.view.Gravity;
import android.view.LayoutInflater;
import andro... |
package manage.bean;
public class SetClass {
private int class_id;
private int grade_id;
private String class_name;
public int getClass_id() {
return class_id;
}
public void setClass_id(int class_id) {
this.class_id = class_id;
}
public String getClass_name() {
return class_name;
}
public void setCla... |
package com.example.recyclewithdetails;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.Menu;
... |
/*
* The University of Melbourne
* School of Computing and Information Systems
* COMP90041 Programming and Software Development
* Assignment 3
* Student Name: Dongliang Liang
* Student ID: 962661
*
* NimHumanPlayer contains Human player method
*
*/
public class NimHumanPlayer extends NimPlayer{... |
package pl.wojtech.weather.service;
import pl.wojtech.weather.model.WeatherForecastDataBundle;
import pl.wojtech.weather.model.json.WeatherForecastJSON;
/**
* Created by Wojtech on 2018-03-01.
*/
public interface WeatherService {
/**
* Callsr remote api for data
* @param location city name which dat... |
/*
* 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 ShopRent.controller;
import ShopRent.modle.Building;
import ShopRent.modle.TableLoad;
import com.jfoenix.controls.JFXButton;
i... |
package envygram.tests.loginpage;
import envygram.base.basetest.SeleniumBaseTestClass;
import org.testng.annotations.Test;
import pages.AuthorisationPage;
import ru.yandex.qatools.allure.annotations.Description;
import ru.yandex.qatools.allure.annotations.Title;
import static envygram.base.testngutils.Group.smokeTest... |
package manage.service.impl;
import manage.bean.M_user;
import manage.dao.impl.M_userDaoImlp;
public class M_userServiceImpl {
private M_userDaoImlp userDaoImpl=new M_userDaoImlp();
public M_user login(String username,String password){
return userDaoImpl.login(username, password);
}
}
|
package com.xuecheng.learning.service;
import com.xuecheng.framework.domain.learning.response.GetMediaResult;
import com.xuecheng.framework.domain.task.XcTask;
import com.xuecheng.framework.model.response.ResponseResult;
import java.util.Date;
public interface ILearningService {
GetMediaResult getmedia(String co... |
package br.com.sistemamedico;
import java.io.File;
import javax.servlet.ServletException;
import org.apache.catalina.LifecycleException;
import org.apache.catalina.startup.Tomcat;
public class EmbeddedTomcat {
public static void main(String[] args) throws LifecycleException, ServletException {
String c... |
package com.handsome.qhb.ui.activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.handsome.qh... |
/*
* Copyright 2014 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package hk.edu.polyu.comp.comp2021.jungle.model;
/**
* Test class for GameOverListener
*/
public class TestGameOverListener implements GameOverListener {
private boolean triggered = false;
@Override
public void OnTrigger(Player triggeredPlayer) {
triggered = true;
}
/**
* @return ... |
package com.esc.fms.entity;
public class DeptRefStaff {
private Integer recordID;
private Integer deptID;
private Integer staffRecordID;
public Integer getRecordID() {
return recordID;
}
public void setRecordID(Integer recordID) {
this.recordID = recordID;
}
public ... |
package de.fhg.iais.roberta.syntax;
/**
* all Phrases (at least actors) with an user defined port should implement this interface to make hardware collection esay
*/
public interface WithUserDefinedPort<V> {
/**
* @return the user defined port, may be ""; never null
*/
String getUserDefinedPort();... |
package com.example.shivam.erpsystem;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ProgressBar;
import android.widget.TextView;... |
package com.pfchoice.springboot.service;
import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import com.pfchoice.springboot.model.CPTMeasure;
public interface CPTMeasureService {
CPTMeasure f... |
/*
* Copyright (c) 2018, Lawrence Livermore National Security, LLC. Produced at the Lawrence Livermore National Laboratory
* CODE-743439.
* All rights reserved.
* This file is part of CCT. For details, see https://github.com/LLNL/coda-calibration-tool.
*
* Licensed under the Apache License, Version 2.0 (the “Licensee... |
package com.company.dog;
public class Bison implements Dog{
@Override
public void introduces() {
System.out.println("비쇼오오오오오오오오옹오");
}
}
|
package sortomatic;
import java.awt.FlowLayout;
import java.awt.event.MouseEvent;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTextField;
public class NuevoArticulo extends JFrame{
JLabel label1;
JLabel label2;
... |
package com.luhc.blog.utils;
import java.util.Collections;
import java.util.List;
public class Paging {
/**
* 页的最大记录数,默认为10
*/
private final static int DEFAULT_MAX_RECORD = 10;
/**
* 页码
*/
private int pageNo = 1;
/**
* 页的最大记录数
*/
private int maxResult = DEFAULT_MAX_RECORD;
/**... |
package edu.tsinghua.lumaqq.test;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import edu.tsinghua.lumaqq.ui.mu... |
package gd26.asteroids;
import java.awt.*;
/**
* Bullet class
*
* Created by gdorwin26 on 3/30/2017.
*/
public class Bullet extends GameObject
{
public Bullet(Vec2D pos, double theta)
{
setPos(pos.copy());
setVel(new Vec2D(1, 0).rot(theta).mult(Properties.BULLET_SPEED));
}
@Overri... |
package hackchatbot;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JTextArea;
import javax.swing.JScrollPane;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.event.A... |
package com.ojas.employee.service;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.U... |
/*
* UniTime 3.5 (University Timetabling Application)
* Copyright (C) 2014, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* 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 Soft... |
package gr.athena.innovation.fagi;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
impor... |
import com.mayhew3.postgresobject.dataobject.DataSchema;
import com.mayhew3.postgresobject.db.DatabaseEnvironment;
import com.mayhew3.postgresobject.model.PostgresSchemaTest;
import com.mayhew3.taskmaster.TaskMasterSchema;
import com.mayhew3.taskmaster.db.DatabaseEnvironments;
public class SchemaLocalTest extends Post... |
package bootcamp.test.tables;
import org.openqa.selenium.WebDriver;
import bootcamp.selenium.basic.LaunchBrowser;
public class DynamicTable {
public static void main(String[] args) {
WebDriver driver = LaunchBrowser.launch("https://money.rediff.com/gainers/bse/monthly/groupall");
// rest implementation is sa... |
package org.sagebionetworks.repo.model.jdo;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Aspect;
/**
* This aspect allows us to check if the connection pool is being used as expected.
* @a... |
package com.tencent.mm.plugin.ac;
import com.tencent.mm.bt.h.d;
import com.tencent.mm.pluginsdk.model.app.i;
class a$3 implements d {
a$3() {
}
public final String[] xb() {
return i.diD;
}
}
|
/*
* [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.test.data.domain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Relationship;
import org.neo4j.ogm.annotation.typeconversion.DateLong;
import org.springframework.format.annotation.Date... |
package viewmodel;
import android.databinding.BaseObservable;
import android.databinding.BindingAdapter;
import android.widget.ImageView;
import model.Day;
import utils.Utility;
public class ItemDayViewModel extends BaseObservable {
private Day day;
private String imageUri;
private String dateDayNumber... |
package com.smxknife.mybatis._04_shardingjdbc.algorithm;
import com.google.common.collect.Range;
import org.apache.shardingsphere.api.sharding.standard.PreciseShardingAlgorithm;
import org.apache.shardingsphere.api.sharding.standard.PreciseShardingValue;
import org.apache.shardingsphere.api.sharding.standard.RangeShar... |
package pe.egcc.pagoapp.service;
import java.math.BigDecimal;
import java.math.RoundingMode;
import pe.egcc.pagoapp.dto.PagoDto;
public class PagoService {
public PagoDto calcularPago(PagoDto dto){
//variables
double ingresos, renta = 0.0, neto;
//proceso
ingresos = dto.g... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.