text stringlengths 10 2.72M |
|---|
//package p1.sad.P1.MultiLine;
public class KeyNumber {
public static final int UP = 1;
public static final int DOWN = 2;
public static final int RIGHT = 3;
public static final int LEFT = 4;
public static final int END = 5;
public static final int BEGIN = 6;
public static final int INSERT =... |
package com.tencent.mm.plugin.exdevice.e;
import com.tencent.mm.bk.a;
public abstract class i extends a {
public d ixi;
}
|
package com.ovi.prescription.service;
import com.ovi.prescription.domain.Admin;
import com.ovi.prescription.exception.AdminEmailException;
import com.ovi.prescription.exception.LoginException;
import com.ovi.prescription.payload.request.RegistrationRequest;
import com.ovi.prescription.payload.response.AdminResponse;
i... |
package com.example.onlineshop.view.fragments;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProviders;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.... |
package com.rc.portal.vo;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.rc.app.framework.webapp.model.BaseModel;
public class TLxAnnouncementExample extends BaseModel{
protected String orderByClause;
protected List or... |
package com.hnam.androiddagger.di.ChatComponent;
import android.content.Context;
import com.hnam.androiddagger.database.ChatService;
import com.hnam.androiddagger.database.DBService;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
/**
* Created by nampham on 12/25/18.
*/
@Module
publ... |
package com.tencent.mm.modelvideo;
import com.tencent.mm.ab.l;
import com.tencent.mm.compatible.util.g;
import com.tencent.mm.modelvideo.x.a;
import com.tencent.mm.sdk.platformtools.x;
class x$a$2 implements Runnable {
final /* synthetic */ l bFp;
final /* synthetic */ int bFq;
final /* synthetic */ int b... |
package com.example.news_kor;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class NewsUtil {
private static Retrofit retrofit = null;
public static NewsInterface getApiInterface() {
if(retrofit == null) {
//Retrofit 데이터가 존재한다면 Gson을 처리하고 BASE_UR... |
package org.fuusio.api.rest.volley;
import android.util.Base64;
import com.android.volley.toolbox.HurlStack;
import com.squareup.okhttp.CertificatePinner;
import com.squareup.okhttp.OkHttpClient;
import com.squareup.okhttp.OkUrlFactory;
import org.fuusio.api.util.StringToolkit;
import java.io.IOException;
import ja... |
package fr.cg95.cvq.service.importer.impl;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.sf.anupam.csv.CSVParser;
import net.sf.anupam.csv.CSVParserFactory;
import net.sf.anupam.csv.exceptions.CSVOException;
import org.apach... |
package com.zetwerk.app.zetwerk.apputils;
/**
* Created by varun.am on 19/01/19
*/
public class FirebaseConstants {
public static final String ZETWERK = "zetwerk";
public static final String LAST_EMPLOYEE = "last_employee";
public static final String EMPLOYEES = "employees";
public static final Strin... |
import java.util.Map;
import com.skyley.skstack_ip.api.SKDevice;
import com.skyley.skstack_ip.api.SKEventListener;
import com.skyley.skstack_ip.api.SKUtil;
import com.skyley.skstack_ip.api.skenums.SKEventNumber;
import com.skyley.skstack_ip.api.skenums.SKEventType;
import com.skyley.skstack_ip.api.skenums.SKScanMode;
... |
package com.example.userportal.service;
import com.example.userportal.domain.Order;
import com.example.userportal.service.dto.OrderDTO;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
public interface OrderService {
List<OrderDTO> findAll();
List<OrderDTO> findAllByCustom... |
package com.example.factory.presenter.contact;
import com.example.common.factory.presenter.BaseContract;
import com.example.factory.model.card.UserCard;
/**
* 关注的契约(接口定义)
* Created by bowen on 2018/3/26.
*/
public interface FollowContract {
// 任务调度者
interface Presenter extends BaseContract.Presenter{
... |
package com.gildedrose;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class BrieItemTest {
@Test
public void brieItemDegradation_1_Day_Elapsed() {
Item[] items = new Item[] { new Item("Aged Brie", 10, 20) };
GildedRose app = new GildedRose(items);
... |
package com.company.entity;
public abstract class Engine {
private String model;
private double volume;
private int power;
private EnginesType enginesType;
public abstract void start();
public abstract void stop();
}
|
package io.github.qyvlik.iostnode.response.contract;
import com.alibaba.fastjson.annotation.JSONField;
import io.github.qyvlik.iostnode.response.tx.AmountLimit;
import java.util.List;
public class ABI {
@JSONField(name = "name")
private String name;
@JSONField(name = "args")
private List<String> arg... |
package view;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import javax.swing.filechooser.FileNameExtensionFilter;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.... |
package com.atn.app.webservices;
import java.util.ArrayList;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.json.JSONException;
import org.json.JSONObject;
import com.atn.app.datamodels.NonAtnVenueData;
import com.atn.app.utils.HttpUtility;
import com.atn.app.webs... |
package org.sang.controller;
import org.sang.bean.RespBean;
import org.sang.bean.User;
import org.sang.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
/**
* Created by albert on 201... |
package com.vilio.ppms.dao.common;
import com.vilio.ppms.pojo.common.SystemRoute;
public interface SystemRouteMapper {
int deleteByPrimaryKey(Long id);
int insert(SystemRoute record);
int insertSelective(SystemRoute record);
SystemRoute selectByPrimaryKey(Long id);
int updateByPrimaryKeySelect... |
package com.gym.appointments.Model;
import java.util.List;
import java.util.UUID;
public class AlphabetSoup {
int w;
int h;
boolean ltr = true; //Por defecto true
boolean rtl; //Por defecto false
boolean ttb = true; //Por defecto true
boolean btt; //Por defecto false
boo... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package com.isystk.sample.batch.jobs.importMst;
import com.isystk.sample.batch.listener.BaseJobExecutionListener;
public class ImportMstJobListener extends BaseJobExecutionListener {
@Override
protected String getBatchId() {
return "BATCH_002";
}
@Override
protected String getBatchName() {
return ... |
package org.opentosca.core.model.artifact.directory.impl;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.opentosca.core.model.artifact.directory.AbstractDirectory;
import or... |
package com.rofour.baseball.service.manager.impl;
import com.rofour.baseball.controller.model.UserManagerLogModel;
import com.rofour.baseball.dao.manager.bean.UserManagerLogBean;
import com.rofour.baseball.dao.manager.mapper.UserManagerLogMapper;
import com.rofour.baseball.service.manager.UserManagerLog;
import org.sp... |
package com.peng.pp_app_sdk.utils;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.os.Handler;
import android.os.Message;
import android.support.v7.widget.RecyclerView;
import android.util.LruCache;
import android.widget... |
package com.tencent.mm.pluginsdk.ui;
public interface VoiceInputFooter$a {
void cdA();
void kF(boolean z);
}
|
package com.udacity.sandwichclub;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import com.squareup.picasso.Callback;
import com.squareup.p... |
package com.services.rabbitmq;
import com.services.rabbitmq.model.ExchangeType;
import com.services.rabbitmq.receiver.MessageReceiver;
import java.io.IOException;
/**
* 广播消息接收
*/
public abstract class SubscribeMessageReceiver extends MessageReceiver {
/**
* 广播方式接收队列
*
* @param queue_name 队列名
... |
package com.example.coronapp;
import com.example.coronapp.entity.Humain;
import com.example.coronapp.enumeration.EtatDeSante;
import com.example.coronapp.enumeration.Nom;
import com.example.coronapp.repository.IHumainRepo;
import com.example.coronapp.service.HumainService;
import com.example.coronapp.utils.HunainUtils... |
package example.mail.sendgrid;
import com.sendgrid.*;
import example.api.v1.Email;
import example.mail.EmailService;
import example.mail.MailController;
import io.micronaut.context.annotation.Requires;
import io.micronaut.context.annotation.Value;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package server.rest.controllers;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import server.model.HRPositionRole;
import server.rest.responses.HRPositionRoleResponse;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import static org.junit.jupiter.api.As... |
package com.xp;
import java.net.URI;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import com.launchdarkly.eventsource.EventHandler;
import com.launchdarkly.eventsource.EventSource;
/**
* @author Neeraj Sidhaye
*/
public class SseClient {
public static void main(Strin... |
package com.aifurion.track.entity.VO;
/**
* @author :zzy
* @description:TODO
* @date :2021/5/2 16:47
*/
public class NoticeVO {
private String userId;
private String title;
private String pushUserName;
public NoticeVO() {
}
public NoticeVO(String userId, String title, String pushUserNa... |
public class BarkingDog {
public static void main(String[] args) {
System.out.println(shouldWakeUp(true,1));
System.out.println(shouldWakeUp(false,2));
System.out.println(shouldWakeUp(true,0));
System.out.println(shouldWakeUp(true,-1));
}
public static boolean ... |
package com.example.finalproject;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.F... |
package com.ibeiliao.pay.impl.thirdpay.wxpay;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.TreeMap;
import com.ibeiliao.platform.commons.utils.encrypt.Encr... |
package javax.vecmath;
import java.io.Serializable;
public class Point4d extends Tuple4d implements Serializable {
static final long serialVersionUID = 1733471895962736949L;
public Point4d(double x, double y, double z, double w) {
super(x, y, z, w);
}
public Point4d(double[] p) {
super(p);
}
... |
package mop.main.java.backend.services;
import com.google.gson.FieldNamingPolicy;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import mop.main.java.backend.services.responses.MovieFinderResponse;
import m... |
/**
* A class to handle the 'Check Out' option of the Main Menu.
*/
public class CheckOutOption implements Option {
private String name;
private BookLister bookLister;
public CheckOutOption(String name, BookLister bookLister) {
this.name = name;
this.bookLister = bookLister;
}
@... |
package com.tencent.mm.plugin.sns.ui;
import com.tencent.mm.modelgeo.Addr;
import com.tencent.mm.modelgeo.b.a;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
class LocationWidget$3 implements a {
final /* synthetic */ LocationWidget nOH;
LocationWidget$3(LocationWidget... |
package com.thinker.vdongthinker.ui.fragment;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import java.util.ArrayList;
public class FragmentController {
private static boo... |
package com.kunsoftware.controller.manager;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annot... |
package com.tencent.mm.protocal.c;
import f.a.a.b;
import f.a.a.c.a;
import java.util.LinkedList;
public final class bee extends bhp {
public long cfh;
public int kLd;
public int kLe;
public String kLf;
public String kLg;
public String kLh;
public int qYf;
public int sbd;
public in... |
package com.cjava.spring.controller;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.faces.event.ValueChangeEvent;
import javax.faces.model.SelectItem;
import org.springframework.beans.fa... |
/*
* MIT License
*
* Copyright (c) 2019 Bayu Dwiyan Satria
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
package com.company.oop_final_challenge;
public class HealthyBurger extends BaseBurger {
private String addition5;
private String addition6;
public HealthyBurger(String meat, int burgerCost) {
super("Healthy burger","Brown rye bread roll", meat, burgerCost);
}
@Override
public void ... |
package pattern_test.state;
/**
* Description:
*
* @author Baltan
* @date 2019-04-04 14:38
*/
public class StopState implements State {
@Override
public void action(LightState lightState) {
System.out.println("红灯:停车等候");
lightState.setLight(Light.GREEN);
System.out.println("绿灯:准备通行... |
package littleservantmod.client.gui.inventory;
import org.lwjgl.opengl.GL11;
import littleservantmod.LittleServantMod;
import littleservantmod.entity.EntityLittleServant;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.util.ResourceLocation;
import net.... |
package random;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Semaphore;
import static random.InterruptDuringIntrinsicLockHeld.latch;
public class InterruptDuringIntrinsicLockHeld {
final static CountDownLatch latch = new CountDownLatch(1);
public static void main(String[] args) th... |
package com.e6soft.activiti.service;
import java.io.IOException;
import org.codehaus.jackson.JsonProcessingException;
import com.e6soft.activiti.controllers.form.FlowModelForm;
public interface FlowModelService {
public String saveFlowModel(FlowModelForm flowModelForm);
public FlowModelForm modifyFlowModelForm... |
package com.company;
/**
* Created by isa on 9/14/15.
*/
public class Calculator {
private int divisor;
private float value;
public void add(String valueAsString) {
float valueAsFloat = transformValueFromStringToInt(valueAsString);
value += valueAsFloat;
}
private float transfor... |
package com.tenjava.entries.Ad237.t3.event.events;
import com.tenjava.entries.Ad237.t3.RandomEvents;
import com.tenjava.entries.Ad237.t3.event.RandomEvent;
import com.tenjava.entries.Ad237.t3.utils.EntityUtils;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.... |
import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;
class ReminderTask extends TimerTask {
//Class Objects
Task taskToRemind;
Timer taskAlarm;
Date alarmTime;
//@author A0112898U
/**
* Constructor for Reminder Task.
*
* @param inTask The task to use to construct a ReminderTask... |
package Lesson3;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
guessNumber();
oneMoreTime();
}
public static void guessNumber() {
int guessNum = (int) (Math.random() * 10);
Scanner sc = new Scanner(System.in);
System.out.p... |
package ua.project.protester.service;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import ua.project.protester.model.Environment;
import ua.project.protester.repository.EnvironmentRepository;
import ua.project.pro... |
/*
* 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 TallerPoo;
public class CTI extends Cuidado {
private Hospital cti;
public CTI(Persona p) {
supe... |
package com.czy.demos.springbootbetterretry.config.CustomAnnotationRetry;
import java.lang.annotation.*;
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CustomRetryAnnotation {
//重试次数
int retryTimes() default 5;
}
|
package com.diozero.sampleapps;
/*-
* #%L
* Organisation: diozero
* Project: diozero - Sample applications
* Filename: ShiftRegisterTest.java
*
* This file is part of the diozero project. More information about this project
* can be found at https://www.diozero.com/.
* %%
* Copyright (C) 2016 - 2023... |
package com.build.bamboo.plugins;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import com.atlassian.bamboo.collections.ActionParametersMap;
import com.atlassian.bamboo.task.AbstractTaskConfigurator;
import com.a... |
package com.smxknife.java.ex20;
import java.util.Arrays;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
* @author smxknife
* 2018-12-03
*/
public class ParallelDemo2 {
public static void main(String[] args) {
ExecutorService... |
package practice;
import java.util.ArrayList;
import java.util.List;
/* 戦士の会心の一撃!
ヒットポイント:100
遊び人は、ただ遊んでいるだけだった!
ヒットポイント:0 */
public class Chapter14 {
public static void main(String[] args) {
List<Character> party = new ArrayList<Character>();
// プログラムを作成
// インスタンスをaddメソッドで追加する
party.add(n... |
package sevenkyu.twotoone;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
class TwoToOneTest {
TwoToOne twoToOne;
@BeforeEach
void init() {
twoToOne = new TwoToOne();
}
@Test
void longest_shouldCo... |
package Ejemplos;
import java.util.ArrayList;
public class Data {
public static int findLargest(ArrayList<Integer> nums){
int largest = nums.get(0);
for (int number : nums) {
if (number > largest){
largest = number;
}
}
return largest;
}
... |
package dh.geometry.regions;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import dh.geometry.OurPoint;
import dh.geometry.OurPolygon;
public class TestPointInPolygon {
@Test
public void testFirstPolygon() {
OurPolygon polygon = new OurPolygon(new... |
package cn.gz3create.module_ad.vip;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import com.ifmvo.togetherad.core.helper.AdHelperReward;
import com.ifmvo.togetherad.core.listener.RewardListener;
import java.util.HashMap;
import java.util.Map;
import androidx.annotation.NonNull;
i... |
package graph.types;
import java.util.Date;
public abstract class PublicTransportNode implements IsoVertex {
// Attributes
private String name = "";
private int id = 0;
protected Date time = null;
private String tripId = "";
private int stopSequence = 0;
public PublicTransportNode(Date time, String tripId, in... |
package com.example.healthmanage.bean.recyclerview;
public class DoctorRecyclerView {
}
|
package com.prudential.car.dao.entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Car {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
private String model;
... |
import java.io.*;
import java.util.*;
import java.awt.*;
import javax.servlet.*;
import javax.servlet.http.*;
import activities.db.*;
public class eliminarReserva extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse res)throws IOException, ServletException{
res.setContentTyp... |
package org.XuJiaLe.dao;
import java.util.List;
import org.XuJiaLe.model.MessageBean;
public interface MessageDao {
/**
* 向数据库插入消息,并插入接收者与信息的关系
* @param receiverId
* @param message
* @return
*/
public int insertOne(long receiverId,MessageBean message);
/**
* 查询用户的所有消息
* @param r... |
package com.tencent.mm.plugin.aa.ui;
import android.content.Intent;
import com.tencent.mm.plugin.aa.a.a;
import com.tencent.mm.plugin.report.service.h;
class LaunchAAUI$16 implements a$a {
final /* synthetic */ LaunchAAUI eDS;
LaunchAAUI$16(LaunchAAUI launchAAUI) {
this.eDS = launchAAUI;
}
p... |
package br.com.bytebank.financas.teste;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.Query;
import br.com.bytebank.financas.modelo.Movimentacao;
import br.com.bytebank.financas.util.JPAUtil;
public class TesteJPQL {
public static void main(String[] args) {
EntityManage... |
package dh.geometry.closestPoints;
import java.util.ArrayList;
import dh.geometry.OurPoint;
public class ClosestPointsFinder {
public OurPoint[] getClosestPoints(OurPoint[] allPoints) {
/*
* Check ob das übergebene Array vielleicht nur 0,1,2 Elemente
* beinhaltet. Falls zwei Punkte enthalten sind werden d... |
package ae.teletronics.cache.examples.dbversioncache;
import java.util.HashMap;
import java.util.Map;
import ae.teletronics.cache.ChangingValueAndLevelMultiCache;
import ae.teletronics.cache.Pair;
import com.google.common.base.Function;
import com.google.common.base.Supplier;
import com.google.common.cache.CacheBuil... |
package com.accolite.msaumanagement.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.b... |
package com.ssm.wechatpro.service.impl;
import io.goeasy.GoEasy;
import io.goeasy.publish.GoEasyError;
import io.goeasy.publish.PublishListener;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.apache.commons.codec.binary.Ba... |
/**
*
*/
package com.github.taylorchen1993.mixtureOfGaussian.code;
import java.awt.Rectangle;
import org.jzy3d.chart.Chart;
import org.jzy3d.chart.ChartLauncher;
import org.jzy3d.chart.controllers.keyboard.camera.CameraKeyController;
import org.jzy3d.colors.Color;
import org.jzy3d.colors.ColorMapper;
i... |
import java.util.Scanner;
//import java.util.Character;
//import java.util.
public class PasswordChecking{
public static void main(String[] args)
{
int min=8;
int max=12;
int digit=0;
int upCount=0;
int loCount=0;
int special=0;
String password;
Scanner sc=new Scanner(System.in);
... |
package ch14.ex14_04;
public class Main {
private static int value = 0;
public synchronized static void add(int val) {
value += val;
System.out.println("Val: " + value + " Thread name: " + Thread.currentThread().getName());
}
public static void main(String[] args) {
Runnable hoge = new Test();
new Threa... |
package jie.android.ip.executor;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map.Entry;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactor... |
package game.app.services.impl;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.convert.ConversionService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import game.app.dtos.requ... |
/**
*
*/
package com.community.controller.account;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.broadleafcommerce.common.web.controller.BroadleafAbstractController;
import org.broadleafc... |
package com.library.bexam.entity;
import com.library.bexam.form.ClassForm;
import com.library.bexam.form.PeriodForm;
import com.library.bexam.form.SubjectForm;
import java.util.List;
/**
* 用户实体
* @author caoqian
* @date 20181213
*/
public class UserEntity {
private int userId;
//年龄
p... |
package cucumber.runner;
import io.cucumber.junit.CucumberOptions;
import org.junit.runner.RunWith;
import io.cucumber.junit.Cucumber;
@RunWith(Cucumber.class)
@CucumberOptions(features = "classpath:features/auto.feature",
glue = "cucumber.stepDefinitions.gherkin",
plugin = {"pretty", "html:target/rep... |
package com.tencent.mm.plugin.appbrand.jsapi.f.a;
import com.tencent.mm.plugin.appbrand.compat.a.b;
import com.tencent.mm.plugin.appbrand.compat.a.b.i;
import com.tencent.mm.plugin.appbrand.jsapi.f.a.d.1;
import com.tencent.mm.plugin.appbrand.r.b.b.a;
class c$8 implements Runnable {
final /* synthetic */ double d... |
package com.suntiago.network.network.iot;
/**
* Created by zy on 2018/3/14.
*/
public interface IOTClient {
/**
* 发送消息
*/
void send(String msg);
/**
* 发送消息
*/
void sendRrpc(String msg, long msgid);
void setReceiveCallback(IOTCallback iotCallback);
// void connect();
// ... |
package com.tencent.mm.plugin.fts.a.d;
import android.content.Context;
import android.view.View;
import com.tencent.mm.plugin.fts.a.d.a.a;
import java.util.List;
public abstract class b implements e {
public Context context;
public com.tencent.mm.plugin.fts.a.d.e.b jsY;
public int jsZ;
public b(Conte... |
package com.define.common.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Component
clas... |
//package Arrays.1d;
import java.util.Scanner;
public class largestno {
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
//int n=scan.nextInt();
String s=scan.nextLine();
String [] stringarr=s.split(" ");
//check eacj sring length and ma... |
package com.trust.demo;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import java.util.List;
/**
* Created by Trust on 2017/7/26.
*/
public class MainControllViewPagerAdapter extends FragmentPagerAdapter {
private Lis... |
package ink.zhaibo.cat.visual.monitor;
import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework... |
package com.canby.decorator.model.ingredients;
import com.canby.decorator.model.Food;
/**
* Created by acanby on 14/10/2014.
*/
public class Lettuce extends IngredientDecorator {
public Lettuce(Food food) {
super(food);
}
@Override
public String getDescription() {
return super.getDe... |
package resources;
import javafx.stage.Stage;
import java.util.concurrent.TimeUnit;
public final class Utilities {
// Initial stage given by JavaFX
private static Stage primaryStage;
// Returns milliseconds in Minute:Second format
public static String formatMilliseconds(long milliseconds)
{
... |
package ru.otus.gwt.client.widget;
/*
* Created by VSkurikhin at autumn 2018.
*/
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.uibinder.client.UiHandler;
import com.google.gwt.uibinder.client.Ui... |
package com.takshine.wxcrm.domain;
import com.takshine.wxcrm.model.ResourceModel;
/**
* 资料模型
* @author zhihe
*
*/
public class Resource extends ResourceModel {
}
|
package com.example.ktc.Adapter;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import... |
/**
* @Title: OfficeMapper.java
* @package com.rofour.baseball.dao.officemanage.mapper
* @Project: baseball-yeah
* ──────────────────────────────────
* Copyright (c) 2016, 指端科技.
*/
package com.rofour.baseball.dao.officemanage.mapper;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import jav... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.