text stringlengths 10 2.72M |
|---|
package com.kusu.ticksee.Adapters;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.kusu.ticksee.Models.BrifcaseItem;
import com.kusu.ticksee.R;
import... |
package com.hr.bulletin.controller;
import org.springframework.stereotype.Controller;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.Serializable;
import java.sql.Date;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.List;
import java.util.Map;... |
package com.trump.auction.pals.api.model.alipay;
import lombok.Data;
import java.io.Serializable;
import java.util.Map;
@Data
public class AlipayBackRequest implements Serializable {
private Map<String,String> params;
private String dataJson;
}
|
/* <applet code = "BannerApplet" width = 1000 height = 600> </applet> */
import java.applet.*;
import java.applet.*;
import java.awt.*;
public class BannerApplet extends Applet implements Runnable{
String str,str1;
Thread t;
char c,c1;
public void init(){
str="HELLO WORLD...THIS IS ROBO 2.0 :-) ";
str1="WELCOME... |
package org.giddap.dreamfactory.leetcode.onlinejudge.implementations;
import org.giddap.dreamfactory.leetcode.onlinejudge.Power;
public class PowerRecursiveImpl implements Power {
public double pow(double x, int n) {
if (n == 0) return 1;
int exp = Math.abs(n);
double half = pow(x, exp>>1)... |
package codeWars.snail;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class Snail {
public static int[] snail(int[][] array) {
if(array[0].length == 0){
return new int[0];
}
int i = 0, j = 0;
int imin = 0, jmin = 0, imax = array.len... |
/**
* Copyright (C) 2008 Atlassian
*
* 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 t... |
package domain;
import java.io.Serializable;
import net.sf.json.JSONObject;
public class StaffDTO implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1L;
private int staffId;
private String firstname;
private String lastname;
private String number;
private String status;
p... |
package com.example.diary.util;
import android.os.Handler;
import android.os.Looper;
import androidx.annotation.MainThread;
import java.lang.invoke.MethodHandles;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
public class AppExecutors {
private static final Object LOCK = new Obj... |
import java.io.*;
import java.util.*;
import edu.stanford.nlp.io.*;
import edu.stanford.nlp.ling.*;
import edu.stanford.nlp.pipeline.*;
import edu.stanford.nlp.trees.*;
import edu.stanford.nlp.util.*;
public class splitmailText {
public static void main(String args[]) throws Exception{
if (args.length != 2){
S... |
package android.support.constraint.solver;
import android.support.constraint.solver.SolverVariable.Type;
import java.io.PrintStream;
import java.util.Arrays;
public class ArrayLinkedVariables {
private static final boolean DEBUG = false;
private static final int NONE = -1;
private int ROW_SIZE = 8;
pr... |
package DAO;
import java.sql.Connection;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLDataException;
import java.sql.Statement;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.... |
package xPath;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
... |
package net.awesomekorean.podo.lesson.lessons;
import net.awesomekorean.podo.R;
import java.io.Serializable;
public class Lesson27 extends LessonInit_Lock implements Lesson, LessonItem, Serializable {
private String lessonId = "L_27";
private String lessonTitle = "because, so";
private String lessonSubT... |
package sch.frog.calculator.util;
import sch.frog.calculator.util.collection.ITraveller;
public class Arrays {
public static <T> String toString(T[] arr){
if(arr == null) return "null";
StringBuilder builder = new StringBuilder();
builder.append('[');
boolean start = true;
... |
package edu.neu.ccs.cs5010;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import static org.junit.Assert.*;
/**
* Created by xwenfei on 10/2/17.
*/
public class RoomTest {
@Rule
public ExpectedException thrown = ExpectedException.none();
... |
/*Joshua Palmer Z23280034
* COP 4331 001
* Homework 2 Question 4
*/
package hw2;
import java.util.Scanner;
public class Register {
/**Stores records of all products*/
private Inventory inventory;
/**Stores record of the products currently being purchased*/
private Transaction currentTransaction;
... |
package kim.aleksandr.backendless;
import android.app.DialogFragment;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.Switch;
import android.widget.TextView;
import android.widget... |
package com.demo.memento.blog;
import lombok.Data;
/**
* @author: Maniac Wen
* @create: 2020/6/11
* @update: 7:25
* @version: V1.0
* @detail:
**/
@Data
public class Editor {
private String title;
private String content;
private String imgs;
public Editor(String title, String content, String im... |
package com.cjx.nexwork.fragments.study;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.app.DatePickerDialog;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import an... |
package demo;
import entity.MarketingUserBehavior;
import org.apache.flink.api.common.typeinfo.Types;
import org.apache.flink.api.java.tuple.Tuple2;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
import org.apache.flink.streaming.api.functions.source.RichSourceFunction;
import java.util... |
package by.orion.onlinertasks.di.modules;
import android.support.annotation.NonNull;
import javax.inject.Named;
import javax.inject.Singleton;
import by.orion.onlinertasks.common.network.services.BaseService;
import by.orion.onlinertasks.common.network.services.CredentialsService;
import dagger.Module;
import dagger... |
package firstfactor.security.filter;
import com.fasterxml.jackson.databind.ObjectMapper;
import firstfactor.payload.ApiError;
import firstfactor.payload.UserLoginRequest;
import firstfactor.security.authentication.OTPAuthentication;
import firstfactor.security.authentication.UsernamePasswordAuthentication;
import org.... |
/*
* Copyright (C) 2015 grandcentrix GmbH
*
* 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 a... |
package service;
import com.google.gson.Gson;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
import java.util.Random;
/**
* This will implement functionality needed to have events for the persons generated by register/fill
*/
public class EventGenerator {
pr... |
public class Deadlock {
private String name;
public Deadlock(String name){
this.name = name;
}
public String getName(){
return this.name;
}
public void call(Deadlock thread1){
synchronized(this) {
System.out.println(this.name + " first function");
... |
package wsn.b405.console;
import wsn.b405.service.LogStatService;
import wsn.b405.util.BasicSystemInfoUtil;
import wsn.b405.util.JsonStringPrintFormatUtil;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.util.Map;
/**
* Created by ... |
/**
* Write a description of class Main here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Main
{
public static void main(String[] args)
{
// the array
String array[] ={"AA", "BB", "CC", "DD", "EE", "FF"};
// what you are searching for
... |
package com.yidatec.weixin.util;
import java.net.URLEncoder;
import java.security.Key;
import java.security.spec.KeySpec;
import javax.crypto.Cipher;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESedeKeySpec;
public class TripleDES {
//定义 加密算法,可用 DES,DESede,Blowfish
private static ... |
package ldap.password;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PostMapping;
@Controller
public class P... |
package com.deepakm.archaius.source;
import com.google.common.base.Function;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Maps;
import com.netflix.config.*;
import java.util.Map;
import java.util.Random;
/**
* Created by dmarathe on 4/29/15.
*/
public class InMemoryRandomConfigSo... |
package com.webproject.compro.web.vos;
import java.util.ArrayList;
public class GetBasketItemVo {
private final int startPage;
private final int endPage;
private final int requestPage;
private final ArrayList<BasketItemVo> basketItemVos;
public GetBasketItemVo(int startPage, int endPage, int requ... |
import java.util.Scanner;
import static org.apache.commons.lang3.StringUtils.isNumeric;
public class Menu {
static Scanner scanner = new Scanner(System.in);
static String numericOrText;
static void menu() {
System.out.println("1. Wyświetl liste ksiązek");
System.out.println("2. Wyjdź");... |
package demoOn11August2016_Part1;
public class Address {
String streetname;
String cityname;
String statename;
String countryname;
int zipcode;
public Address(String streetname, String cityname, String statename, String countryname, int zipcode) {
super();
this.streetname = streetname;
this.cityname =... |
package com.jalsalabs.ticklemyphonefull;
import android.app.Activity;
import android.os.Bundle;
import java.io.File;
import java.io.IOException;
public class PlaySDCardFile extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
public void onRes... |
package io.jee.alaska.sso.ticket.redis;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import javax.annotation.Resource;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframew... |
package com.pro.dong.product.model.dao;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.session.RowBounds;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.pro.dong.board.mod... |
package demos.okan.earthquakes.repository.api;
import android.util.Log;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Singleton;
import demos.okan.earthquakes.repository.model.Earthquake;
import demos.okan.earth... |
import java.util.Scanner;
class Program {
public static int Average(int n, int m ) {
Scanner scanner = new Scanner(System.in); //?input array in different function?
int a[][] = new int[n][m];
int sum = 0;
for (int i = 0; i < n; i++) {
for (int j = 0; j < m; j++) {
a[i][j] = scanner... |
package com.pwq.MQ;
/**
* @Author:WenqiangPu
* @Description
* @Date:Created in 17:55 2017/8/28
* @Modified By:
*/
import com.rabbitmq.client.ConnectionFactory;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.Channel;
public class Send {
private final static String QUEUE_NAME = "hello1";
... |
package com.impetus.atmosphere.broadcast;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* The Class BroadcasterServlet. This manages PublisherThread's ... |
package com.android.cartloading.adapters;
import android.app.Activity;
import android.content.Context;
import android.util.Log;
import android.view.View;
import android.widget.Filter;
import android.widget.Filterable;
import android.widget.TextView;
import com.android.cartloading.R;
import com.android.cartloading.act... |
package com.application.ui.activity;
import java.io.File;
import java.util.ArrayList;
import org.json.JSONException;
import org.json.JSONObject;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.conten... |
package jp.ac.kyushu_u.csce.modeltool.base.constant;
/**
* プリファレンス用定数定義クラス
* @author KBK yoshimura
*/
public class BasePreferenceConstants {
private BasePreferenceConstants() {};
// // 検査設定
// /** key マーク付き仕様書出力フォルダの指定方法 */
// public static final String PK_MARK_FOLDER_SETTING = "mark_folder_setting";
// /** key ... |
package com.myvodafone.android.service;
/**
* Created by kakaso on 4/24/2015.
*/
import android.app.Activity;
import android.content.Context;
import com.myvodafone.android.utils.StaticTools;
import com.myvodafone.android.utils.VFPreferences;
import com.worklight.wlclient.WLCookieManager;
import com.worklight.wlcli... |
package io.github.jitinsharma.insplore.model;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by jitin on 26/06/16.
*/
public class LocationObject implements Parcelable{
double latitude;
double longitude;
String airportCode;
String cityName;
String date;
int tabNumber;
... |
package com.applitools.hackathon.VisualAIRockStar.pages;
import org.openqa.selenium.By;
import org.openqa.selenium.Dimension;
import org.openqa.selenium.Rectangle;
import org.testng.Reporter;
import org.testng.asserts.SoftAssert;
import org.testng.log4testng.Logger;
import com.applitools.hackathon.VisualAIRockStar.com... |
/**
*/
package iso20022;
import java.lang.String;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Semantic Markup</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Enables modelers to markup elements of the Repository with ... |
/*
* Copyright 2013 Himanshu Bhardwaj
*
* 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.datalinks.rsstool.model;
import java.util.List;
import com.datalinks.rsstool.model.xml.Channel;
import com.datalinks.rsstool.model.xml.Item;
import com.datalinks.rsstool.model.xml.Rss;
public class RssFileModel {
private List<RssFile> rssFilez;
private RssFile selectedRssFile;
private Rss selectedRss... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String time1 = scanner.nextLine();
String[] lineVector = time1.split(":");
int hh1 = Integer.parseInt(lineVector[0]);
int mm1 = Integer.parseInt... |
package net.sourceforge.jFuzzyLogic.ruleConnection;
/**
* Methods used to connect rule's antecedents
*
* Connection type: OR
* Connection Method: Maximum
*
* @author pcingola@users.sourceforge.net
*/
public class RuleConnectionMethodOrMax extends RuleConnectionMethod {
public RuleConnectionMethodOrMax() {
... |
package com.bjpowernode.bean;
import javax.validation.constraints.*;
public class User {
@NotEmpty(message = "名字不能为空")
@NotNull(message = "名字不能为null")
@Size(max = 20,min = 1,message = "名字长度为{min}-{max}之间")
private String name;
@Min(value = 0,message = "年龄不能小于{value}")
@Max(value = 130,messa... |
package HakerRank.SpecialStringAgain;
import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.regex.*;
public class Solution {
// Complete the substrCount function below.
static long substrCount2(int n,... |
package ViewModel;
import Model.IModel;
import Model.MazeCharacter;
import javafx.scene.input.KeyCode;
import javafx.scene.media.Media;
import javafx.scene.media.MediaPlayer;
import javafx.util.Duration;
import java.io.File;
import java.util.Observable;
import java.util.Observer;
public class MyViewModel extends Obs... |
package co.bucketstargram.command.library;
import java.io.File;
import java.io.IOException;
import java.util.Enumeration;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import com.or... |
package com.zs.ui.channel;
import android.content.Context;
import android.view.View;
import android.widget.TextView;
import com.huaiye.sdk.logger.Logger;
import com.huaiye.sdk.sdpmsgs.talk.trunkchannel.TrunkChannelUserBean;
import java.util.List;
import butterknife.BindView;
import com.zs.R;
import com.zs.common.re... |
package com.extnds.competitive.problems.gasstation.data;
import com.extnds.competitive.datastructures.CircularList;
import java.util.Iterator;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
public class CircularRouteDetails {
private final CircularList<StationDetails> stationDetailsCircu... |
package io.github.jitinsharma.insplore.fragment;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v4.app.Fragment;
import android... |
package com.nanyin.entity.DTO;
import com.nanyin.entity.Unit;
import com.nanyin.entity.User;
import lombok.Data;
import java.util.Set;
@Data
public class UnitDto {
private Integer id;
private String name;
private String address;
private String comment;
Set<User> users;
}
|
/**
* Created with IntelliJ IDEA.
* User: daixing
* Date: 12-11-26
* Time: 上午12:04
* To change this template use File | Settings | File Templates.
*/
public class ErdosRenyi {
public static void main(String[] args)
{
StdDraw.setXscale(0, 100);
StdDraw.setYscale(0, 100);
for(int N =... |
package com.javarush.task.task08.task0822;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
/*
Минимальное из N чисел
*/
public class Solution {
public static void main(String[] args) throws Exception {
List<Integer> integerList = getIntegerList();
System.out.println(getMinim... |
package com.lucianoscilletta.battleship.graphics;
import com.lucianoscilletta.battleship.*;
import java.awt.*;
import java.awt.geom.*;
/**
* This class has been automatically generated using <a
* href="https://flamingo.dev.java.net">Flamingo SVG transcoder</a>.
*/
public class ButtonWarRoomDisable implements Game... |
package com.beans;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.Close... |
public class RotateMatrix {
public static void rotate(int[][] matrix, int n) {
for(int p = 0; p < n; p++) {
int tmp, end, bc;
for(int c = p + 1; c < n - p; c++) {
end = n - p - 1;
bc = n - c - 1;
System.out.println("c:p:bc:end => " + c ... |
package exercises.chapter3.ex14;
import static net.mindview.util.Print.print;
/**
* @author Volodymyr Portianko
* @date.created 02.03.2016
*/
public class Excercise14 {
static void stringTest(String s1, String s2) {
print(s1 == s2);
print(s1 != s2);
print(s1.equals(s2));
}
publ... |
package cl.sportapp.evaluation.dto;
import cl.sportapp.evaluation.entitie.Paciente;
import cl.sportapp.evaluation.entitie.SubtipoMedicion;
import cl.sportapp.evaluation.entitie.TipoEvaluacion;
import lombok.Data;
@Data
public class EvaluacionDto {
private Long id;
private int medicion1;
private int med... |
package com.meetingapp.android.model;
public class Participant {
private String name;
private String phone;
private String status;
public Participant(String name, String phone, String status) {
this.name = name;
this.phone = phone;
this.status = status;
}
public Part... |
package com.pro.dong.common.util;
public class Utils {
public static String getPageBar(int totalContents, int cPage, int numPerPage, String url) {
String pageBar = "";
final int pageBarSize = 5;
// 총페이지
final int totalPage = (int) Math.ceil((double) totalContents / numPerPage);
final int pageStart = ((cPag... |
class TriangleExercises {
void easiestExerciseEver() {
System.out.println("*");
}
void drawAHorizonalLine(int n) {
String asterisks = "";
for (int i = 0; i < n; i++) {
asterisks += "*";
}
System.out.println(asterisks);
}
void drawAVerticalLine(int n) {
String asterisks = "";
... |
package cn.tedu.inter;
//本类用于运行测试接口实现类
public class InterTests {
public static void main(String[] args) {
/*接口是否可以实例化?--不可以!!*/
//Inter i=new Inter
//定义多态对象进行测试--不常用
Inter i=new InterImpl();
i.eat();
i.play();
//创建纯纯的接口实现类对象进行测试--推荐使用
InterImpl i1=ne... |
package model;
/**
* Created by Ольга on 09.10.2016.
*/
public enum TypeOfSegment {
BEGIN,
END,
MIDDLE,
INCORRECT
}
|
package org.juxtasoftware.resource;
import java.io.Reader;
import java.util.Map;
import org.juxtasoftware.Constants;
import org.juxtasoftware.JuxtaWS;
import org.juxtasoftware.JuxtaWsApplication;
import org.juxtasoftware.dao.WorkspaceDao;
import org.juxtasoftware.model.Workspace;
import org.juxtasoftware.model.Worksp... |
package org.giddap.dreamfactory.leetcode.onlinejudge.implementations;
import org.giddap.dreamfactory.leetcode.onlinejudge.MinStack;
import java.util.ArrayDeque;
import java.util.Deque;
/**
*
*/
public class MinStackImpl implements MinStack {
private Deque<IntergerAndMin> nums = new ArrayDeque<IntergerAndMin>()... |
/** Victor Hugo Vimos T
* victor.vimos@epn.edu.ec
* victor.vimos@wmoos.com **/
package masterWeekThreeAC;
public class LinealSearch {
public void search(int [] arr, int target,boolean goPrint){
for (int guess = 0; guess <arr.length ; guess++) {
if(arr[ guess]==targe... |
package com.mcl.mancala.beans;
import com.mcl.mancala.game.Mechanics;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
public class GameStateTest {
@Test
public void gameStateBeanTest() {
Mancala mancala = new Mechanics().start();
... |
package Chess;
import Chess.Pieces.Piece;
public class Box {
private int row;
private int col;
private Piece piece;
Box(int row, int col, Piece piece) {
this.row = row;
this.col = col;
this.piece = piece;
}
public int getRow() {
return row;
}
public i... |
package com.github.trang.druid.example.mybatis.model;
import java.io.Serializable;
import lombok.Data;
/**
* City
*
* @author trang
*/
@Data
public class City implements Serializable {
private static final long serialVersionUID = 1L;
private Long id;
private String name;
private String state;
... |
package com.snakeladdersimulator;
public class SnakeLadderSimulator {
public static void main(String[] args) {
int position1 = 0, position2 = 0, role1=0, role2=0;
while(position1<100 && position2<100)
{
int roll1 = (int)(Math.random()*(6-1))+1;
int roll2 = (int)(Math.random()*(6-1))+1;
//System.out.println("\n... |
package com.mustafayuksel.notificationapplication.service;
import com.mustafayuksel.notificationapplication.request.PushNotificationRequest;
import com.mustafayuksel.notificationapplication.response.BaseResponse;
public interface PushService {
BaseResponse pushNotificationToAllUsers(PushNotificationRequest request);... |
// Decompiled by Jad v1.5.7d. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http:// www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3)
// Source File Name: MultipartParser.java
package com.ziaan.scorm.multi.multipart;
import java.io.IOException;
import java.util.Enumera... |
/*
* 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 soritng;
import java.util.Random;
/**
*
* @author eliot
*/
public class BubbleSort {
public static long startTime;
... |
package com.cloubiot.buddyWAPI.rest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bin... |
package com.touchtrip.admin.controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.touchtrip.adm... |
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.Scanner;
public class Exercise6 {
private SimpleDateFormat dateFormat;
private Calendar calendar;
public Exercise6()
{
dateFormat = new SimpleDateFormat ("dd.MM.yyyy");
Calendar calendar = Calendar.getInstance();
}
public void calc()... |
package com.beike.dao.unionpage;
import java.util.List;
import java.util.Map;
public interface UnionKWDao {
/**
*
* janwen
* @param begin
* @return seo关键字(使用中)
*
*/
public List<String> getUsedKW(String isused,Long begin);
/**
*
* janwen
* @param begin
* @return seo关键字(未... |
package peace.developer.serj.photoloader.models;
import java.util.List;
public class Album {
private int id;
private List<Photo>photoLinks;
}
|
package com.trump.auction.back.auctionProd.dao.read;
import com.trump.auction.back.auctionProd.model.AuctionBidInfo;
import org.springframework.stereotype.Repository;
@Repository
public interface AuctionBidInfoDao {
int deleteByPrimaryKey(Integer id);
int insert(AuctionBidInfo record);
int insertSelecti... |
package kr.ac.kopo.day05;
import java.util.Arrays;
public class ArrayMain06 {
public static void main(String[] args) {
int[] a = {10, 20, 30};
int[] b;
b = new int[a.length];
//함수 사용!!
System.arraycopy(a, 0, b, 0, a.length);
System.out.println("a : " + Arrays.toString(a));
System.out.println(... |
/**
* @author TATTYPLAY
* @date Jul 3, 2018
* @created 12:33:38 AM
* @filename ItemStackET.java
* @project Reporter
* @package com.tattyhost.reporter
* @copyright 2018
*/
package com.tattyhost.reporter;
import org.bukkit.Material;
/**
*
*/
public class ItemStackET extends ItemStackE{
private EItemsBanTim... |
package com.github.dvdme.DarkSkyJava;
public interface WeatherDataPoint {
boolean exists();
String time();
long timestamp();
String summary();
String icon();
String sunriseTime();
String sunsetTime();
Double precipIntensity();
Double precipIntensityMax()... |
package de.cuuky.varo.player.stats.stat.offlinevillager;
import java.util.ArrayList;
import org.bukkit.Bukkit;
import org.bukkit.Difficulty;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.Entity;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Zombie;
import ... |
package pp.model.enums;
public enum BattleType {
BATTLE(1, "battlesapp"),
DUEL(2, "duelsapp"),
SURVIVE(4, "survivalapp"),
EXAM(5, "exam");
private int id;
private String act;
private BattleType(int id, String act) {
this.id = id;
this.act = act;
}
public int getId(... |
package lxy.liying.circletodo.ui;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.view.View;
import android.widget.EditText;
import cn.bmob.v3.BmobUser;
import cn.bmob.v3.exception.BmobException;
import cn.bmob.v3.listener.UpdateListener;
import lxy.liying.circletodo.R;
import lxy.... |
/* $Id$ */
package djudge.utils;
import java.util.HashMap;
import org.apache.log4j.Logger;
public abstract class CachedObjectsSet<K, V>
{
@SuppressWarnings("unused")
private static final Logger log = Logger.getLogger(CachedObjectsSet.class);
protected final long updateInterval;
private HashMa... |
package com.beta.rulestrategy;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import static org.junit.jupiter.api.Assertion... |
package edu.uw.cwds.predictionservice;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
@Controller
public class ServiceController {
@RequestMapping(value="/{name}", method=RequestMethod.GET)
public @ResponseBody double predict(@PathVariable("name") String model, ... |
package nl.topicus.wqplot.components.plugins;
/**
* @author Ernesto Reinaldo Barreiro
*/
public class JQPlotBarRenderer extends Renderer
{
private static final JQPlotBarRenderer INSTANCE = new JQPlotBarRenderer();
private JQPlotBarRenderer()
{
super("$.jqplot.BarRenderer", JQPlotBarRendererResourceReference.ge... |
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class ServiceLane
{
private int[] freeway;
public ServiceLane(int[] freeway)
{
this.freeway = freeway;
}
public int calculateLargestVehicleType(int entry, int exit)
{
if (entry == 1)
return 1;
... |
package com.tscloud.common.framework;
import java.util.ArrayList;
import java.util.List;
/**
* EnvConstants.java
*/
public final class Constants {
public final class Env {
private Env() {
}
public static final String BASE_HOME = "configs/";
public static final String BASE_CO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.