text stringlengths 10 2.72M |
|---|
package cc.xidian.geoUtil;
import java.text.DecimalFormat;
import java.util.Random;
/**
* Created by hadoop on 2016/9/8.
*/
public class RandomOperation {
public static String RandomStringSimple(int length){
String str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
Random ra... |
package com.metoo.module.app.buyer.domain;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
impo... |
package com.formation.model;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
public enum Offer {
HANDICAPED_PARKING("BHP"),
BYCYCLE_HOOK("VH"),
BYCYCLE_HOOK_WITH_RESERVATIONR("VR");
private final String value;
private static final Map<String, Offer> lookup = new ConcurrentHa... |
package com.lfwidget.lib;
import android.animation.AnimatorSet;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.graph... |
package com.crackdevelopers.goalnepal.Miscallenous.video.gallery;
/**
* Created by trees on 9/17/15.
*/
public class VideoItem
{
String vtitle, vlink, vPic; long vId;
public VideoItem(String vtitle, String vlink, String vPic, long vId)
{
this.vtitle = vtitle;
this.vlink = vlink;
... |
package com.karya.bean;
public class RecruitRelievingBean {
private int relievingId;
private String applicantNamePrefix;
private String applicantName;
private String companyName;
private String position;
private String grade;
private String dateOfJoin;
private String dateOfRelieve;
private String line1;
pr... |
/*
* Copyright (C) 2008-12 Bernhard Hobiger
*
* This file is part of HoDoKu.
*
* HoDoKu 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 3 of the License, or
* (at your option) any later... |
package com.psl.training;
public class DisplayMultiplicationMatrix {
static void displayMultiplicationMatrix() {
final int TABLE_SIZE = 12;
int[][] table = new int[TABLE_SIZE][TABLE_SIZE];
for(int i = 0 ; i < table.length ; ++i) {
for(int j = 0 ; j < table[i].length ; ++j) {
table[i]... |
package com.xiezh.findlost.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.xiezh.findlost.domain.Message;
import com.xiez... |
package projecteuler;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public class CircularPrimes {
public static void main(String args[]) throws IOException {
for (int num = 10; num <= 1000000; num++) {
List<Integer> allCombinations = rotatenumber(num);
//System.out.println(a... |
package org.vcssl.nano.plugin.system.xvci1;
import org.vcssl.connect.ConnectorException;
import org.vcssl.connect.EngineConnectorInterface1;
import org.vcssl.connect.ExternalVariableConnectorInterface1;
public class WriteXvci1Plugin implements ExternalVariableConnectorInterface1 {
@Override
public String getVariab... |
package org.giddap.dreamfactory.leetcode.onlinejudge;
/**
* <a href="http://oj.leetcode.com/problems/powx-n/">Pow(x, n)</a>
* <p/>
* Copyright 2013 LeetCode
* <p/>
* Implement pow(x, n).
* <p/>
*
* @see <a href="http://discuss.leetcode.com/questions/228/powx-h">Leetcode discussion</a>
* @see <a href="http://e... |
package com.beike.service.adweb;
/**
* project:beiker
* Title:广告联盟日志
* Description:
* Copyright:Copyright (c) 2011
* Company:Sinobo
* @author qiaowb
* @date Mar 2, 2012 5:28:27 PM
* @version 1.0
*/
public interface AdWebLogService {
/**
* 增加广告联盟日志
* @param adcid
* @param ad... |
package com.eegeo.mapapi.services.routing;
import androidx.annotation.UiThread;
/**
* A listener interface for receiving the results of a completed routing query.
*/
public interface OnRoutingQueryCompletedListener {
/**
* Called when a routing query completes.
*
* @param query The query this r... |
public class Dashboard {
//attributes
int speedometer;
int odometer;
String light;
//constructors
public Dashboard() {
this.speedometer = 0;
this.odometer = 0;
this.light = "Off";
}
public Dashboard(int milesTravelled, int speed) {
if ((milesTravelled >= 0 && milesTravelled <= 999... |
package edu.mit.cci.simulation.client.model.impl;
import edu.mit.cci.simulation.client.EntityState;
import edu.mit.cci.simulation.client.MetaData;
import edu.mit.cci.simulation.client.Simulation;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotat... |
package com.zerobank.pages;
import com.zerobank.utilities.BrowserUtils;
import com.zerobank.utilities.Driver;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.... |
package com.sprint.crm.web.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class AdminController {
@RequestMapping("admin")
public String admin() {
System.out.println("aaa");
return "index";
}
}
|
package sampleproject.gui;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.util.logging.*;
import javax.swing.*;
/**
* The Denny's DVD application loader - a facade to the three modes the
* application can run in. This class will check the command line arguments
* and then call the classe... |
package net.sourceforge.jFuzzyLogic.membership.functions;
import net.sourceforge.jFuzzyLogic.rule.FuzzyRuleSet;
/**
* Membership function that is a (simple) mathematical funcion
* Function: Modulus(x1,x2) = x1 % x2
*
* @author pcingola@users.sourceforge.net
*/
public class MffModulus extends MffFunction {
... |
package com.zxt.framework.dictionary.dao;
import java.util.List;
import com.zxt.compplatform.datasource.entity.DataSource;
import com.zxt.framework.common.dao.DAOSupport;
import com.zxt.framework.dictionary.entity.DictionaryGroup;
import com.zxt.framework.jdbc.ZXTJDBCDataSource;
import com.zxt.framework.jdbc.ZXTJDBCT... |
package com.bjit.spring.model;
import java.sql.Timestamp;
import java.util.List;
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.persisten... |
package uk.co.hexeption.thx.tab;
import org.lwjgl.input.Keyboard;
import uk.co.hexeption.thx.Thx;
import uk.co.hexeption.thx.module.Module;
import uk.co.hexeption.thx.utils.GLUtils;
import java.awt.*;
import java.util.ArrayList;
public class TabGui {
private ArrayList<String> categorys = new ArrayList<>();
... |
package homework;
import java.util.Scanner;
public class display {
public static void main(String[] args) {
// TODO Auto-generated method stub
String java, is, f, un, whole;
Scanner keyboard = new Scanner(System.in);
whole = keyboard.nextLine();
java = whole.substring(0, 4);
is = whole.subst... |
package cn.fuyoushuo.fqbb.view.flagment.zhifubao;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.DialogFragment;
import android.text.Html;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
imp... |
package fr.skytasul.quests.api.options;
@SuppressWarnings ("rawtypes")
public interface OptionSet extends Iterable<QuestOption> {
<T extends QuestOption<?>> T getOption(Class<T> optionClass);
boolean hasOption(Class<? extends QuestOption<?>> clazz);
} |
/*
* 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 hdfcraft;
import java.io.Serializable;
/**
*
* @author SchmitzP
*/
public interface Theme extends Serializable {
/**
... |
/*
* Zzt_JIF_teacher.java
*
* Created on __DATE__, __TIME__
*/
package zzt.view;
import java.io.File;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
import javax.swing.JFileChooser;
import javax.swin... |
package models;
import java.util.*;
public class MaxHeap<T extends Comparable<? super T>> implements MaxHeapInterface<T> {
private ArrayList<T> MaxHeap;
public MaxHeap()
{
MaxHeap = new ArrayList<T>();
}
//siftUp method
public void siftUp() {
int k = MaxHeap.size() -1;
while (k > 0) {
int p = (k-1... |
package com.reacheng.rc.controller.admin;
import com.alibaba.fastjson.JSON;
import com.reacheng.rc.controller.BaseController;
import com.reacheng.rc.entity.AdminLog;
import com.reacheng.rc.entity.Menu;
import com.reacheng.rc.entity.Systems;
import com.reacheng.rc.entity.User;
import com.reacheng.rc.service.AdminLogSer... |
package com.myth.springboot.controller;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.myth.springboot.entity.Msg;
import com.myth.springboot.entity.Question;
import com.myth.springboot.service.QuestionService;
import org.springframework.beans.factory.annotation.Autowired;
i... |
package com.scf.web.webservice.handler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.util.StringUtils;
import com.fasterxml.jackson.core.type.TypeReference;
import com.scf.core.exception.AppException;
import com.scf.core.exception.ExCode;
import com.scf.utils.EncryptUtils;
impor... |
package guava;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import com.google.common.collect.Sets;
public class SetsTest {
@Test
public void testCombineResults() {
Set<String> combinedReceived... |
package com.icic.loans.carloans.houseloans;
public class Test
{
public void m1(int i)
{
System.out.println("int arg method");
}
int m1(float f)
{
System.out.println("float arg method");
return 10;
}
public void m1(String s)
{
System.out.println("string arg method");
}
public static void main(Str... |
/*
* Copyright (c) 2017. by Ludy
* Die Projekte dienen zur Anschauung und können frei genutzt werden.
*/
package org.astra_g.androidpit.locallocation;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
impor... |
package dnoguchi.main;
import dnoguchi.cointoss.Coin;
import dnoguchi.parkingticket.ParkedCar;
import dnoguchi.parkingticket.PoliceOfficer;
import dnoguchi.studentrecords.Statistics;
import dnoguchi.studentrecords.Student;
import dnoguchi.studentrecords.Util;
import dnoguchi.studentrecords.upperRecordsLimitException;
... |
package presentation.customer.view;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.scene.control.ChoiceBox;
import presentation.customer.MainAPP;
import presentation.utility.XMLDao;
import vo.CustomerVO;
import vo.SearchInfoVO;
/**
* Created ... |
package com.tdr.registrationv3.ui.activity.home;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.text.TextUtils;
import android.view.View;
import andr... |
package com.jinglangtech.teamchat.network;
import com.jinglangtech.teamchat.model.ResponseInfo;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.HTTP;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http.Pat... |
package com.tqb.interceptor.login;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
import com.tqb.pojo.User;
public class LoginInterceptor implements... |
/******************************************************************************
* __ *
* <-----/@@\-----> *
* <-< < \\// > >-> *
... |
package ires.corso;
public class Main {
public static void main(String[] args) {
// prova seconda commit
// terzo commit
}
}
|
package com.example.ecoleenligne;
import androidx.annotation.NonNull;
import androidx.appcompat.app.ActionBarDrawerToggle;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.core.view.GravityCompat;
import androidx.drawe... |
package com.aegean.doryssarating;
import android.os.Bundle;
import android.widget.TextView;
import android.app.Activity;
import android.view.Menu;
public class V_Beach_Front_25 extends Activity {
TextView tv;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
set... |
package com.ad.admin.web.exception;
public class UserNotFoundException extends Exception {
private static final long serialVersionUID = -7687209848203066257L;
private static final String DEFAULT_MESSAGE = "User not found !";
public UserNotFoundException() {
this(DEFAULT_MESSAGE);
}
public UserNotFoun... |
package com.wangyang;
import org.springframework.stereotype.Repository;
@Repository
public class UserDao implements IUserDao{
public void show(){
System.out.println("hello");
}
}
|
package org.oatesonline.yaffle.data;
import org.oatesonline.yaffle.entities.impl.League;
public class FootyTubeDataProvider extends DataProvider implements ILeagueDataProvider {
/* (non-Javadoc)
* @see org.oatesonline.yaffle.data.ILeagueDataProvider#getLeague(java.lang.String)
*/
@Override
public League get... |
/*
* Copyright (c) 2008-2020, Hazelcast, 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 ... |
package com.sapl.retailerorderingmsdpharma.FirebaseMessage;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.provider.Settings;
import android.support.v4.app.NotificationCompat;
import andro... |
/*
* 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 org.cjoakim.azure.servicebus;
import java.time.Duration;
import java.util.Date;
import org.cjoakim.azure.AppConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.microsoft.azure.servicebus.IMessageReceiver;
import com.microsoft.azure.servicebus.IMessageSender;
import com.microsoft.azure... |
public class SortedClockList extends ClockList {
public SortedClockList() {
// uses the constructor from the super class
super();
}
/**
* Adds a ClockNode to the list in order, it's sorted
* @param c a Clock object
*/
public void add(Clock c) {
ClockNode curNode... |
package com.theshoes.jsp.member.model.dto;
public class WishListDTO {
private int wishNo;
private String shoesCategoryName;
private String shoesName;
private int shoesPrice;
private String savedName;
public WishListDTO() {
}
public WishListDTO(int wishNo, String shoesCategoryName, String shoe... |
package com.tushuoBolg.form;
/**
* 从前端接收到的分页参数
*/
public class PageRequest {
private Integer currentPage = 1; //当前页码
private Integer pageLimit = 20; //每一页显示数据量.
public Integer getCurrentPage() {
return currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.curre... |
package com.young.web;
import java.text.DateFormat;
import java.util.Date;
import java.util.Locale;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.... |
package com.taotao.service.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cglib.core.CollectionUtils;
import org.springframework.stereotype.Service;
import com.alibaba.druid.util.StringUtils;
im... |
package by.orion.onlinertasks.di.modules;
import android.content.Context;
import android.support.annotation.NonNull;
import com.pushtorefresh.storio.sqlite.StorIOSQLite;
import com.pushtorefresh.storio.sqlite.impl.DefaultStorIOSQLite;
import javax.inject.Singleton;
import by.orion.onlinertasks.data.database.DbOpenH... |
package PageInscription;
import java.net.URL;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.ResourceBundle;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXComboBox;
import com.jfoenix.controls.JFXTextField;
import couche... |
package com.gl.training.pages.pageparts;
import com.gl.training.utils.CommonOperations;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class Header {
Web... |
package com.niit.project.radiom.music;
import com.niit.project.radiom.R;
import com.niit.project.radiom.music.MusicPlayer.TaskType;
import android.app.Service;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.IBinder;
import android.util.Log;
/**
* 用于播放音乐的后台服务
* @author songhui
*... |
package com.hb.framework.business.controller;
import java.sql.ResultSet;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.hb.framewo... |
package Singleton;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
/**
*测试发射和反序列化破解单例模式
* @author Johnsonk
* @date Aug 6, 2018
*/
public class Client2 {
public static void main(String[] args) throws ClassNotFoundException, NoSuchMethodException, SecurityEx... |
package com.lanbaoapp.daynightdemo;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import java.util.List;
/**
* Created by lx on 2017/11/15.
*/
class MyAdapt... |
package com.otemainc.foodfuzz.db;
public class DbHelper {
}
|
package br.assembleia.dao;
import java.util.List;
import br.assembleia.entidades.Membro;
import br.assembleia.enuns.EnumSexo;
import br.assembleia.enuns.EnumSituacao;
public interface MembroDAO {
Membro getById(final Long id);
List<Membro> listarTodos();
void salvar(Membro membro);
void editar(Me... |
package servlet;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import dom... |
package com.nickkong.commonlibrary.ui.activity;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.WindowManager;
... |
package com.kgdsoftware.bible.model;
// Ussage:
// Query version status - if complete use local table
// if not complete, query the version status table
// if
// create version status table
// query status of a verseId
// insert status record - GETTING
// update status record - GOTTEN
/**
*
* @author hen... |
package KittyEngine.Graphics;
import android.opengl.GLES31;
import android.renderscript.Matrix4f;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import java.util.TreeMap;
import KittyEngine.Collision.CollisionStatics;
import KittyEngine.Container.KArrayList;
import KittyEngine.Ma... |
package com.example.sample.usertribe.utils;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.support.v7.app.AlertDialog;
import com.example.sample.usertribe.R;
import java.text.S... |
package patterns.iterator.menu;
import java.util.ArrayList;
import java.util.Iterator;
public class PancakeHouseMenuIterator implements Iterator {
Iterator iterator;
public PancakeHouseMenuIterator(ArrayList menuItems) {
this.iterator = menuItems.iterator();
}
@Override
public boolean ha... |
package com.generic.core.utilities;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.xssf.usermodel... |
package com.kacha.wapproj.service;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.kacha.wapproj.entity.Commodity;
import com.kacha.wapproj.entity.OrderInfo;
import com.kacha.wapproj.entity.User;
import com.kacha.wapproj.mapper.OrderMapper;
import com.kacha.wapproj.mapper.UserMapper;
imp... |
/**
* Copyright (C) 2015-2016, Zhichun Wu
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... |
public interface Statement
{
public void execute (CodeGen codeGen, SymbolTable table);
public class Dummy implements Statement
{
public void execute (CodeGen codeGen, SymbolTable table) { } ;
}
public class Assignment implements Statement
{
Expression.Designator designator;
... |
package com.lesports.airjordanplayer.ui.parser;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.lesports.airjordanplayer.data.StreamInfoItem;
import com.lesports.airjordanplayer.data.VideoStreamItemPrivate;
import com.lesports.airjordanplayer.ui.VideoStrea... |
package common.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
public @interface FlushCookies {
boolean af... |
package coupon.fwh.com.coupon;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import andr... |
package seedu.project.model;
import javafx.beans.Observable;
import javafx.collections.ObservableList;
import seedu.project.model.project.Project;
import seedu.project.model.tag.GroupTag;
/**
* Unmodifiable view of all projects
*/
public interface ReadOnlyProjectList extends Observable {
/**
* Returns an ... |
package br.com.gaia.DAO;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import br.com.gaia.model.RecycledMaterial;
public class RecycledMaterialDAO {
private Connection connection;
public ... |
package EmployeeManagementProject;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JPasswordField;
import javax.swing.... |
import java.util.*;
public class TestCol4
{
public static void main(String[] args)
{
Set h = new HashSet();
h.add("One");
h.add("Two");
h.add("Three");
h.add("Four");
h.add("One");
h.add("Four");
List l = new ArrayList();
l.add("One");
... |
package creational.abstractfactory.my.product;
// B1 产品
public class ProductB1 implements ProductB{
@Override
public void reportName() {
System.out.println("ProductB1");
}
}
|
package com.pizza.service.order.junits;
import java.util.Properties;
import org.junit.Before;
import org.junit.Test;
import com.pizza.service.order.PropertiesReaderHelper;
import org.junit.Assert;
import junit.framework.TestCase;
public class PropertiesReaderTest extends TestCase{
PropertiesReaderHelper testProp... |
package fj.swsk.cn.eqapp.main.C;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.drawable.BitmapDrawable;
import android.location.Location;
import android.locati... |
package CSVwriter;
enum status {
TEST,
COMMON,
PREMIUM,
COLLABORATION_PAUSED,
COLLABORATION_CANCELED
}
|
package com.myecommerce.model;
import com.myecommerce.entity.UserData;
public class MUserData extends Model {
private long idUser;
private String name;
private String lastname;
private String phone;
private String address;
public MUserData(UserData userData) {
this.idUser = userData.getIdUser();
this.name ... |
package com.buddybank.mdw.dataobject.domain;
public enum Currency {
EUR, USD, GBP;
}
|
import com.fasterxml.jackson.databind.JsonNode;
import common.Severity;
import common.exceptions.BusinessRuntimeException;
import common.util.MessageUtil;
import common.vo.Message;
import filters.BasicAuthenticationFilter;
import play.Application;
import play.GlobalSettings;
import play.Logger;
import play.api.mvc.Esse... |
package codePlus.Test2021.Practice;
import java.util.*;
public class No_6063 {
public static int[] solve(int arr[]) {
int [] s = new int[6];
for(int i=0; i<s.length; i++) {
}
return s;
}
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
while(true) {
int ... |
package com.wrathOfLoD.Models.Inventory;
import com.wrathOfLoD.Controllers.InputStates.Action.Action;
import com.wrathOfLoD.Controllers.InputStates.ActionVendor;
import com.wrathOfLoD.Models.ActionsHolder;
import com.wrathOfLoD.Models.Items.TakeableItem;
import com.wrathOfLoD.Observers.ModelObservers.EquipmentObserve... |
package com.lenovohit.hwe.treat.model;
import java.util.List;
import java.util.Map;
public class ConsultDept {
private Map<String,List<Department>> map;
private List<String> typeList;
private List<Department> deptList;
public List<String> getTypeList() {
return typeList;
}
public void setTypeList(List<String>... |
package com.daydvr.store.view.home;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.content.ContextCompat;
import and... |
package at.fhooe.mc.calendar;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import java.text.Dat... |
package com.dadashova.aytaj.callsignature.interfaces;
public interface NotificationCallBack {
}
|
package com.atguigu.mvc;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.atguigu.entity.User;
@Service
public class UserService {
@Autowired
private UserDao ud;
public User getUserById() {
//校验
//查询
User user = ud.getUserById();
... |
package controller;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import model.GasStation;
import model.IPredictionStation;
import model.Price;
import model.Validation;
/**
* Verwaltet die Vorhersagen für einen Tanksto... |
package web.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
... |
package spring0315;
import org.springframework.context.support.GenericXmlApplicationContext;
import Scope.MemberList;
public class ScopeTest {
public static void main(String[] args) {
GenericXmlApplicationContext ctx= new GenericXmlApplicationContext("scope/scope1.xml");
MemberList ins=ctx.getBean("m1"... |
package br.com.transactions.service;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import org.springframework.stereotype.Service;
import br.com.transactions.domain.model.SummarySale;
import br.com.transactions.domain.repository.SummarySaleRepository;
import br.com.transactions.dto.Summa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.