text stringlengths 10 2.72M |
|---|
package com.tencent.mm.ui.tools;
import com.tencent.mm.ui.tools.MMGestureGallery.k;
class MMGestureGallery$k$1 implements Runnable {
final /* synthetic */ k uAt;
MMGestureGallery$k$1(k kVar) {
this.uAt = kVar;
}
public final void run() {
MMGestureGallery.a(this.uAt.uAo).getImageMatri... |
package com.jiudianlianxian.bean;
/**
*
* @Title: Bean3
* @Description: 使用实例工厂创建对象
* @Company: 济宁九点连线信息技术有限公司
* @ProjectName: spring_day01
* @author fupengpeng
* @date 2017年9月1日 下午3:28:28
*/
public class Bean3 {
public void add(){
System.out.println("使用实例工厂创建对象");
}
}
|
package com.tencent.mm.plugin.freewifi.ui;
import com.tencent.mm.sdk.platformtools.x;
class c$2 implements Runnable {
final /* synthetic */ c jnp;
c$2(c cVar) {
this.jnp = cVar;
}
public final void run() {
c.d(this.jnp);
if (c.a(this.jnp) != null) {
c.a(this.jnp).... |
package com.sfa.controller.mobile;
import java.io.IOException;
import java.util.List;
import javax.mail.MessagingException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation... |
// Duotas masyvas int[] matrix =
// 1. Isvesti (output) atskirai masyvo stulpeliu ir eiluciu elementu suma
// 2. Naudojantis tik primityvais, surasti ir isvesti (output) masyvo elemento, kurio reiksme 300,
// koordinates (eilutes indeksa, stulpelio indeksa).
class Task2 {
public static void main(S... |
/**
* Copyright 2007 Jens Dietrich 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 to in writin... |
package me.punish.Commands;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import me.punish.Punish;
import me.punish.Objects.IPBan;
import net.md_5.bungee.api.ChatColor;
publ... |
package jp.co.nttdata.rate.util;
import java.net.URL;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import jp.co.nttdata.rate.except... |
package com.example.ilham.obatherbal.knowledge.tacit;
public class tacitModelSearch {
private String _id,title;
public tacitModelSearch(String _id, String title) {
this._id = _id;
this.title = title;
}
public String get_id() {
return _id;
}
public String getTitle() {
... |
package jie.android.ip.screen.play;
import aurelienribon.tweenengine.BaseTween;
import aurelienribon.tweenengine.Timeline;
import aurelienribon.tweenengine.Tween;
import aurelienribon.tweenengine.TweenCallback;
import aurelienribon.tweenengine.TweenManager;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import co... |
/*
* Copyright 2008 Kjetil Valstadsve
*
* 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 agre... |
package com.rsm.yuri.projecttaxilivre.historicchatslist.ui;
import android.content.Intent;
import android.os.Bundle;
/*import android.support.design.widget.CoordinatorLayout;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutMan... |
package DAO;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import model.Conexion;
import model.Pedido;
import model.RecepcionDePedido;
public class RecepcionDePed... |
package kr.ko.nexmain.server.MissingU.membership.model;
import java.io.Serializable;
public class MemberAttr implements Serializable {
private static final long serialVersionUID = 5119565290611513512L;
private Integer memberId;
private String attrName;
private String attrValue;
/**
* @return the memberId
... |
package com.diozero.devices;
import com.diozero.api.I2CDevice;
import com.diozero.api.I2CDeviceInterface;
import com.diozero.api.RuntimeIOException;
import com.diozero.util.Crc;
import com.diozero.util.Hex;
import com.diozero.util.SleepUtil;
import org.tinylog.Logger;
import java.nio.ByteOrder;
import static java.la... |
package com.legalzoom.api.test.client.service.adapter;
import javax.annotation.Resource;
import com.legalzoom.api.test.client.service.CoreBillingServiceClient;
import com.legalzoom.api.test.client.service.CoreCustomersServiceClient;
import com.legalzoom.api.test.client.service.factory.CoreBillingServiceClientFactory;
... |
package Ciphers.Impl;
import Ciphers.Cipher;
public class CesarCipher implements Cipher {
@Override
public String encode(String textToEncode) {
char[] lettersInMamaWord = textToEncode.toCharArray();
StringBuilder stringBuilder= new StringBuilder();
for (char letter : lettersInMamaWord)... |
package edu.uis.mastermind.view;
import java.awt.Color;
import java.awt.Font;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
import javax.swing.UIManager;
public class MastermindBoard extends JFrame {
private static fi... |
package com.b2international.library;
import java.io.FileOutputStream;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.jface.dialogs.Messag... |
package VFlyweight.Flyweight;
import java.awt.*;
import java.util.HashMap;
import java.util.Map;
public class TreeFlyweightFactory {
static Map<String, TreeFlyweight> treeFlyweightsCache = new HashMap<>();
public static TreeFlyweight getTreeFlyweight(String name, Color color, String otherTreeData) {
... |
package com.link.admin.controller.vo;
import com.jfinal.kit.StrKit;
import com.link.model.Menu;
import org.springframework.beans.BeanUtils;
import java.util.ArrayList;
import java.util.List;
/**
* Created by linkzz on 2017-06-10.
*/
public class TreeMenu extends Menu {
private List<Menu> nodes;
private Lis... |
package com.psinghcan.learnspringbatchcourse;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class LearnSpringBatchCourseApplication {
public static void main(String[] args) {
SpringApplication.run(Learn... |
package com.xindq.yilan.view.shape;
import android.graphics.*;
import java.util.ArrayList;
import java.util.List;
public class PolygonShape extends Shape {
private List<Point> points = new ArrayList<>();
private Path path = new Path();
public PolygonShape() {
}
public PolygonShape(List<Point> p... |
package org.bulldog.examples;
import io.silverspoon.bulldog.beagleboneblack.BBBNames;
import io.silverspoon.bulldog.core.gpio.DigitalIO;
import io.silverspoon.bulldog.core.io.PinIOGroup;
import io.silverspoon.bulldog.core.platform.Board;
import io.silverspoon.bulldog.core.platform.Platform;
import io.silverspoon.bulld... |
package leecode.DP;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
//01 背包问题
public class 单词拆分_139 {
public boolean wordBreak(String s, List<String> wordDict) {
return word_huisu(0,s,new HashSet(wordDict));
}
public static boolean word_huisu(int ... |
package LeetCode.Problems.easy;
import java.lang.reflect.Array;
import java.util.Arrays;
public class RotateArray {
public static void main(String[] arg0){
// System.out.println(Arrays.toString(rotate(new int[]{1,2,3,4,5,6,7},3)));
// System.out.println(Arrays.toString(rotate(new int[]{-1,-100,3,9... |
package edu.cornell.gdiac.controller;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
import ... |
package Exercicio_Lista_3;
public class ContaBancaria {
private String nomeDoTitular, agencia, dataDeAbertura;
private int número;
private double saldo;
public void sacar(double valor) {
this.saldo -= valor;
}
public void depositar(double valor) {
this.saldo += valor;
}
public double calculaRendime... |
package elberger.shabbatinfo;
public class ShabbatInfo
{
private String category;
private String title;
private ShabbatInfoItems items;
public ShabbatInfo(String category, String title)
{
items = new ShabbatInfoItems(category, title);
}
public ShabbatInfoItems getInfoItems()
{
return items;
}
}
|
package Problema2;
/**
*
* @author Andrés Cuéllar
*/
public class Hexagono implements Poligono {
private double apotema =0;
public void Apotema(double l,double r) throws IllegalArgumentException {
apotema = Math.sqrt(Math.pow(r, 2) - Math.pow(l/2, 2));
}
public double area(double lado, double apotema)... |
package analysis.experiments;
import analysis.utils.AnalysisUtils;
import analysis.utils.CsvWriter;
import datastructures.interfaces.IList;
import misc.Sorter;
public class Experiment2 {
public static final int NUM_TRIALS = 5;
public static final long MAX_LIST_SIZE = 200000;
public static final ... |
package com.mmall.service;
import com.mmall.common.ServerResponse;
/**
* Created by syk on 2018/4/4.
*/
public interface ICategoryService {
ServerResponse addCategory(String categoryName, Integer parentId);
ServerResponse updateCategoryName(String categoryNameNew, Integer categoryId);
ServerResponse get... |
package ch.ubx.startlist.server.admin;
import java.util.List;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;
@Root (name="olc2006")
public class AirfieldSeeYou {
@ElementList(inline = true)
private List<Airfields> olc2006;
public List<Airfields> getList() {
return... |
package io.github.forezp.fastwebadmin.web;
import io.github.forezp.fastwebadmin.service.SysUserService;
import io.github.forezp.fastwebcommon.dto.PageResultsDTO;
import io.github.forezp.fastwebcommon.dto.RespDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind... |
package com.example.myfinalproject;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProviders;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
... |
package edu.cmu.hcii.sugilite.recording.newrecording.fullscreen_overlay;
import android.app.Instrumentation;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.net.Uri;
import android... |
package com.example.shivam.erpsystem.Activity;
import android.app.Dialog;
import android.app.Fragment;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import a... |
package org.bardibardi.wo.guice;
import org.bardibardi.guice.GetInjectorFactory;
import com.google.inject.Inject;
import com.google.inject.Injector;
import com.webobjects.appserver.WOComponent;
import com.webobjects.appserver.WOContext;
/**
* As it is not known how to intercept the construction
* of a WOComponent... |
package com.lspring.JDKaop;
import java.util.Date;
public class PesonDaoImplOld implements IPersonDao {
public void save(Person person) {
//切面2:记录日志
System.out.println(UserContext.getUser()+"准备调用save()方法"+new Date());
//切面1:安全性问题的代码
if(!"admin".equals(UserContext.getUser())){
new RuntimeException("没有权限!"... |
package de.lise.terradoc.core.customization.converter;
import de.lise.terradoc.core.state.TerraformResource;
import java.util.Arrays;
import java.util.stream.Collectors;
public class ResourceTypeConverter {
public String getReadableResourceTyp(TerraformResource resource) {
if(resource.getType() == null ... |
package com.tencent.mm.plugin.subapp.ui.pluginapp;
import android.content.Intent;
import android.os.Bundle;
import android.os.Looper;
import android.widget.ListView;
import android.widget.TextView;
import com.tencent.mm.R;
import com.tencent.mm.aa.q;
import com.tencent.mm.bg.d;
import com.tencent.mm.pluginsdk.ui.tools... |
execute(des, src, registers, memory) {
Calculator c = new Calculator(registers, memory);
boolean isRegisterSrc = false;
int desSize = 0;
int srcSize = 0;
String resultingHex = "";
if(des.isRegister()) {
desSize = registers.getBitSize(des);
}
if(src.isRegister()) {
srcSiz... |
package com.tencent.mm.plugin.gcm.modelgcm;
import com.tencent.mm.network.q;
import com.tencent.mm.plugin.gcm.modelgcm.c.a;
import com.tencent.mm.plugin.gcm.modelgcm.c.b;
import com.tencent.mm.protocal.k.d;
import com.tencent.mm.protocal.k.e;
public class e$a implements q {
private final a khs = new a();
priv... |
package zm.gov.moh.core.repository.database.dao.domain;
import java.util.List;
import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.OnConflictStrategy;
import androidx.room.Query;
import zm.gov.moh.core.repository.database.entity.domain.Concept;
import zm.gov.moh.core.repository.database.entity... |
package com.company;
import java.util.Scanner;
import ibadts.*;
public class StackCoSc {
public static void example1() {
int n = 13;
Stack stack = new Stack();
while (n > 0) {
stack.push(n % 2);
n = n/2;
}
while (!stack.isEmpty()) {
Sy... |
package by.dt.boaopromtorg.web.controller;
import by.dt.boaopromtorg.entity.Shop;
import by.dt.boaopromtorg.service.ShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind... |
package c123.web;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Timestamp;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
i... |
package com.rc.portal.service.impl;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.springframework.util.StringUtils;
import com.rc.portal.dao.CLocationCityDAO;
import com.rc.portal.service.CLocationCityManager;
import com.rc.portal.vo.CLocationCity;
import com.rc.portal.v... |
package app0513.album;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Image;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class PhotoMain extends JFrame{
JPanel p_north; //북쪽에 썸네일을 붙일 패널
XCanvas can;
String dir="C:/korea202102_javaworks... |
package ls.example.t.zero2line.hen_coder_activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class SelfDrawViewActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setCon... |
package LeetCodeUtils.utils;
public class BlankBoard {
public void function() {
}
}
|
package Manufacturing.ProductLine;
import Manufacturing.ProductLine.Line.PeachLine;
import java.util.HashMap;
import java.util.Map;
/**
* 水果罐头生产线工厂类,获取具体水果罐头生产线.
* <b>应用了工厂模式、享元模式</b>
*
* @author 孟繁霖
* @date 2021-10-11 23:48
*/
public class FruitLineFactory extends Factory {
/**
* 水果罐头生产线map
*... |
package so.ego.space.domains.project.presentation;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.R... |
package com.ch.web.gateway.util;
import org.springframework.format.annotation.DateTimeFormat;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.uti... |
package com.smxknife.guava.observer;
import com.google.common.eventbus.EventBus;
/**
* @author smxknife
* 2019/12/29
*/
public class GuavaEventTest {
public static void main(String[] args) {
EventBus bus1 = new EventBus();
GuavaEvent guavaEvent = new GuavaEvent();
bus1.register(guavaEvent);
bus1.post("T... |
package org.bofur.search.statement;
public class LikeStatement implements Statement {
private String field;
private String value;
public LikeStatement(String field, String value) {
this.field = field;
this.value = value;
}
public String generate() {
if (value.isEmpty()) return "";
return field + " LIK... |
public class CompanySpec {
public static void main(String[] args) {
Company company = new Company();
company.addEmployees();
company.printEvenIDsStartingWith('S');
}
} |
import java.util.Scanner;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author bettk6516
*/
public class quiz5 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// T... |
package com.demo;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.widget.Toast;
public class MyReceiver3 extends BroadcastReceiver {
public void onReceive(Context context, Intent intent) {
Str... |
package com.bluemingo.bluemingo.persistence;
import com.bluemingo.bluemingo.domain.SellerVO;
import com.bluemingo.bluemingo.generic.GenericDAO;
/** Last Edit 2017-02-16
* SellerVO - SellerDAO - SellerService - SellerController
* 판매자 리스트 페이지에서 사용됨
*
*/
public interface SellerDAO extends GenericDAO<SellerVO, Integ... |
package com.example.chrisc.bestlineaward;
public class Members {
String name;
Double leadership;
Double service;
Double fellowship;
Double total;
String status;
public Members()
{
name = "";
leadership = 0.0;
service = 0.0;
fellowship = 0.0;
to... |
package com.rsm.yuri.projecttaxilivre.profile.ui;
import com.rsm.yuri.projecttaxilivre.historicchatslist.entities.User;
/**
* Created by yuri_ on 02/01/2018.
*/
public interface ProfileView {
void onUploadInit();
void onUploadComplete(String urlPhotoUser);
void onUploadError(String error);
void o... |
package com.duanxr.yith.midium;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* @author 段然 2021/8/24
*/
public class CheapestFlightsWithinKStops {
/**
* There are n cities connected by some number of flights. You are given an ar... |
package org.buaa.ly.MyCar.service;
import org.springframework.web.context.ServletContextAware;
import javax.servlet.http.Part;
public interface UploadService extends ServletContextAware {
String getCodePrefix();
String save(String type, String id, Part attachment);
String save(Part attachment);
S... |
package com.siberiadante.titlelayoutlib;
public class Constants {
public static final String STATUS_BAR_HEIGHT_RES_NAME = "status_bar_height";
}
|
package lesson38.Ex4;
import java.util.ArrayList;
import java.util.List;
public class Run {
public static void main(String[] args) {
List<RegisterDriver> registerDriverList = new ArrayList<>();
//tạo đối tượng lái xe (gồm id, fullName)
Driver dv1 = new Driver("D1", "Trần Văn An");
... |
package shiro;
import org.apache.shiro.crypto.SecureRandomNumberGenerator;
import org.apache.shiro.crypto.hash.SimpleHash;
import java.sql.*;
import java.util.HashSet;
import java.util.Set;
/**
* @author malf
* @description TODO
* @project how2jStudy
* @since 2020/11/9
*/
public class UserDao {
public UserDao(... |
package com.jvm;
import java.util.HashMap;
import java.util.Map;
/**
*
* 测试jvisualvm的监控功能
*
*/
public class JVisualVMTest {
public static void main(String[] args) throws InterruptedException {
// 模拟占用资源的部分
for(int i = 0; i < 100; i++){
Map<String, String> map = new HashMap<String, String>();
map.put(... |
package com.anibal.educational.rest_service.comps.service.impl;
import static org.junit.Assert.fail;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.apache.log4j.Logger;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.an... |
package com.tencent.mm.plugin.ipcall.ui;
import android.app.AlertDialog;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.view.ViewPager.e;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.GridView;
import a... |
package omicron_15;
import java.awt.BorderLayout;
import javax.swing.JFrame;
public class Inicio extends JFrame{
public Inicio(){
super ("Devil May Cry Node Ultimate");
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setResizable(false);
Control ctrl=new Control();
this.addKeyListener(ctrl... |
package com.smxknife.flink.demo.demo03;
import org.apache.flink.api.common.functions.CoGroupFunction;
import org.apache.flink.api.common.functions.MapFunction;
import org.apache.flink.api.java.ExecutionEnvironment;
import org.apache.flink.api.java.functions.KeySelector;
import org.apache.flink.api.java.operators.DataS... |
package com.example.androidtest;
import org.xframe.annotation.ViewAnnotation;
import org.xframe.annotation.ViewAnnotation.ViewInject;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.Animat... |
package com.springcore.collections;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class Test {
public static void main(String[] args) {
ApplicationContext context =new ClassPathXmlApplicationContext("com/springcore/collectio... |
package widgets;
import treelign.Treelign;
public class ScrollBarDrawer {
private Treelign parent;
private int xPosition;
private int yPosition;
private int width;
private int height;
private int lengthOfAlignment;
private int textIndex;
private int displayedLength;
private int sliderXPosition;
private int ... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the ter... |
package main.model.events;
import java.lang.reflect.Method;
/**
* Created by gijin on 2017-12-09.
*/
public class Action {
private Method call;
private Object[] args;
public Object[] getArgs() {
return args;
}
public void setArgs(Object[] args) {
this.args = args;
}
p... |
package jbyco.analysis.patterns.parameters;
/**
* A factory for creating AbstractParameter objects.
*/
public interface AbstractParameterFactory {
/**
* Initializes the factory.
*/
public void init();
/**
* Gets the variable.
*
* @param index the index of the variable
* @r... |
package ru.alxant.worker.model.data;
import org.apache.log4j.Logger;
import ru.alxant.worker.model.support.StartDaysWork;
/**
* В данном классе хранятся данные на старт дня которые должен ввести кассир
*/
public class Cassa {
private static final Logger log = Logger.getLogger(Cassa.class);
private String ... |
package com.nationsky.vote.tasks.vote.req;
public class InvolveVoteReq {
/** 投票类型: 0-实名;1-匿名,默认为0 */
private int voteanon;
private String voteid;
private String[] itemids;
public String getVoteid() {
return voteid;
}
public void setVoteid(String voteid) {
this.voteid = vot... |
package proCat.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpMethod;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.anno... |
package com.ha.cn.model;
/**
* @program: wisdomside
* @description: user分页辅助类
* @author: zan.Kang
* @create: 2018-04-10 17:25
**/
public class UsersPage extends Users {
private Integer currentPageIndex;//当前页
private Integer eachPageSize;//查询条数
public int getCurrentPageIndex() {
return curr... |
package de.mufl.sandbox.geo.common;
import java.io.Serializable;
/**
* Coordinate in WGS-84 format
*
* @author Florian Müller
*/
public class Position implements Serializable{
/**
* Serialization ID
*/
private static final long serialVersionUID = -3921681700883946873L;
/**
* Latitude
... |
package Objets;
import java.io.Serializable;
public class Alert implements Serializable
{
private static final long serialVersionUID = 1L;
private Course course;
private Student student;
private double moyenne;
// Constructor
public Alert()
{
}
// Getters
public Course getCourse()
{
return course;
... |
/**
*
*/
package pl.zezulka.game.rockpaperscissors.model;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
/**
* @author ania
*
*/
public class ScissorsChoiceTest {
private Choice choice = Choice.SCISSORS;
@Test
public void winsWithPaperTest() {
Assertions.assertTrue(choice.win... |
package com.example.grademe;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.example.grademe.datatransferobject.CategoryRatingDTO;
import com.example.grademe.datat... |
package com.zjh.DataPreProcessing.mapper;
import java.io.IOException;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
// 数据清洗
// 处理缺失值及异常值代码
public class DataProcessingMapper extends Mapper<LongWritable, Te... |
<#if package?? && package != "">package ${package};</#if>
/* MAESTRO VIPERD (App.Desktop)
* Licensed under the Apache License, Version 2.0 */
import interno.nucleo.Interactor;
import interno.nucleo.Interfaces.IDTO;
import interno.nucleo.Interfaces.IPresentador;
import interno.nucleo.Interfaces.IEntidad;
imp... |
package com.app.cosmetics.application;
import com.app.cosmetics.application.data.AccountResponse;
import com.app.cosmetics.core.account.Account;
import com.app.cosmetics.core.account.AccountRepository;
import com.app.cosmetics.api.AccountRequest;
import com.app.cosmetics.api.exception.InvalidException;
import com.app.... |
package pl.yoyo.mateuszkaflowski.accelerometertest;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEve... |
package reddit.wrapper;
import java.util.Date;
import net.dean.jraw.models.PublicContribution;
import net.dean.jraw.tree.CommentNode;
/**
* <p>
* Wrapper class for {@link net.dean.jraw.tree.CommentNode} in JRAW.<br>
* It is only created by {@link reddit.wrapper.PostWrapper} class but can be used at any scope.</p>
... |
package gcodeviewer.parsers;
import gcodeviewer.toolpath.events.EndExtrusion;
import gcodeviewer.toolpath.events.MoveTo;
import gcodeviewer.toolpath.events.SetFeedrate;
import gcodeviewer.toolpath.events.SetMotorSpeedPWM;
import gcodeviewer.toolpath.events.SetMotorSpeedRPM;
import gcodeviewer.toolpath.events.SetPlatfo... |
package interviews.linkedin;
import common.Utils;
import common.TreeNode;
import java.util.LinkedList;
import java.util.List;
public class FindLeavesOfBinaryTree {
public List<List<Integer>> findLeaves(TreeNode root){
List<List<Integer>> res = new LinkedList<List<Integer>>();
find(res,root);
... |
package pl.lua.aws.core.service;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
import pl.lua.aws.core.domain.PokerPlayer;
import pl.lua.aws.core.domain.UploadS3Objec... |
import java.io.*;
import java.util.Scanner;
import java.util.ArrayList;
/* Definition de la structure du tableau Burrows-Wheeler */
class BW
{
private String w; //Le mot de base w
private char $; //Le mot plus petit que les lettres de w, $
private String w$; //La concatenation de w et $
private int Lw$;
privat... |
package main;
import note.controller.NoteController;
import note.model.Corigent;
import note.model.Elev;
import note.model.Medie;
import note.model.Nota;
import note.utils.ClasaException;
import org.junit.Test;
import java.util.List;
import static org.junit.Assert.*;
//
//@RunWith(Suite.class)
//@Su... |
package com.jdyx.app.bean;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@Data
public class VideoDisplayVo implements Serializable{
/**
* 编号
*/
private Integer videoId;
/**
* 用户id
*/
private Integer userId;
/**
* ... |
package com.service;
import com.dao.BooksMapper;
import com.pojo.Books;
import java.util.List;
/**
* @author RZBlegion Email:641693535@qq.com
* @version 1.0
* @Description TODO
* @Date 2021-07-07 13:25
*/
public class BooksServiceImp implements BooksService {
private BooksMapper booksMapper;
public... |
package com.android.lvxin.data.source.remote;
import com.android.lvxin.data.source.MediasDataSource;
/**
* @ClassName: MediasRemoteDataSource
* @Description: TODO
* @Author: lvxin
* @Date: 6/12/16 16:04
*/
public class MediasRemoteDataSource implements MediasDataSource {
public static MediasRemoteDataSource... |
package com.santander.bi.net.sftp;
import java.io.InputStream;
import com.jcraft.jsch.ChannelSftp;
import com.jcraft.jsch.JSch;
import com.jcraft.jsch.Session;
import com.jcraft.jsch.UserInfo;
import com.santander.bi.dtos.ServerDTO;
import com.santander.bi.net.dat.SUserInfo;
import com.santander.bi.utils.Utils;
publ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.