text stringlengths 10 2.72M |
|---|
package jp.noxi.collection;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import javax.annotation.Nonnegative;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
/**
* Exposes the enumerator, which supports a simple iteration over a collection of a specified type.
*
* @... |
package com.bowlong.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import java.... |
/**
*Author Fys
*
*Time 2016-7-5-下午4:02:23
**/
package com.goldgov.dygl.module.partyMemberDuty.partyevaluatedata.service;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import jav... |
/*
* Copyright 2019 Adrian Reimer
*
* 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 test_funzionali;
import static org.junit.Assert.*;
import java.util.Calendar;
import org.junit.Before;
import org.junit.Test;
import sistema.*;
public class UC12EliminareUnGestoreCinema {
ApplicazioneAmministratoreSistema adminApp;
Calendar adminBirthday;
Calendar managerBirthday;
@Before
public voi... |
package org.jboss.shrinkwrap.resolver.example;
/**
* A component for creating personal greetings.
*/
public class Greeter {
public String createGreeting(String name) {
return "Hello, " + name + "!";
}
} |
package com.hx.service;
import java.util.List;
import com.github.pagehelper.PageInfo;
import com.hx.entity.SysUser;
import com.hx.model.MainDataModel;
import com.hx.utils.page.object.BaseConditionVO;
/**
*
* @Description: 用户 业务层
* @author Administrator
* @date: 2019年12月24日下午2:19:37
*/
public interface SysUserSe... |
import java.util.*;
//import java.lang.*;
//import java.io.*;
class RevBits
{
// you need treat n as an unsigned value
public int reverseBits(int n)
{
String inputB = Integer.toBinaryString(n);
int length = inputB.length();
StringBuilder outputB = new StringBuilder();
int i... |
package shashi.sort;
public class CountingSort {
public static void main(String[] args){
int []A={2,2,4,6,3,5,1,3,0};
int l=A.length;
countingSort(A, l);
}
static void countingSort(int []A, int l){
int []B=new int [l];
int []C=new int [l];
for(int i=0; i<l; i++){
C[A[i]]++;
}
for(int i... |
package com.Appthuchi.Appqlthuchi.ui.khoanchi.fragment;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
imp... |
package Test;
import org.testng.annotations.AfterClass;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeClass;
import org.apache.... |
package com.tencent.mm.plugin.offline.b;
import android.database.Cursor;
import com.tencent.mm.plugin.offline.a.r;
import com.tencent.mm.sdk.e.e;
import com.tencent.mm.sdk.e.i;
import com.tencent.mm.sdk.platformtools.x;
public final class a extends i<r> {
public static final String[] diD = new String[]{i.a(r.dhO,... |
package com.mobilephone.foodpai.util;
import android.util.Log;
import com.mobilephone.foodpai.bean.UserBean;
import com.mobilephone.foodpai.bean.bmobbean.CollectBean;
import java.util.List;
import java.util.Map;
import cn.bmob.v3.BmobQuery;
import cn.bmob.v3.BmobUser;
import cn.bmob.v3.datatype.BmobFile;
import cn.... |
package com.smalaca.bank.domain.account;
import java.math.BigDecimal;
public class AccountDto {
private final Long id;
private final String number;
private final BigDecimal amount;
private final String currency;
AccountDto(Long id, String number, BigDecimal amount, String currency) {
this... |
package com.jt.service;
import com.jt.vo.EasyUIImage;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
import javax.imageio.ImageIO;
import jav... |
/*
* Copyright (C), 2013-2014, 上海汽车集团股份有限公司
* FileName: Connector.java
* Author: wanglijun
* Date: 2014年8月11日 下午10:03:46
* Description: //模块目的、功能描述
* History: //修改记录
* <author> <time> <version> <desc>
* 修改人姓名 修改时间 版本号 描述
*/
package com.xjf.wemall... |
package com.funlib.thread;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
public class ThreadPoolUtily {
private static int RUNNING_THREAD_MAX_NUM = 6; // 同时运行的线程最大个数
private static in... |
package tasks;
public class order {
}
|
package hhc.common.entity.base;
import java.io.Serializable;
/**
* @author hhc
*/
public class KeyValuePair implements Serializable {
/**
*
*/
private static final long serialVersionUID = -6761291511139593128L;
private String key;
private Double value;
public KeyValuePair() {}
public KeyVal... |
package unalcol.agents.examples.labyrinth.teseo;
import unalcol.agents.Agent;
import unalcol.agents.examples.labyrinth.Labyrinth;
import unalcol.agents.examples.labyrinth.LabyrinthDrawer;
import unalcol.agents.examples.labyrinth.LabyrinthPercept;
import unalcol.agents.simulate.util.SimpleLanguage;
import unalcol.types... |
package vlad.fp.services.asynchronous.api;
import vlad.fp.lib.Task;
import vlad.fp.services.model.EmailAddress;
import vlad.fp.services.model.ReportID;
public interface EmailServiceF {
Task<Void> sendReport(EmailAddress emailAddress, ReportID reportID);
}
|
package com.linkedbook.entity;
import lombok.*;
import org.hibernate.annotations.DynamicInsert;
import javax.persistence.*;
import static javax.persistence.GenerationType.*;
@DynamicInsert
@AllArgsConstructor
@NoArgsConstructor
@Getter @Setter
@Entity
@Table(name = "area")
public class AreaDB {
@Id
@Column(n... |
package es.uma.sportjump.sjs.web.beans;
public class EventCalendarCompleteBean {
private Long id;
private String title;
private String start;
private TrainingBean training;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getTitle() {
return title;
... |
package com.music.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class CartController {
@RequestMapping("/... |
package com.tencent.mm.ui.chatting;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import com.tencent.mm.model.au;
class AppAttachDownloadUI$1 implements OnMenuItemClickListener {
final /* synthetic */ AppAttachDownloadUI tGp;
AppAttachDownloadUI$1(AppAttachDownloadUI app... |
package de.dhbw.studientag.tours;
import java.util.ArrayList;
import java.util.List;
/*
* This java class is from google-collections
* https://code.google.com/p/google-collections/issues/attachmentText?id=71&aid=-7147814569069805842&name=Permutations.java
*/
/**
* The Permutations class provides an iteration of ... |
/**
*
*/
package io.github.liuzm.distribute.registy.support;
import java.util.concurrent.locks.ReentrantLock;
import io.github.liuzm.distribute.common.model.Node;
import io.github.liuzm.distribute.registy.RegistryNode;
import io.github.liuzm.distribute.registy.RegistryNodeFactory;
/**
* @author xh-li... |
package com.Arrays;
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 cutTheStick {
static int[] toIntArray(List<Integer> list){
int[] ret = new int[list.size()];
for(int i = ... |
package com.drzewo97.ballotbox.core.model.candidateprotocolvotes;
import com.drzewo97.ballotbox.core.model.candidate.Candidate;
import com.drzewo97.ballotbox.core.model.candidatesvotescountwardprotocol.CandidatesVotesCountWardProtocol;
import javax.persistence.*;
@Entity
public class CandidateProtocolVotes {
@Id
... |
package multithreading;
import sun.nio.ch.ThreadPool;
/**
* @author malf
* @description 测试自定义线程池
* @project how2jStudy
* @since 2020/10/22
*/
public class TestMalfThreadPool {
public static void main(String[] args) {
MalfThreadPool pool = new MalfThreadPool();
for (int i = 0; i < 5; i++) {
Runnable task ... |
class Solution {
public static void main(String args[]){
int[] arr = new int[]{1,3,5,6};
//If the target is not present, return index if it was inserted in ascending order for the target.
System.out.println(searchInsert(arr, 2)); //1
}
public int searchInsert(int[] arr, int target) {
int low =... |
package com.plter.lib.java.db;
import java.sql.ResultSet;
import java.sql.SQLException;
public interface IDbQueryCallback {
void onResult(ResultSet resultSet) throws SQLException;
}
|
package com.gnomikx.www.gnomikx.Data;
import com.google.firebase.firestore.Exclude;
import com.google.firebase.firestore.ServerTimestamp;
import java.util.Date;
/**
* Class to act as the object for the details of the query(POJO).
*/
public class QueryDetails {
private String title;
private String body;
... |
import java.util.*;
class JumpingNumber {
public List<String> solve(int start, int end) {
int len = 0;
int num = end;
while (num > 0) {
num /= 10;
len++;
}
List<String> result = new LinkedList<>();
dfs(result, start, end, len, 0);
bfs(result, start, end);
return result;
... |
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* 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 ap... |
package Module2_OOP.ExtraTasks.Lesson4.E_ticket;
public class Order {
private int orderId;
private User user;
private Ticket ticket;
public Order(int orderId, User user, Ticket ticket) {
this.orderId = orderId;
this.user = user;
this.ticket = ticket;
}
public int getOr... |
package com.realcom.helloambulance.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import com.realcom.helloambulance.dao.AddMembersUserDao;
impor... |
package com.example.hellosharedpreferences;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
public class ApplicationPreferences {
private static SharedPreferences mSharedPref;
static final String KEYNAME = "nombre";
private ApplicationPreferences() ... |
import java.util.concurrent.LinkedBlockingQueue;
public class CustomThreadPool {
private final LinkedBlockingQueue<Runnable> queue;
private final int poolSize;
private final Worker[] workers;
private volatile boolean isShutdown = false;
public CustomThreadPool(int poolSize) {
this.poolSize = poolSize;
qu... |
package com.kashu.service;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.kashu.domain.Product;
import com.kashu.domain.temp.ProductSearchParams;
import com.kashu.pager.Page;
import com.kashu.reposi... |
package project.graphic;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextArea;
im... |
package com.qd.mystudy.helloworld;
import com.google.protobuf.InvalidProtocolBufferException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Created by liqingdong on 2014/8/30.
*/
public class HelloWorld {
static final private Log log = LogFactory.getLog(Hello... |
package com.hs.doubaobao.model.Approval;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.To... |
package com.isen.regardecommeilfaitbeau;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
/**
* A simple {@... |
package com.tencent.mm.plugin.freewifi.ui;
import com.tencent.mm.protocal.c.ep;
public class FreeWifiFrontPageUI$b {
public ep jng;
}
|
package com.tencent.mm.pluginsdk.f;
import com.tencent.mm.a.e;
import com.tencent.mm.sdk.platformtools.x;
class i$1 implements Runnable {
i$1() {
}
public final void run() {
x.i("MicroMsg.UpdateUtil", "delete apk file. on worker thread");
e.co(i.ccn());
}
}
|
package com.example.roushan.railwayenquiry.Activities;
import android.app.DatePickerDialog;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;... |
package com.yuliia.vlasenko.imagesearcher.api.auth;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
public class AuthRequest {
private String apiKey;
}
|
import javax.swing.*;
import java.awt.*;
public class WaveHandler {
private String message;
private int currentWave;
private int messageX;
private int messageY;
private int messageFade;
public WaveHandler(){
//testing purposes
currentWave = 1; //subtract 1 to get le... |
package mycommands;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import commandManagement.BaseSubCommandHandler;
import commandManagement.SubCommand;
public class HelpCommand extends SubCommand {
public HelpCommand(BaseSubCommandHandler hrbBaseHandler) {
super("help", "/... |
package com.igitras.codegen.common.next;
import com.igitras.codegen.common.next.annotations.NotNull;
/**
* Created by mason on 1/5/15.
*/
public interface CgDirectoryContainer extends CgNamedElement {
/**
* Returns the array of all directories (under all source roots in the project)
* corresponding to... |
package com.doublea.talktify.backgroundTools;
/**
* Interface used to listen for events and wait for them to complete
*/
public interface CompletionListener {
public void onStart(); // When task starts
public void onSuccess(); // When task succeeds
public void onFailure(); // When task fails
}
|
package com.hebe.vo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@ToString
public class DetailDomain extends DiaryEntity {
private String nickname;
private String introduction;
private String profileimg;
private int isFav;
}
|
package it.unibz.testhunter.tests;
import it.unibz.testhunter.CommandFactory;
import it.unibz.testhunter.action.ActionAddProject;
import it.unibz.testhunter.action.ActionCheckProject;
import it.unibz.testhunter.action.ActionCommandHelp;
import it.unibz.testhunter.action.ActionHelp;
import it.unibz.testhunter.action.Ac... |
package pl.luwi.series.tasks;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit;
import pl.luwi.series.reducer.OrderedPoint;
import pl.luwi.series.reducer.PointSegment;
public class ReduceTask extends CommunicatingThread<LinkedBlockin... |
package com.smartwerkz.bytecode.vm.methods;
import com.smartwerkz.bytecode.vm.Frame;
import com.smartwerkz.bytecode.vm.OperandStack;
import com.smartwerkz.bytecode.vm.RuntimeDataArea;
public class SignalRaise0 implements NativeMethod {
@Override
public void execute(RuntimeDataArea rda, Frame frame, OperandStack ot... |
import java.util.Scanner;
public class RecursionFIB {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
int num = scn.nextInt();
scn.close();
System.out.println(fib(num));
}
public static int fib(int n) {
if(n==1 || n==2) {
return 1;
}
if(n==0) {
... |
package edu.byu.cs.superasteroids.model;
/**
* Created by Azulius on 2/23/16.
*/
public class ShipPartAttachable extends ShipPart {
private int attachX;
private int attachY;
public int getAttachX() {
return attachX;
}
public void setAttachX(int attachX) {
this.attachX = attachX... |
package com.egen.order.dao;
import com.egen.order.entity.PaymentInfo;
import com.egen.order.entity.ShippingAddress;
import org.springframework.data.repository.CrudRepository;
public interface PaymentInfoRepository extends CrudRepository<PaymentInfo, Long> {
}
|
package com.tyss.cg.exceptions;
import java.util.Scanner;
public class CustomExceptionTester2 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Enter the number: ");
int num = scanner.nextInt();
scanner.close();
try {
System.out.println(10 / n... |
package crosby.binary.file;
import java.io.IOException;
import java.io.InputStream;
import com.google.protobuf.ByteString;
/**
* A FileBlockPosition that remembers what file this is so that it can simply be
* dereferenced
*/
public class FileBlockReference extends FileBlockPosition {
/**
*... |
package com.tencent.mm.plugin.account.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
class LoginHistoryUI$18 implements OnCancelListener {
final /* synthetic */ LoginHistoryUI eRA;
LoginHistoryUI$18(LoginHistoryUI loginHistoryUI) {
this.eRA = logi... |
package org.jboss.perf.test.server.controller;
import java.io.Serializable;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.enterprise.inject.Produces;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProp... |
package com.aidn5.antigriefer.gui;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import com.aidn5.antigriefer.config.References;
import com.aidn5.antigriefer.services.GuiHandler;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiButton;
import net.minecraftfor... |
package com.fmachinus.practice.service;
import com.fmachinus.practice.entity.Order;
import java.time.LocalDateTime;
import java.util.List;
public interface OrderService {
Order add(Order order);
Order replaceAt(Long id, Order newOrder);
void delete(Long id);
List<Order> findAll();
List<Order> f... |
package hw4.node;
import hw4.Scenario;
import hw4.Transaction;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import java.util.stream.Collectors;
public class CompliantNode implements Node {
private final Set<Transaction> seenTxs = new HashSet<>();
public static final NodeFa... |
package com.hsnam.spring.file.web;
import com.hsnam.spring.file.model.BoardModel;
import com.hsnam.spring.file.model.FileModel;
import com.hsnam.spring.file.service.FileService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
... |
package Model;
import Entity.daftarpembeli;
import Entity.BarangEntity;
import java.text.ParseException;
import java.util.ArrayList;
public class DaftarModel implements ModelInterface {
private ArrayList<daftarpembeli> daftarArrayList;
public DaftarModel() {
daftarArrayList = new ArrayList<dafta... |
import java.util.ArrayList;
public class Teste {
public static void main(String[] args) {
Gerente gerente = new Gerente ("Luiz","Recife PE", "12345678901",0,0.40);
Vendedor vendedor1 = new Vendedor ("Claudio","Recife PE","18346648901",0,gerente,50000.00,0.03);
Vendedor vendedor2 = new Vendedor ("Amanda","Recif... |
package com.tencent.mm.plugin.appbrand.jsapi.d;
import com.tencent.mm.plugin.appbrand.jsapi.d.f.b;
import com.tencent.mm.plugin.appbrand.jsapi.h;
import com.tencent.mm.plugin.appbrand.page.p;
import com.tencent.mm.plugin.appbrand.q.f;
import com.tencent.mm.plugin.appbrand.r.c;
import com.tencent.mm.plugin.appbrand.wid... |
package com.trainingmarket.action;
import java.io.IOException;
import java.sql.SQLException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.Htt... |
package com.example.marek.komunikator.messages;
import android.os.Bundle;
import android.view.KeyEvent;
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.ListView;
import android.widget.TextView;
import com.example.marek.komunikator.ActivityManager;
import com.example.marek.kom... |
package com.jx.sleep_dg.fragment;
import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import com.jx.sleep_dg.R;
import com.jx.sleep_dg.base.BaseMainFragment;
import com.jx.sleep_dg.ble.BleUtils;
import com.jx.sleep_dg.protocol.BleComUtils;
import com.jx.... |
package com.company;
import org.bytedeco.javacpp.opencv_core;
import org.bytedeco.javacv.Java2DFrameConverter;
import org.bytedeco.javacv.OpenCVFrameConverter;
import javax.swing.*;
import java.awt.image.BufferedImage;
/**
* Created by leon on 25.06.16.
*/
public class Utils {
public static BufferedImage IplIm... |
package com.ssm.wechatpro.controller;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.... |
package com.lalagrass.soundgenerator;
import android.media.AudioFormat;
import android.media.AudioManager;
import android.media.AudioTrack;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widg... |
package net.praqma.jenkins.plugin.drmemory;
import hudson.Launcher;
import hudson.model.*;
import hudson.tasks.Builder;
import net.praqma.drmemory.DrMemory;
import net.praqma.drmemory.DrMemoryResult;
import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.JenkinsRule;
import org.jvnet.hudson.test.Te... |
package com.oxycab.provider.ui.activity.email;
import com.oxycab.provider.base.MvpView;
import com.oxycab.provider.data.network.model.User;
public interface EmailIView extends MvpView {
void onSuccess(User token);
void onError(Throwable e);
}
|
package com.example.filmictionary;
public class Movie {
private String mTitle;
private String mImageUrl;
private String mReleaseDate;
private String mCast;
private Double mImdbRatings;
private String mStoryLine;
public Movie(String title, String imageUrl, String releaseDate, String cast, D... |
package com.fang.example.db;
import com.fang.example.db.htree.FastIterator;
import com.fang.example.db.htree.HTree;
import com.fang.example.db.manager.RecordManager;
import com.fang.example.db.manager.RecordManagerFactory;
import java.io.IOException;
import java.util.Properties;
/**
* Created by andy on 6/26/16.
*... |
package assgn.JianKai;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import javax.swing.JOptionPane;
import listLink.ListLink;
import listLink.ListLinkInt;
import listLink.store;
public class AddMenu extends javax.swing.JFrame {
store save;
ListLinkInt <MenuClass>mArray;
public AddMe... |
package com.ai.slp.order.api.ordertradecenter.param;
import java.util.List;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotBlank;
import com.ai.opt.base.vo.BaseInfo;
public class OrdProductDetailInfo extends BaseInfo{
private static final long serialVersionUID = 1L;
... |
package negocio.libreria;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
//import jakarta.persistence.EntityManager;
//import jakarta.persistence.EntityManagerFactory;
//import jakarta.persistence.EntityTransaction;
//import jakarta.persistence.LockModeType;
//import jakarta.persisten... |
package pl.luwi.series.distributed;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;
import javax.jms.JMSException;
public interface RegistrationService extends Remote {
<P extends OrderedPoint> List<P> reduce(List<P> points, double epsilon) throws InterruptedException, JMSException, ... |
package com.tencent.mm.plugin.subapp.ui.friend;
class b$4 implements Runnable {
final /* synthetic */ String dhh;
final /* synthetic */ b orO;
b$4(b bVar, String str) {
this.orO = bVar;
this.dhh = str;
}
public final void run() {
a.g(b.a(this.orO), this.dhh, false);
}
... |
package com.tb24.fn.activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.LinearGradient;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.... |
package com.tencent.mm.plugin.sns.model;
import com.tencent.mm.plugin.sns.model.av.a;
import java.util.HashMap;
class av$b {
int dzO = 0;
long endTime = -1;
boolean kdC = false;
long nrV = -1;
final /* synthetic */ av nrW;
long nrX = -1;
int nrY = 0;
HashMap<String, a> nrZ = new HashMa... |
package BOJ;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Q11721 {
public static void main(String[] args) {
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String str = br.readLine();
int len = str.length() / 10;
for (int i = ... |
/*package com.travelportal.domain.allotment;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
impo... |
package br;
public class testJogo {
public static void main(String[] args) {
Soldado soldado1 = new Soldado(1,"jose",60.0);
Soldado soldado2 = new Soldado(2,"hilton", 50.0);
Cavaleiro caveleiro1 = new Cavaleiro(3, "silva", 70.0);
Jogo jogo = new Jogo();
jogo.incluir(soldad... |
package com.filiereticsa.arc.augmentepf.activities;
public enum SettingsType {
EMAIL,
SPECIFIC_ATTRIBUTE
}
|
package umm3601.todos;
import com.google.gson.Gson;
import java.io.FileReader;
import java.io.IOException;
import java.util.Arrays;
import java.util.Map;
import java.util.stream.Collectors;
public class TodoDatabase {
private Todo[] allTodos;
public TodoDatabase(String todoDataFile) throws IOException {
Gs... |
package com.ybg.company.mapper;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;
import com.ybg.company.domain.Department;
public class DepartmentMapper implements RowMapper<Department> {
@Override
public Department mapRow(ResultSet rs, int rowNum) throws SQL... |
package dataProvider;
import java.io.FileInputStream;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import jxl.Sheet;
import... |
package com.pointburst.jsmusic.ui;
import android.app.ActivityManager;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.media.MediaPlayer;
impo... |
package com.tencent.smtt.sdk;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
... |
package com.gps.rahul.admin.myfragmentdemo;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Toast;
import java.util.... |
/*
* 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 controller.action.postactions.personal.user;
import controller.action.postactions.personal.SetOrderStatus;
import java.io.IOEx... |
package com.ellalee.travelmaker;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class CalendarSyncTest {
@Test
public void CalendarSyncTest() {
String newCalId = CalendarSync.newCalId;
assertEquals(newCalId, CalendarSync.newCalId);
}
}
|
package com.example.rsvaio.sendretreivedatafromdatabase;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import java.util.concurrent.Executi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.