text stringlengths 10 2.72M |
|---|
package yul.board;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import yul.co... |
package com.example.mvpclean.utils;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.view.View;
import com.example.mvpclean.R;
import com.google.android.material.snackbar.Snackbar;
import static android.content.Context.CONNECTIVITY_SERVICE;
publi... |
import java.util.Scanner;
public class TestArray05
{
public static void main(String[] args)
{
/*查询指定元素的位置*/
/*System.out.println("请输入你想查询的元素:");
Scanner sc = new Scanner(System.in);
int num = sc.nextInt();
int[] arr = {1,2,63,74,25,77,53};
int location = arr.indexAt(num);
System.out.println(location... |
package com.zdzimi.blog.dao;
import com.zdzimi.blog.model.Chapter;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.Optional;
@Repository
public interface ChapterRepository extends JpaRepository <Chapter, Integer> {
Optional<Chapter... |
package com.boj;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class _4963_NumberOfIsland {
static int w, h;
static int[][] map;
static int[] dy = { -1, -1, 0, 1, 1, 1, 0, -1 }; // 상부터 시계방향
static int[] dx = { 0, 1, 1, 1, 0, -1, -1, -1 };
static void d... |
package com.yksoul.pay.utils;
import java.util.UUID;
/**
* @author yk
* @version 1.0
* @date 2018-04-12
*/
public class UUIDUtils {
/**
* 生成UUID
*
* @return
*/
public static String generator() {
return UUID.randomUUID().toString();
}
/**
* 生成没有连接线的uuid
*
... |
package com.example.mcken.mastermind;
import android.graphics.drawable.Drawable;
import android.support.v4.content.res.ResourcesCompat;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.MenuItem;
import android.widget.Button;
import android.widget.GridLayout;
import android... |
/*
* Copyright (C) 2001 - 2015 Marko Salmela, http://fuusio.org
*
* 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 ... |
package gov.samhsa.c2s.pcm.service.dto;
import lombok.Data;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
@Data
public class ConsentAttestationDto {
@Valid
@NotNull
private boolean acceptTerms;
private ConsentDto consentDto;
}
|
package com.saraew.plans;
abstract public class Plan {
protected String name;
protected int users;
protected double price;
public Plan(String name, int users, double price) {
this.name = name;
this.users = users;
this.price = price;
}
public String getName() {
... |
package com.example.hp.above;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.TextView;
public class ClocksActivity extends AppCompatActivity {
@Override
protected void onCreate(... |
package inter;
import symbols.Type;
public class Else extends Stmt {
Expr expr;
Stmt stmt1,stmt2;
public Else(Expr x,Stmt s1,Stmt s2) {
expr=x;
stmt1=s1;
stmt2=s2;
if(expr.type!=Type.Bool)expr.error("boolean required in if");
}
public void gen(int b ,int a) {
int label1=newlabel();
int label2=newlabe... |
package test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
import util.ParseMessage;
import util.StringComparison;
/**
* В данном тесте разрабатываем код для Templates.getUnitedTemplate
* @author aaovchinnikov
*
*/
public class Test6 {
public static... |
package com.findbank.c15.controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.findbank.c15.dao.UsuarioDaoImpl;
import com.findbank.c15.model.Agentes;
import com.findbank.... |
// Sun Certified Java Programmer
// Chapter 6, P451_452
// Strings, I/O, Formatting, and Parsing
import java.io.*;
class Tester451_452 {
public static void main(String[] args) {
// P451
/*File file = new File("fileWrite.txt"); // create a File
PrintWriter pw = new PrintWriter(file);... |
package com.company.ch05_BST;
import java.util.ArrayList;
import java.util.Random;
public class Main {
public static void testtoString(){
BST<Integer> bst = new BST<>();
int[] nums = {5, 3, 6, 8, 4, 2};
for (int num : nums) {
bst.add(num);
}
bst.preOrder();
... |
package tez.levent.feyyaz.kedi.adapters;
// Created by Levent on 5.12.2016.
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.util.Log;
import tez.levent.feyyaz.kedi.fra... |
package com.zhouyi.business.core.utils;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.http.HttpEnt... |
package com.uploadimage.app;
import com.android.volley.AuthFailureError;
import com.android.volley.NetworkResponse;
import com.android.volley.ParseError;
import com.android.volley.Request;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.HttpHeaderParser;
im... |
package assignment;
import java.util.Arrays;
import java.util.List;
/**
* Represents the Staff.
* @author Ong Hock Rong
* @version 1.0
* @since 1.0
*/
public class Staff {
/**
* Represents login status for the staff.
*/
private boolean isLogin = false;
/**
* Represents login userID for... |
package com.fx.style;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import com.alibaba.fastjson.J... |
package chatroom.model.message;
public class PrivateChatStartRequestMessage extends Message {
private String requester;
private String partner;
public PrivateChatStartRequestMessage(String requester, String partner){
this.requester = requester;
this.partner = partner;
type = 14;
... |
package ru.otus.l101.dao;
/*
* Created by VSkurikhin at winter 2018.
*/
import ru.otus.l101.dataset.PhoneDataSet;
import java.sql.Connection;
/**
* By default this class save application classes to DB.
*/
public class AddressDataSetMyDAO extends MyDAO {
private final String ADAPTEE_TYPE = AddressDataSetMyDA... |
package frc.robot.commands;
import edu.wpi.first.wpilibj.trajectory.Trajectory;
import edu.wpi.first.wpilibj2.command.RamseteCommand;
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
import frc.robot.subsystems.DrivebaseSubsystem;
/**
* TrajectoryCommand
*
* */
public class TrajectoryCommand extends... |
public class Warship extends Weapen{
public abstract void move();
public abstract void attack();
} |
package com.cloud.feign_consumer.service;
import com.cloud.feign_consumer.Entity.User;
import com.cloud.feign_consumer.service.impl.HelloServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.Re... |
package futbol5;
import java.util.Date;
public class Reserva {
private Date fechaReserva;
private Equipo equipo1, equipo2;
public Reserva(){
}
public Reserva(Date dReserva, Equipo dEquipo1, Equipo dEquipo2){
this.fechaReserva=dReserva;
this.equipo1=dEquipo1;
... |
package com.example.admin.refreshlayoutdemo;
/**
* Created by admin on 2017/3/20.
*/
public interface IHeadView {
void refreshReady();
void refreshing();
void refreshOver();
int getHeadViewHeight();
}
|
package com.zilker.bean;
/*
* Displays user details.
*/
public class User {
private String userName;
private String mail;
private String contact;
private String role;
private String password;
private String address;
private String zipCode;
public User() {
}
public User(String userName, String mail, Stri... |
/*
* Copyright (C) 2023 Hedera Hashgraph, LLC
*
* 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 la... |
public class Animal {
protected String food;
protected String location;
protected String type;
protected String sound;
void makeNoise(String type, String sound) {
System.out.println(" животное " + type + " издает звук " + sound);
}
void eat(String type, String food) {
Sy... |
package implementation;
public class BinaryTreeNode {
public int value;
public BinaryTreeNode left;
public BinaryTreeNode right;
BinaryTreeNode(int value) {
this.value = value;
left = null;
right = null;
}
}
|
package com.mycompany.reto2;
import java.util.Scanner;
public class Reto2 {
// Eliana Janneth Puerta Morales
// Andrés David Ocampo
public static void main(String[]args ){
System.out.println("Punto 1:");
punto1();
System.ou... |
package com.tencent.mm.plugin.webview.modeltools;
import com.tencent.mm.g.a.ua;
import com.tencent.mm.kernel.g;
import com.tencent.mm.model.q;
import com.tencent.mm.model.t;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.plugin.sns.b.i;
import com.tencent.mm.pointers.PString;
import com.tencent.m... |
import java.awt.*;
import javax.swing.*;
//import javax.swing.border.*;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.lang.NumberFormatException;
import java.lang.NullPointerException;
public class ADMJPanel extends Painel implements A... |
package servlet;
import java.io.File;
import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class LoginServlet extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse res... |
package diagnosticCentre.manager;
public interface PatientTestManager {
}
|
package DPI.wecontroller;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.sprin... |
/*
* Created on Aug 20, 2006
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package com.ibm.jikesbt;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import com.ibm.jikesbt... |
package com.zhao.leetcode;
public class SearchInsert {
public int searchInsert(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){
if (mid==0||nums[mid-1]<target){
... |
package com.company.Arrays;
import java.util.Arrays;
public class ArraysEx5 {
public static void main(String [] args) {
double[] mainArray = {1.3, 3.4, 4.5, 4.8};
int mainArrayLength = mainArray.length;
//}
//public static void calculations (double[] mainArray){
if (mainArrayLength < 3) {
... |
package com.fengniao.lightmusic.activity;
import android.app.Activity;
import android.os.Build;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
public class BaseActivity extends AppCompatActivity {
@Override
protected voi... |
/*
* 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... |
package com.example.myfirstapi.controller;
import com.example.myfirstapi.model.Category;
import com.example.myfirstapi.repository.CategoryRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.an... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package gr.spinellis.ckjm;
import org.apache.bcel.classfile.JavaClass;
import org.apache.bcel.classfile.Method;
/**
*
* @author marian
*/
public class MfaClassVisitor extends AbstractClassVisitor {
public MfaC... |
package com.zsl.web.common.dao;
public interface IBaseDao<T> {
}
|
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... |
package io.zipcoder.microlabs.mastering_loops;
public class Shapes {
public static String triangle(){
String triangle = "*** Output ***";
//first for loop per line while next for loop per *
for(int i = 1; i<=5; i++){
triangle+="\n";
for(int j = 1; j<=i;j++)
triangle+="*";
... |
package com.technology.share.domain;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
* Redis链接实体类
*/
@TableName("t_redis")
@Data
public class Redis extends BaseEntity {
/**Redis链接地址*/
private String host;
/**Redis端口号*/
private Integer port;
/**Redis链接用户名*/
pr... |
package com.smxknife.springcloud.netflix.eureka.fileupload.controller;
import org.springframework.stereotype.Controller;
import org.springframework.util.FileCopyUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework... |
package Project3;
public class EncapTest {
public static void main(String[] args) {
EncapsulationPerson ep =new EncapsulationPerson();
ep.setName("Eva");
ep.setDob("02-22-1992");
ep.setSsn("222-44-7890");
System.out.println(ep.getName()+ " " +ep.getDob());
EncapsulationPerson ep1 =new ... |
package com.tencent.mm.plugin.luckymoney.appbrand.a;
import com.tencent.mm.by.f;
import com.tencent.mm.protocal.c.bhd;
import com.tencent.mm.protocal.c.bhp;
public abstract class a<Req extends bhd, Resp extends bhp> {
private com.tencent.mm.ab.a kKL;
Req kKM;
private Resp kKN;
protected abstract int ... |
package asu.shell.sh;
import asu.shell.sh.util.Assertion;
import asu.shell.sh.util.Util;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
public class History {
private static History instance = new Histor... |
package com.ola.cabbooking.model;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class DriverContext {
Integer driverId;
Location location;
}
|
/**
* Main FAGI package.
*/
package gr.athena.innovation.fagi;
|
package cn.dunn.much;
import io.vertx.core.DeploymentOptions;
import io.vertx.core.Vertx;
import io.vertx.core.VertxOptions;
public class Main {
public static void main(String[] args) {
VertxOptions option = new VertxOptions();
option.setEventLoopPoolSize(32);
Vertx vertx = Vertx.vertx(option);
DeploymentOpt... |
package com.jawspeak.unifier;
import java.util.List;
public class ClassGenerator {
private final List<ClassPathModification> classModifications;
public ClassGenerator(List<ClassPathModification> classModifications) {
this.classModifications = classModifications;
}
public void generate() {
// TODO h... |
import java.io.PrintStream;
import java.text.MessageFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.UUID;
public class Main {
public static void main(String[] args) {
// "{}|[]|()", ""
StudentBuilder studentBuilder = new StudentBuilder();
studentBuilder.id = "";
... |
package com.tencent.mm.platformtools;
import android.graphics.Bitmap;
import com.tencent.mm.kernel.g;
import com.tencent.mm.sdk.platformtools.bi;
import java.lang.ref.WeakReference;
import java.util.Collection;
import java.util.LinkedList;
import java.util.Vector;
public final class y {
private static Vector<Weak... |
import java.time.Month;
public class TypesForFields {
public static void main(String[] args) {
final ManyTypes manyTypes = new ManyTypes();
if (manyTypes.a0 != Byte.MIN_VALUE && manyTypes.a0 != Byte.MAX_VALUE) {
throw new RuntimeException("Invalid type or value of a0.");
}
... |
public class Name
{
public static void main(String args[]) {
System.out.println("Name: Shashank Bahukhandi");
System.out.println("Roll No: 1922060");
}
} |
package com.yuecheng.yue.ui.interactor.impl;
import android.os.Build;
import android.support.annotation.RequiresApi;
import com.yuecheng.yue.http.ApiServicesManager;
import com.yuecheng.yue.http.ICommonInteractorCallback;
import com.yuecheng.yue.ui.interactor.YUE_ISetUserInfoInteractor;
import com.yuecheng.yue.util.Y... |
/*
* Copyright (C) 2015 Miquel Sas
*
* 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 dis... |
package com.fsoft.fa.interviewprocessmanagement.model;
import javax.persistence.*;
import java.util.Set;
@Entity
public class User {
@Id
@Column(name = "user_id")
@GeneratedValue(strategy = GenerationType.AUTO)
private int id;
@Column(name = "username", unique = true)
private String username... |
package com.app.pojos;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.CollectionTable;
import javax.persistence.Column;
import javax.persistence.ElementCollection;
import javax.persistence.Embedded;
import javax.persistence... |
package carro;
/**
*
* @author Akari
*/
public class Carro {
public String cor;
public String motor;
public String placa;
public String retrovisor;
public String marca;
}
|
package ex2;
/*
@luizASSilveira
*/
import java.util.Random;
public class ThreadSleep extends Thread{
Monitor monitor;
public ThreadSleep(Monitor monitor) {
this.monitor = monitor;
}
@Override
public void run() {
Random number = new Random();
int valAleatorio = number.nextI... |
/*
* Copyright © 2015 nirack Corporation, All Rights Reserved.
*/
package com.yaochen.address.data.mapper.std;
import com.easyooo.framework.sharding.annotation.Table;
import com.yaochen.address.data.domain.std.StdServiceTeam;
import com.yaochen.address.support.Repository;
@Table("STD_SERVICE_TEAM")
@Repository
publ... |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... |
package org.ibankapp.base.persistence.test;
import org.ibankapp.base.exception.BaseException;
import org.ibankapp.base.persistence.DefaultJpaDaoImpl;
import org.ibankapp.base.persistence.Model;
import org.junit.After;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import java... |
package com.b12.offer.controller;
import javax.persistence.EntityNotFoundException;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.Control... |
package ec.com.yacare.y4all.lib.asynctask.hole;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.SocketTimeoutException;
import java.util.zip.GZIPInputStream;
import android.... |
package org.ms.iknow.core.type.sense;
public class SenseTest {
}
|
import java.io.Serializable;
public class Gasolina extends Veiculo implements Serializable
{
// variaveis de instancia
private double consumoKm; // em litros por km
private double combustivelAtual;
private double tamanhoDeposito; // em litros
private double autonomia;
private Boolean condicao;
... |
package com.tencent.mm.plugin.nearby.ui;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
class NearbySayHiListUI$12 implements OnMenuItemClickListener {
final /* synthetic */ NearbySayHiListUI lCB;
NearbySayHiListUI$12(NearbySayHiListUI nearbySayHiListUI) {
this.lC... |
package ru.busride.models;
import java.io.Serializable;
public class Trips implements Serializable {
private static final long serialVersionUID = 1069130001;
private Integer id;
private Integer transport_id;
private String departure_date;
private String arrival_date;
private Integer routine... |
package com.android.hiparker.lierda_light.dao;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteStatement;
import de.greenrobot.dao.AbstractDao;
import de.greenrobot.dao.Property;
import de.greenrobot.dao.internal.DaoConfig;
// THIS CODE IS GENERATED ... |
package cs213.photoAlbum.simpleview;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Scanner;
import java.util.SortedSet;
import java.util.TreeMap;
... |
package br.com.smarthouse.controledeluzes.business;
import br.com.smarthouse.controledeluzes.model.ambiente.Objeto;
public interface ObjetoService {
/**
* Verifica se o objeto esta ligado
*
* @param idObjeto
* @return
*/
public boolean verificaSeObjetoEstaLigado(final Objeto objeto);
public void lig... |
/*
* 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 gui;
import java.awt.*;
import logic.*;
/**
*
* @author Eric
*/
public class MainMenu extends javax.swing.JFrame {
priv... |
package com.ybh.front.model;
import java.util.Date;
public class ServerVPSlist {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FreeHost_ServerVPSlist.id
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
private... |
package duke.command;
import duke.Keyword;
import duke.Storage;
import duke.TaskList;
import duke.Ui;
import duke.task.Task;
/**
* Class to handle the delete command
*/
public class DeleteCommand extends Command{
final int LENGTH_OF_DELETE = 6;
public DeleteCommand(String fullCommand) {
super(full... |
package org.fuserleer.utils;
/**
* Some useful string handling methods, currently mostly here
* for performance reasons.
*/
public final class Strings {
private Strings() {
throw new IllegalStateException("Can't construct");
}
/**
* Brutally convert a string to a sequence of ASCII bytes by
* discarding a... |
package com.fc.activity.kdg;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONObject;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.View;
import android.view.... |
package com.mediacom.tools ;
import java.io.BufferedReader ;
import java.io.FileReader ;
import java.io.InputStream ;
import java.io.InputStreamReader ;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings("unused")
public final class ClassPathFileReader
{
private final static Logger LOG = Lo... |
package com.tencent.mm.ui.transmit;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.os.AsyncTask;
import com.tencent.mm.R;
import com.tencent.mm.model.q;
import com.tencent.mm.modelsfs.FileOp;
import com.tencent.mm.modelvideo.n;
impo... |
package searchcodej;
import static org.junit.Assert.*;
import java.util.List;
import org.junit.Test;
import searchcodej.model.Line;
public class SourceCodeReaderTest {
}
|
import javafx.scene.canvas.GraphicsContext;
public class MyLine extends MyShape{
private MyPoint origin,end;
private MyColor color; // Line's color
public MyLine()
{
origin.setX(0); origin.setY(0);
end.setX(100); end.setY(100);
this.color = MyColor.BLACK;
}
... |
package com.mysql.cj.protocol;
import com.mysql.cj.result.Field;
import java.util.Map;
public interface ColumnDefinition extends ProtocolEntity {
Field[] getFields();
void setFields(Field[] paramArrayOfField);
void buildIndexMapping();
boolean hasBuiltIndexMapping();
Map<String, Integer> getColu... |
package com.fleet.mysql.multi.aop.config;
import com.fleet.mysql.multi.aop.enums.DBType;
import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.context.properties.ConfigurationPr... |
package com.hk.eureka.server;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
/**
* <p>
* Eureka 高可用(high availability)配置
*
* @author kally
* @date 2018年2月6日下午5:45:04... |
package com.tencent.mm.plugin.collect.b;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.sdk.platformtools.x;
import java.util.HashMap;
import java.util.Map;
public final class f implements e {
public static f hTN;
private final String TAG = "MicroMsg.F2fGetPayUrlManager";
pu... |
package com.github.mikewtao.webf;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import com.github.mikewtao.webf.mvc.URI;
import com.github.mikewtao.webf.mvc.WebController;
import com.github.mikewtao.webf.utils.ClazzScanner... |
package com.qgbase.biz.reportSystem.domain;
import com.qgbase.common.domain.TBaseEntity;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import com.qgbase.excel.annotation.Ex... |
package com.tenpay.bankcard;
import android.view.View;
import android.view.View.OnFocusChangeListener;
import android.widget.EditText;
class TenpaySegmentEditText$2 implements OnFocusChangeListener {
final /* synthetic */ TenpaySegmentEditText this$0;
final /* synthetic */ EditText val$edit;
TenpaySegmen... |
package de.jmda.app.xstaffr.client.fx.main.contract;
import de.jmda.fx.cdi.FXAppRunner;
/**
* Starts {@link ContractEditorApp} by invoking {@link FXAppRunner#run(Class, String[])} from {@link #main(String[])}.
*
* @author ruu@jmda.de
*/
public class ContractEditorAppRunner
{
public static void main(St... |
package com.example.rahul.aavegremote;
import retrofit2.Call;
import retrofit2.http.POST;
public interface Api {
public final String BASE_URL = "http://192.168.43.199:9000/";
@POST("play")
Call<String> playd();
}
|
package gr.athena.innovation.fagi.preview.statistics;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import gr.athena.innovation.fagi.exception.Applicatio... |
package bootcamp.selenium.basic;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
public class Button {
public static void main(String[] args) {
WebDriver driver = LaunchBrowser.launch("https://demoqa.com/buttons");
WebElement ele = driver.findElement(B... |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.sql.*;
public class ex_8_2 {
static String driverClassName = "org.apache.derby.jdbc.ClientDriver" ;
static String url = "jdbc:derby://localhost:1527/dblabs" ;
static Connection dbConnection = null;
static Stri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.