text stringlengths 10 2.72M |
|---|
package com.tencent.mm.plugin.report.b;
import com.tencent.b.a.a.f;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.b.a;
import com.tencent.mm.ab.v;
import com.tencent.mm.protocal.c.bdy;
import com.tencent.mm.protocal.c.bdz;
import com.tencent.mm.sdk.platformtools.x;
class d$1 implements f {
d$1() {
}
... |
package gr.athena.innovation.fagi.core.function.geo;
import com.vividsolutions.jts.geom.Geometry;
import com.vividsolutions.jts.io.ParseException;
import com.vividsolutions.jts.io.WKTReader;
import gr.athena.innovation.fagi.core.function.IFunction;
import org.apache.logging.log4j.LogManager;
import org.apache.jena.rdf... |
package be.axxes.bookrental.dao;
import be.axxes.bookrental.domain.Tag;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
@RepositoryRestResource
public interface TagRepository extends JpaRepository<Tag, String> {
Tag findTa... |
package webmail.pages;
import org.stringtemplate.v4.ST;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Created by JOKER on 10/28/14.
*/
public class HelpPage extends Page {
public HelpPage(HttpServletRequest request, HttpServletResponse response) {
... |
package com.app.sapient.grade.factory;
public interface GradeStrategy {
Double getGradeAsPercentage();
}
|
/*
* 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 UserBeans;
import org.chamerling.heroku.service.BlogPost;
import org.chamerling.heroku.service.JSONException_Exception;
import... |
//
// MANUALLY WRITTEN
//
package syntaxtree;
/**
* HYPOTHETICAL Grammar Production:
* f0 -> "RETURN"
* f1 -> SimpleExp()
*/
public class ReturnStmt implements Node {
public NodeToken f0;
public SimpleExp f1;
public ReturnStmt(NodeToken n0, SimpleExp n1) {
f0 = n0;
f1 = n1;
}
... |
package com.automation.api_requests;
import com.automation.exceptions.WebserviceException;
import com.automation.rest_api.RestApiKeywords;
import com.google.gson.Gson;
import com.json.autogen.User;
import io.restassured.response.Response;
public class UserRequests {
Gson gson;
public UserRequests(){
gson = new... |
package neo.ce.service.impl;
import javax.jws.WebService;
import neo.ce.service.HelloWorld;
@WebService
public class HelloWorldImpl implements HelloWorld {
@Override
public String sayHello(String name) {
System.out.println("sayHello方法被调用");
return ("Hello"+name);
}
}
|
package top.eviltuzki.tools.mybatissql.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.eviltuzki.tools.mybatissql.dao.DbDao;
import top.eviltuzki.tools.mybatissql.model.db.ColumnEntity;
import top.eviltuzki.tools.mybatissql.service.... |
package com.tencent.mm.ui.chatting.g;
import android.content.Context;
import android.content.Intent;
import android.view.View;
import com.tencent.mm.R;
import com.tencent.mm.l.a;
import com.tencent.mm.model.au;
import com.tencent.mm.model.c;
import com.tencent.mm.model.s;
import com.tencent.mm.sdk.platformtools.x;
imp... |
package com.book.decorator;
/**
* 装饰者
*
* @author weigs
* @date 2017/8/9 0009
*/
public class Mocha extends CodimentDecorator {
Beverage beverage;
public Mocha(Beverage beverage) {
this.beverage = beverage;
}
@Override
public String getDescription() {
return beverage.getDescr... |
package com.kingcar.rent.pro.widget.popup.rentcar;
import android.content.Context;
import android.view.Gravity;
import android.view.View;
import android.view.animation.Animation;
import com.kingcar.rent.pro.R;
import razerdp.basepopup.BasePopupWindow;
import razerdp.util.SimpleAnimationUtils;
public class OrderCarS... |
package org.workers.impl.combat_instructor;
import org.OrionTutorial;
import org.workers.TutorialWorker;
public class WieldDagger extends TutorialWorker
{
public WieldDagger(OrionTutorial mission)
{
super(mission);
}
@Override
public boolean shouldExecute()
{
return true;
}
@Override
public void work(... |
package com.mj147.tictactoeai.repository;
import com.mj147.tictactoeai.domain.Square;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface SquareRepository extends CrudRepository<Square, Long> {
Integer countAllByBoardIdAndValue... |
package de.jmda.core.util.xml.jaxb.adapter;
import javax.xml.bind.annotation.adapters.XmlAdapter;
public class PackageAdapter extends XmlAdapter<String, Package>
{
@Override public Package unmarshal(String v) throws Exception { return Package.getPackage(v); }
@Override public String marshal(Package v) throws... |
package recycle_bin;
import android.hardware.camera2.CameraCharacteristics;
import android.hardware.camera2.CameraMetadata;
import android.hardware.camera2.CaptureRequest;
import android.hardware.camera2.params.ColorSpaceTransform;
import android.hardware.camera2.params.RggbChannelVector;
import android.hardwar... |
package com.tencent.mm.plugin.freewifi.ui;
import com.tencent.mm.sdk.e.j.a;
import com.tencent.mm.sdk.e.l;
class ProtocolThreeTwoUI$7 implements a {
final /* synthetic */ ProtocolThreeTwoUI joB;
private int joa = -999999999;
ProtocolThreeTwoUI$7(ProtocolThreeTwoUI protocolThreeTwoUI) {
this.joB =... |
package com.virtusa.controller;
import java.util.List;
import com.virtusa.factory.FactoryApplicantService;
import com.virtusa.model.AdminModel;
import com.virtusa.model.ApplicantModel;
import com.virtusa.service.ApplicantService;
import com.virtusa.view.ApplicantView;
public class ApplicantController {... |
import java.awt.*;
/**
* Created by ROSA on 29/06/2016.
*/
public class Menu {
public Rectangle playButton = new Rectangle(Game.WIDTH / 2 + 120, 150, 100, 50);
public Rectangle helpButton = new Rectangle(Game.WIDTH / 2 + 120, 250, 100, 50);
public Rectangle quitButton = new Rectangle(Game.WIDTH / 2 + 12... |
package br.com.beblue.lojadisco.excecao;
import br.com.beblue.lojadisco.mensagem.Mensageiro;
/**
* Exceção mãe para manter a mensagem
*/
public class LojaDiscoExcecao extends RuntimeException{
public LojaDiscoExcecao() {
super();
}
public LojaDiscoExcecao(String chave) {
super(Mensageir... |
package com.simha.SpringJPADemoForQueryResults;
import java.util.List;
import java.util.stream.Collectors;
public class BookTest {
public static void main(String[] args) {
List<Book> listBooks = getTaxPay("tax");
for (Book book : listBooks) {
System.out.println(book);
}
}
public static List<Book> getTa... |
package com.parrello.tvseries.eztv.endpoint;
import com.parrello.tvseries.eztv.ws.EzTvServiceImplementation;
import javax.xml.ws.Endpoint;
import java.util.Date;
/**
* Created by nicola on 27/11/14.
*/
public class EzTvScraperServicePublisher {
public EzTvScraperServicePublisher() {
String url = "http... |
package forex.rates.api.controller;
import forex.rates.api.model.ApiErrorResponse;
import forex.rates.api.service.DateTimeProviderService;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
import o... |
package cn.wolfcode.crm.web.controller;
import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.service.IPermissionService;
import cn.wolfcode.crm.service.IRoleService;
import cn.wolfcode.crm.util.JsonResult;
import org.springframework.beans.factory.annotation.Autowired;
im... |
public class Etape {
private Etape etapeDroite;
private Etape etapeGauche;
private boolean sortie;
private int numeroEtape;
private static int nombreEtapes = 0;
public Etape (){
Etape.nombreEtapes++;
//this.numeroEtape = nombreEtapes;
setnumeroEtape( nombreEtapes );
etapeDroite=null;
etapeGauche=... |
package JB27;
import java.util.Scanner;
public class Pr02SleepyTomCat {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int freeDays = Integer.parseInt(sc.nextLine());
int timeToPlayWhenWorking = (365 - freeDays);
timeToPlayWhenWorking = timeToPlayWhe... |
package com.tfq.manager.web.model.response;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;
/**
* @author: TangFenQi
* @description:
* @date:2020/3/14 22:21
*/
@Data
public class LoginResponseVO {
public String token;//凭证
}
|
package net.minecraft.block.state;
import com.google.common.collect.ImmutableMap;
import java.util.Collection;
import net.minecraft.block.Block;
import net.minecraft.block.properties.IProperty;
public interface IBlockState extends IBlockBehaviors, IBlockProperties {
Collection<IProperty<?>> getPropertyNames();
... |
package com.wuyan.masteryi.mall.service;
/*
*project:master-yi
*file:OrderItemService
*@author:wsn
*date:2021/7/6 16:43
*/
import com.wuyan.masteryi.mall.entity.Goods;
import com.wuyan.masteryi.mall.entity.OrderItem;
import java.util.List;
import java.util.Map;
public interface OrderItemService {
Map<Strin... |
package com.habit.secrect.controller;
import java.sql.Timestamp;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.spr... |
// ============================================================================
// Floxp.com : Java Class Source File
// ============================================================================
//
// Class: TextDrawable
// Package: FloXP.com Android APIs (com.floxp.api) -
// Graphics API (com.floxp.api.graphics)
//... |
package utilites;
import com.mysql.fabric.jdbc.FabricMySQLDriver;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.*;
import java.util.Properties;
public class ConnectionUtils {
public static Connection connection = null;
public static Statemen... |
package xyz.bumbing.restapitool.dto;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import j... |
package com.yjjyjy.yjj.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persiste... |
package Stepdefinition;
import org.apache.commons.lang3.RandomStringUtils;
import org.openqa.selenium.WebDriver;
import Pageobjects.Customer;
import Pageobjects.PageElement;
import Pageobjects.SearchCustomerPage;
public class Baseclass {
public WebDriver driver;
public PageElement pe;
public Customer addcustome... |
//
// $Id: eZMapEditor.java 5818 2001-06-19 10:32:18Z jhe $
//
// Jo Henrik Endrerud <jhe@ez.no>
// Created on: <12-Jun-2001 10:33:52 jhe>
//
// This source file is part of eZ publish, publishing software.
// Copyright (C) 1999-2001 eZ systems as
//
// This program is free software; you can redistribute it an... |
package com.am.pertaminapps.Adapter;
import android.support.v7.widget.CardView;
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.am.pertaminapps.Model.... |
package com.tencent.mm.plugin.gcm.modelgcm;
import android.os.AsyncTask;
import com.google.android.gms.gcm.a;
import com.tencent.mm.plugin.report.f;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.sdk.platformtools.x;
class a$a extends AsyncTask<Void, Void, String> {
final /* synthetic */ a k... |
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import static java.awt.Color.green;
public class MainFrame extends Frame{
private Button btnAdd =new Button("Add");
private ... |
package rgg.campusvirtualapp.vista;
import rgg.campusvirtualapp.AppMediador;
import rgg.campusvirtualapp.presentador.IPresentadorLogin;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.o... |
package com.zihui.cwoa.workplan.dao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
@Mapper
public interface PlanMapper {
/**
* 保存网络计划
*/
int insertPlan(String workMan,String planName,String timeL... |
package me.lengyan.dapr.discovery.loadblance;
/**
* 可以将LB能力交给dapr
*/ |
package sample.menu;
import javafx.application.Platform;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.layout.*;
import sample.Main;
import sample.game.GameControll... |
package com.tencent.mm.ac;
public interface e$a {
void a(b bVar);
}
|
package com.bjstudio.blog.login.Validation;
import com.bjstudio.blog.login.model.Member;
import com.bjstudio.blog.login.util.PatternMatcher;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
@Component
public class MemberVa... |
package com.ibeiliao.pay.account.impl.service;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import com.ibeiliao.pay.ServiceException;
import com.ibeiliao.pay.account.api.dto.WithDrawBillVO;
import com.ibeiliao.pay.account.api.dto.WithdrawTransLogVO;
import com.ibeiliao.pay.account.api... |
package finalProject;
import javax.swing.ImageIcon;
public class FlyStair extends Stair{
public static boolean flying=false;
public FlyStair() {
fly1();
}
public FlyStair(int x,int y) {
this();
this.x=x;
this.y=y;
}
public void fly1() {
ImageIcon icon=new ImageIcon("image/flyst... |
package com.pduleba.spring.data;
public final class SpringMarker {
}
|
package com.tyss.cg.loops;
public class WhileLoopEx {
public static void main(String[] args) {
int i = 1;
while (i <= 10) {
System.out.println(i * 2);
i++;
}
//Infinite loop
while(true)
{
System.out.println("hello");
}
//System.out.println();
//wont execute as outside the infini... |
package com.example.movierecommendation;
import androidx.annotation.NonNull;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Patterns;
import android.view.View;
import android.widget.Button;
import a... |
package com.general;
import com.general.eventSystem.Event;
import com.general.eventSystem.EventDispatcher;
import com.general.eventSystem.EventListener;
import com.general.eventSystem.MessageListener;
import java.util.ArrayList;
import java.util.List;
public abstract class AbstractSystem<R extends AbstractElevator, ... |
package com.travel.services;
import com.travel.models.Location;
import com.travel.models.Room;
import com.travel.repositories.RoomRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Optional;
import java.util.Set;
@Service
public ... |
import java.text.MessageFormat;
import java.text.SimpleDateFormat;
import java.util.*;
import java.io.*;
public class Note {
private String NoteAddr;//笔记文件夹路径
Note(String path, String name, String[] label) throws IOException {
File note = null;
NoteAddr = path;//路径包括笔记本文件,如:笔记为no... |
package com.teaproj.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.stereotype.Service;
import com.teaproj.models.User;
import com.teaproj.repository.UserRepository;
@Service
public class User... |
package recycle_bin.camera2.settings;
import android.annotation.TargetApi;
import android.hardware.camera2.CameraCharacteristics;
import android.hardware.camera2.CameraDevice;
import android.hardware.camera2.CameraMetadata;
import android.hardware.camera2.CaptureRequest;
import android.os.Build;
import android... |
package demo.kanban.contract.moscow.utils;
import org.jasypt.encryption.pbe.StandardPBEStringEncryptor;
import org.jasypt.encryption.pbe.config.EnvironmentStringPBEConfig;
/**
* Created by xchou on 01/11/2016.
*/
public class ConfigEncryptUtils {
public static void amain(String[] args){
//加密工具
S... |
package com.gtfs.bean;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinC... |
package heihei.shenqi.data.source;
import java.util.List;
import heihei.shenqi.data.Task;
import rx.Observable;
/**
* User: lyjq(1752095474)
* Date: 2016-07-23
*/
public class TasksRepository implements TasksDataSource {
@Override
public Observable<List<Task>> getTasks(int page) {
return null;
... |
package com.SampleRaghav;
import org.testng.annotations.*;
public class TestHelloWorld {
@Test
public void testHelloWorld() {
System.out.println("Hello World");
}
}
|
package org.apache.jsp.view;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import com.bdb.util.HttpUtils;
import com.slort.util.SlortUtils;
public final class flota_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
pri... |
/**
* The Items that are stored in Room
*
* @author Ema Stoyanova and Jacob-Benedikt Haut
* @version 20.01.2018
*/
public class Item
{
private String name;
private int weight;
private String description;
/**
* Constructor for objects of class Items
*/
public Item(String name, i... |
package com.edinarobotics.zeppelin;
import java.util.ArrayList;
import java.util.List;
import com.edinarobotics.utils.gamepad.FilteredGamepad;
import com.edinarobotics.utils.gamepad.Gamepad;
import com.edinarobotics.utils.gamepad.gamepadfilters.DeadzoneFilter;
import com.edinarobotics.utils.gamepad.gamepadfilters.Gam... |
package co.sreeram.menu;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.widget.GridView;
public class MainActivity extends AppCompatActivity {
GridView gv1,gv2;
public static String [] foodNameList=... |
package com.ml.coupon.web.rest;
import com.ml.coupon.domain.Coupon;
import com.ml.coupon.exception.CouponNotFoundException;
import com.ml.coupon.exception.InvalidItemCodeException;
import com.ml.coupon.service.CouponService;
import com.ml.coupon.web.rest.dto.CalculateCouponRequest;
import com.ml.coupon.web.rest.dto.Ca... |
package mapsynq.qa.utilities;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
public... |
package com.khmersolution.moduler.configure;
/**
* Created by Vannaravuth Yo
* Date : 8/24/2017, 1:44 PM
* Email : ravuthz@gmail.com
*/
public class Route {
public static final String API = "/api/v1";
public static final String API_ID = "/{id}";
public static final String API_USERS = "/api/v1/users";
... |
package com.navnath.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="Person")
public class Person {
@Id
@GeneratedValue(strategy=GenerationTyp... |
/*
* 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 udpserver;
import java.util.Scanner;
import java.io.*;
import java.net.*;
/**
*
* @author N00150623
*/
public class UDPServ... |
package com.DoAn.HairStyle.respositiry;
import com.DoAn.HairStyle.entity.BlogEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import javax.transaction.Transactional;
import java.util.List;
public interface BlogRespository extends JpaRepository<BlogEntity, Long> {
@Transactional
void de... |
class Solution {
public int majorityElement(int[] nums) {
int[] size = new int [nums.length];
int counter;
int max = nums.length;
int half = (max + 1)/ 2;
for (int i = 0; i < max;i++) {
for (int j = 0; j < half; j++) {
if (nums[i] == nums[j]) {
... |
package com.example.ericm.test;
import android.test.ActivityInstrumentationTestCase2;
import com.example.ericm.gui.MapsActivity;
import com.landofoz.commonland.domain.Floor;
import com.landofoz.commonland.domain.GraphNode;
import com.landofoz.commonland.domain.Label;
import com.landofoz.commonland.domain.Location;
im... |
package br.com.car.resource;
import br.com.car.model.Car;
import io.quarkus.hibernate.orm.panache.PanacheQuery;
import io.quarkus.panache.common.Page;
import io.quarkus.panache.common.Parameters;
import io.quarkus.panache.common.Sort;
import javax.transaction.Transactional;
import javax.ws.rs.*;
import javax.ws.rs.co... |
package com.zhowin.miyou.mine.model;
/**
* author : zho
* date :2020/9/29
* desc :vip 特权信息
*/
public class VipPrivilegeList {
/**
* id : null
* level : 3
* permId : 3
* name : 进入房间隐身
* heightPicture : http://qfah2px93.hn-bkt.clouddn.com/perm.3.jpg
* greyPicture : http://qfah2px9... |
package org.kuali.mobility.tours.dao;
import java.util.List;
import org.kuali.mobility.tours.entity.POI;
import org.kuali.mobility.tours.entity.Tour;
public interface ToursDao {
public Tour findTourById(Long id);
public Tour findTourByName(String name);
public Long saveTour(Tour tour);
public... |
import java.io.*;
import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class PdfParser {
public void ParsePdftoText(String Filepath) throws FileNotFoundException {
PdfManager pdfManager = new PdfManager();
pdfManager.setFilePath(Filepath);
/////////... |
package com.techlab.rectangletest;
import com.techlab.rectangle.Rectangle;
public class RectangleTest {
public static void main(String[] args) {
Rectangle small = new Rectangle();
System.out.println("small rectangle details are:-");
small.setheight(-5);
small.setwidth(6);
small.setcolor("ReD");
System... |
package org.idea.plugin.atg.completion;
import com.intellij.codeInsight.completion.*;
import com.intellij.codeInsight.lookup.LookupElementBuilder;
import com.intellij.lang.jvm.types.JvmType;
import com.intellij.lang.properties.IProperty;
import com.intellij.lang.properties.psi.PropertiesFile;
import com.intellij.lang.... |
package com.wds.spring.batch.ch03;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.core.ExitStatus;
import org.springframework.batch.core.StepExecution;
import org.springframework.batch.core.StepExecutionListener;
import javax.batch.api.listener.StepListener;
/**
* Created ... |
package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage;
import android.os.AsyncTask;
import com.tencent.mm.modelsfs.FileOp;
import com.tencent.mm.modelsns.d;
import com.tencent.mm.plugin.appbrand.s$l;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.sdk.platformtools.ac;
import com.tencent... |
package com.java.service.controller.master;
import java.util.Date;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springfram... |
package ReverseInteger;
/**
* 题目内容
*
* Given a 32-bit signed integer, reverse digits of an integer.
* Example 1:
* Input: 123
* Output: 321
* Example 2:
* Input: -123
* Output: -321
* Example 3:
* Input: 120
* Output: 21
* Note:
* Assume we are dealing with an environment which could only hold inte... |
package com.tencent.mm.vending.base;
import com.tencent.mm.vending.base.Vending.b;
import com.tencent.mm.vending.f.a;
class Vending$3 implements b {
final /* synthetic */ Vending uQd;
Vending$3(Vending vending) {
this.uQd = vending;
}
public final void cBx() {
a.i("Vending", "SafeSpa... |
package com.tencent.mm.plugin.appbrand.h;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.text.SpannableString;
import android.text.TextUtils;
import android.widget.TextView;
import com.tencent.mm... |
package com.locadoraveiculosweb.util.jsf;
import static org.apache.commons.lang3.ObjectUtils.isEmpty;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
im... |
package item;
/**
* the class coffee
* author Dravet
*/
public final class Coffee {
//the energie give to the player when players drink
private final static int ENERGY = 3;
//getter
public static int getEnergy() {
return ENERGY;
}
}
|
package cn.sharp.android.ncr;
import cn.sharp.android.ncr.view.ScannerView;
import android.app.Activity;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.util.Log;
import android.view.animation.Animation;
public class RecInProgress extends Activity {
private final static String TAG = "RecInPr... |
package com.recherche.quizgame.utils;
public class TimeConverteur {
public static int toSeconds(long timeInMilliseconds) {
return (int) (timeInMilliseconds / 1000);
}
}
|
package dir.gestioncredenciales.servicios.stub;
import dir.gestioncredenciales.servicios.Autenticar;
public class AutenticarStub implements Autenticar {
@Override
public Boolean login(String nombre, String password) {
if ("cnorris".equals(nombre) && "ranger".equals(password)) {
return true;
}
r... |
package com.chat.server;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.... |
package com.cloud.feign_consumer.controller;
import com.cloud.feign_consumer.Entity.User;
import com.cloud.feign_consumer.service.HelloService;
import com.cloud.feign_consumer.service.RefactorHelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotatio... |
package com.tencent.mm.plugin.appbrand.jsapi.contact;
import android.content.Intent;
import com.tencent.mm.plugin.appbrand.jsapi.contact.c.4;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.MMActivity.a;
class c$4$1 implements a {
final /* synthetic */ 4 fPA;
c$4$1(4 4) {
this.fPA... |
package com.example.lzp.demos;
import android.support.v4.view.ViewCompat;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.animation.DecelerateInterpolator;
import android.widget.AbsListView;
import android.widget.LinearLa... |
package com.mapr.music.api.graphql.schema;
import com.mapr.music.service.StatisticService;
import graphql.schema.DataFetcher;
import javax.inject.Inject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class StatisticsDataFetcher {
private final Logger log = LoggerFactory.getLogger(StatisticsDataFe... |
package com.kgitbank.spring.domain.model;
import java.util.Date;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;
@Alias("CommentVO")
@Data
public class CommentVO {
private int id;
private int articleId;
private int memberSeqId;
private Stri... |
package project2_JavaToJSON.service;
import org.springframework.stereotype.Service;
import org.springframework.web.reactive.function.client.WebClient;
import project2_JavaToJSON.model.DownStreamResponse;
import project2_JavaToJSON.model.DownStreamResult;
import project2_JavaToJSON.model.QuestionMetadata;
import proje... |
package com.lmhu.firstcodebooksource.chapter3A12.View.recyclerview;
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 android.widget.Toast;
import com.lmhu.... |
package agent.planner.truthvariable;
// truth variables for planning and constraint satisfaction problem
public enum TruthVariable {
COLLISION_IMMINENT,
ENEMY_IN_RANGE,
ENEMY_NEARBY,
ENEMY_ON_RADAR,
WEAPON_READY
}
|
package com.goldgov.dygl.module.partymemberSh.service;
import java.util.Date;
import java.util.List;
import com.goldgov.dygl.module.partymember.exception.NoAuthorizedFieldException;
import com.goldgov.dygl.module.partymemberSh.domain.CheckInfo;
import com.goldgov.dygl.module.partymemberSh.service.CheckInfoQuer... |
package cn.amarone.model.sys.common.exception;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import cn.amarone.model.sys.common.response.CommRsp;
import lombok.extern.slf4j.Slf4j;
/**
* @Descriptio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.