text stringlengths 10 2.72M |
|---|
package com.smxknife.rocketmq.demo1;
import org.apache.rocketmq.client.exception.MQBrokerException;
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.client.producer.DefaultMQProducer;
import org.apache.rocketmq.client.producer.SendResult;
import org.apache.rocketmq.common.messa... |
package menusandprograms;
/**
* @author Stefan Ohlsson
* @author Erik Olsson
*/
import mainstart.Main;
import initializers.*;
public class StaffMangement {
public static void printMenu() {
System.out.println("\tEmployeeMangement");
System.out.println("***************************... |
package rhtn_homework;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Stack;
import java.util.StringTokenizer;
public class KAKAO_크레인_인형뽑기 {
private static StringBuilder sb = new StringBuilder();
private static Stack<Integer> s... |
package com.daheka.nl.social.shadowfish.restserver.repository;
import com.daheka.nl.social.shadowfish.dao.AppUser;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
/**
* Extension interface for the existing CrudRepository
*/
@Repository
public interface Ap... |
package uz.pdp.apphemanagement.payload;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.sql.Date;
import java.util.UUID;
@Data
public class TaskDto {
@NotNull
private String name;
@NotNull
private String description;
@NotNull
private Date deadline;
@NotNull... |
/*
* Copyright 2009 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.bingo.code.example.design.strategy.rewrite;
/**
* �����㷨ʵ�֣�Ϊս�Ժ����ͻ��ͻ�����Ӧ���ļ۸�
*/
public class CooperateCustomerStrategy implements Strategy{
public double calcPrice(double goodsPrice) {
System.out.println("����ս�Ժ����ͻ���ͳһ8��");
return goodsPrice*0.8;
}
}
|
package vn.silverbot99.farm_traders.func.map;
import org.jetbrains.annotations.NotNull;
import be.trikke.intentbuilder.BuildIntent;
import be.trikke.intentbuilder.Extra;
import vn.silverbot99.core.base.presentation.mvp.android.AndroidMvpView;
import vn.silverbot99.core.base.presentation.mvp.android.MvpActivity;
impor... |
package com.tencent.mm.plugin.card.sharecard.ui;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.tencent.mm.plugin.card.sharecard.a.b;
import com.tencent.mm.ui.MMActivity;
public final class f {
MMActivity gKS;
View hyK;
b hzM;
ImageView hzQ;
T... |
package models;
import java.util.List;
public class Group {
private List<User> usersInGroup;
private String groupName;
private List<Expense> listOfExpenses;
public Group(List<User> usersInGroup, String groupName, List<Expense> listOfExpenses) {
super();
this.usersInGroup = usersInGroup;
this.groupName = gr... |
package com.zhixinhuixue.querykylin.DTO;
import java.math.BigDecimal;
public class ClazzExamMethodScoreResDTO {
/**
* 考点ID
*/
private Integer methodId;
/**
* 考点名称
*/
private String methodName;
/**
* 考试次数
*/
private Integer examNum;
/**
* 题目数
*/
... |
package com.bowlong.reflect;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Vector;
import java.util.WeakHashMap;
public class TypeCSharpEx {
public static String getTy... |
package chat.signa.net.pingfang.logging.datebase;
import android.net.Uri;
import android.provider.BaseColumns;
/**
* Created by Administrator on 2016/1/22.
*/
public final class AppContract {
public AppContract() {}
public static final String AUTHORITY = "net.pingfang.signalr.chat.provider";
public st... |
package ch24.ex24_01;
import java.util.ListResourceBundle;
/**
*
* @author kmori
*
*/
public class GlobalRes_ja_JP extends ListResourceBundle{
public static final String HELLO = "hello";
public static final String GOODBYE = "goodbye";
@Override
protected Object[][] getContents() {
return... |
package collection;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.ListIterator;
public class TestArrayList {
public static void main(String []args) {
ArrayList<String> arrl = new ArrayList<String>();
arrl.add("Jayanta");
arrl.add("Arijit");
arrl.add("Abhijoy");... |
package artem;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.*;
@Service
public class SimpleTimeCalculator extends Description implements TimeCalculator {
@Override
public Response calculate(TimeCalcArguments argumen... |
// Will Westrich and Seth Hunter
import java.util.Iterator;
class TableSTBased implements TableInterface{
private int size;
private SearchTreeInterface tree;
public TableSTBased(){
tree = new AdaptableBinarySearchTree();
size = 0;
}
public boolean tableIsEmpty(){
... |
/*
* created 28.08.2006
*
* Copyright 2009, ByteRefinery
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* $Id... |
package com.dataflow.exportable;
public class MappingInfo {
public String templateId;
public String description;
public String author;
public String organisation;
public String email;
public String date;
} |
package com.smxknife.kafka.demo02;
import org.apache.kafka.clients.consumer.ConsumerInterceptor;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.ConsumerRecords;
import org.apache.kafka.clients.consumer.OffsetAndMetadata;
import org.apache.kafka.common.TopicPartition;
... |
package com.guille.util;
import java.awt.Component;
import java.awt.Image;
import javax.swing.ImageIcon;
public class Images {
/**
* Given a component a the path of the image will compute the resized image for that specific component.
*
* @param comp where the image is going to be placed.
* @param pictur... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package co.th.aten.football.dao;
import co.th.aten.football.model.VideoModel;
import java.util.List;
import javax.sql.DataSource;
/**
*
* @author Atenpunk
*/
public interface VideoPlayersDao {
public DataSource... |
package kh.cocoa.dto;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.sql.Timestamp;
@Data
@NoArgsConstructor
public class MessengerViewDTO {
private int seq;
private String type;
private String name;
private int party_seq;
private int emp_code;
private... |
package com.ejsfbu.app_main.DialogFragments;
import android.content.Intent;
import android.graphics.Point;
import android.os.Bundle;
import android.view.Display;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import ... |
package com.tencent.mm.plugin.dbbackup;
import com.tencent.mm.model.au;
import com.tencent.mm.model.c;
import com.tencent.mm.plugin.dbbackup.d.9;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.vfs.b;
class d$9... |
/**
* Test class for BST
* Expected output:
*
* TESTING INTEGERS
* Root: 6
*
* 4 exists: true
* 7 exists: true
*
* 0 exists: false
* 11 exists: false
*
* Printed in order:
* 1
* 2
* 3
* 4
* 5
* 6
* 7
* 8
* 9
*
* TESTING STRINGS
* Root: Crabcake
*
* Salmon exists: true
* Aaron exist... |
package com.tencent.mm.ui.transmit;
import android.app.ProgressDialog;
import android.content.Intent;
import android.graphics.BitmapFactory.Options;
import android.os.Bundle;
import android.text.TextUtils;
import com.tencent.mm.R;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.f;
import com.tencent.mm.ak.l;
impo... |
/*
* Copyright (C) 2013 Square, Inc.
*
* 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 agree... |
package com.findme.service;
import java.util.ArrayList;
import java.util.List;
import org.hibernate.SQLQuery;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.hibernate3.HibernateTemplate;
import org.spring... |
package com.tianlang.dao;
import com.tianlang.entity.City;
import com.tianlang.entity.Province;
import com.tianlang.jdbcutil.JDBCUtil;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class CityDao {
public List<... |
package zystudio.demo;
import zystudio.cases.graphics.scrolls.CaseNestedScrollFragment;
import zystudio.cases.graphics.touch.CaseForTouch2;
import zystudio.cases.multithread.CaseCallableAndFuture;
import zystudio.cases.multithread.CaseFutureCancel;
import zystudio.cases.multithread.CaseSemaphore;
import zystudio.cases... |
package customer.gajamove.com.gajamove_customer.utils;
import android.animation.ValueAnimator;
import android.view.animation.LinearInterpolator;
import com.google.android.gms.maps.model.LatLng;
import static java.lang.Math.atan;
public class AnimationUtils {
public static ValueAnimator polylineAnimator(){
... |
package com.duofei.shiro.utils;
import org.apache.shiro.config.Ini;
import org.apache.shiro.config.ReflectionBuilder;
import org.apache.shiro.env.DefaultEnvironment;
import org.apache.shiro.env.Environment;
import org.apache.shiro.mgt.SecurityManager;
import org.apache.shiro.realm.text.IniRealm;
import java.util.Hash... |
package com.doujg;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
/**
* @author
* @create 2017-12-12 14:33
**/
@SpringBootApplication
@EnableZuulProxy
public class Spr... |
package com.niubimq.thread;
import java.net.Socket;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.concurrent.LinkedBlockingQueue;
import net.sf.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import com.niubimq.lis... |
package com.tencent.mm.plugin.wallet_core.ui;
import android.graphics.Paint;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
class WalletOrderInfoNewUI$6 implements Runnable {
final /* synthetic */ WalletOrderInfoNewUI pwh;
WalletOrderInfoNewUI$6(WalletOrderInfoNewUI wa... |
//finds empty room and updates txt file when new members are checked in
import java.io.*;
import static java.lang.System.out;
public class hotelgp1data {
public static void main (String [] args) throws IOException {
//create file reader
BufferedReader br = new BufferedReader(new FileRead... |
package cpen221.mp3.wikimediator;
import java.util.ArrayList;
import java.util.List;
public class Query {
private final String item;
private final List<Condition> cond;
private final String sorted;
public Query(String item, List<Condition> cond, String sorted) {
this.item = item;
this... |
package org.config.spring;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/**
* Created by yangyu on 2016/6/2.
*/
public class Startup {
public static void main(String[] args) {
new ClassPathXmlApplicationContext("classpath:/config/applicationContext.xml");
}
} |
/**
* shopmobile for tpshop
* ============================================================================
* 版权所有 2015-2099 深圳搜豹网络科技有限公司,并保留所有权利。
* 网站地址: http://www.tp-shop.cn
* ——————————————————————————————————————
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用 .
* 不允许对程序代码以任何形式任何目的的再发布。
* ==========================... |
package com.sysh.entity.helplog;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
/**
* ClassName: <br/>
* Function: 帮扶日志查询<br/>
* date: 2018年06月11日 <br/>
*
* @author 苏积钰
* @since JDK 1.8
*/
public class HelpLogModel implements Serializable {
private... |
package com.tencent.mm.plugin.appbrand.jsapi.media;
import com.tencent.mm.plugin.appbrand.jsapi.media.c.2;
import com.tencent.mm.plugin.appbrand.jsapi.media.c.b;
import com.tencent.mm.plugin.appbrand.jsapi.media.c.c;
import com.tencent.mm.plugin.appbrand.jsapi.media.c.e;
import com.tencent.mm.plugin.appbrand.l;
import... |
package com.openclassrooms.KatzenheimLibrariesApp.batchConfig;
import javax.transaction.Transactional;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.Step;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.batch.core.conf... |
package napps.com.nearbycoffee.Contract;
import napps.com.nearbycoffee.BasePresenter;
import napps.com.nearbycoffee.BaseView;
/**
* Created by "nithesh" on 7/15/2017.
*/
public interface LocationContract {
interface View extends BaseView<Presenter>{
void showLoadingLocation();
void showReque... |
package com.tencent.mm.plugin.bottle.ui;
import com.tencent.mm.plugin.bottle.ui.ThrowBottleAnimUI.a;
class OpenBottleUI$1 implements a {
final /* synthetic */ OpenBottleUI hmh;
OpenBottleUI$1(OpenBottleUI openBottleUI) {
this.hmh = openBottleUI;
}
public final void auA() {
OpenBottle... |
package com.xuanxing.core.home.service;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.github.miemiedev.mybatis.paginator.domain.PageList;
import com.xuanxing.core.home.model.City;
public interface CityService {
City selectById(int id);
PageList<City> queryPage(City record, PageB... |
package com.tuitaking.everyDay;
import java.util.Arrays;
/**
* 老师想给孩子们分发糖果,有 N个孩子站成了一条直线,老师会根据每个孩子的表现,预先给他们评分。
* 你需要按照以下要求,帮助老师给这些孩子分发糖果:
* 每个孩子至少分配到 1 个糖果。
* 相邻的孩子中,评分高的孩子必须获得更多的糖果。
* 那么这样下来,老师至少需要准备多少颗糖果呢?
* 示例1:
* 输入: [1,0,2]
* 输出: 5
* 解释: 你可以分别给这三个孩子分发 2、1、2 颗糖果。
* 示例2:
* 输入: [1,2,2]
* 输出: 4
* 解释: 你可... |
package com.tencent.mm.plugin.topstory.ui.video;
import com.tencent.mm.plugin.topstory.ui.video.b.a;
class TopStoryVideoStreamUI$5 implements a {
final /* synthetic */ TopStoryVideoStreamUI oBa;
TopStoryVideoStreamUI$5(TopStoryVideoStreamUI topStoryVideoStreamUI) {
this.oBa = topStoryVideoStreamUI;
... |
package com.elepy.describers;
import com.elepy.Resource;
import com.elepy.ResourceArray;
import com.elepy.models.FieldType;
import com.elepy.models.Model;
import com.elepy.models.Property;
import com.elepy.models.TextType;
import com.elepy.models.props.*;
import com.elepy.uploads.FileUploadEvaluator;
import com.elepy.... |
package org.simplyatul.cassandrademo.repository;
import org.springframework.data.cassandra.repository.CassandraRepository;
import org.springframework.stereotype.Repository;
import org.simplyatul.cassandrademo.model.DemoTable;
@Repository
public interface DemoTableRepo
extends CassandraRepository<DemoTable, String... |
package com.smos.smartlistview;
import android.graphics.Canvas;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
/**
* Created by zhangjunxing on 16-3-7.
*/
public class StickyHeaderDecoration extends Recycl... |
package fall2018.csc2017.scoring;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.TabLayout;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import fall2018.csc2017.R;
import fall2018.csc... |
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.Scanner;
public class ServerCommandListener implements Runnable, KeyListener
{
SpaceStats spaceStats;
Server server;
Scanner sc;
public ServerCommandListener(Server server)
{
this.server = server;
sc = new S... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static... |
package com.smxknife.cloud.netflix;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotatio... |
/*
* $Id: Sorts.java, 2018年10月15日 下午6:51:21 XiuYu.Ge Exp $
*
* Copyright (c) 2018 Vnierlai Technologies Co.,Ltd All rights reserved.
*
* This software is copyrighted and owned by Vnierlai or the copyright holder specified, unless otherwise noted, and may
* not be reproduced or distributed in whole or in p... |
import java.util.ArrayList;
public class Conta {
private double saldo;
private double numero;
private double limite;
private ArrayList<Titular> titular = new ArrayList<Titular>();
public Conta(double saldo, double numero, double limite, Titular titular) {
this.saldo = saldo;
this.... |
package com.laychv.module_open_projects.okHttp;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.LinkedBlockingDeque;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
/**
* OkHttp中线程池的使用
*
* @see okhttp3.Dispatcher
*/
pub... |
package com.ssgl.mapper;
import com.ssgl.bean.RoomRank;
import com.ssgl.bean.RoomRankExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface RoomRankMapper {
int countByExample(RoomRankExample example);
int deleteByExample(RoomRankExample example);
int deleteByPrima... |
package _start;
import view.GameFrame;
/**
* @author Dillon Tuhy, Lamec Fletez, Laura Vonessen, Martin Stankard
*
*/
public class Start {
/**
* @param args
*
* This main sets the Game Frame as visible
*/
public static void main(String[] args) {
GameFrame NG = new GameFrame();
NG.pack();
NG.setVis... |
package com.avogine.junkyard.scene.render.load;
import java.util.HashMap;
import java.util.Map;
import com.avogine.junkyard.scene.render.data.Font;
public class FontCache {
private static Map<String, Font> fonts = new HashMap<>();
public static Font getFont(String fontName) {
if(fonts.containsKey(... |
package com.info.proyectoFinal.models;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.info.proyectoFinal.controllers.Usu... |
package lapechealaqueue.episode1;
import lapechealaqueue.episode1.util.ScaleManager;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.AnimationDrawable;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.os.PowerManager... |
package de.madjosz.adventofcode.y2015;
import static org.junit.jupiter.api.Assertions.assertEquals;
import de.madjosz.adventofcode.AdventOfCodeUtil;
import java.util.List;
import org.junit.jupiter.api.Test;
class Day16Test {
@Test
void day16() {
List<String> lines = AdventOfCodeUtil.readLines(2015,... |
/*
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package com.tencent.mm.modelsimple;
import com.tencent.mm.ab.j;
import com.tencent.mm.protocal.k.d;
import com.tencent.mm.protocal.k.e;
import com.tencent.mm.protocal.v.a;
final class b extends j {
private final a eeT = new a();
private final com.tencent.mm.protocal.v.b eeU = new com.tencent.mm.protocal.v.b()... |
package ExerDay30;
import java.util.Scanner;
public class CompareNum {
public static void main(String[] args){
Scanner in = new Scanner(System.in);
int n = in.nextInt();
String[] data = new String[n];
if(n>=100){
throw new IllegalArgumentException();
}
f... |
/*
* Copyright(c) 2018 Hemajoo Ltd.
* ---------------------------------------------------------------------------
* This file is part of the Hemajoo's Foundation project which is licensed
* under the Apache license version 2 and use is subject to license terms.
* You should have received a copy of the license with... |
/*
* Copyright (c) 2016 Mobvoi Inc.
*
* 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... |
package jp.noxi.collection;
import java.util.List;
public interface LinqList<T> extends Enumerable<T>, List<T> {
}
|
/*
* 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 view;
/**
*
* @author Babi
*/
public class AdicionarClienteUi extends javax.swing.JDialog {
/**
* Creates new for... |
import org.testng.Assert;
import org.junit.jupiter.api.Test;
class PermutationTest {
@Test
void check() {
var result = Permutation.check("abcd", "dabc");
Assert.assertEquals(true, result);
}
@Test
void checkUsingSort() {
var result = Permutation.checkUsingSort("abcd", "dab... |
package commands;
import com.github.motoki317.traq_bot.Responder;
import com.github.motoki317.traq_bot.model.MessageCreatedEvent;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
import java.util.Map;
import java.util.function.Supplier;
import java.util.stream.Collectors;
public class CommandAliase... |
package com.rc.portal.vo;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.rc.app.framework.webapp.model.BaseModel;
public class TGoodsPropertyExample extends BaseModel{
protected String orderByClause;
protected List oredCriteria;
public ... |
package bnorm.draw;
import java.awt.Graphics2D;
import bnorm.virtual.IPoint;
import bnorm.virtual.IVector;
import bnorm.virtual.IVectorWave;
import bnorm.virtual.IWave;
public final class Draw {
private Draw() {
}
public static void point(Graphics2D g, IPoint point, double radius) {
g.fillOval((int)... |
package com.cz.android.simplehttp.io.remote;
import com.cz.android.simplehttp.io.Constants;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.AsynchronousChannelGroup;
import java.nio.channels.AsynchronousServerSocketChannel;
import java.nio.channels.... |
package com.freejavaman;
import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListe... |
package com.weaver.wevaer;
/**
* @author zuoshao
* @date 2019/7/20 - 23:00
*/
public class heihei {
public void hello(){
System.out.println("helloword");
}
}
|
package com.meridal.examples.springbootmysql.elasticsearch.domain;
import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
im... |
package com.tencent.mm.plugin.setting.ui.qrcode;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import com.tencent.mm.plugin.account.ui.FacebookAuthUI;
class ShareToQQUI$6 implements OnClickListener {
final /* synthetic */ ShareToQQUI... |
package auxiliares;
public class Contexto {
public static String USUARIO;
}
|
/* (c) Julian Vera & Nathan S. Andersen
* CS 136 Spring 2015
* Lab Section 12 - 2
* Lab 4
*
*/
import java.util.Comparator;
/*
* This StudentLNComparator class provides a way to compare
* the last names of two Students. Comparators are an
* essential part of the sorting method found in the MyVector
* class... |
package minstack;
public class MinMaxStackClient {
public static void main(String[] args) {
MinMaxStack minStack= new MinMaxStack("MAN");
// minStack.push(5);
minStack.push(9);
minStack.push(1);
minStack.push(4);
System.out.println(minStack.getMin());
minS... |
/*
* LumaQQ - Java QQ Client
*
* Copyright (C) 2004 luma <stubma@163.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any lat... |
package com.ibeiliao.pay.idgen.api.dto;
import com.ibeiliao.pay.api.ApiCode;
import com.ibeiliao.pay.api.ApiResultBase;
import java.util.List;
/**
* 返回一个ID数组
* @author linyi 2016/7/11.
*/
public class IdArray extends ApiResultBase {
private static final long serialVersionUID = 1;
public IdArray() {}
... |
import java.util.ArrayList;
public class SListT {
public void traverse(SkipList skipList) {
for(int i=0; i < skipList.getSize(); i++) {
System.out.println(skipList.getNode(i));
}
}
}
|
package hirondelle.web4j.database;
import hirondelle.web4j.util.Util;
import static hirondelle.web4j.util.Consts.NEW_LINE;
/**
Dynamic SQL statement created in code. The SQL statement can be either:
<ul>
<li>a complete statement
<li>a fragment of a statement, to be appended to the end of a static... |
package enthu_l;
public class e_904 {
public int base;
public int height;
private static double ANGLE;
public static double getAngle();
public static void Main(String[] args) {
System.out.println(getAngle());
}
}
|
package net.manager;
import net.interfaces.OnMessageChangedListener;
import net.interfaces.OnMsgActionListener;
import net.manager.MessageInfo;
/**
* Created by taro on 16/3/4. 消息管理操作
*/
public interface IMessageMgrAction {
/**
* 获取指定设备的消息信息
*
* @param deviceToken
* @return
*/
public MessageInfo getMsgI... |
package com.smxknife.energy.collector.sink.kafka;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* @author smxknife
* 2021/5/14
*/
@Data
@Component
@ConfigurationProperties("sink.kafka")
public class KafkaSinkProp... |
package com.sporsimdi.action.facadeBean;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import com.sporsimdi.action.facade.GrupFacade;
import com.sporsimdi.model.entity.Grup;
import com... |
package com.codependent.mutualauth.config;
import com.codependent.mutualauth.CustomException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.authentication.BadCredentialsException;
import org.... |
/*
* [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 te... |
/**
* 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 ch.fhnw.edu.cpib.cst.interfaces;
import ch.fhnw.edu.cpib.scanner.enumerations.Changemodes;
public interface IChangeModeNTS extends IProduction {
public Changemodes toAbsSyntax();
}
|
package com.santander.bi.dtos;
import java.sql.Timestamp;
import java.util.Set;
public class ModuloDTO {
private String idModulo;
private String codigoModulo;
private String modulo;
private String descripcion;
//CAMPOS SEGUIMIENTO
private String habilitado="H";
priva... |
package com.darkania.darkers.comandos;
import java.util.List;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.craftbukkit.v1_11_R1.entity.CraftHorse;
import org.bukkit.entity.Entity;
import org.bukkit.entity.EntityType;
... |
/**
* 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 com.supinfo.SupTrip.entity;
import javax.persistence.*;
/**
* Created by Boufle on 21/03/2016.
*/
@Entity
@Table(name = "campus", schema = "suptrip", catalog = "")
public class CampusEntity {
private String campusName;
private String description;
private int campusId;
@Basic
@Column(na... |
package org.sonar.plugins.profiler;
import org.sonar.api.Extension;
import org.sonar.api.Plugin;
import org.sonar.api.Properties;
import org.sonar.api.Property;
import org.sonar.plugins.profiler.viewer.CpuHotspotsViewerDefinition;
import org.sonar.plugins.profiler.viewer.MemoryHotspotsViewerDefinition;
import java.ut... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.