text stringlengths 10 2.72M |
|---|
package controller;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.List;
import view.View;
import model.*;
public class Controller {
private View view;
public Controller(View view)
{
this.view=view;
this.view.start(new Start());
}
... |
package Lesson3.sockets.hw2.final_chat;
import java.io.*;
import java.net.*;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.concurrent.atomic.AtomicBoolean;
public class Server implements IPortAndAddress {
private static int uniqueId;
private static ArrayList<ClientThread> clients;
... |
package socialapp.user.slack;
import socialapp.user.SocialAppUser;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class User extends SocialAppUser {
private String id;
private String team_id;
private String name;
private boolean delet... |
package org.osource.scd.param;
import lombok.Data;
import org.osource.scd.constant.ParseType;
import org.osource.scd.parse.BusinessDefineParse;
import org.osource.scd.parse.error.DefaultErrorRecord;
import org.osource.scd.parse.error.ErrorRecord;
import org.osource.scd.parse.format.CellFormat;
import java.lang.reflec... |
package com.huotn.bootjsp.bootjsp.mapper;
import com.huotn.bootjsp.bootjsp.pojo.Role;
import org.apache.ibatis.annotations.*;
import java.util.List;
/**
* @Description: RoleMapper
*
* @Auther: leichengyang
* @Date: 2019/4/29 0029
* @Version 1.0
*/
@Mapper
public interface RoleMapper {
@Select("select * fr... |
/*
* 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 main;
public class Mediu {
int x=0; //variabila globala
void method1( ) {
int x=1,y;//variabil;e locale metodei method1
y=x; // y=1;
}
void method2( ) {
int z=1;//variabila locala metodei method2
System.out.println(x);
x=3+z; // y este necunoscuta -> deci nu se poate face aceasta oper... |
package uz.pdp.lesson5task1.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import uz.pdp.lesson5task1.entity.Turnikit;
import uz.pdp.lesson5task1.entity.User;
import java.util.UUID;
public interface TurniketRepository extends JpaRepository<Turnikit, UUID> {
Turnikit findByOwner(User o... |
package vista.Cartas;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.Window... |
package com.ylz.dto;
import com.ylz.entity.Seckill;
import com.ylz.enums.SeckillEnums;
import java.util.Date;
/**
* Created by liuburu on 2017/2/18.
*/
public class ExposerResult {
private boolean exposed; //是否暴露秒杀地址
private int seckillId; //秒杀产品ID
private String md5; //加密秒杀地址
priva... |
package com.nisira.core.dao;
import com.nisira.core.entity.*;
import java.util.List;
import android.database.sqlite.SQLiteDatabase;
import com.nisira.core.database.DataBaseClass;
import android.content.ContentValues;
import android.database.Cursor;
import com.nisira.core.util.ClaveMovil;
import java.util.ArrayList;
im... |
package com.gxtc.huchuan.ui.search;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.LinearLayoutManager;
import android.text.TextUtils;
import android.view.View;
import android.widget.TextView;
import com.gxtc.commlibrary.base.BaseRecyclerAd... |
package com.darwinsys.aidldemo.server;
import androidx.appcompat.app.AppCompatActivity;
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.B... |
package pages;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.How;
public class testmeappHome {
@FindBy(how=How.PARTIAL_LINK_TEXT,using="SignUp")
public static WebElement signup;
@FindBy(how=How.PARTIAL_LINK_TEXT,using="SignIn")
publi... |
/**
* This class is generated by jOOQ
*/
package com.gogo.schema.tables;
import com.gogo.schema.Bb;
import com.gogo.schema.Keys;
import com.gogo.schema.tables.records.BbOrderRecord;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
import org.jooq.Fie... |
package com.coincoinche;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class CoincoincheApplication {
public static void main(String[] args) {
SpringApplication.run(CoincoincheApplication.class, args);
}
}... |
package com.holodec.todo.action;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import com.holodec.models.util.HibernateListener;
import com.holodec.todo.model.ToDo;
import com.opensymphony.xwork2.ActionSupport;
public class ToDoAddAction extends ActionSupport {
private String newDo;
public... |
package fr.skytasul.quests.utils.logger;
import java.util.concurrent.CompletionException;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.bukkit.command.CommandSender;
import fr.skytasul.quests.utils.Lang;
public cla... |
package cap5exercices.example1;
import java.util.Scanner;
public class OwnRandomNumberGame {
public static void main(String[] args) {
boolean end = false;
exit:
do {
Scanner input = new Scanner(System.in);
int resp;
int tries = 0;
boolean guess = false;
Double d = Math.random();//... |
package com.example.agent;
import javassist.ClassClassPath;
import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtMethod;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.instrument.ClassFileTransformer;
import java.lang.instrument.IllegalClassFormatException;
import java.n... |
package com.example.fontext;
import java.io.BufferedInputStream;
import java.io.InputStream;
import java.util.List;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.provider.ContactsContract;
import android.view.Layo... |
package org.androidtown.lab31;
import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.view.ContextMenu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
public class MainActivity extends Activity {
Button button;
@Override
... |
package com.how2java.tmall.util;
public class PortUtil {
}
|
/**
* @author zzs
* @create_date 2019.8.1
* @description 教师相关业务服务接口
**/
package com.app.service;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
import com.code.model.Class;
import com.code.model.Contest;
import com.code.model.OnePaper;
import com.code.model.OneSimproblem;... |
package src;
public class Bicicleta implements iMusicable{
private String marca;
private String color;
protected int velocidad=0;
protected int acelerar;
protected int freno;
public Bicicleta(String marca, String color, int acelerar, int freno) {
this.marca=marca;
this.color... |
package org.hnrw.chin.integrators;
import org.dom4j.Element;
import org.dom4j.Document;
import org.dom4j.io.SAXReader;
import be.mxs.common.util.db.MedwanQuery;
import java.net.URL;
import java.util.Iterator;
import java.util.Date;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLExce... |
package com.eshop.model.service;
import java.util.List;
import com.eshop.model.dao.DBException;
import com.eshop.model.dao.DaoFactory;
import com.eshop.model.dao.OrdersDao;
import com.eshop.model.entity.Order;
public class OrdersService {
DaoFactory daoFactory = DaoFactory.getInstance();
public void createOrder ... |
package com.rednovo.ace.core.session;
import android.text.TextUtils;
import com.alibaba.fastjson.JSONObject;
import com.rednovo.ace.common.Globle;
import com.rednovo.ace.common.KeyGenerator;
import com.rednovo.ace.communication.client.ClientSession;
import com.rednovo.ace.data.cell.MsgLog;
import com.rednovo.ace.data... |
package com.example.a0924;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.net.wifi.p2p.WifiP2pManager;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android... |
package com.trump.auction.web.controller;
import com.trump.auction.cust.api.NotificationDeviceStubService;
import com.trump.auction.cust.enums.NotificationDeviceTypeEnum;
import com.trump.auction.cust.model.NotificationDeviceModel;
import com.trump.auction.web.service.NotificationDeviceService;
import com.trump.auctio... |
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
public class Driver {
public static void main(String[] args) throws IOException {
double start, end;
Maze fiveMaze = readMazeIn("5x5maze.txt"); ... |
package lxy.liying.circletodo.db;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import java.util.ArrayList;
import java.util.List;
import lxy.liying.circletodo.app.App;
import lxy.liying.circletodo.domain.DateEvent;
import lxy.liying.circletodo.utils.... |
package containers;
import java.awt.Rectangle;
import java.util.ArrayList;
import java.util.Scanner;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.rapplebob.ArmsAndArmorChampions.State;
public class Menuholder extends Content{
public Menuholder(String name, int x, int y) {
s... |
/*
* 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 model;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.... |
package net.tecgurus.persistence.dao;
import java.util.List;
import net.tecgurus.entities.Banco;
import net.tecgurus.entities.Cliente;
public interface ClienteDAO {
List<Cliente> findAll();
List<Cliente> findMatches(String name, String aP, String aM);
List<Cliente> findMatches2(String name, String aP, String a... |
package br.com.julianocelestino.domain;
import br.com.julianocelestino.persistence.NodeJsonType;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Type;
import org.hibernate.annotations.TypeDef;
import org.hibernate.annotations.TypeDefs;
import javax.persistence.*;
import java.util.A... |
package com.demo.tutorial;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.ReactiveRedisConnectionFactory;
import org.springframework.data.redis.core.ReactiveRedisOperations;
import org.springframework.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 Adapter;
/**
*
* @author ifpb
*/
public class ClasseExistente {
String pinoFase;
String pinoNeutro;
String pino... |
package com.example.sosso.newsapplication.database;
import com.example.sosso.newsapplication.database.DAOs.ArticleDAO;
import com.example.sosso.newsapplication.models.Article;
import androidx.room.Database;
import androidx.room.RoomDatabase;
@Database(entities = {Article.class}, version = 1)
public abstract class Ar... |
package gateway.persist;
import domain.TeacherEntity;
import java.util.ArrayList;
import java.util.List;
public class TeacherDBGatewayStub implements TeacherDBGateway {
public List<TeacherEntity> persistTeacherInvocations = new ArrayList<>();
@Override
public void persist(TeacherEntity teacher) {
... |
/*
* Copyright (c) TIKI Inc.
* MIT license. See LICENSE file in root directory.
*/
package com.mytiki.blockchain.features.latest.block;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
import java.util.Optional;
public interface BlockRepository extends JpaRepository<BlockDO, L... |
package common;
import java.awt.BorderLayout;
import java.time.LocalDate;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.WindowConstants;
import datepicker.JDatePicker;
public class DatePickerDialog ext... |
package com.feng.RandomAccessFileTest;
import org.junit.Test;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
public class test2 {
@Test
public void test() throws IOException {
RandomAccessFile f = new RandomAccessFile("rando... |
package com.corejava.multithreading;
//Custom Thread
public class MultiThreadingDemo extends Thread {
@Override
public void run() {
System.out.println("Thread:"+Thread.currentThread().getName());
System.out.println("MultiThreadingDemo:run()");
for(int i=1;i<=5;i++) {
try {
//... |
package com.neu.cloudwebapp.file;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.AmazonS3Client;
import com.amazonaws.services.s3.model.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.an... |
package org.sansorm.sqlite;
import org.junit.AfterClass;
import org.junit.Test;
import org.sansorm.TestUtils;
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.util.Date;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import java.util.stream.Collectors;
import... |
/*
* Created on Mar 14, 2007
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.citibank.ods.modules.product.prodriskcatprvt.functionality.valueobject;
import com.citibank.ods.entity.pl.TplProdRiskCatPrvtEntity;
/**
... |
// File : MatrixCellTest.java
// PIC : Nur Latifah Ulfah - 13514015
import org.junit.*;
import static org.junit.Assert.*;
/**
*
* @author Nur Latifah Ulfah - 13514015
*/
public class MatrixCellTest {
@Test
public void test_setCell() {
System.out.println("Test setCell");
MatrixCell m = new MatrixCell(5,5);... |
package org.dbdoclet.test.sample;
import java.io.Serializable;
public interface Realisable extends Thinkable {
public void realise(String what) throws Exception;
}
|
package Chess;
import java.util.ArrayList;
import java.util.List;
public class Game {
Player p1, p2;
Board board;
List<Move> moves;
boolean playerOne;
Game(String player1, String player2) {
p1 = new Player(1, player1);
p2 = new Player(2, player2);
board = new Board();
... |
// https://leetcode.com/problems/rotate-list/
// #linked-list #two-pointer
/**
* Definition for singly-linked list. public class ListNode { int val; ListNode next; ListNode() {}
* ListNode(int val) { this.val = val; } ListNode(int val, ListNode next) { this.val = val;
* this.next = next; } }
*/
class Solution {
p... |
package com.zhicai.byteera.activity.community.dynamic.view;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.zhicai.byteera.MyApp... |
package com.ece492T5.smartlamp;
import android.graphics.Color;
import com.ece492T5.smartGesture;.models.Mood;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Unit Test for Lamp Class
*/
public class LampTest {
private Lamp Lamp;
@Before
public void setUp(){
... |
package com.gsccs.sme.plat.svg.model;
import java.util.Calendar;
public class GclassT {
private Long id;
private Long parid;
private String title;
private String logo;
private String templet;
private String url;
private String status;
private Integer clicknum;
private String pagemark;
private Integer index... |
package com.wipro.exceptionhandling;
import java.util.Scanner;
public class Ex1 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scan=new Scanner(System.in);
int n=0,ind=0;
int a[]=null;
try
{
System.out.println("Enter the number of elements in the array");
n=I... |
package com.scut.service.impl;
import com.scut.dao.BookImageDAO;
import com.scut.entity.BookImage;
import com.scut.service.BookImageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class BookImageServiceImpl implements BookImageServ... |
/**
*/
package iso20022.impl;
import org.eclipse.emf.ecore.EClass;
import iso20022.IndustryMessageSet;
import iso20022.Iso20022Package;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Industry Message Set</b></em>'.
* <!-- end-user-doc -->
*
* @generated
*/
public class IndustryM... |
/**
* @Description: TODO
* @author weifu.du
* @date Nov 12, 2013
* @version V1.0
*/
package com.datayes.textmining.Utils;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
/**
* @author weifu
*
*/
@SuppressWarnings("serial")
public class Label implements Serializable {
public in... |
package br.com.moryta.myfirstapp.pets;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.List;
import br.com.moryta.myfirstapp.R;
import br.com.m... |
package xpadro.spring.security.web;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class AppController {
@Request... |
package com.example.testswagger.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;
import java.io.Serializable;
@Component
@ApiModel("用户类")
public class User implements Serializable {
@ApiModelProperty("用户名")
//@Jso... |
package it.bibliotecaweb.servlet.utente;
import java.io.IOException;
import java.util.HashSet;
import java.util.Set;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSer... |
package com.github.web.servlet;
/**
* 个人主页
*
* @autor lzy
*/
import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.domain.User;
import com.github.domain.follow;
import com.github.domain.simpletext;
import com.github.service.TextService;
import com.github.service.Us... |
package com.lzm.KnittingHelp.model;
public interface Section {
int getId();
String getTitle();
String getContent();
int getPatternId();
int getOrder();
int getActivePartId();
}
|
package algoritmos.lista_exerc2;
import java.util.Scanner;
public class Exerc10 {
public static void main(String[] args) {
int valor1, valor2, valor3;
Scanner abobrinha = new Scanner(System.in);
System.out.print("Favor inserir o primeiro valor: ");
valor1 = abobrinha.nextInt();
System.out.print("Favor i... |
package com.driva.drivaapi.service;
import com.driva.drivaapi.mapper.dto.InstructorDTO;
import com.driva.drivaapi.model.user.Instructor;
import java.util.List;
public interface InstructorService {
List<InstructorDTO> findAll();
InstructorDTO find(Long id);
Instructor findEntity(Long id);
Inst... |
public class TesteSistema {
public static void main(String[] args) {
//Cria o gerente e seta a senha.
Gerente g = new Gerente();
g.setSenha(2222);
//Cria o Sistema e autentica o gerenete acima.
SistemaInterno si = new SistemaInterno();
si.autentica(g);
}
}
|
package lotto;
import java.util.Random;
public class Lottomaschine {
public int[] auswahl = new int[6];
public void ziehung() {
int x = 0;
int i = 0;
boolean check = true;
while (i < 6) {
x = zug();
check = check(x, auswahl, i);
if (che... |
package br.com.fiap.bo;
import java.util.Date;
import java.util.List;
import br.com.fiap.beans.Acao;
import br.com.fiap.dao.AcaoDAO;
/**
* Classe com as regras de negócio da Ação
* @since 1.0
* @version 2.0
* @author @author Lucas 74795, Mateus 74793, Gustavo 74816, Estevão 74803
*
*/
public class AcaoBO {
/*... |
package com.drugstore.pdp.product.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class ProductController {
@RequestMapping("/sale")
public String daliySaleInvoice(){
return "sales/sale";
}
}
|
package com.examples.io.linkedlists;
public class ReverseALinkedList {
public static void main(String[] args) {
Node node = new Node(1);
node.next = new Node(2);
node.next.next = new Node(3);
node.next.next.next = new Node(4);
node.next.next.next.next = new Node(5);
... |
package com.joda.tentatime;
import android.app.Activity;
import android.app.ListActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
import java.util.List;
/**
* Created by daniel on... |
package me.kpali.wolfflow.core.event;
import me.kpali.wolfflow.core.cluster.IClusterController;
import me.kpali.wolfflow.core.config.ClusterConfig;
import me.kpali.wolfflow.core.exception.TaskLogException;
import me.kpali.wolfflow.core.exception.TryLockException;
import me.kpali.wolfflow.core.logger.ITaskLogger;... |
import static org.junit.Assert.assertEquals;
import controller.Sharpen;
import image.Image;
import image.Pixel;
import java.util.ArrayList;
import java.util.List;
import model.MultiLayerImageProcessingModel;
import model.SimpleMultiLayerImageProcessingModel;
import org.junit.Test;
/**
* Test class for the sharpen co... |
/*
Compare two linked lists A and B
Return 1 if they are identical and 0 if they are not.
Node is defined as
class Node {
int data;
Node next;
}
*/
int CompareLists(Node headA, Node headB) {
// This is a "method-only" submission.
// You only need to complete this method
Node temp1 = ... |
/*
* Welcome to use the TableGo Tools.
*
* http://vipbooks.iteye.com
* http://blog.csdn.net/vipbooks
* http://www.cnblogs.com/vipbooks
*
* Author:bianj
* Email:edinsker@163.com
* Version:5.8.0
*/
package com.lenovohit.hwe.org.model;
import java.util.Set;
import java.util.TreeSet;
import javax.persistence... |
package br.com.ShoolDrive.view;
import org.springframework.security.access.annotation.Secured;
import org.springframework.stereotype.Controller;
@Controller
@Secured("ROLE_PROFESSOR")
public class PrincipalProfessorView {
public PrincipalProfessorView() {
}
}
|
package com.company.exercise;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* <h1>Table</h1>
* Table Class - contains the attributes of the table
* <p>
* responsible for containing the data about the table for the game
* </p>
*
* @author aafonya
* @since 2017-05
*/
public class Table {
... |
/*
* Copyright Verizon Media, Licensed under the terms of the Apache License, Version 2.0. See LICENSE file in project root for terms.
*/
package com.yahoo.cubed.dao;
import com.yahoo.cubed.model.Field;
import java.util.List;
import org.hibernate.Session;
/**
* Field data access object.
*/
public interface Field... |
package egovframework.com.file.controller;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import ... |
package com.whl.netsongdata;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
public class SearchUtil {
p... |
package Dao;
import java.sql.SQLException;
import java.util.List;
import entity.Ticket;
import entity.User;
public interface TickeDao {
/**
* 添加
* @param ticket
* @return
* @throws Exception
*/
boolean add(String station_arrival,String station_depart,String depart_date,String depart_time,int ticket_num... |
package org.sayesaman.app3;
import android.app.Activity;
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 org.sayesaman.R;
import org.s... |
package com.beike.common.interceptor.trx;
import java.io.Serializable;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.beike.interceptors.Ba... |
package OOP.EX10_INTERFACES_AND_ABSTRACTION.E05_Тelephony;
public interface Browsable {
String browse();
}
|
package com.emmanuj.todoo.db;
/**
* Created by emmanuj on 11/12/15.
*/
public class DBTableField {
private String name;
private String type;
private String properties;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
pu... |
package com.youthlin.demo.ioc.dao;
import com.youthlin.demo.ioc.po.User;
import java.util.List;
/**
* 创建: youthlin.chen
* 时间: 2017-08-11 15:15.
*/
public interface IUserDao {
void save(User user);
List<User> list();
}
|
package com.huffmancoding.pelotonia.funds;
import java.math.BigDecimal;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
/**
* This is a column in the roster file that has a header title an values for each te... |
package com.cheese.radio.ui.home.page.banner;
import com.binding.model.layout.rotate.PagerRotateListener;
import com.binding.model.layout.rotate.TimeEntity;
import com.binding.model.model.inter.Inflate;
import com.binding.model.model.inter.Parse;
import java.util.ArrayList;
import java.util.List;
/**
* @param <E> ... |
package com.lsjr.zizisteward.mvp.recycle;
import android.support.annotation.IntDef;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Created by admin on 2017/5/22.
*/
public class RecycleBean {
public static final int TYPE_1=0X11;
public static fina... |
package pkgcpmain;
/**
* This class is on the classpath, i.e. in the unnamed module.
*/
/**
* This class cannot be compiled in Eclipse because of missing dependencies, might be an Eclipse problem
* as cpmain cannot access modb.
*/
public class Main {
public static void main(String[] args) {
... |
/*
* 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 com.pmm.sdgc.converter;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import javax.persistence.Attrib... |
package com.xeland.project;
import java.util.Locale;
public interface ClassNa {
ClassTh getDisplayName();
default String getDisplayName(final Locale locale) {
return "";
}
}
|
package com.company.iba.ialeditor.model;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.model.ModelWrapper;
import java.util.HashMap;
import java.util.Map;
/**
* <p>
* This class is a wrapper for {@link Dictionary}.
* </p>
*
* @author Brian Wing Shun Chan
* @see Dictionary
* @gener... |
/**
* @(#) Coller.java
*/
package command;
import receiver.Buffer;
/**
* La commande qui exécute l'action coller() du buffer.
*/
public class Coller extends Command {
public Coller(Buffer buffer) {
this.buffer = buffer;
}
@Override
public void execute() {
buffer.coller();
}
}
|
package com.example.utils;
import com.example.ConfigFileReader;
import io.cucumber.java.Scenario;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
imp... |
package com.example.krishnaghatia.break_no_chain.Controllers;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import com.example.krishnaghatia.break_no_chain.Models.Goa... |
package slimeknights.tconstruct.library.client;
import net.minecraft.util.ResourceLocation;
import slimeknights.mantle.client.gui.GuiElement;
import slimeknights.tconstruct.library.Util;
public interface Icons {
ResourceLocation ICON = Util.getResource("textures/gui/icons.png");
GuiElement ICON_Anvil = new Gui... |
package io.snice.buffer;
import io.snice.buffer.impl.EmptyBuffer;
import org.hamcrest.CoreMatchers;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.function.Consumer;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.not;
imp... |
package com.trump.auction.back.activity.model;
import lombok.Data;
import lombok.ToString;
import java.util.Date;
@Data
@ToString
public class ActivityShare {
private Integer id;
private String activityId;
private Integer shareEntrance;
private String activityName;
private Date startTime;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.