text stringlengths 10 2.72M |
|---|
package com.cimcssc.chaojilanling;
import android.content.Intent;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import com.cimcssc.chaojilanling.acti... |
package mando.sirius.bot.structures;
import com.eu.habbo.Emulator;
import com.eu.habbo.core.Scheduler;
import mando.sirius.bot.Constants;
import mando.sirius.bot.Sirius;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.GuildChannel;
public class CounterUpdateScheduler extends Scheduler {... |
package leetcode;
/**
* @author kangkang lou
*/
public class Main_33 {
public static int search(int[] nums, int target) {
int low = 0;
int high = nums.length - 1;
while (low <= high) {
int mid = low + (high - low) / 2;
if (nums[mid] == target)
retur... |
package pl.finsys.setterExample;
public interface IFax {
public int send();
} |
package com.zlzkj.app.controller.index;
import com.zlzkj.app.model.index.Backup;
import com.zlzkj.app.model.index.User;
import com.zlzkj.app.service.index.BackupService;
import com.zlzkj.app.service.index.RoleService;
import com.zlzkj.app.service.index.ShiroUserService;
import com.zlzkj.app.service.index.UserService;
... |
package es.uma.sportjump.sjs.dao.test.impl.jpa;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import es.uma.sportjump.sjs.dao.test.TrainingDaoTest;
@RunWith(SpringJUnit4Cla... |
/*
* Copyright (c) 2011, 2020, Frank Jiang and/or its affiliates. All rights
* reserved. KernelSigmoid.java is PROPRIETARY/CONFIDENTIAL built in 2013. Use
* is subject to license terms.
*/
package com.frank.svm.config;
import libsvm.svm_parameter;
/**
* Sigmoid kernel
* <p>
* <strong>function:</str... |
package com.glory.recyclerviewwithcheckbox;
public class TeachersModel {
private int profilePix;
private String name;
private String description;
private boolean isSelected;
// private boolean isChecked;
public TeachersModel(int profilePix, String name, String description) {
this.profil... |
package com.jt.controller;
import com.jt.pojo.Item;
import com.jt.pojo.ItemDesc;
import com.jt.service.ItemService;
import com.jt.util.HttpClientService;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
i... |
package com.app.thread;
public class ThreadDemo {
public static void main(String[] args) {
MyThread t = new MyThread();
t.start();
for(int i=0;i<5;i++)
{
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.out.... |
package com.gmail.merikbest2015.ecommerce.controller;
import com.gmail.merikbest2015.ecommerce.domain.Perfume;
import com.gmail.merikbest2015.ecommerce.service.PerfumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.dom... |
package top.wangruns.nowcoder.sword2offer;
/**
* 题目描述
地上有一个m行和n列的方格。
一个机器人从坐标0,0的格子开始移动,每一次只能向左,右,上,下四个方向移动一格,
但是不能进入行坐标和列坐标的数位之和大于k的格子。
例如,当k为18时,机器人能够进入方格(35,37),因为3+5+3+7 = 18。
但是,它不能进入方格(35,38),因为3+5+3+8 = 19。
请问该机器人能够达到多少个格子?
分析
即求从(0,0)开始,网格中连通的格子数目
*
*/
public class P66_机器人的运动范围 {
int cnt=0;
publi... |
package io.github.luanelioliveira.library.controller;
import io.github.luanelioliveira.library.dto.AddNewBook;
import lombok.Data;
@Data
public class AddNewBookRequest {
private String isbn;
private String title;
private String description;
public AddNewBook toCommand() {
return new AddNewBook(isbn, tit... |
package com.cg.project.castleglobalproject.base.network.base;
import com.cg.project.castleglobalproject.base.network.base.body.BaseRequestBody;
import com.cg.project.castleglobalproject.base.network.base.response.BaseResponse;
public interface IPostClient<DATA_OUT extends BaseResponse, DATA_IN extends BaseRequestBody... |
package com.grability.test.dlmontano.grabilitytest.comparator;
import com.grability.test.dlmontano.grabilitytest.model.Application;
import java.util.Comparator;
/**
* Created by Diego Montano on 14/06/2016.
*/
public class ApplicationComparatorById implements Comparator<Application> {
@Override
public int ... |
package com.habiture;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import utils.Utils;
/**
* Created by GawinHsu on 6/17/15.
*/
public class StubFollowFailed extends StubLoginSuccessfully {
private class StubConnection extends MockNetworkConnection {
private InputStream in = null;... |
/*
* Sonar Sonargraph Plugin
* Copyright (C) 2009, 2010, 2011 hello2morrow GmbH
* mailto: info AT hello2morrow DOT com
*
* 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
*
* ht... |
package de.fhg.iais.roberta.connection;
import java.io.IOException;
import java.util.Observable;
import java.util.ResourceBundle;
import java.util.logging.Logger;
import org.json.JSONObject;
import de.fhg.iais.roberta.util.ORAtokenGenerator;
import lejos.pc.comm.NXTInfo;
public class NXTUSBBTConnector extends Obser... |
package edu.mayo.cts2.framework.core.xml;
import org.apache.commons.lang.StringUtils;
import org.springframework.core.io.ClassPathResource;
import java.io.IOException;
import java.util.Properties;
public class ModelXmlPropertiesHandler {
public static final String CASTOR_PROPS = "castor.properties";
public ... |
package RestAssuredSameResponseAsJsonKeycloak;
import org.junit.Rule;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import HamcrestAssertJson.HamcrestAssertJsonExtension;
import RestAssuredKeycloak.KeycloakExtension;
import RestAssuredStore.RestAssuredStoreExtension;
public abstract class AbstractRestA... |
package test.main;
import java.util.ArrayList;
import java.util.List;
import test.mypac.MemberDto;
public class MainClass06 {
public static void main(String[] args) {
//MemberDto 객체의 참조값을 담을수 있는 ArrayList 객체를 생성해서
//ArrayList 객체의 참조값을 List type 지역변수 members 에 담기
List<MemberDto> members=new ArrayList<MemberDt... |
public class SpaceSimulator
{
public static void main (String [] args)
{
GameManager userInterface = new GameManager();
userInterface.startProcessingCommands();
}
}
|
package com.lubarov.daniel.nagger.messages.s2c;
public class S2cJumpToRecipientMessage {
public String recipientUuid;
}
|
import java.security.SecureRandom;
import java.util.Random;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
public final class Matrices {
public static final Random RANDOM = new SecureRandom();
private Matrices() {
}
public st... |
package de.is24.tomcat;
import org.apache.catalina.valves.AbstractAccessLogValve;
import java.io.CharArrayWriter;
/**
* <p>Implementation of the <b>Valve</b> interface that generates a web
* server access log with the detailed line contents matching a configurable
* pattern. The syntax of the available patterns i... |
package br.com.rogerio.exemploDownloadPrimefaces;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.io.Serializable;
import org.primefaces.model.DefaultStreamedContent;
import org.primefaces.model.StreamedContent;
//CLASSE EXEMPLO DE DOWNLOAD PARA J... |
package ru.nsu.fit.lobkov.alias;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
public class WinnerActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceSt... |
package io.antinolabs.libs;
import android.Manifest;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.Dialog;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.Typeface;
import android.net.Uri;
import ... |
package com.bexperr.dash.controllers;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import com.bexperr.dash.util.RutasDelSistema;
@C... |
package ch.springcloud.lite.core.type;
public enum AliveStatus {
Healthy, NotMe, ClientOutmoded, ServerOutmoded, ConnectError;
}
|
package com.cloudogu.smeagol.wiki.domain;
import java.util.Objects;
import java.util.Optional;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
/**
* The page aggregate represents a single wiki page.
*/
public class Page {
priva... |
package manju;
import java.util.*;
public class hello {
Random random = new Random();
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int m = scan.nextInt();
int n = scan.nextInt();
int[][] a = new int[m][n];
for(int i = 0; i < m; i++) {
for(int j = 0; j < n; j... |
package com.example.medicalprocess;
import java.sql.Connection;
import java.sql.SQLException;
import classes.UtilisateurConnecte;
import android.os.Bundle;
import android.os.StrictMode;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widg... |
package com.example.railway.service.Repairer;
import com.example.railway.model.Repairer;
import com.example.railway.repository.Brigade.BrigadeRepository;
import com.example.railway.repository.Repairer.RepairerRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereoty... |
import java.util.ArrayList;
/*
* 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 trananh bacninh
*/
public class HocSinh {
private String soThich;
private Str... |
package model;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
public class AdminTest {
public AdminTest() {
}
@BeforeClass
public static void setUpClass() {
}
@AfterClass
... |
package com.altitudelabs.swiftcart.activity;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.WindowManager;
import com.altitudelabs.swiftcart.R;
public class TestActivity extends FragmentActivity {
@Override
protected void onCreate(Bundle save... |
package com.service.db.dao;
import java.util.List;
import com.service.bean.RunwayBean;
public interface IRunwayDAO {
/**
* This is the method to be used to create
* a in the Runway table.
*/
void create(RunwayBean RunwayBean);
/**
* This is the method to be used get a row form Runway
* t... |
package chapter03;
public class Exercise03_16 {
public static void main(String[] args) {
int heigtOfRectangle = 200;
int weigtOfRectangle = 100;
int xCenterPointOfRectangle = 0;
int yCenterPointOfRectangle = 0;
int xOfrandomPoint = (int) (Math.pow(-1, (int) (Math.random() * 2)))
* ((int) (Mat... |
/*
* 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 pe.gob.onpe.adan.service.Admin.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework... |
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class StartMenuWindow extends JFrame {
int width = 512;
int height = 700 ;
int buttonWidth = 100;
int buttonHeight = 40;
private static final long serialVersionUID = 1L;
... |
package com.kinfoitsolutions.ebooks.ui.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import a... |
package busterminal;
import java.util.concurrent.Semaphore;
public class InspectorScanner {
}
class scanner1 {
private final Semaphore scan1Sem = new Semaphore(1);
protected class scanArea1 implements Runnable{
customer cust;
public scanArea1(customer... |
package week_1.gof_patterns.behavioral;
public class VisitorT {
public static void main(String[] args) {
Point p = new Point2d(1, 2);
Visitor v = new Chebyshev();
p.accept(v);
System.out.println(p.getMetric());
}
}
interface Visitor {
public void visit(Point2d p);
public void visit(Point3d p);
}
abstr... |
package content.chapter2.section1;
/**
* 插入排序主要包括两个动作,比较和交换,交换完成了插入
* 比较: 在待插入元素左部的有序区间,将待插入元素从高到低逐个与其中元素比较,因为区间是有序的,比较条件首次不满足即可停止比较
* 交换: 每次比较条件满足时将待插入元素与其比较元素进行交换,最终达成插入的效果
* <p>
* cost model
* 最坏情况下约(N^2)/2次比较(N^2)/2次交换,最好情况下N-1次比较0次交换,平均情况下约(N^2)/4次比较(N^2)/4次交换
* <p>
* 特点
* 对部分有序数组高效。倒置数量小于数组大小某个倍数的数组是部分有... |
package com.smxknife.cache.custom.store;
/**
* @author smxknife
* 2020/6/8
*/
public class StoreAccessException extends Exception {
}
|
package br.uff.ic.provmonitor.workspaceWatcher;
public enum PathAccessType {
CREATE,
READ,
CHANGE,
REMOVE;
}
|
package controllers;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.annotat... |
package com.tencent.mm.plugin.appbrand.g.a;
import java.nio.ByteBuffer;
public interface a {
void a(int i, ByteBuffer byteBuffer);
int aky();
ByteBuffer jA(int i);
}
|
package com.tencent.mm.bi;
import com.tencent.mm.bi.a.3;
class a$3$1 implements Runnable {
final /* synthetic */ 3 qVv;
a$3$1(3 3) {
this.qVv = 3;
}
public final void run() {
this.qVv.qVu.qVl.getActionBar().setVisibility(0);
}
}
|
package com.workorder.ticket.controller.vo.user;
/**
* 用户列表
*
* @author wzdong
* @Date 2019年3月5日
* @version 1.0
*/
public class UserPageVo {
private Long id;
private String username;
private String realname;
private String email;
private String mobile;
private String type;
private String ... |
package com.supconit.kqfx.web.analysis.controllers;
import hc.base.domains.AjaxMessage;
import hc.base.domains.Pageable;
import hc.base.domains.Pagination;
import hc.business.dic.services.DataDictionaryService;
import hc.mvc.annotations.FormBean;
import hc.safety.manager.SafetyManager;
import java.io.OutputStream;
im... |
package com.ds.server;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;
import android.util.Log;
public class AidlService extends Service {
private int i = 6;
private IAidlService.Stub mBinder = new IAidlService.Stub() {
@Override
publi... |
package com.jt.test;
import com.jt.pojo.Item;
import com.jt.service.ItemService;
import com.jt.vo.EasyUITable;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootT... |
package exceptionTest;
import pj.*;
import java.io.PrintWriter;
import pj.pr.*;
import pj.PjRuntime;
import pj.Pyjama;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicReference;
import java.util... |
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
public class WriteFile
{
private String fileName;
private FileWriter myFileWriter;
private BufferedWriter myBufferedWriter;
private boolean fileExists;
public WriteFile(String lname, String fname)
{
f... |
package Test;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
// put your code here
Scanner scanner = new Scanner(System.in);
String strIn = scanner.nextLine();
int days = Integer.parseInt(strIn.substring(8, 10));
int month = Integer.parseIn... |
package sellwin.gui;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.math.*;
import java.text.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.table.*;
import javax.swing.border.*;
import sellwin.domain.*;
import sellwin.utils.*;
// SellWin http://sourceforge.net/p... |
package com.itesm.classes;
import com.itesm.DAO.DelitosDAO;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
import com.vaadin.data.util.sqlcontainer.SQLContainer;
import java.io.UnsupportedEncodingException;
import jav... |
package com.figureshop.springmvc.service;
import com.figureshop.springmvc.model.Product;
import com.figureshop.springmvc.model.ProductItem;
import com.figureshop.springmvc.model.Translation;
import org.springframework.data.jpa.repository.Query;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util... |
package lin.pattern.Creational.abstractfactory.skin;
import javax.xml.bind.annotation.XmlAccessOrder;
public class client {
public static void main(String[] args) {
// 使用抽象层定义
SkinFactory factory= (SkinFactory) XMLUtil.getBean();
Button bt = factory.createButton();
TextField tf = f... |
package com.li.xiaomi.xiaomi_ec.sign;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.AppCompatButton;
import android.support.v7.widget.AppCompatEditText;
import android.support.v7.widget.AppCompatTextView;
import android.util.Patterns;
import android.view.View;
... |
package designer.ui.editor;
import com.intellij.openapi.ui.ComboBox;
import javax.swing.*;
import javax.swing.border.EmptyBorder;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
/**
* Created by Tomas H... |
import Controller.AddAppointment;
import Controller.Appointments;
import Controller.Customers;
import Controller.LogIn;
import DBConnection.DBQuery;
import Model.Appointment;
import Model.Customer;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scen... |
import java.util.ArrayList;
/**
* https://projecteuler.net/problem=2
* http://euler.jakumo.org/problems/view/2.html
*/
public class Main {
public static void main(String[] args) {
ArrayList<Integer> chisla = new ArrayList<>();
int summa = 0;
chisla.add(2);
chisla.add(3);
... |
package com.nulp;
import java.util.List;
public class Vote {
private int count;
private List<Candidates> priority;
public int getCount() {
return count;
}
public void setCount(int count) {
this.count = count;
}
public List<Candidates> getPriority() {
return prior... |
package sample.controll.registrteam;
import java.io.IOException;
import java.net.URL;
import java.sql.*;
import java.util.ResourceBundle;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.TextFi... |
package net.fawad.httplistener;
public class MetricInfo {
private final String name;
private final long value;
private final String aggregationType;
private final String rollupType;
private final String clusterRollupType;
public MetricInfo(String name, long value, String aggregationType, Strin... |
/*
* Copyright (C) 2016 hcadavid
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This program is distribut... |
package test.controller;
import static org.junit.Assert.*;
import java.nio.file.Paths;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import risk.controller.ReadFileController;
// Test cases for ReadFileController
public class ReadFileControllerTest {
R... |
package kr.ds.popupView;
public class DownImageHandler {
private String uid;
private String title;
private String thumb;
private String downlink;
private String version;
private String date;
public int TAG_UID = 0;
public int TAG_TITEL = 1;
public int TAG_THUMB = 2;
public int TAG_DOWNLINK = 3;
public i... |
package com.example.springsecurityjwtdemo.security.jwt;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException;
import org.springframework.stereotype.Component;
@Component
publi... |
package nl.nlxdodge.scrapyard;
import dev.emi.trinkets.api.SlotGroups;
import dev.emi.trinkets.api.Slots;
import dev.emi.trinkets.api.TrinketSlots;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder;
import net.minecraft.item.ItemGroup;
import net.minecraft.i... |
package org.bostwickenator.javagbc;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Debug;
/*
MeBoy
Copyright 2005-2009 Bjorn Carlin
http://www.arktos.se/
Based on JavaBoy, COPYRIGHT (C... |
package com.zhowin.miyou.recommend.adapter;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.zhowin.miyou.R;
import java.util.List;
/**
* author : zho
* date :2020/10/26
... |
package lesson12;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class Exercises4 {
public static void main(String[] args) throws ParseException {
var nextYear = Calendar.getInstance().get(Calendar.YEAR) + 1; //năm hiện tại + ... |
package support.yz.data.mvc.service.inter;
import support.yz.data.entity.entityInfo.EnterpriseAchievements;
import support.yz.data.entity.entityInfo.EnterpriseInfo;
import support.yz.data.entity.entityInfo.EnterpriseNews;
import support.yz.data.entity.entityInfo.EnterprisePatent;
import java.util.List;
public interf... |
package shared;
import java.lang.*;
import java.io.*;
/** Abstract base class for Categorizers. Number of categories must be
* strictly positive (greater than zero). Description cannot be empty or NULL.
* @author James Louis 2/25/2001 Ported to Java.
* @author Chia-Hsin Li 11/29/94 Add function building prob... |
package com.mingchu.positiondetaidemo;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
public class InputRecyclerView extends RecyclerView {
public InputRecyclerView(Context context) {
super(conte... |
package com.arkaces.aces_marketplace_api.reset_password;
import lombok.Data;
@Data
public class CreateResetPasswordRequest {
private String emailAddress;
private String recaptchaCode;
}
|
package org.wso2.beam.localrunner;
import com.google.common.collect.ListMultimap;
import org.apache.beam.sdk.runners.AppliedPTransform;
import org.apache.beam.sdk.values.PCollection;
import org.apache.beam.sdk.values.PInput;
import org.apache.beam.sdk.values.PValue;
import java.util.List;
import java.util.Map;
import... |
package dao;
public class PlanDaoSqlite {
}
|
package kodlamaio.hrms.business.concreates;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
import kodlamaio.hrms.business.abs... |
package HomeworkDay5;
/**
*
*/
//package codingpractise.list;
/**
* @author arnavawasthi
*
*/
public class QuickSortList {
public static node solution(Node root){
return quickSort(root, root, null);
}
public static node quickSort(node root, node start, node end){
if(start == null || start == end) ret... |
/*
* Copyright (c) 2014 Anthony Benavente
*
* 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 agr... |
package ip7.bathuniapp;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.support.v4.app.ListFragment;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import android.view.LayoutInflater;
import android.view.View;
im... |
package personal_package;
import javax.swing.JOptionPane;
public class ImprovedFinalExamCalc
{
public static void main(String[] args) {
String answer;
answer = JOptionPane.showInputDialog("Do you have a specific grade percentage you need in the class?");
if(answer.charAt(0) == 'Y' || answer.charAt(0) == 'y')
... |
/*
* 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 may ... |
package com.tencent.mm.plugin.brandservice.ui;
import android.content.Intent;
import com.tencent.mm.pluginsdk.ui.applet.q.a;
class EnterpriseBizContactPlainListUI$5 implements a {
final /* synthetic */ EnterpriseBizContactPlainListUI hpF;
final /* synthetic */ String hpH;
EnterpriseBizContactPlainListUI$... |
package com.oasisfeng.island.controller;
import android.app.Activity;
import android.app.admin.DevicePolicyManager;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.ApplicationInfo;
import android.content.pm.LauncherApps;
import android.co... |
import org.tbot.internal.AbstractScript;
import org.tbot.internal.Manifest;
import org.tbot.internal.ScriptCategory;
import org.tbot.internal.handlers.LogHandler;
import org.tbot.methods.*;
import org.tbot.methods.GroundItems;
import org.tbot.methods.Time;
import org.tbot.methods.tabs.Inventory;
import org.tbot... |
package com.pellcorp.android.isohunt;
import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import android.app.IntentService;
import android.content.Intent;
public class IsoHuntSearchService extends IntentService {
public static final String SEARCH_RESULTS = "com.pellcorp.android.iso... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package fotoshop.GUI.MenuBar;
import fotoshop.Events.*;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.beans.PropertyChangeEvent;
import java.beans.Proper... |
package uk.gov.hmcts.befta;
public interface BeftaTestDataLoader {
public static void main(String[] args) {
BeftaMain.getAdapter().getDataLoader().loadTestDataIfNecessary();
}
void loadTestDataIfNecessary();
boolean isTestDataLoadedForCurrentRound();
}
|
/**
* Copyright (C), 2015-2019, XXX有限公司
* FileName: EnumSingleton
* Author: huchu
* Date: 2019/3/20 1:07
* Description:
* History:
* <author> <time> <version> <desc>
* 作者姓名 修改时间 版本号 描述
*/
package com.gupaoedu.vip.pattern.singlton.singlton.regist... |
package numbers.trial.revised;
public class Numbers {
public String numToWordConverter(int number) {
String[] wordForm = { "", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten",
"eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen",
... |
package offer;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Stack;
// 输入两个整数序列,第一个序列表示栈的压入顺序,请判断第二个序列是否可能为该栈的弹出顺序。
// 假设压入栈的所有数字均不相等。
// 例如序列1,2,3,4,5是某栈的压入顺序,序列4,5,3,2,1是该压栈序列对应的一个弹出序列,
// 但4,3,5,1,2就不可能是该压栈序列的弹出序列。(注意:这两个序列的长度是相等的)
public class 栈的压入弹出序列 {
public static void ... |
package com.example.legia.mobileweb.DTO;
public class hangSpinner {
private int maHang;
private String Hang;
public hangSpinner(int maHang, String hang) {
this.maHang = maHang;
Hang = hang;
}
public int getMaHang() {
return maHang;
}
public void setMaHang(int maHa... |
package com.estrelladelsur.miequipo;
import com.estrelladelsur.R;
import com.estrelladelsur.alert.AlertEntrenamiento;
import com.estrelladelsur.alert.AlertResultado;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.vie... |
package com.dreamcatcher.main.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.dreamcatche... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.