text stringlengths 10 2.72M |
|---|
import java.util.Scanner;
/**
* Counts up to the users number with commas inbetween
* @author Cole Girling
*/
public class Main {
/**
* The method that is executed when you hit the run button.
* @param args the command line arguments
*/
public static void main(String[] args) {
//scanner... |
package com.tencent.mm.plugin.appbrand.jsapi.share;
import com.tencent.mm.plugin.appbrand.ipc.AppBrandMainProcessService;
import com.tencent.mm.plugin.appbrand.jsapi.a;
import com.tencent.mm.plugin.appbrand.l;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
import org.json.JSONOb... |
package ru.lischenko_dev.fastmessenger.vkapi.models;
public class VkPollAnswer {
public long id;
public int votes;
public String text;
public int rate;
}
|
package com.example.konovodov_hw_131;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import java.util.HashSet;
import java.util.Set;
public class... |
package servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import beans.Book;
import dao.BookDao;
public class BookUpdate extends HttpServlet {
public v... |
/*
* This software is licensed under the MIT License
* https://github.com/GStefanowich/MC-Server-Protection
*
* Copyright (c) 2019 Gregory Stefanowich
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... |
package cn.timebusker.web;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframewo... |
/**
*
* 项目名称:schedule
* 类名称:ScheduleServlet
* 类描述:
* 创建人:zhoushun
* 创建时间:2012-11-27 下午06:45:17
* 修改人:zhoushun
* 修改时间:2012-11-27 下午06:45:17
* 修改备注:
* @version
*
*/
package com.wonders.schedule.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import java... |
package com.heartmarket.model.dto.response;
import java.util.List;
import com.heartmarket.model.dto.Trade;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class MyBuyList {
MyBuyListTrade bTrade;
int eval;
}
|
/*
* Copyright 2013 MovingBlocks
*
* 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 t... |
/* *****************************************
* CSCI205 - Software Engineering and Design
* Spring 2015 *
* Name: Morgan Eckenroth
* Date: Mar 18, 2015
* Time: 11:27:02 PM *
* Project: csci205
* Package: lab14
* File: KelvinConvertUtility
* Description:
* Basic utility methods for converting to kelvin
* ***... |
package com.google.android.exoplayer2;
public final class w$a {
public int adO;
public Object adz;
public Object aeX;
public long aeY;
public long[] aeZ;
public long aet;
public int[] afa;
public int[] afb;
public int[] afc;
public long[][] afd;
public long afe;
public ... |
package com.jobinesh.example.grpc.server;
import io.grpc.stub.StreamObserver;
public class HelloWorldServiceImpl extends HelloWorldServiceGrpc.HelloWorldServiceImplBase {
@Override
public void sayHello(HelloWorldServiceOuterClass.HelloWorldRequest request,
StreamObserver<HelloWorldServiceOuterClass.HelloW... |
package sample;
public class ChatServerModel {
private String portNumber;
public String getPortNumber() {
return portNumber;
}
public void setPortNumber(String portNumber) {
this.portNumber = portNumber;
}
public ChatServerModel(){
}
}
|
package org.firstinspires.ftc.tekerz;
/**
* Created by FTC11109 on 11/16/2016.
*/
public class Constants {
// constants for servos EDIT THESE WHEN TESTING THE SYSTEM!!
public static final double DIRECT_PARTICLE_BASE = 0.0;
public static final double DIRECT_PARTICLE_MIN = 0.0;
public static final dou... |
package com.tencent.mm.plugin.wallet.pay.ui;
import com.tencent.mm.plugin.wallet_core.c.w;
import com.tencent.mm.plugin.wallet_core.ui.n.b;
class WalletPayCustomUI$1 implements b {
final /* synthetic */ WalletPayCustomUI pfT;
WalletPayCustomUI$1(WalletPayCustomUI walletPayCustomUI) {
this.pfT = walle... |
//
// FingerDot
//
// Created by Eduardo Almeida and Joao Almeida
// LPOO 13/14
//
package pt.up.fe.lpoo.fingerdot.test;
import org.junit.*;
import pt.up.fe.lpoo.fingerdot.logic.singleplayer.LeaderboardEntry;
import pt.up.fe.lpoo.fingerdot.logic.singleplayer.LeaderboardManager;
import static org.junit.Assert.*;
... |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of... |
package com.lnunno.musicapp.adapters;
import android.content.Context;
import android.widget.ArrayAdapter;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* Keeps track of items in itself.
* <p/>
* Use getContext from ArrayAdapter to get the Context.
* <p/>
* Created by Lucas ... |
package com.tencent.mm.plugin.setting.ui.setting;
import android.graphics.Bitmap;
import com.tencent.mm.aa.g.b;
import com.tencent.mm.aa.q;
import com.tencent.mm.sdk.platformtools.x;
class PreviewHdHeadImg$3 implements b {
final /* synthetic */ PreviewHdHeadImg mQr;
final /* synthetic */ Bitmap mQt;
Prev... |
package cs455.deleter;
import java.io.IOException;
import java.util.HashMap;
import java.util.LinkedList;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
public class DeleteMapper extends Mapper<LongWritab... |
package com.project.linkedindatabase.domain.Type;
import com.project.linkedindatabase.domain.BaseEntity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@NoArgsConstructor
public abstract class BaseType extends BaseEntity {
private String name;// name or description ... |
package theekransje.douaneapp.API;
import android.os.AsyncTask;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONObject;
import java.io.Console;
import java.net.HttpURLConnection;
import java.util.ArrayList;
import theekransje.douaneapp.Domain.DouaneStatus;
import theekransje.douaneapp.Domain... |
package id.ac.ub.ptiik.papps.parsers;
import java.util.ArrayList;
import id.ac.ub.ptiik.papps.base.Karyawan;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public class KaryawanListParser {
public static ArrayList<Karyawan> Parse(String JSONString){
try {
JSONObject ob... |
/*
* 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.mertbilgic.yazlab2;
/**
*
* @author mertbilgic
*/
//https://stackoverflow.com/questions/2832472/how-to-return-2-values-... |
package com.rockwellcollins.atc.limp.reasoning.visitor;
import com.rockwellcollins.atc.limp.StringLiteralExpr;
public class StringHack extends LimpVisitor {
@Override
public Unit caseStringLiteralExpr(StringLiteralExpr x) {
System.out.println("** Hacking string " + x.getStringVal());
x.setStringVal(x.getStringV... |
package banyuan.day13.package01;
/**
* @author 陈浩
* @date Created on 2019/11/7
* 1. 四个线程 其中A,B线程对每次对i增加1 C.D线程每次对i减1
*/
public class Tools {
int a = 1;
int b = 1;
}
|
package com.wonders.task.asset.model.bo;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
@Ent... |
package interviews.google;
import common.TreeNode;
public class LongestIncreasingSubsequence {
public int function(TreeNode node) {
return dfs(node);
}
public int dfs(TreeNode node) {
if (node == null) return 0;
if (node.left == null && node.right == null) return 1;
int... |
package com.example.postgresdemo.repositoryIntegrationtest;
import com.example.postgresdemo.model.Employee;
import com.example.postgresdemo.repository.EmployeeRepository;
import com.example.postgresdemo.repository.SurveyRepository;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import... |
package ars.ramsey.interviewhelper.model.bean;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by Ramsey on 2017/5/9.
*/
public class Author implements Parcelable {
private String bio;
private String hash;
private String description;
private String profileUrl;
private... |
package be_a_good_visitor;
public class Main {
public static void main(String[] args) {
ShapeD s =
new Trans(
new CartesianPt(3, 7),
new Union(
new Square(10),
new Circle(10)));
boolean x = s.accept(new UnionHasPtV(new CartesianPt(13, 17)));
System.out.println(... |
package it.hw.catapushdemo;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.content.Context;
import android.graphics.Color;
import android.media.RingtoneManager;
import android.os.Build;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.core.co... |
package com.telyo.trainassistant.adapter;
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.ImageView;
import android.widget.TextView;
import com.telyo.trainassistant.R;
impo... |
package AnnotationDemo;
import java.lang.annotation.Annotation;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.reflect.Method;
/**
* @Repeatable allows repeat annotation in one place. The method must contain
* massive with... |
package com.example.luigitercero.appcolonia;
public class LoginToken {
private static LoginToken instance;
private static String correo;
private static String idCodigo;
private LoginToken(){}
public void setCorreo(String correo) {
LoginToken.correo = correo;
}
public void setIdCod... |
import java.util.Scanner;
public class GameDriver {
private Scanner input;
private Object random;
public static void main(String[] args) {
GameDriver game = new GameDriver();
Player player1 = new Player();
Player player2 = new Player();
Armor arm = new Armor();
Player p1 = game.getPlayerInfo();
... |
package com.yang.stethodemo;
import android.os.Bundle;
import android.util.Log;
import android.widget.Button;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import... |
package graphic.Gui.Items;
import Domain.Risorsa;
import graphic.Gui.ControllerCallback;
import javafx.scene.Parent;
import javafx.scene.control.Label;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.Pane;
import javafx.scene.paint... |
package controlador;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;
public class LimpiarFormularioSolicitud implements TaskListener{
public void notify(DelegateTask delegateTask) {
DelegateExecutio... |
package three;
import java.util.Random;
public class MathOps {
public static void main(String[]args){
Random random=new Random();
}
}
|
package com.tencent.mm.plugin.product.ui;
import com.tencent.mm.plugin.product.ui.f.a;
class MallProductSubmitUI$1 implements a {
final /* synthetic */ MallProductSubmitUI lTQ;
MallProductSubmitUI$1(MallProductSubmitUI mallProductSubmitUI) {
this.lTQ = mallProductSubmitUI;
}
public final voi... |
package org.sankozi.rogueland.gui.actions;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.google.inject.name.Named;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.JComponent;
import jav... |
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class Finish_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFact... |
package components;
import java.awt.Color;
final class Couleur {
private static final int size = 4;
public static final Color getCouleur(int couleur) {
Color color = Color.white;
switch (couleur) {
case 0: {
color = new Color(255, 128, 128);
break;
}
case 1: {
color = new Color(128, 255, 128);
... |
package com.nxtlife.mgs.filtering.filter;
import org.springframework.stereotype.Component;
import com.nxtlife.mgs.entity.activity.QActivityPerformed;
import com.querydsl.core.types.Predicate;
@Component
public class ActivityPerformedFilterBuilder implements FilterBuilder<ActivityPerformedFilter> {
private final QA... |
package com.tencent.mm.plugin.appbrand.jsapi.audio;
import com.tencent.mm.g.a.s;
import com.tencent.mm.plugin.appbrand.jsapi.e;
import com.tencent.mm.plugin.appbrand.l;
import com.tencent.mm.sdk.b.a;
import com.tencent.mm.sdk.platformtools.x;
class e$a extends a {
public String appId = "";
public String bGW =... |
package leetcode;
/**
* @author kangkang lou
*/
public class Main_231 {
public static boolean isPowerOfTwo(int n) {
if (n <= 0) {
return false;
}
if (n == 1) {
return true;
}
while (n != 1) {
if (n % 2 == 0) {
n = n / 2;... |
package com.tencent.mm.plugin.freewifi.d;
import com.tencent.mm.protocal.c.xo;
import java.util.LinkedList;
class e$1 implements Runnable {
final /* synthetic */ e jkz;
e$1(e eVar) {
this.jkz = eVar;
}
public final void run() {
xo xoVar = (xo) this.jkz.diG.dIE.dIL;
if (xoVar ... |
package com.tencent.mm.bs;
import com.tencent.mm.bs.b.b;
import java.util.HashSet;
import java.util.Iterator;
public class a<T> implements b<T> {
private final String mName;
private T sNA;
private HashSet<com.tencent.mm.bs.b.a<T>> sNB;
private final Object sNC;
private a(String str) {
thi... |
package SortingPack;
import java.util.Scanner;
public class InsertionSort {
void insertionsort(int arr[],int n){
int i,j,temp;
for(i=1;i<n;i++)
{
temp=arr[i];
j=i;
while (j>0&&arr[j-1]>temp) {
arr[j] = arr[j-1];
... |
package tij.annotations;
import org.junit.Test;
public class JUnitTest {
String na(String world){
return "hello "+world;
}
@Test
public void f(){
System.out.println(na("world").equals("hello world"));
}
}
|
package enthu_l;
public class e_1366 {
public static void main(String[] args)
{while(int k = 5; k<7)
{System.out.println(k++);}}
}
|
package com.ecommerce.Repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.ecommerce.model.Book;
public interface BookRepository extends JpaRepository<Book,Long> {
}
|
/**
* @since 2016/01/30
*/
public class DatabaseTest {
public static void main(String[] args) {
}
}
|
package com.jack.hotitems;
import com.jack.beans.ItemViewCount;
import com.jack.beans.UserBehavior;
import com.jack.connect.ConnectDescribe;
import com.jack.sourceData.SourceData;
import org.apache.flink.api.common.functions.AggregateFunction;
import org.apache.flink.api.common.functions.MapFunction;
import org.apache... |
package com.tencent.mm.plugin.sns.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.sns.model.r;
class SnsMsgUI$6 implements OnCancelListener {
final /* synthetic */ SnsMsgUI nYl;
final /* synthetic... |
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.xmlui.aspect.authority.concept;
import java.io.IOException;
import java.securit... |
package com.caboa.mctest;
import java.util.Random;
import net.minecraft.world.World;
import net.minecraft.world.chunk.IChunkProvider;
import net.minecraft.world.gen.feature.WorldGenMinable;
import cpw.mods.fml.common.IWorldGenerator;
public class mcTopazOreWorldGenerator implements IWorldGenerator
{
@Override
publ... |
package aqua.blatt1.client;
import java.net.InetSocketAddress;
import aqua.blatt1.common.Direction;
import aqua.blatt1.common.msgtypes.*;
import messaging.Endpoint;
import messaging.Message;
import aqua.blatt1.common.FishModel;
import aqua.blatt1.common.Properties;
public class ClientCommunicator {
private final... |
package net.d4rk.inventorychef.inventory.expandablelistview.roomembedded.database.dao;
import android.arch.lifecycle.LiveData;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Delete;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.Query;
import android.a... |
package com.tencent.mm.plugin.appbrand.jsapi.file;
public final class aa extends b<as> {
private static final int CTRL_INDEX = 397;
private static final String NAME = "fs_rename";
public aa() {
super(new as());
}
}
|
package com.tencent.mm.g.a;
public final class aa$a {
public Object bHj;
}
|
package com.bingo.code.example.design.facade.facadepartfunction;
public interface FacadeApi {
// ABCModule对外的接口
public void a1();
public void b1();
public void c1();
public void test(); // 组合方法
}
|
import java.util.Scanner;
public class Somme {
private static int n;
private static float w;
public static main void(String args[]){
w = 0;
Scanner scanner = new Scanner(System.in);
n = scanner.nextInt();
System.out.println("Veuillez saisir le premier terme");
for(... |
package com.cmj.rpc.handler;
import com.cmj.common.message.AbstractRpcMsg;
import java.util.List;
/**
* Created by chenminjian on 2018/4/18.
*/
public class RpcEntity extends AbstractRpcMsg {
private String serviceName;
private String methodName;
private List<Object> args;
public String getServi... |
package com.linkedbook.dto.likeDeal.selectLikeDeal;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@NoArgsConstructor
@Getter
@Setter
public class SelectLikeDealInput {
private int userId;
private int page;
private int size;
}
|
package de.marko.pentest.rest.handler;
import de.marko.pentest.db.DatabaseJPAConnector;
import de.marko.pentest.db.entity.User;
import io.vertx.core.Handler;
import io.vertx.ext.web.RoutingContext;
import java.util.HashMap;
import java.util.Map;
/**
* @author marko
* @version 1.0.0.
* @date 05.01.2018
*/
public c... |
package cz.csas.atpcoolapp.services;
import cz.csas.atpcoolapp.Common;
import cz.csas.atpcoolapp.cryprography.paillier.PublicKey;
import cz.csas.atpcoolapp.entity.Basket;
import cz.csas.atpcoolapp.entity.BillIItem;
import cz.csas.atpcoolapp.entity.Price;
import cz.csas.atpcoolapp.entity.Transaction;
import org... |
package com.IRCTradingDataGenerator.tradingDataGenerator.Repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.IRCTradingDataGenerator.tradingDataGenerator.Models.Transaction;
public interface TransactionDao extends JpaRepository<Transaction, Integer>{
}
|
package com.jiw.dudu.structure;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
/**
* @Description 找到所有数组中消失的数字
* @Author pangh
* @Date 2022年09月08日
* @Version v1.0.0
*
* 力扣算法题:https://leetcode.cn/problems/find-all-numbers-disappeared-in-an-array/
* 解题思路:
* 1.
*/
public class FindAl... |
package fr.alplc;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.net.Htt... |
public class Linkedlist {
Integer val;
Linkedlist next;
Linkedlist(Integer value){
val=value;
}
}
|
package com.mx.profuturo.bolsa.context;
import com.mx.profuturo.bolsa.security.AntiSamyFilter;
import com.mx.profuturo.bolsa.security.GrantingUserSettings;
import com.mx.profuturo.bolsa.session.SessionListener;
import com.mx.profuturo.bolsa.util.mockclient.MockClient;
import com.mx.profuturo.bolsa.util.mockclient.Moc... |
package com.qgil.mapper;
import com.qgil.pojo.QgilLvcg;
import com.qgil.pojo.QgilLvcgExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface QgilLvcgMapper {
int countByExample(QgilLvcgExample example);
int deleteByExample(QgilLvcgExample example);
int deleteByPrimar... |
package com.accp.pub.pojo;
import java.util.Date;
public class Feedback {
private Integer fid;
private Integer taskid;
private Integer npid;
private String tname;
private Integer uid;
private String uname;
private String fcontent;
private Integer frid;
private String funame... |
package display;
import javax.swing.*;
import javax.swing.text.SimpleAttributeSet;
import javax.swing.text.StyleConstants;
import javax.swing.text.StyledDocument;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.ObjectInputStream;
import java.util.*;
public clas... |
package bankBusiness.test;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import bankBusiness.src.Account;
public class AccountTest {
private Account account;
@Before
public void setUp() {
account = new Account(10000);
}
@Test
public void testAccount()... |
package cn.com.ykse.santa.web.controller.action;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* Created by youyi on 2016/1/11.
*/
@Controller
public class SecurityController{
@RequestMapping(value = "/login")
public String loginPage(){... |
package com.codementor.android.starwarsbattlefrontcommunity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup... |
package com.lin.paper.dao;
/**
* 用户信息数据操作接口
* @
* @date 2018年1月18日下午4:47:46
* @version 1.0
*/
public interface UserDao {
}
|
package com.sales.mapper;
import com.sales.entity.SalesPlanMasterEntity;
import java.util.List;
import java.util.Map;
public interface SalesPlanMasterMapper {
List<SalesPlanMasterEntity> findList(Map<String, Object> params);
SalesPlanMasterEntity findInfo(Map<String, Object> params);
Integer doInsert(S... |
package com.deltastuido.user;
import javax.enterprise.context.SessionScoped;
import javax.enterprise.inject.Instance;
import javax.inject.Inject;
import javax.inject.Named;
import java.io.Serializable;
@Named
@SessionScoped
public class MyProjects extends UserProjectsFace implements Serializable {
private static fin... |
package jp.smartcompany.job.filter;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.filter.OncePerRequestFilter;
import javax.servlet.FilterChain;
import javax.servlet.Servle... |
package controllers;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.Passwo... |
package com.liufeng.domian.dto.request;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.liufeng.common.utils.DateUtils;
import com.liufeng.domian.dto.base.BasePageQuery;
import com.liufeng.domian.entity.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import ... |
package com.revature.app;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.revature.controller.AuthenticationController;
import com.revature.controller.Controller;
import com.revature.controller.ReimbursementController;
import com.revature.controller.UserController;
import com.revature.exception.Ex... |
/**
* Author: obullxl@gmail.com
* Copyright (c) 2004-2013 All Rights Reserved.
*/
package com.github.obullxl.lang.web.crawl;
import com.github.obullxl.lang.utils.GroovyUtils;
/**
* Groovy爬虫工具类
*
* @author obullxl@gmail.com
* @version $Id: GroovyCrawlUtils.java, V1.0.1 2013年12月10日 下午4:40:10 $
*/
public class ... |
package cn.edu.hebtu.software.sharemate.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Looper;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Gravity;
import and... |
package smart.cache;
import jakarta.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import smart.config.AppConfig;
import smart.entity.ExpressCompanyEntity;
import smart.lib.Json;
import smart.lib.express.FreeRule;
impor... |
package smart.controller.admin.user;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.Mode... |
/*
* Ada Sonar Plugin
* Copyright (C) 2010 Akram Ben Aissi
* dev@sonar.codehaus.org
*
* This program 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
* version 3 of the License, or... |
package dao;
import java.util.List;
import model.Course;
public interface PlanDao {
public List<Course> getCourses(String ssn);
public Course getCourseByNo(String courseNo);
}
|
package org.holoeverywhere.util;
public interface PoolableManager<T extends Poolable<T>> {
T newInstance();
void onAcquired(T element);
void onReleased(T element);
}
|
package com.decrypt.beeglejobsearch.ui.screens.product;
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.squareup.picasso.Callbac... |
package com.tencent.mm.ui.chatting.viewitems;
import android.content.Intent;
import android.view.View;
import com.tencent.mm.bg.d;
import com.tencent.mm.kernel.g;
import com.tencent.mm.model.au;
import com.tencent.mm.model.c;
import com.tencent.mm.model.s;
import com.tencent.mm.plugin.report.service.h;
import com.tenc... |
package com.thoughtworks.data;
/**
* Created on 13-06-2018.
*/
public interface Mapper<S, D> {
D map(S input);
}
|
package com.yl.cd.web.handler;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.socket.TextMessage;
import org.springframework.web.socket.WebSocketSession;
import org.springframework.web.socket.handler.TextWebSocketHandler;
@Cont... |
package com.epam.multithreading;
public class ThreadExp {
public static void main(String[] args) throws InterruptedException {
new Thread(()->{
try {
Thread.currentThread().sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
... |
package com.smxknife.java2.serializable;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.ObjectInputStream;
/**
* @author smxknife
* 2018/11/2
*/
public class ManagerDeserializeDemo {
public static void main(String[] args) {
Manager e = null;
t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.