text stringlengths 10 2.72M |
|---|
/*
* Copyright (C) 2020 Dominik Schadow, dominikschadow@gmail.com
*
* This file is part of the Java Security project.
*
* 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.... |
package com.ahmetkizilay.yatlib4j.users;
import com.ahmetkizilay.yatlib4j.oauthhelper.OAuthHolder;
public class ShowUser {
private static final String BASE_URL = "https://api.twitter.com/1.1/users/show.json";
private static final String HTTP_METHOD = "GET";
public static ShowUser.Response sendRequest(ShowUser.P... |
/**
* 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 License, Version 2.0 (the
* "License"); you... |
package Minigame;
/**
*
* @author Amy
*
*/
public class Controller extends Circle{
private float accelerationX, accelerationY;
private final float MAX_ACCELERATION = 20;
public Controller() {
super();
accelerationX = 0;
accelerationY = 0;
}
public Controller(float velocityX, float velocityY, int xD... |
public class Digit
{
int value;
Digit next;
Digit prev;
public Digit(int v) {
value = v;
}
public int getValue() {
return value;
}
public void setValue(int v) {
value = v;
}
public Digit getNext() {
return next;
}
public void setNext(... |
package com.youthchina.service.user;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.youthchina.domain.zhongyang.JwtAuthentication;
import com.youthchina.domain.zhongyang.User;
import com.youthchina.dto.Response;
import com.youthchina.dto.security.UserDTO;
import com.youthchina.exception.zhongyang.excep... |
package babylanguage.babyapp.practicelanguagecommon;
import android.graphics.drawable.Drawable;
import android.util.Log;
import android.view.DragEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import com.google.andr... |
/*
* 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 vasylts.blackjack.user;
import vasylts.blackjack.user.databaseworker.jdbcworker.DatabaseWorkerUserJdbc;
import vasylts.blackja... |
package engine.input;
import engine.gui.MenuItem;
/**
*
* @author Anselme FRANÇOIS
*
*/
public class OnReleasedEvent extends Mouse2DEvent{
int button_released;
public OnReleasedEvent(MenuItem emitter, int button, int x, int y, int dx, int dy) {
super(emitter, x, y, dx, dy);
button_released ... |
/*
* 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 License, Version 2.0 (the
* "License"); you ... |
/*
* 文 件 名: Operator.java
* 描 述: Operator.java
* 时 间: 2013-6-17
*/
package com.babyshow.operator.bean;
import java.util.Date;
/**
* <一句话功能简述> <功能详细描述>
*
* @author ztc
* @version [BABYSHOW V1R1C1, 2013-6-17]
*/
public class Operator
{
private Integer id;
/**
... |
import javax.swing.*;
import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;
import javax.swing.table.DefaultTableModel;
import java.util.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import javax.swing.border.*;
import java.awt.*;
import java.awt.event.*;
im... |
package com.tencent.mm.plugin.card.ui;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.graphics.Rect;
import android.graphics.Shader.TileMode;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.Message;
import android.text... |
/* First created by JCasGen Sun Sep 14 16:28:38 EDT 2014 */
import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.cas.impl.CASImpl;
import org.apache.uima.cas.impl.FSGenerator;
import org.apache.uima.cas.FeatureStructure;
import org.apache.uima.cas.impl.TypeImpl;
import org... |
package principal.pasajero.gcm;
import com.google.gson.Gson;
import android.app.IntentService;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.media.RingtoneManager;
import android.net.Uri;
import android.os.Bundle... |
package com.qunchuang.carmall.graphql;
import graphql.ExecutionResult;
import graphql.language.OperationDefinition;
import graphql.language.Type;
import graphql.schema.GraphQLType;
import org.springframework.lang.Nullable;
import javax.transaction.Transactional;
import java.util.Map;
public interface IGraphQLExecuto... |
package scratch.user;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.context.ann... |
package pl.piomin.services.organization.repository;
import com.mongodb.MongoClient;
import com.mongodb.client.MongoCollection;
import io.micronaut.context.annotation.Property;
import org.bson.codecs.configuration.CodecRegistries;
import org.bson.codecs.configuration.CodecRegistry;
import org.bson.codecs.pojo.PojoCodec... |
package net.hingyi.sqlExecutor.pool;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Hashtable;
/**
* 数据连接池管理器
*
* @author guanzhenxing
* @since 2014年3月22日 下午4:52:14
*/
public class ConnectionPoolManager {
private static ConnectionPoolManager connectionPoolManager;
// 连接池存放
privat... |
/**
* 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 the GNU Ge... |
package com.timesheet.service;
import java.io.Serializable;
import java.util.List;
/**
* Created by Vitaliy, Yan on 15.04.15.
*/
public interface GenericService<T, ID extends Serializable> {
List<T> findAll();
T findById(ID id);
T save(T entity);
void delete(T entity);
}
|
package com.lera.vehicle.reservation.service.customer;
public interface PassportService {
}
|
package com.syzible.dublinnotifier.ui;
/**
* Created by ed on 20/02/2017.
*/
public interface OnFilterSelection {
void onStopIdSelected(String stopId);
}
|
package com.bobby.huarongroad;
import java.util.ArrayList;
import java.util.List;
public class HuarongRoadGame extends AbsSearchGame<HuarongRoadStep>{
private HuarongRoadStep initStep;
public HuarongRoadGame(HuarongRoadStep initStep) {
this.initStep = initStep;
}
@Override
public SearchItem<... |
package Lowestancestor;
public class Solution {
public TreeNode lowestCommonAncestor(TreeNode root,TreeNode one, TreeNode two) {
// Write your solution here.
if(root == null){
return null;
}
if(root == one || root == two){
return root;
}
TreeNode left = lowestCommonAncestor... |
package com.yuorfei.service;
import com.yuorfei.bean.Article;
import com.yuorfei.dao.ArticleDao;
import com.yuorfei.util.RequestUtil;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype... |
package com.example.todolist.Main;
import android.content.Context;
import android.content.SharedPreferences;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.example.todolist.Model.Entities.Groups;
import com.example.todolist.Model.Entitie... |
package mg.egg.eggc.compiler.egg.java;
import mg.egg.eggc.runtime.libjava.*;
import mg.egg.eggc.compiler.libegg.base.*;
import mg.egg.eggc.compiler.libegg.java.*;
import mg.egg.eggc.compiler.libegg.egg.*;
import mg.egg.eggc.compiler.libegg.mig.*;
import mg.egg.eggc.compiler.libegg.latex.*;
import mg.egg.eggc.compiler.l... |
package com.jvmless.threecardgame.infra.domain.moves;
import com.jvmless.threecardgame.domain.shuffle.Cards;
import com.jvmless.threecardgame.domain.shuffle.CardsRepository;
import com.jvmless.threecardgame.domain.shuffle.MongoCardsRepository;
public class MongoCardsRespositoryAdapter implements CardsRepository {
... |
package com.tencent.mm.plugin.brandservice.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.brandservice.b.d;
class ReceiveTemplateMsgMgrUI$2 implements OnCancelListener {
final /* synthetic */ Receive... |
package net.minecraft.network.status.server;
import java.io.IOException;
import net.minecraft.network.INetHandler;
import net.minecraft.network.Packet;
import net.minecraft.network.PacketBuffer;
import net.minecraft.network.status.INetHandlerStatusClient;
public class SPacketPong implements Packet<INetHandlerStatusCl... |
package dev.borowiecki.practices.day3.phonecompany;
public class LandingPhoneNumber implements PhoneNumber {
private int bill = 0;
@Override
public int currentMonthBill() {
return bill;
}
@Override
public void callTo(PhoneNumber number, int time) {
if (number instanceof Landi... |
/*
* 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 License, Version 2.0
* (the "License"); you may ... |
package commandline.command;
import commandline.annotation.CliCommand;
import commandline.argument.ArgumentDefinition;
import commandline.argument.ArgumentDefinitionList;
import commandline.exception.ArgumentNullException;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import jav... |
package com.appium.pageObject.objects;
import io.appium.java_client.MobileElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.iOSFindBy;
/**
* Created by syamsasi on 07/02/17.
*/
public class HomePageObject {
@AndroidFindBy(accessibility = "ReferenceApp")
... |
package org.cloudfoundry.samples.music.domain;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
public class Artist {
@Id
@Column(length = 255)
private String name;
public Artist() {
}
... |
package uno.card;
import uno.Color;
import uno.Game;
public class SkipCard extends ColorCard {
public SkipCard(Color color) {
super(color);
}
public boolean canPlaceOn(Card other) {
return getColor().equals(other.getColor()) || getClass().equals(other.getClass());
}
public int orderNum() {
return 10;
}
... |
package ua.www2000.yourcourses.dto;
import lombok.*;
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
@Builder
@ToString
public class UserDTO {
@NonNull
private String email;
private String firstName;
private String lastName;
@NonNull
private String password;
}
|
package com.tencent.tencentmap.mapsdk.a;
import android.view.animation.Interpolator;
public class kl extends kk {
private ox e;
protected void a(float f, Interpolator interpolator) {
float interpolation = interpolator.getInterpolation(f);
if (this.d != null) {
this.d.b(interpolati... |
package com.tencent.mm.plugin.sns;
import com.tencent.mm.g.a.ob;
import com.tencent.mm.sdk.platformtools.al.a;
class d$1 implements a {
final /* synthetic */ d nhe;
d$1(d dVar) {
this.nhe = dVar;
}
public final boolean vD() {
ob obVar = new ob();
obVar.bYX.bRc = null;
... |
package com.yqwl.dao;
import java.math.BigInteger;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.yqwl.pojo.Trade;
/**
*
* @ClassName: TradeMapper
* @description 行业的查询,新增,删除等方法
*
* @author dujiawei
* @createDate 2019年6月9日
*/
public interface TradeMapper {
/**
* @Title: lis... |
package com.junadefrizlar.Question_2;
public class Aeroplane implements Refuel {
private String engineType;
private int numberOfEngines;
private int engineCapacity;
private Vehicle vehicle;
public Aeroplane(String engineType, int numberOfEngines, int engineCapacity, Vehicle vehicle) {
thi... |
package com.example.atos.myapplication.controller;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import com.example.atos.myapplication.R;
import com.example.atos.myapplication.customclasses.BaseActivity;
import com.example.atos.myapplication.global.C... |
package interviews.amazon.oa1;
import java.util.Comparator;
import java.util.PriorityQueue;
import common.Process;
public class ShortestJobFirst {
public float schedule(int[] req, int[] dur) {
if (req.length * dur.length == 0 || req.length != dur.length) return 0;
PriorityQueue<Process> ... |
package com.tencent.mm.plugin.freewifi.model;
import android.net.wifi.ScanResult;
import java.util.Comparator;
class h$2 implements Comparator<ScanResult> {
final /* synthetic */ h jkc;
h$2(h hVar) {
this.jkc = hVar;
}
public final /* bridge */ /* synthetic */ int compare(Object obj, Object ... |
package oop.Exercise03Test;
import oop.Exercise03.QueueNumber;
import org.junit.Test;
import static org.junit.Assert.*;
public class QueueNumberTest {
@Test
public void test_QueueNumber() {
QueueNumber queue = new QueueNumber();
assertTrue(queue.isEmpty());
assertEquals(queue.offer(3),... |
package com.mineskies.antibot.listener;
import com.mineskies.antibot.AntiBot;
import com.mineskies.antibot.Constants;
import com.mineskies.antibot.inventory.CaptchaInventory;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.... |
package ex1;
public class MainApp {
public static void main(String[] args) {
ContBancar contBancar = new ContBancar(0);
Depunere depunere = new Depunere(contBancar);
Extragere extragere = new Extragere(contBancar);
depunere.start();
extragere.start();
}
} |
package com.ai.slp.order.monitor;
import java.sql.Timestamp;
import java.util.Map;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ai.opt.base.exception.B... |
package com.sports.service;
public interface IService {}
|
import java.io.*;
import java.util.*;
//Definition for a binary tree node.
class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) {
val = x;
}
}
/**
* 110. Balanced Binary Tree
* 这题虽然简单,但是还是复习一下平衡二叉树的知识好
*/
class Solution {
private boolean isBalanced = true;
... |
package com.tony.edu.netty.jio;
import java.io.IOException;
import java.io.InputStream;
import java.net.ServerSocket;
import java.net.Socket;
public class TonySocketServer {
public static void main(String[] args) throws IOException, Exception {
// server --- jvm ===操作系统 申请端口
ServerSocket serverSoc... |
/*
* 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 wickersoft.root;
import syn.root.user.Mark;
import java.io.File;
import java.text.SimpleDateFormat;
import java.time... |
package com.linroid.leetcode.happyNumber;
import java.util.HashMap;
import java.util.Map;
/**
* Created by linroid on 4/24/15.
* @link https://leetcode.com/problems/happy-number/
*/
public class Solution {
public boolean isHappy(int n) {
Map<Integer, Void> map = new HashMap<>();
while (true) {
... |
package org.trivee.fb2pdf;
import com.itextpdf.text.BaseColor;
import com.itextpdf.text.Image;
import com.itextpdf.text.Rectangle;
import java.awt.Color;
import java.awt.Toolkit;
import java.awt.image.FilteredImageSource;
import java.awt.image.ImageFilter;
import java.awt.image.ImageProducer;
import java.awt.image.RGB... |
package org.murinrad.android.musicmultiply.decoder.impl;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.AssetFileDescriptor;
import android.media.AudioFormat;
import android.media.AudioManager;
import android.media.AudioTrack;
import android.media.MediaCodec;
import and... |
package com.mx.profuturo.bolsa.model.service.candidates.dto;
import java.io.Serializable;
public class SimpleListOtherVacancyRequestBean implements Serializable {
}
|
package net.lotrek.dynarec.execute;
import javax.swing.JPanel;
import net.lotrek.dynarec.devices.DirectoryDevice;
import net.lotrek.dynarec.devices.MemorySpaceDevice;
public abstract class Processor
{
protected MemorySpaceDevice[] devices;
protected byte[] memory;
private int lastAllocationOffset;
private volati... |
package in.ac.iiitd.kunal.todo_list;
import android.support.v4.app.Fragment;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import andr... |
public class Assignment5 {
public static void main(String[] args) {
String[] arr = {"test","okay","what"};
System.out.println(arr[1]);
}
}
|
package converter.Entity2Dto;
import converter.Dto2Entity.AnimalI18nDto2AnimalI18nEntityConverter;
import dao.AnimalDao;
import dao.CategoryDao;
import dao.LocaleDao;
import dto.AnimalAjaxDto;
import dto.AnimalDtoByte;
import entity.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfra... |
package loadbalance;
public class InstanceLoad{
private int numReq; //number of consecutive minutes in 100 %
private final int MAX;
private long timeElapsed;
private long freedomtime;
private String addr;
private String instanceID;
public InstanceLoad(String add, String id) {
this.numReq = 0;
this.MAX =... |
package com.zilker.taxi.bean;
public class CabModelDetail {
private String licencePlate;
private String modelName;
private String modelDescription;
private int numSeats;
public CabModelDetail() {
}
public CabModelDetail(String licencePlate, String modelName, String modelDescription, int numSeats) {
super(... |
package handlers;
import java.io.File;
import java.io.FileWriter;
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Scanner;
public class ActionHandler implements IActionHandler {
public Object[] listFiles(String... |
/*
* 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 labunoprogra;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author daniela
*/
public class operacionesData {... |
package com.tencent.mm.plugin.downloader.model;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
public class FileDownloadTaskInfo implements Parcelable {
public static Creator<FileDownloadTaskInfo> CREATOR = new 1();
public String appId;
public String bKg;
... |
package unlinked;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
public class Driver {
@SuppressWarnings("unchecked")
public static void main (String args[])
{
//int j;
//unlinkedTrips is an ArrayList that holds the entire csv file
ArrayList<UnlinkedTrip> unlinkedTri... |
package app0513.paint;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class PhotoShop extends JFrame{
JPanel p_north;
JButton bt_eraser;
Color[] colorArray= {Color.red,Color.orang... |
/*
* 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 DOMIC;
import java.awt.FileDialog;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.uti... |
package com.ybh.front.model;
import java.util.ArrayList;
import java.util.List;
public class OtherProductlistExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FreeHost_OtherProductlist
*
* @mbg.generated Fri May 11 11:16:07 ... |
package com.bluejnr.wiretransfer.pattern.state.impl;
import com.bluejnr.wiretransfer.model.domain.WireTransferVO;
import com.bluejnr.wiretransfer.pattern.state.WireTransferState;
import com.bluejnr.wiretransfer.pattern.strategy.WireTransferStrategy;
public class ReviewDataWrongWireTransfer extends WireTransferState {... |
package com.yekong.rxmobile.ui;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ListView;
import android.widget.ProgressB... |
package org.terasoluna.gfw.examples.rest.domain.service;
import javax.inject.Inject;
import org.dozer.Mapper;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
im... |
package com.hand6.health.common;/**
* Created by Administrator on 2019/7/6.
*/
import java.math.BigDecimal;
/**
* @author xxxx
* @description
* @date 2019/7/6
*/
public class ConstantUtil {
//性别
public static final String MAN="MAN";
public static final String WOMAN="WOMAN";
//运动记录状态
public ... |
package ua.nure.timoshenko.summaryTask4.web.command.all;
import org.apache.log4j.Logger;
import ua.nure.timoshenko.summaryTask4.Path;
import ua.nure.timoshenko.summaryTask4.db.DBManager;
import ua.nure.timoshenko.summaryTask4.db.bean.CartProductBean;
import ua.nure.timoshenko.summaryTask4.web.command.Command;
import ... |
package com.teamcqr.chocolatequestrepoured.objects.entity.ai.target;
import java.util.List;
import com.google.common.base.Predicate;
import com.teamcqr.chocolatequestrepoured.objects.entity.bases.AbstractEntityCQR;
import com.teamcqr.chocolatequestrepoured.objects.items.staves.ItemStaffHealing;
import net.mi... |
package com.tencent.mm.plugin.setting.ui.setting;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.text.Spannable.Factory;
import android.text.TextUtils;
import android.text.style.ForegroundColorSpan;
import android.view.V... |
/**
* Copyright (c) 2016, 指端科技.
*/
package com.rofour.baseball.dao.manager.bean;
import java.io.Serializable;
/**
* @ClassName: DutyBean
* @Description: 管理中心 职务
* @author 高振
* @date 2016年3月27日 下午4:50:50
*
*/
public class DutyBean implements Serializable {
private static final long serialVersionUID = -... |
/*
Copyright (c) 2008-2019. Fundwit All Rights Reserved.
*/
package com.fundwit.sys.shikra.exception;
public class EmailSendException extends RuntimeException {
public EmailSendException(String message, Throwable cause) {
super(message, cause);
}
}
|
package com.kaldin.common.userName.action;
import java.io.PrintWriter;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;... |
package com.ericlam.mc.minigames.core.exception.arena.create;
public class NoMoreLocationException extends WarpException {
public NoMoreLocationException(String warp) {
super(warp);
}
}
|
package com.tencent.mm.ui.chatting.g;
import android.content.pm.PackageInfo;
import android.view.View;
import com.tencent.mm.model.au;
import com.tencent.mm.model.c;
import com.tencent.mm.pluginsdk.model.app.p;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.storage.bd;
import com.tencent.mm.ui.chatti... |
package pro.eddiecache.core.memory;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import org.apache.co... |
package com.jandir.dalip.ponginfinityfinal;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Rect;
import java.util.Random;
/**
* Created by dalip on 2017-07-06.
*/
public class Debuff {
private int x;
private int y;
private... |
/*
* 文 件 名: UserStatusRequest.java
* 描 述: UserStatusRequest.java
* 时 间: 2013-6-18
*/
package com.babyshow.rest.userstatus;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.babyshow.rest.RestRequest;
/**
* <一句话功能简述>
*
* @author ztc
* @... |
package com.agileengine.test.gallery.utils;
import com.agileengine.test.gallery.service.dto.Token;
import org.springframework.http.HttpHeaders;
import org.springframework.stereotype.Component;
@Component
public class ImageGalleryIntegrationUtil {
public HttpHeaders getHeaderParams(Token token){
HttpHeade... |
package com.tencent.mm.plugin.appbrand.app;
import com.tencent.mm.bt.h.d;
import com.tencent.mm.y.a.c;
class e$3 implements d {
final /* synthetic */ e ffn;
e$3(e eVar) {
this.ffn = eVar;
}
public final String[] xb() {
return c.dzV;
}
}
|
/**
* Copyright (c) 2011 Baidu.com, Inc. All Rights Reserved
*/
package com.baidu.api.store;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.Arrays;
import java.util.List;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletReque... |
package br.com.unopar.delivery.model;
import java.io.Serializable;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.... |
package net.asurovenko.netexam.network;
import net.asurovenko.netexam.network.models.AddedExam;
import net.asurovenko.netexam.network.models.Answers;
import net.asurovenko.netexam.network.models.AvailableExams;
import net.asurovenko.netexam.network.models.CompletedExams;
import net.asurovenko.netexam.network.models.Ex... |
package com.example.rockypzhang.buglydemo;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import com.tencent.bugly.crashreport.CrashReport;
public class Main2Activity extends Activity {
NativeCrashJni nativeCrashJni;
@Override
protected void onCreate(Bundle savedInstance... |
package com.espendwise.manta.web.forms;
import com.espendwise.manta.spi.Initializable;
import com.espendwise.manta.spi.Resetable;
import com.espendwise.manta.util.Constants;
import com.espendwise.manta.util.validation.Validation;
import com.espendwise.manta.web.validator.UserAccountFilterFormValidator;
@Validation(U... |
package slepec.hra.planek.prostor.vec;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
/**
* S vyjimkou osoby je vse v prostoru nejaka vec! Kazda vec ma prehled o vsech
* vecech v ni obsazenych
*
* @author Pavel Jurca... |
package com.tencent.mm.plugin.ipcall.a.f;
import com.tencent.mm.model.au;
import com.tencent.mm.plugin.ipcall.a.a.a;
import com.tencent.mm.plugin.ipcall.a.a.c;
import com.tencent.mm.plugin.ipcall.a.d.i;
import com.tencent.mm.sdk.platformtools.x;
public final class d extends a {
public final int[] aXB() {
... |
package pl.lua.aws.core.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import pl.lua.aws.core.model.PokerPlayerEntity;
@Repository
public interface PokerPlayerRepository extends JpaRepository<PokerPlayerEntity,Long> {
}
|
package com.imwj.tmall.dao;
import com.imwj.tmall.pojo.Category;
import org.springframework.data.jpa.repository.JpaRepository;
/**
* @author langao_q
* @create 2019-11-19 10:36
* 类别dao操作
*/
public interface CategoryDAO extends JpaRepository<Category, Integer> {
}
|
package L2.task2;
public class Sportsman {
private String name;
private boolean hasRecord;
private boolean hasTeam;
public Sportsman(String name, boolean hasRecord, boolean hasTeam) {
this.name = name;
this.hasRecord = hasRecord;
this.hasTeam = hasTeam;
}
public String... |
package org.jozif;
import java.util.ArrayList;
import java.util.List;
public class Problem4 {
/**
* 有两个大小为 m 和 n 的排序数组 nums1 和 nums2 。
* <p>
* 请找出两个排序数组的中位数并且总的运行时间复杂度为 O(log (m+n)) 。
* <p>
* 示例 1:
* <p>
* nums1 = [1, 3]
* nums2 = [2]
* <p>
* 中位数是 2.0
* <p>
... |
package persistencia;
import java.util.List;
import presentacion.Jugador;
public interface IDAOAbandonos {
public void anyadirAbandonoSinMostrar(Jugador [] jugadores,int idPartida,int idJugador);
public List<Integer> abandonosNoMostrados(int idJugador,int idPartida);
public void cambiarAbandonoAMostrado(int idJug... |
package demo9.ingredients.chicago;
import demo9.ingredients.Cheese;
public class MozzarellaCheese implements Cheese {
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.