text stringlengths 10 2.72M |
|---|
package cn.sange.appserver.dao;
import cn.sange.appserver.pojo.Token;
import cn.sange.appserver.pojo.User;
import org.hibernate.Hibernate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.hibernate5.HibernateTemplate;
import org.springframework.stereotype.Repository;
impor... |
package org.lfy.eureka.config;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
/**
* WebSec... |
package com.inobu.mquestioner;
//import java.util.ArrayList;
import java.util.HashSet;
import java.util.Random;
//import java.util.List;
import java.util.Set;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
//import android.da... |
public class LQueue {
private class Node {
Node next;
int value;
}
private Node head, tail;
public void enqueue(int value) {
Node node = new Node();
node.value = value;
if(tail == null) {
head = node;
tail = node;
} else {
... |
package com.hcy.suzhoubusquery.Adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.hcy.suzhoubusquery.R;
import com.hcy.suzhoubusquery.utils.BaseBean;
import... |
package com.bofsoft.laio.customerservice.dialog;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface.OnClickListener;
import com.bofsoft.laio.customerservice.R;
public class PromptDialog {
String title;
String content;
Context context;
OnClickListene... |
//accept producet details calculate and print bill
import java.util.*;
class bulk_discount_on_qty
{
public static void main(String args[])
{
boolean b=true;
double mrp=0.0,qty=0.0,total=0.0,bdis=0.0,pay=0.0,vat=0.0,net=0.0,rate=0.0;
Scanner x=new Scanner(System.in);
System.out.print("Enter Producet code:-"... |
package listTest;
import java.util.Stack;
public class Test1 {
public static void main(String[] args) {
String s = "12132431qda2312fsdfs121231weww";
Stack<String> ss = new Stack<>();
Stack<String> ss1 = new Stack<>();
for (int i = 0; i < s.length();i++){
String s3 = Str... |
package com.gnts.infog.InfoGlogin;
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;
import java.time.LocalDate;
import java.time.Period;
import java.time.format.DateTimeFormatter;
import java.time.temporal.TemporalAdjusters;
import java.util.List;
import java.util.concurre... |
package com.mmc.design.pattern.factory.demo1;
import com.mmc.design.pattern.factory.Service;
/**
* @packageName:com.mmc.design.pattern.factory.demo1
* @desrciption:
* @author: gaowei
* @date: 2018-10-23 17:18
* @history: (version) author date desc
*/
public class ServiceImpl1 implements Service {
@Override
... |
package cn.edu.nju.software.timemachine.action.user;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import cn.edu.nju.software.timemachine.action.BaseAction;
import cn.ed... |
package ariel.manndrops.game.model;
import java.util.Set;
public class GameModel {
private static GameModel gameModel;
private String name = "";
private int score = 0;
private int exercisesSolved = 0;
private int errors = 0;
private int lives = 3;
private GameModel(){
}
public ... |
package test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import FourRowSolitaire.Card;
import FourRowSolitaire.CardStack;
import FourRowSolitaire.DealDeck;
import FourRowSolitaire.Deck;
import FourRowSolit... |
package br.com.wasys.library.jackson;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import java.io.IOException;
import java.util.Date;
import b... |
/*
* Lesson 4 Coding Activity Question 2
*
* Ask the user their name and age and print out how many years until
* they are 100. Note that age should be an integer, not a double.
*
* Sample run:
Hi there. What is your name?
Pascal
Hi Pascal. How old are you?
16
Pascal, you will be 100 in 84 years.
*/
import... |
package com.neu.spring;
import org.springframework.validation.Errors;
import org.springframework.validation.ValidationUtils;
import org.springframework.validation.Validator;
import com.neu.spring.pojo.StockEvent;
import com.neu.spring.pojo.UserAccount;
public class StockEventValidator implements Validator {
publi... |
package com.onightperson.hearken.notify;
import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import com.onightperson.hearken.R;
/**
* Created by liubaozhu on 17/6/13.
*/
publ... |
/*
* 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 br.com.fatecpg.quiz;
import java.util.ArrayList;
/**
*
* @author MohamadTarif
*/
public class DbConta {
private stat... |
package problem;
import simulator.*;
import java.io.IOException;
import java.util.*;
public class MCTS {
private ProblemSpec ps;
private Helper helper;
private Map<Terrain, Object[]> terrain2spec;
public MCTS(ProblemSpec ps) {
this.ps = ps;
this.helper = new Helper(... |
package com.zhicai.byteera.activity.myhome.widget;
import android.app.AlertDialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import android.widget.DatePicker;
import com.zhicai.byteera.R;
import com.zhicai.byteera.commonutil.UIUtils;
import... |
package com.github.jishida.gradle.shellscript;
import com.github.jishida.gradle.commons.util.Checker;
import com.github.jishida.gradle.shellscript.tasks.Msys2Setup;
import groovy.lang.Closure;
import org.gradle.api.Action;
import org.gradle.api.Project;
import org.gradle.api.Task;
import org.gradle.api.internal.Closur... |
package common.zhang.customer;
/**
* Created by zzw on 2017/3/15.
*/
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.View;
import android.webkit.WebView;
import android.widget.Horizo... |
package com.example.android.finalproject_yaocmengqid.MainContent;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;... |
package com.buttercell.vaxn.common;
/**
* Created by amush on 03-Mar-18.
*/
public class Common {
public static String patient_key="";
public static String guardian_key="";
}
|
/*
* 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 com.test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import com.test.base.Solution;
/**
* 正常的,dfs即可
* @author YLine
*
* 2018年12月18日 上午10:28:19
*/
public class SolutionA implements Solution
{
@Override
public List<Integer> spiralOrder(int[][] matrix)
{
... |
package com.example.myapplication;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ProgressBar;
public class MainActivity extends AppCompatActivity {
Button minus;
Button plus;
ProgressBar progressBar... |
package com.tu.springsession;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
/**
* @Auther: t... |
package ibessonov.tm;
import java.util.List;
public class Sample {
interface BadList<T> extends List<List<? super BadList<? super T>>> {}
public static void main(String[] args) {
BadList<? super String> badList = null;
// List<? super BadList<? super String>> list = badList; // this will thro... |
public class LinearSearch {
public static void main(String[] args) {
//dummy data for our method
char letter = 'a';
char[] letters = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q',
'r','s','t','u','v','w','x','y','z'};
char[] lettersNull = null;
LinearSearch ls = new LinearSe... |
/*
provides a simple method to start playing a one-player game
*/
import java.util.Scanner;
public class Play {
private Game game;
/**
* Constructor for the Play class to play a game of Battleship.
*/
public Play () {
game = new Game(false);
game.initializeGUI();
beginGame();
}
/**
* Runs the ... |
package com.sxb.controller;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestPara... |
package com.disco.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import com.disco.dao.utils.Closer;
import com.disco.dao.utils.Context;
import com.disco.model.Artist;
import com.disco.model.Sa... |
package com.imooc.handler;
import com.imooc.config.ProjectUrlConfig;
import com.imooc.enums.ResultEnum;
import com.imooc.exception.SellerAuthorizeException;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.ControllerAdvice;
... |
package cn.ztuo.bitrade.controller.aic;
import cn.ztuo.bitrade.dao.SysConfigDao;
import cn.ztuo.bitrade.entity.ExchangeOrderDirection;
import cn.ztuo.bitrade.service.RobotOrderService;
import cn.ztuo.bitrade.util.MessageResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autow... |
package daseel.game.trialsofjorah;
/*
* Class used to store positions in a 2d-space (might switch to float or double later)
*/
public class Vector {
private float x;
private float y;
public Vector(float x, float y) {
this.x = x;
this.y = y;
}
public Vector(Vector vector) {
this(vector.getX(), vector... |
/*
* 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 exp8;
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
/**
*
* @author ks834
*/
public class scroll extends... |
package com.github.riyaz.bakingapp.di;
import com.github.riyaz.bakingapp.screens.ingredients.IngredientListActivity;
import com.github.riyaz.bakingapp.screens.ingredients.IngredientListActivityModule;
import com.github.riyaz.bakingapp.screens.recipes.RecipeListActivity;
import com.github.riyaz.bakingapp.screens.steps.... |
package com.rednovo.tools.sms;
import org.apache.commons.lang.StringUtils;
import com.rednovo.tools.web.HttpSender;
/**
* 神州短信工具类
*
* web登录入口 http://user.bjszrk.com/Frame/Index.aspx
*
* @author sg.z/2014年10月13日
*/
public class SzSMSUtil {
/**
* 接口地址
*/
private final static String SELSUM_URL = "http:/... |
package com.testFileUpload.util;
import java.lang.annotation.*;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Mylog {
String value() default "";
}
|
package com.mmrath.sapp.web.rest.core;
import com.mmrath.sapp.domain.core.User;
import com.mmrath.sapp.service.core.UserService;
import com.mmrath.sapp.web.rest.rsql.RsqlUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframe... |
package cp.week17;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurre... |
/**
* Copyright 2016 Shyam Bhimani
*/
package day20_sortingArray;
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
import java.lang.*;
public class BubbleSortExample {
/* public static int swap(a[i], a[i+1]){
int temp1 = 0;
int temp2 = ... |
package com.lambda.iith.dashboard.LostFound;
import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.viewpager.widget.ViewPager;
import com.google.android.material.tabs.Tab... |
import com.sun.java.swing.plaf.windows.WindowsTabbedPaneUI;
import org.omg.CORBA.PRIVATE_MEMBER;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
public class Client {
private String IPAdress = "127.0.0.1";
private... |
package mx.redts.adendas.dao;
import java.util.List;
import mx.redts.adendas.exception.AdendaException;
import mx.redts.adendas.model.FeDetalle;
import mx.redts.adendas.model.FeDirFiscal;
import mx.redts.adendas.model.FeDirReceptor;
import mx.redts.adendas.model.FeEncabezado;
import mx.redts.adendas.model.Fe... |
package com.goldenasia.lottery.app;
import android.content.Intent;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
import com.goldenasia.lottery.BuildConfig;
import com.goldena... |
/*
* 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 com.xmzj.common.Enums;
/**
* 菜单相关变量
* @author
*
*/
public enum PermissionPermission {
// type_sys_permission("0","-1","系统菜单功能类型"),
// type_sys_button("1","-1","系统按钮功能类型"),
// type_op_permission("2","-1","运营商菜单功能类型"),
// type_op_button("3",null,"运营商按钮功能类型"),
code_sysmanage("1000",... |
package dk.stfkbf;
import java.io.File;
public class DeleteChangedCase {
private String targetPath;
private String sourcePath;
private String gitRoot;
public String getTargetPath() {
return targetPath;
}
public void setTargetPath(String targetPath) {
this.targetPath = targetPath;
}
p... |
//Program to Check if a Given String is Palindrome
public class Palindrome {
public static boolean stringpalindome(String str) {
for(int i=0;i<str.length();i++) {
for(int j=str.length()-1;j>=0;j--) {
if(str.charAt(i)==str.charAt(j))
{
return true;
}
else {
return false;
}
} }
return fa... |
package com.flower.api;
import com.alibaba.druid.pool.DruidDataSource;
import com.flower.common.utils.LoggerUtil;
import com.flower.core.dao.builder.ReVFS;
import com.flower.core.dao.interceptors.PagePluginInterceptor;
import org.apache.ibatis.io.VFS;
import org.apache.ibatis.plugin.Interceptor;
import org.apache.iba... |
package org.crazyit.cloud;
import java.io.IOException;
import com.rabbitmq.client.AMQP.BasicProperties;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import com.rabbitmq.client.Consumer;
import com.rabbitmq.client.DefaultConsumer;
import com.r... |
package com.mingrisoft;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.swing.Timer;
public class AlarmClock {
private int delay;
private boolean flag;
public AlarmClock(int d... |
package com.bcq.oklib.utils;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Build;
import java.util.ArrayList;
public class PermissionHelper {
public final static int REQUEST_CODE = 1000;
// group:android.permi... |
package com.cn.ouyjs.controller;
import com.cn.ouyjs.service.TestService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* @author ouyjs
* @date 2019/8/14 20:26
*/
@RestController
@RequestMapping("... |
package exam02.photo;
import java.util.ArrayList;
import java.util.List;
public class PhotoCollection {
List<Photo> photos = new ArrayList<>();
public void addPhoto(String... photoNames) {
for (String item : photoNames) {
photos.add(new Photo(item));
}
}
public void starP... |
package ch.zuehlke.fullstack.hackathon.service;
import ch.zuehlke.fullstack.hackathon.model.Rating;
import ch.zuehlke.fullstack.hackathon.model.Skill;
import ch.zuehlke.fullstack.hackathon.service.http.InsightClient;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.HashMap;
... |
//designpatterns.adapter.PoliceLamp.java
package designpatterns.adapter;
//Ύ―΅Ζΐ࣬³δ΅±ΚΚΕδΥί
public class PoliceLamp {
public void alarmLamp() {
System.out.println("³ΚΟΦΎ―΅ΖΙΑΛΈ£‘");
}
} |
package bean;
import java.util.Date;
/**
* 采购信息实体
* @author computer
*
*/
public class Procurement {
private int procurementId; // 采购编号
private int adminId; //管理员编号
private int costumeId; // 服装编号,采购时每件服装设为单价的0.7倍
private int supplierId; //供应商编号
private String color; //颜色
private String size; ... |
package ec.edu.upse.dao;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Query;
import ec.edu.upse.modelo.TblSgaMateria;
public class MateriaDao extends ClaseDao {
@SuppressWarnings("unchecked")
public List<TblSgaMateria> getMaterias() {
List<TblSgaMateria> retorno = new ArrayLis... |
package gameassignment2;
/**
* Enum representing the GameObject types in the Game.
* @author Sayid Akhundov
*/
public enum ID {
Player,Enemy,Coin,Block,Cherry,Bullet,Hud,Flag;
}
|
package com.symbio.supplier.domains;
import com.symbio.supplier.comparators.StartDateComparator;
import com.symbio.supplier.comparators.EndDateComparator;
import com.symbio.supplier.utils.DateUtils;
import com.symbio.supplier.exceptions.InvalidTimeWindowException;
import java.util.ArrayList;
import java.util.Arrays;
... |
package rpc;
public class Utils {
public static final String OPERATION_SESSION_READ = "read";
public static final String OPERATION_SESSION_WRITE = "write";
public static final String OPERATION_SESSION_CREATE_NEW ="create";
public static final String NOT_FOUND = "not found";
public static final int PROJECT1_PORT_N... |
package com.software1605.androidtraining.adapotr;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget... |
package com.teamdev.business.impl;
import com.teamdev.business.ChatRoomService;
import com.teamdev.business.impl.dto.ChatRoomDTO;
import com.teamdev.business.impl.exception.AuthenticationException;
import com.teamdev.business.impl.exception.ChatRoomAlreadyExistsException;
import com.teamdev.business.impl.excepti... |
package datastructure;
public class CSLL {
private Node head;
private Node tail;
private int size;
public void insertAtStart(int data) {
Node newNode = new Node(data);
if (head == null) {
head = newNode;
tail = newNode;
tail.next = head;
size++;
return;
}
newNode.next = head;
head = n... |
package com.pdd.pop.sdk.http.api.request;
import com.pdd.pop.ext.fasterxml.jackson.annotation.JsonProperty;
import com.pdd.pop.sdk.http.api.response.PddStockDepotPriorityUpdateResponse;
import com.pdd.pop.sdk.http.HttpMethod;
import com.pdd.pop.sdk.http.PopBaseHttpRequest;
import com.pdd.pop.sdk.common.util.JsonUtil;
... |
package com.whoisericballard.gsenchants.enchants;
import java.util.Random;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.entity.Arrow;
import org.bukkit.entity.Arrow.PickupRule;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import... |
package moe.tristan.easyfxml.api;
import java.net.URI;
import java.net.URL;
import java.nio.file.Path;
import javafx.stage.Stage;
import moe.tristan.easyfxml.util.Resources;
import moe.tristan.easyfxml.util.Stages;
import io.vavr.control.Try;
/**
* Represents a stylesheet a supplier of Path. What this means is th... |
package beans;
public enum Bebida{
REFRIGERANTE(3.50),
AGUA(2.50),
SUCO(4.00),
SEM_BEBIDA(0);
public double valorBebida;
Bebida(double valor){
this.valorBebida = valor;
}
public double getValor() {
return this.valorBebida;
}
}
|
package by.gravity.cinema;
import by.gravity.cinema.acessLayout.TicketAccessLayoutImpl;
import by.gravity.cinema.ticketWindow.AbstractTicketWindow;
public class OctoberTicketWindow extends AbstractTicketWindow {
public static OctoberTicketWindow instance;
public static OctoberTicketWindow getInstance() {
if (in... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.inbio.ara.eao.security;
import javax.ejb.Local;
import org.inbio.ara.eao.BaseLocalEAO;
import org.inbio.ara.persistence.taxonomy.UserNomenclaturalGroup;
/**
*
* @author esmata
*/
@Local
public interface... |
package lang;
import java.lang.Double;
import java.math.BigDecimal;
public class DoubleDemo {
public static void main(String[] args) {
//System.out.println(Long.MAX_VALUE);
//System.out.println(Double.MAX_VALUE);
//System.out.println(Integer.MAX_VALUE);
//System.out.println(Float.MAX_VALUE);
/*
System.... |
import java.util.*;
public class Point {
/**
* @param args
*/
public LinkedList<Double> coord;
public GroupePoint groupe;
public Point(){
this.coord=new LinkedList<Double>();
}
// Methode permettant d'affecter un groupe a une point
public void grouper(LinkedList<GroupePoint> g, int paramSim, in... |
/*
* Copyright Andrei Goumilevski
* This file licensed under GPLv3 for non commercial projects
* GPLv3 text http://www.gnu.org/licenses/gpl-3.0.html
* For commercial usage please contact me
* gmlvsk2@gmail.com
*
*/
package net.kamradtfamily.mongorest;
import java.util.EnumSet;
import java.util.HashMap;
import j... |
package com.foxshooter.bean;
import java.io.Serializable;
import java.util.Date;
public class Log implements Serializable {
private static final long serialVersionUID = 8606047481640044707L;
public String pid;
public String logId;
public String domainId;
public String personName;
public String pe... |
package com.madrapps.dagger.test;
import com.madrapps.dagger.models.Vehicle;
public class SuperCar implements Vehicle {
}
|
package com.example.BSD.tasks;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutionException;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import andr... |
/*
* MIT License
* <p>
* Copyright (c) 2017-2018 nuls.io
* <p>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
package com.sprint.crm.service;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.sprint.crm.mapper.RolesMapper;
import com.sprint.crm.pojo.Modules;
import com.sprint.crm.pojo.Roles;
import com.sprint.crm.pojo.RolesPageBean;
import com.spr... |
package com.dassa.vo;
public class SearchUserVO {
private String searchType;
private String searchWord;
private String userType;
private String userType1;
private String userType2;
private String status;
private String endDate;
private String startDate;
private int startPage;
private int endPage;
... |
import javafx.scene.*;
public class Board {
public Cell[][] getBoard() {
return board;
}
/**
* The game board
*/
private Cell[][] board;
private final int SIZE = 8;
/**
* which player is playing 1 or 2
*/
private int currentPlayer;
/**
* initialize t... |
package Locacao;
public class ControleLocacao {
}
|
package com.example.hotel.controller.users.dto.in;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "UserCreate")
public class UserCreateDto {
private String login;
priv... |
package so.team.bukkitlejyon.cmdBlock.api;
import java.util.HashMap;
import java.util.Map;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerMoveEvent;
import org.bukki... |
/*
* Copyright 2017 Goldman Sachs.
* 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... |
package com.dexvis.javafx.editors;
import java.util.List;
import org.controlsfx.control.PropertySheet.Item;
import org.controlsfx.property.editor.PropertyEditor;
import javafx.collections.FXCollections;
import javafx.scene.Node;
import javafx.scene.control.ChoiceBox;
public class ChoiceBoxEditor implemen... |
package com.example.inventorymanagementsystem;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import androidx.appcompat.app.AppCompatActivity;
public class Inventory extends AppCompatActivity {
private EditText ed... |
package com.crmiguez.aixinainventory.service.movement;
import com.crmiguez.aixinainventory.entities.Movement;
import java.util.List;
import java.util.Optional;
public interface IMovementService {
public List<Movement> findAllMovements();
public Optional<Movement> findMovementById(Long movementId);
public... |
package com.gxjtkyy.standardcloud.api.domain.vo.request;
import com.gxjtkyy.standardcloud.common.domain.vo.PageRequestVO;
import com.gxjtkyy.standardcloud.common.domain.vo.RequestVO;
import com.gxjtkyy.standardcloud.common.validation.annotation.NotEmpty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToStri... |
package TwoKindsCNC;
import java.io.FileOutputStream;
import java.io.IOException;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
public class PGV {
static int t... |
package com.example.vehiclehirebookingsystem.http;
import com.fasterxml.jackson.databind.PropertyNamingStrategy.SnakeCaseStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.RequiredArgsConstructor;
import lombok.Value;
/**
* The response object for the request to get cost of hire.
*... |
/*
* Copyright 2002-2022 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 sample.GAControllers;
import javafx.animation.Animation;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.control.Label;
impor... |
package DataStore_fileSYS;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.nio.file.Path;
import java.nio.file.Paths;
public class DataSerializer implements Se... |
/** TableEntry.java
*
* Author: Greg Choice c9311718@uon.edu.au
*
* Created:
* Updated: 27/09/2018
*
* Description:
* Symbol table record class for the CD18 compiler
*
*/
public class TableEntry
{
private String symbolName;
private String symbolType;
private String symbolValue;
... |
package com.bupsolutions.polaritydetection;
import com.martiansoftware.jsap.*;
public class ArgumentsHandler {
public static final String TEST_LONG = "test";
public static final char TEST_SHORT = 't';
public static final String HELP_LONG = "help";
public static final char HELP_SHORT = 'h';
priv... |
package com.metoo.foundation.dao;
import org.springframework.stereotype.Repository;
import com.metoo.core.base.GenericDAO;
import com.metoo.foundation.domain.FreeGoods;
@Repository("freeGoodsDAO")
public class FreeGoodsDAO extends GenericDAO<FreeGoods> {
} |
package com.toda.consultant.fragment;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import com.toda.consultant.HouseInfoActivity;
import com.toda.consultant.R;
i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.