text stringlengths 10 2.72M |
|---|
package net.asurovenko.netexam.ui.teacher_screen.edit_exam_questions;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.CoordinatorLayout;
import android.support.v7.app.AlertDialog;
import android.support.v7.widget.LinearLayout... |
package com.kzw.leisure.event;
/**
* author: kang4
* Date: 2019/12/5
* Description:
*/
public class AddBookEvent {
private String msg;
public AddBookEvent( ) {
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
}
|
package com.example.webproject.models.util;
import lombok.Data;
@Data
public class EditedRecipe {
private String id;
private String title;
private String ingredients;
private String instructions;
public EditedRecipe(){};
public EditedRecipe(String id, String title, String ingredients, Strin... |
package com.t.s.model.dto;
import java.util.Date;
public class GroupDto {
//테이블 명 GROUPINFO
private int groupno;
private String grouptitle;
private String groupcontent;
private Date groupregdate;
private String groupimg;
public GroupDto() {
//super();
}
//파라미터 포함된 생성자는 만들어서 사용하세요 ... |
package controllerTest;
import static org.junit.Assert.assertEquals;
import com.task19.jxmall.JxmallApplication;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframewo... |
package com.ssafy.java;
public class AlpaTest2 {
public static void main(String[] args) {
/*char alpa = 'A';
for(int i =0;i<5;i++) {
String line ="";
String blank="";
for (int j = 0; j < 5 ; j++) {
if(j==0){
line += alpa;
alpa+=1;
}else if(j<=i) {
line += (" " + alpa);
alpa+=... |
package com.gxj.controller;
import com.gxj.pojo.User;
import com.gxj.service.UserService;
import com.gxj.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web... |
package com.example.illuminate_me;
import android.content.Context;
import com.nuance.speechkit.Audio;
import com.nuance.speechkit.AudioPlayer;
import com.nuance.speechkit.Language;
import com.nuance.speechkit.Session;
import com.nuance.speechkit.Transaction;
import com.nuance.speechkit.TransactionException;
import co... |
package ua.nure.timoshenko.summaryTask4.web.command.client;
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.OrderBean;
import ua.nure.timoshenko.summaryTask4.db.entity.User;
import ua.nure.t... |
package com.tencent.mm.ui.chatting.viewitems;
import com.tencent.mm.modelvideo.r;
import com.tencent.mm.modelvideo.t;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.chatting.viewitems.ai.d;
import java.lang.ref.WeakReference;
class ai$d$1 implements Runnable {
final /* synthetic */ r tWJ;
... |
package com.sky.weixin.ParamesAPI.util;
/**
* @author Engineer-Jsp
* @date 2014.09.23
* 参数API类*/
public class ParamesAPI {
// token
public static String token = "WeiXinEnterprises";
// 随机戳
public static String encodingAESKey = "tw8ColhrtDzU6XTHJ2shUeTyuaPQkSzdvD8jYtnTIYf";
//你的企业号ID
public stat... |
package com.tencent.mm.protocal;
import com.tencent.mm.protocal.c.g;
public class c$ev extends g {
public c$ev() {
super("openGameCenter", "openGameCenter", 175, true);
}
}
|
/**
*
*/
package io.github.liuzm.distribute.common.zookeeper;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apa... |
package com.tencent.mm.boot.svg.a.a;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Paint.Cap;
import android.graphics.Paint.Join;
import android.graphics.Paint.Style;
import android.graphics.Path;
import android.os.Looper;
import com.tencent.mm.s... |
package com.vilio.nlbs.commonMapper.pojo;
import java.io.Serializable;
import java.util.*;
import java.text.SimpleDateFormat;
import java.text.ParseException;
/**
* @实体名称 待办任务列表
* @数表名称 NLBS_TODO
* @开发日期 2017-06-20
* @技术服务 www.fwjava.com
*/
public class NlbsTodo implements Serializable {
/**
* 数据主键(必... |
package com.yicheng.service.data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import com.yicheng.common.Config;
import com.yicheng.pojo.Cloth;
import com.yicheng.pojo.ClothColor;
public class ClothDetailData implements Serializable {
private static final long serialVersionUID = -6414... |
package question2;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Scanner;
/*Class of the menu.
* There are 4 arrays in the class, representing the existing item types.
* The class receives the information from the file, and puts the items by type into the app... |
/*
* 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 calculadora;
/**
*
* @author PC07
*/
public class Operacao {
Double a, b;
char code;
public O... |
/**
* DNet eBusiness Suite
* Copyright: 2010-2013 Nan21 Electronics SRL. All rights reserved.
* Use is subject to license terms.
*/
package net.nan21.dnet.module.bd.presenter.impl.uom.model;
import net.nan21.dnet.core.api.annotation.Ds;
import net.nan21.dnet.core.api.annotation.SortField;
import net.nan21... |
package com.mahii.flavoursdemo;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ListView;
import android.widget.TextView;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
/**
* @author i_m_mahii, mahi0... |
package in.dailyhunt.internship.userprofile.services;
import in.dailyhunt.internship.userprofile.client_model.request.*;
import in.dailyhunt.internship.userprofile.client_model.response.*;
import in.dailyhunt.internship.userprofile.entities.*;
import in.dailyhunt.internship.userprofile.exceptions.BadRequestException;
... |
package org.lxy.gui;
import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.Toolkit;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
/**
* @author menglanyingfei
* @date 2017-4-17
*/
public class Demo1_Frame {
/**
* @param args
*/
public static void main(String[] args) {
... |
package com.tencent.mm.plugin.luckymoney.f2f.ui;
import com.tencent.mm.hardcoder.HardCoderJNI;
class ShuffleView$c {
public int kPr = 1;
public int kPs = 1;
public int kPt = 2;
public int kPu = HardCoderJNI.sHCDBDELAY_WRITE;
public int kPv = 80;
public float scaleX = 0.01f;
public float sc... |
package com.revature.pms.model;
import java.io.Serializable;
/*
* This is product pojo class mapped to product table in the database
*/
public class Product implements Serializable{
//fields of my product pojo
private int productId;
private String productName;
private int quantityOnHand;
private int price;
... |
package pl.agh.edu.dp.labirynth;
import lombok.Getter;
import lombok.Setter;
import pl.agh.edu.dp.labirynth.Builder.CountingMazeBuilder;
import pl.agh.edu.dp.labirynth.Factory.BombedMazeFactory;
import pl.agh.edu.dp.labirynth.MazeElements.Doors.Door;
import pl.agh.edu.dp.labirynth.MazeElements.MapSite;
import pl.agh.e... |
package july_29;
public class Arraytask4 {
public static void main(String[] args)
{
//System.out.println(isprime(123));
int arr[]= {101,123,56,78,33,79};
System.out.println("The Prime no in the array are :");
for(int i=0;i<arr.length;i++)
{
if(isprime(arr[i]))
{
System.out.println(arr[i]);
}
... |
package com.hcl.pets.repository;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import com.hcl.pets.model.Pet;
/**
* @author laxman verma
*
*/
@Repositor... |
package com.neo.service.impl;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.neo.dao.IOrderDao;
import com.neo.po.TOrder;
import com.neo.service.BusiService;
@Service("busiService")
pu... |
package com.jvmless.threecardgame.handlers.commands.dto;
import com.jvmless.threecardgame.domain.shuffle.Card;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
@AllArgsConstructor
@NoArgsConstructor
@Data
public class PlayGameCommand {
private String h... |
package com.tencent.mm.g.a;
public final class lr extends com.tencent.mm.sdk.b.b {
public a bWf;
public b bWg;
public static final class b {
public boolean bWe = false;
}
public lr() {
this((byte) 0);
}
private lr(byte b) {
this.bWf = new a();
this.bWg = n... |
package edu.umich.verdict.relation.expr;
import java.util.Map;
import com.google.common.collect.ImmutableMap;
import edu.umich.verdict.VerdictContext;
import edu.umich.verdict.parser.VerdictSQLParser.Lateral_view_functionContext;
public class LateralFunc extends Expr {
public enum LateralFuncName {
... |
package com.gsonkeno.redis;
import org.apache.commons.pool2.ObjectPool;
import org.apache.commons.pool2.impl.GenericObjectPool;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
/**
* Created by gaosong on 2018-02-08
*/
public class CommonPool2Test {
public static void main(String[] args) throws Exc... |
package client;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
/**
* This class contains an application that can drive both the TCP and UDP
* implementations of a <code>MagicClient</code>.
*
* @author Evert Ball
* @version 01 November 2019
*/
public class MagicCli... |
package patterned;
public class Player {
public int numWin;
public int numLose;
public Strategy strategy;
@Override
public String toString() {
return "Win:" + numWin + ", Lose:" + numLose;
}
public boolean highLow(int num) {
return strategy.highLow(num);
}
} |
package com.chronos.mvpapi.resource;
import com.chronos.mvpapi.event.ResourceCreatEvent;
import com.chronos.mvpapi.model.Person;
import com.chronos.mvpapi.repository.PersonRepository;
import com.chronos.mvpapi.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframew... |
package com.george.projectmanagement.controller;
import com.george.projectmanagement.model.Employee;
import com.george.projectmanagement.repository.EmployeeRepository;
import com.george.projectmanagement.services.EmployeeServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewor... |
package controller.service.impl;
import controller.service.*;
import model.dao.DAOFactory;
import model.dao.impl.DAOFactoryImpl;
public class ServiceFactoryImpl implements ServiceFactory {
private static ServiceFactory serviceFactory;
private DAOFactory daoFactory;
private ServiceFactoryImpl() {
... |
package com.example.admin3.mobtransyandex;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v7.app.AppCompatActivity;
import android.text.Editable;
import android.text.TextWatcher;
impor... |
public class MoodAnalyser {
private String message;
MoodAnalyser(){
}
MoodAnalyser(String message){
this.message= message;
}
public String analyseMood(){
try {
message=message.toLowerCase();
if(message.contains("sad"))
return "SAD";
else
return "HAPPY";
}
catch(NullPointerException e){
ret... |
package com.hesoyam.pharmacy.pharmacy.events;
import com.hesoyam.pharmacy.pharmacy.model.Promotion;
import org.springframework.context.ApplicationEvent;
public class OnNewPromotionEvent extends ApplicationEvent {
private final Promotion promotion;
public OnNewPromotionEvent(Promotion promotion) {
su... |
package com.example.makemytrip.fragment;
import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
... |
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;
public class StringReader {
public static String key, keyLow, str, strLow;
static Set<String> keySet;
static ArrayList<String> keyList = new ArrayList();
static String[] keyMassGeneral;
public static void keyWord(... |
package net.xndk.proxygen.handlers;
import java.lang.annotation.Annotation;
import javax.ws.rs.POST;
public class PostHandler extends HttpMethodHandler {
public PostHandler() {
super("POST");
}
public Class<? extends Annotation> getTarget() {
return POST.class;
}
}
|
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.01.... |
/*
* PrintSDSevk.java
*
* Created on 27 Ekim 2007 Cumartesi, 13:13
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package askan.printing;
import askan.Main;
import askan.systems.*;
import java.awt.*;
import java.awt.print.*;
import javax.print.*;
/**
*
... |
package com.takshine.wxcrm.message.oauth;
/**
* 权限信息
* @author liulin
*
*/
public class AuthorizeInfo {
private String accessToken; //网页授权接口调用凭证,注意:此access_token与基础支持的access_token不同
private int expiresIn;//access_token接口调用凭证超时时间,单位(秒)
private String refreshToken; //用户刷新access_token
private String openId ;//用... |
package in.hocg.defaults.base.body;
import java.io.Serializable;
import java.util.List;
/**
* Created by hocgin on 16-12-21.
*/
public class Page implements Serializable {
// 每页显示数量
private int size;
// 总记录数
private long total;
// 当前页
private int current;
private List<?> result;
public Page(int size, lo... |
/*
* 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.training.vasivkov;
import org.apache.commons.lang3.ArrayUtils;
import java.io.*;
import java.util.*;
import java.util.stream.Collectors;
public class HuffmanCode {
public void encode(String fileName, String destCodeMap, String destHuffmanCode) throws Exception {
File file = new File(fileNa... |
package au.com.flexisoft.redisutil.dto;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Setter
@Getter
@ToString
public class AccountSummary implements Serializable {
@JsonProperty("Id")
private Integer I... |
package com.vuelos.domain;
import java.io.Serializable;
import javax.persistence.*;
@Entity
@Table
public class Itinerario implements Serializable{
@Id
@Column(name="id_itinerario")
private Integer id_itinerario;
@Column(name="vuelos")
private Vuelos vuelos;
@Column(name="segmento_vuelos")
priv... |
package com.project.database.entities;
import lombok.*;
@Getter
@Setter
@AllArgsConstructor
@ToString
@EqualsAndHashCode
public class StatementFooterEntity {
private Integer presentCount; // Example: 6,
private Integer absentCount; // Example: 0,
private Integer rejectedCount; // Example: 0
}
|
package com.xiaoxiao.service;
import com.xiaoxiao.pojo.vo.XiaoxiaoArticleVo;
import com.xiaoxiao.pojo.vo.XiaoxiaoLabelVo;
import com.xiaoxiao.pojo.vo.XiaoxiaoSortsVo;
import com.xiaoxiao.utils.PageResult;
import java.util.List;
import java.util.Map;
/**
* _ooOoo_
* o8888888o
* 88" . "88
* (| -_- |)
* O\ = /O
... |
/*
* [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... |
package com.wincentzzz.project.template.springhack.dto.response;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AppointmentListItem {
private Long id;
private Boolean isPaired;
... |
package javax.vecmath;
import java.io.Serializable;
public class TexCoord3f extends Tuple3f implements Serializable {
static final long serialVersionUID = -3517736544731446513L;
public TexCoord3f(float x, float y, float z) {
super(x, y, z);
}
public TexCoord3f(float[] v) {
super(v);
}
pub... |
package com.gxc.reply.dao.impl;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
import com.gxc.reply.dao.ReplyDao;
import com.gxc.reply.domain.Reply;
public class ReplyDaoImpl extends HibernateDaoSupport implements ReplyDao {
/**
* 添加回复
*/
@Override
public void saveReply(Reply reply) {... |
package customer.gajamove.com.gajamove_customer;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.MenuItem;
import androidx.appcompat.app.AppCompatActivity;
import customer.gajamove.com.gajamove_customer.fragment.SettingsFragment;
import cu... |
package unalcol.reflect.process;
import java.io.InputStream;
import java.io.PrintStream;
/**
* <p>A Class for reading the output streams used by an External Process (command).</p>
*
* @author Jonatan Gomez Perdomo
* @version 1.0
*/
public class ProcessInputStream implements Runnable {
/**
* OutputStream... |
package TurtleGraphics;
import java.io.*;
import java.awt.*;
public class Point implements Serializable{
int x, y;
Color color;
boolean endPoint; // new field
// etc.
}
|
import java.util.Scanner;
import java.util.Arrays;
import java.util.Collections;
import java.lang.Math;
import java.text.DecimalFormat;
public class FractionalKnapsack {
private static double getOptimalValue(int capacity, int[] values, int[] weights, int n) {
double value = 0;
//write your code here... |
package com.magic.utopia.common.config;
public enum UserLogType {
register(1),login(2);
private int code;
private UserLogType(int code){
this.code=code;
}
public int getCode(){
return code;
}
}
|
package com.hesoyam.pharmacy.appointment.service.impl;
import com.hesoyam.pharmacy.appointment.model.Appointment;
import com.hesoyam.pharmacy.appointment.model.AppointmentStatus;
import com.hesoyam.pharmacy.appointment.model.CheckUp;
import com.hesoyam.pharmacy.appointment.model.Counseling;
import com.hesoyam.pharmacy... |
package chapter11;
import java.util.ArrayList;
public class Exercise11_11 {
public static void main(String[] args) {
ArrayList<Integer> list = new ArrayList<Integer>();
list.add(5);
list.add(-5);
list.add(-55);
list.add(95);
list.add(15);
sort(list);
for (Integer integer : list) {
... |
/*
* Implemente um programa em Java que leia o nome de um vendedor, o seu salário fixo e o total de vendas efetuadas por ele no mês.
* Sabendo que este vendedor ganha 15% de comissão sobre suas vendas efetuadas, o programa deve mostrar como resultado o seu nome e o seu salário no final do mês.
*/
package aula2... |
package main.java.parrot;
public class NorwegianBlueParrot extends Parrot {
private final boolean isNailed;
private final double voltage;
public NorwegianBlueParrot(double voltage, boolean isNailed) {
this.isNailed = isNailed;
this.voltage = voltage;
}
@Override
public double getSpeed() ... |
package stubmanagement;
import com.github.tomakehurst.wiremock.common.Slf4jNotifier;
import com.jayway.restassured.RestAssured;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import com.github.tomakehurst.wiremock.junit.WireMockRule;
import static com.github.tomakehurst.wiremock.client.WireMo... |
package com.youthchina.dto.applicant;
import com.youthchina.domain.Qinghong.JobCollect;
import com.youthchina.dto.ResponseDTO;
import com.youthchina.dto.job.JobResponseDTO;
/**
* @program: youthchina
* @description: 职位收藏返回DTO
* @author: Qinghong Wang
* @create: 2019-02-26 11:28
**/
public class JobCollectRespons... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Beans;
import java.sql.Date;
/**
*
* @author babman92
*/
public class InstallmentMonthly {
private String ID;
private String CustomerID;
private float RateInterestMonney;
priv... |
package com.example.imdb.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
... |
package ch22.ex22_11;
public abstract class SimpleTreeNode<V> implements Acceptable{
private SimpleTreeNode<V> parent;
private SimpleTreeNode<?> left;
private SimpleTreeNode<?> right;
private final V value;
SimpleTreeNode(SimpleTreeNode<V> parent, V value){
this.parent = parent;
this.value = value;
... |
package de.mycinema.dao;
import de.mycinema.model.OpenAirCinema;
import org.springframework.stereotype.Component;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import java.util.List;
/**
* Created by 13912 on 14.10.2017.
*/
@Component
public class OpenAirCinemaDAO {
@Per... |
/* 1: */ package com.kaldin.questionbank.answer.dto;
/* 2: */
/* 3: */ public class AnswerDTO
/* 4: */ {
/* 5: */ private int answerId;
/* 6: */ private String optionA;
/* 7: */ private String optionB;
/* 8: */ private String optionC;
/* 9: */ private String optionD;
/* 10... |
package shared;
import java.lang.*;
/** This object contains the result information on one instance passed through
* an inducer.
* @author James Louis 12/08/2000 Ported to Java.
*/
public class CatOneTestResult {
/** The instance whose information is stored in this object.**/
public Instance insta... |
package programmers.level2;
import java.util.*;
public class OpenChatRoom {
class Solution {
HashMap<String, String> map = new HashMap<>();
ArrayList<String> list = new ArrayList<>();
ArrayList<String> ids = new ArrayList<>();
public String[] solution(String[] record) {
splitRecord(record);
return pri... |
package name.kevinlocke.appveyor;
import static name.kevinlocke.appveyor.testutils.AssertMediaType.assertIsPng;
import static name.kevinlocke.appveyor.testutils.AssertMediaType.assertIsSvg;
import static name.kevinlocke.appveyor.testutils.AssertModels.assertModelAgrees;
import static name.kevinlocke.appveyor.testutils... |
/**
*****************************************
*****************************************
* Cpr E 419 - Lab 4 *********************
*****************************************
*****************************************
*/
import java.io.IOException;
import java.net.URI;
import org.apache.hadoop.conf.Configuratio... |
package com.example.cjcu.listenertry;
public abstract class AOperator {
protected double num_A;
protected double num_B;
public AOperator(){
this.num_A = 0;
this.num_B = 0;
}
public void setNum_A(double num_A){
this.num_A = num_A;
}
public void setNum_B(double num_B... |
package com.plivo.constants;
public class EndPoints {
public static final String GET_NUMBERS = "/v1/Account/{authid}/Number/";
public static final String POST_MESSAGE = "/v1/Account/{authid}/Message/";
public static final String GET_MESSAGE_DETAILS = "/v1/Account/{authid}/Message/{message_uuid}/";
pu... |
import javafx.application.Application;
import javafx.animation.PauseTransition;
import javafx.scene.Scene;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;
import java.util.HashMap;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.I... |
package com.google.android.exoplayer2.a;
import com.google.android.exoplayer2.Format;
import com.google.android.exoplayer2.i.i;
import com.tencent.map.lib.mapstructure.MapRouteSectionWithName;
import java.nio.ByteBuffer;
public final class h {
private static final int[] ahj = new int[]{1, 2, 2, 2, 2, 3, 3, 4, 4, ... |
package team;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.geom.Line2D;
import java.awt.geom.Rectangle2D;
import java.util.Collection;
import java.util.List;
import java.util.ArrayList;
import rescuecore2.misc.gui.ScreenTransform;
import rescuecore2.standard.entities.Area;
import rescuecore2.sta... |
import java.awt.Color;
import javax.swing.JFrame;
import javax.swing.table.DefaultTableModel;
/*
* 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.
*/
/**
*
* @author vipin
*/
public c... |
package com.lito.fupin.business.organize;
import java.util.Map;
public interface IOrganizeBusinessService {
Map createOrganize(Map in) throws Exception;
/**
* 根据机构名称模糊查询机构列表,支持分页
* @param in
* @return
* @throws Exception
*/
Map listOrganize(Map in) throws Exception;
void upd... |
package race;
public class RaceGame {
public static void main(String[] args) throws InterruptedException {
System.out.println("지금부터 경주마 게임을 시작합니다..");
System.out.println("준비");
Horse horse1 = new Horse("대용");
Horse horse2 = new Horse("홍규");
Horse horse3 = new Horse("세준");
Horse horse4 = new Horse("방그리... |
/*
* Copyright: (c) 2004-2011 Mayo Foundation for Medical Education and
* Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the
* triple-shield Mayo logo are trademarks and service marks of MFMER.
*
* Except as contained in the copyright notice above, or as used to identify
* MFMER as the auth... |
package com.originspark.drp.controllers;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org... |
public class Load extends Instruction {
public void exec(CMA state) {
state.stack[state.SP] = state.stack[state.stack[state.SP]];
}
@Override
public String toString()
{
return "load";
}
}
|
public class Thread {
public Thread () {
}
}
|
/**
* Created on 14-oct-2004
* @author a999942
*
*/
package com.bdb.util;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import javax.servlet.jsp.JspException;
import ja... |
package de.jmda.gen.java;
import de.jmda.gen.CompoundGenerator;
/**
* Generator for technical package declarations.
*
* @author rwegner
*/
public interface DeclaredPackageGenerator
extends CompoundGenerator, DeclaredElementGenerator
{
PackageStatementGenerator getPackageStatementGenerator();
void setPackageS... |
package com.ibiscus.myster.service.user;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.apache.commons.text.RandomStringGenerator;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Au... |
import java.util.*;
class palindrome {
public static void main(String args[]) {
String a,b;
Scanner in=new Scanner(System.in);
a=in.nextLine();
String b=new StringBuffer(a).reverse().toString();
if(a.equals(b)){
System.out.println("Palindrome");
else
System.out.println("Not");
}} |
package pl.finapi.paypal;
import java.awt.Desktop;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
im... |
package techokami.computronics.audio;
import java.util.HashMap;
import techokami.computronics.Computronics;
import techokami.lib.audio.StreamingAudioPlayer;
import techokami.lib.audio.StreamingPlaybackManager;
public class DFPWMPlaybackManager extends StreamingPlaybackManager {
public DFPWMPlaybackManager(boolean i... |
package ayou.model;
import static org.junit.Assert.*;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
public class BoardTest {
Card test;
Card test2;
Card test3;
Board board;
Player player;
@Before
public void setUp(){
test = new Card(1, "card1", "img1", 6, 10, true, true, 0, fals... |
package com.google.android.gms.wearable.internal;
import android.os.ParcelFileDescriptor;
import android.os.ParcelFileDescriptor.AutoCloseInputStream;
import com.google.android.gms.common.api.Status;
import com.google.android.gms.wearable.c.d;
import java.io.IOException;
import java.io.InputStream;
public class bg$c ... |
/*
* [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 com.pearl.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.pearl.domain.EmotionVO;
@Mapper
public interface EmotionMapper {
int emotionInsert(EmotionVO vo);
EmotionVO getEmo(EmotionVO vo);
int updateEmo(EmotionVO vo);
List<EmotionVO> emoCount(int boardNum);
}
|
package com.fixkomun.CSGOSmokeGuide;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Relat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.