text stringlengths 10 2.72M |
|---|
package com.ramiromadriaga.viewpagerlistviewactivity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;... |
package by.epam.gomel.trening;
import by.epam.gomel.trening.Expression;
import by.epam.gomel.trening.Settings;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.util.Arrays;
import java.util.Collection;
@RunWith(Parameteri... |
package com.tencent.mm.plugin.account.ui;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.plugin.account.ui.BindFacebookUI.a;
class BindFacebookUI$3 implements OnClickListener {
final /* synthetic */ BindFacebookUI ePD;
BindFacebookUI$3(BindFacebookUI bindFacebookUI)... |
package com.cn.jingfen.serviceimpl;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.cn.jingfen.mapper.GridMapper;
import com.cn.jingfen.mapper.RealGridMapper;
import com.cn.jingfen.service.... |
package gov.samhsa.c2s.pcm.service;
import gov.samhsa.c2s.pcm.service.dto.ConsentAttestationDto;
import gov.samhsa.c2s.pcm.service.dto.ConsentDto;
import gov.samhsa.c2s.pcm.service.dto.ConsentRevocationDto;
import gov.samhsa.c2s.pcm.service.dto.ConsentTermDto;
import gov.samhsa.c2s.pcm.service.dto.DetailedConsentDto;
... |
package services;
import models.FootballClub;
import models.Match;
import models.SchoolFootballClub;
import models.UniversityFootballClub;
import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class PremierLeagueManager implements LeagueManager {
private static... |
package com.summer.dao.demo.datasource.config;
/**
* 数据源枚举
*
* @author luke
* @date 2019/06/03
*/
public enum DataSourceEnum {
MASTER, SLAVE
}
|
package com.tencent.mm.plugin.location.ui.impl;
import android.content.Intent;
import android.view.MenuItem;
import com.tencent.mm.bg.d;
import com.tencent.mm.plugin.fav.a.b;
import com.tencent.mm.plugin.fav.a.h;
import com.tencent.mm.plugin.location.model.e;
import com.tencent.mm.plugin.map.a;
import com.tencent.mm.u... |
/*
* JBoss, Home of Professional Open Source
*
* Copyright 2012 Red Hat, Inc. and/or its affiliates.
*
* 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/lic... |
package com.ybg.rbac.user.mapper;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;
import com.ybg.rbac.user.domain.User;
public class UserMapper implements RowMapper<User> {
public User mapRow(ResultSet rs, int index) throws SQLException {
User user = new Us... |
package com.example.homestay_kha.Model;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import com.example.homestay_kha.Controller.Interface.Tien_nghi_Interface;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import com... |
package renderer.sub;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
public class TextElement {
private String text;
private int x;
private int y;
private Color color;
private int size;
public TextElement(String text, int x, int y, Color c, int size){
this.text = text;
this.x = x... |
package com.youthchina.controller;
/*
@RunWith(SpringRunner.class)
@SpringBootTest
@TestExecutionListeners({DependencyInjectionTestExecutionListener.class, DbUnitTestExecutionListener.class, TransactionalTestExecutionListener.class})
@DatabaseSetup({"classpath:recommendation.xml"})
@WebAppConfiguration
public class Ho... |
package com.example.android.pokefinder;
import com.example.android.pokefinder.data.Pokemon;
import com.example.android.pokefinder.data.PokemonRepository;
import com.example.android.pokefinder.data.Status;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.ViewModel;
public class PokemonViewModel extends V... |
package com.chsoft.testng.cs;
import java.io.File;
import java.io.IOException;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeDriverService;
import org.openqa.... |
package miggy.utils;
import junit.framework.TestCase;
// $Revision: 16 $
//TODO
public class TextUtilTest extends TestCase {
public TextUtilTest(String test) {
super(test);
}
public void testDecodeRegList() {
// int list = 0x00c0;
// String s = TextUtil.decodeRegList(list, false);
// assertEqu... |
package com.codeChallenge.dao;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Repository;
import com.codeCha... |
package org.newdawn.slick.tests;
import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.BasicGame;
import org.newdawn.slick.Color;
import org.newdawn.slick.Game;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickExcepti... |
package mine_mine_loop;
public class PrintChars {
public static void main (String [] args){
String word = "python";
for(int i =0;i< word.length();i++){
System.out.println(word.charAt(i));
}
System.out.println("**********REVERSE**************");
for(int i =wo... |
package com.mysql.cj.protocol.a.authentication;
import com.mysql.cj.protocol.AuthenticationPlugin;
import com.mysql.cj.protocol.Message;
import com.mysql.cj.protocol.Protocol;
import com.mysql.cj.protocol.a.NativeConstants;
import com.mysql.cj.protocol.a.NativePacketPayload;
import com.mysql.cj.util.StringUtils;
impor... |
package com.company.tpReverse;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
public class Worker extends Thread {
Socket socket = null;
BufferedReader fin = null;
PrintWriter fout = null;
public String reverse(String line){
... |
package com.vetroumova.sixjars.ui;
import android.Manifest;
import android.app.Activity;
import android.appwidget.AppWidgetManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.res.Configuration;
im... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package unalcol.types.collection.array;
import unalcol.types.collection.Location;
import java.util.NoSuchElementException;
/**
* @author jgomez
*/
public class ArrayCollectionLocation<T> implements Location<T> {
... |
package com.mes.cep.meta.operationsDefinitionModel;
/**
* @author Stephen°§Wen
* @email 872003894@qq.com
* @date 2017ńÍ4‘¬19»’
* @Chinesename ≤Ŕ◊ų∂ő
*/
public class OperationsSegment {
}
|
package com.demondevelopers.launcherbadges;
import android.app.Activity;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
public class MainActivity extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceSta... |
package de.jmda.gen.impl;
import javax.validation.constraints.NotNull;
import de.jmda.gen.Generator;
import de.jmda.gen.GeneratorException;
import de.jmda.gen.LineIndenter;
public class DefaultGenerator implements Generator
{
private StringBuffer output;
/**
* Non null, but maybe producing nothing but "empty" s... |
package testDemo;
import java.util.HashMap;
import java.util.Map;
import rabbitmq.bean.MqRequestEntity;
import rabbitmq.bean.RabbitMqClient;
import rabbitmq.entity.ConsumerConstants;
import rabbitmq.entity.QueueContants;
public class TestPublish
{
public static void main(String[] args)
{
Map<Str... |
package io.github.scarger.chat.util;
import io.github.scarger.chat.LowLevelChat;
import java.io.*;
public class Translator {
public native int encrypt(final String text);
public native String translate(int address);
public native void dispose();
public Translator() {
//Windows implementat... |
/*
* Copyright 2009 Kjetil Valstadsve
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package ba.bitcamp.LabS02D05;
public class IspisBrojevaOd100do1 {
public static void main(String[] args) {
int broj = 100;
while (broj >= 1) {
System.out.println(broj);
broj--;
}
}
}
|
package com.ljx.javaFx.utils;
import java.io.IOException;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.EnumSet;
/**
* @author lijx
* @date 2021/1/19 - 10:13
*/
public class FileUtil {
/**
* 删除目标文件夹,即使文件夹不为空,
* 当文件夹不为空时,直接删除会报错,因此采用这种方式去删除
*
*... |
package com.tencent.mm.plugin.voiceprint.ui;
import com.tencent.mm.plugin.voiceprint.model.p;
import com.tencent.mm.plugin.voiceprint.model.p.a;
import com.tencent.mm.sdk.platformtools.x;
class BaseVoicePrintUI$1 implements a {
final /* synthetic */ BaseVoicePrintUI oFR;
BaseVoicePrintUI$1(BaseVoicePrintUI b... |
/**
* 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 abstratc.interfaces;
import inheritance.polymorphism.Cargo;
public /*abstract*/ class CanadAir implements FireFighterPlane{
private double consumption;
private double autonomy;
private int capacity;
private Cargo cargo;
public CanadAir(double con, double aut, int cap, Cargo water) {
this.consumptio... |
/*
* @Author : fengzhi
* @date : 2019 - 04 - 14 20 : 31
* @Description :
*/
package nowcoder_leetcode;
public class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) {
val = x;
}
}
|
package day03oparators;
public class TypeCasting01 {
public static void main(String[] args) {
// Kücük data tipini buyuk data tipine jaava otomatik olarak yapar.
byte by = 101;
int sayi = by;
System.out.println(sayi);
int sayi2 = 53;
byte by2 = (byte)sayi2;
System.out.println(by2);
double sa... |
/**
*
*/
package com.hermes.ah3.jdbc.communication;
/**
* 字段元数据信息类
* @author wuwl
*
*/
public class ColumnMetaData {
private String dataType;
private int index;
private String columnName;
public String getColumnName() {
return columnName;
}
public void setColumnName(String columnName) {
this.colum... |
package resource;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class Base {
protected WebDriver driver;
protected WebDriverWait wait;
public Base(WebDrive... |
package com.tencent.smtt.sdk;
import android.graphics.SurfaceTexture;
import android.os.Bundle;
public class TbsMediaPlayer {
private ba a = null;
public TbsMediaPlayer(ba baVar) {
this.a = baVar;
}
public void audio(int i) {
this.a.b(i);
}
public void close() {
this... |
package com.payment.payment.controller;
import com.payment.payment.domain.User;
import com.payment.payment.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
@RestController
@Reque... |
package com.orca.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestPara... |
public class Stack {
private StackedInt bottom;
public void push(int value) {
System.out.println("Pushing " + value + "...");
StackedInt newInt = new StackedInt(value);
if (bottom == null) {
bottom = newInt;
} else {
bottom.push(newInt);
}
}
public void pop() {
if (bottom == null) {
System.ou... |
package com.quaero.quaerosmartplatform.domain.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* <p>
* 按料号计划到料未交查询列表返回参
* </p>
*
* @author wuhanzhang@
* @since 2021/1/19 8:33
*/
@Data
@ApiMod... |
package nl.ru.ai.SiemenLooijen4083679.reinforcement;
import java.util.ArrayList;
import java.util.Random;
import nl.ru.ai.vroon.mdp.Action;
import nl.ru.ai.vroon.mdp.Field;
import nl.ru.ai.vroon.mdp.MarkovDecisionProblem;
public class ValueIteration
{
private MarkovDecisionProblem mdp;
private double[][] values;
... |
package com.robot;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.Arrays;
import java.util.Scanner;
public class WaterStrider_부권남 {
public static void main(String[] args) throws Exception {
// TODO Auto-generated method stub
System.setIn(new FileInputStream("res\\Solution... |
package ralli.yugesh.com.primemovies.data;
import android.content.ContentProvider;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import and... |
package com.example.ComicToon.Models.ModelRepositories;
import java.util.List;
import com.example.ComicToon.Models.ReportedSeriesModel;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface ReportedSeriesRepository extends MongoRepository<ReportedSeriesModel, String>{
public Reporte... |
package com.tencent.tinker.lib.e;
import android.content.Context;
public final class c {
public static void bP(Context context, String str) {
a.hL(context).vsx.acN(str);
}
}
|
package de.jmda.app.uml.main.jaxb;
import de.jmda.app.uml.diagram.type.jaxb.NodeManagerData;
import de.jmda.core.cdi.event.ActionOnEvent.AbstractEvent;
/** Used in CDI events to publish the {@code JavaModelConfig} currently in use. */
public class PublishNodeManagerDataResponse extends AbstractEvent<NodeManager... |
package com.temple.service;
import java.sql.Date;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.text.ParseException;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
im... |
package com.baomidou.mybatisplus.samples.quickstart;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.s... |
package it.polimi.se2019;
import it.polimi.se2019.rmi.UserTimeoutException;
import it.polimi.se2019.controller.GameBoardController;
import it.polimi.se2019.controller.PlayerController;
import it.polimi.se2019.model.GameBoard;
import it.polimi.se2019.model.deck.Decks;
import it.polimi.se2019.model.grabbable.*;
import i... |
/**
*
*/
package kit.edu.pse.goapp.server.creating_obj_with_dao;
import java.io.IOException;
import kit.edu.pse.goapp.server.daos.MeetingDAO;
import kit.edu.pse.goapp.server.daos.MeetingDaoImpl;
import kit.edu.pse.goapp.server.datamodels.Meeting;
import kit.edu.pse.goapp.server.exceptions.CustomServerExc... |
package states;
import foodchain.products.Apple;
import foodchain.products.Milk;
import foodchain.states.*;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
public class StateTest {
// ---------- UNIT TESTS ----------
@Test
public void prepare_GrowingApple_Collected... |
package Generic_class;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import org.apache.poi.EncryptedDocumentException;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.R... |
package com.xxxair;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.ann... |
package tests.amazonTest;
import org.openqa.selenium.WebDriver;
import org.testng.annotations.AfterClass;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Parameters;
import org.testng.annotations.Tes... |
/*
* Copyright (C) 2018 askaeks
*
* 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 distribute... |
package org.jcarvajal.webapp.servlet.controllers.impl;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Role allowed.
*
* @author jhilario
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(Elemen... |
package techokami.lib.block;
import techokami.lib.block.TileEntitySlots.EnumIO;
import techokami.lib.client.BlockBaseRender;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.IIcon;
import net.... |
package pl.lua.aws.core.config;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.spri... |
package com.tencent.mm.plugin.game.gamewebview.ipc;
import android.content.Intent;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.MMActivity.a;
class GameProcessActivityTask$1 implements a {
final /* synthetic */ GameProcessActivityTask jGi;
GameProcessActivityTask$1(GameProcessActivityT... |
package edu.buet.cse.spring.ch03.v3.impl;
import javax.inject.Inject;
import edu.buet.cse.spring.ch03.v3.model.Instrument;
import edu.buet.cse.spring.ch03.v3.model.Performer;
import edu.buet.cse.spring.ch03.v3.qualifier.StringedInstrument;
public class Guiterist implements Performer {
private final Instrument inst... |
package com.weekendproject.connectivly.repository;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.re... |
package ws_service;
import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import javax.xml.ws.Endpoint;
import java.io.IOException;
/**
* Created by Just on 2016/3/3.
*/
@WebFilter(value = "")
public class MyWebServicePublishFilter implements Filter {
@Override
public void init(FilterConfig fi... |
package kickercup.xml;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Collections;
import java.util.Collection;
import kickercup.xml.Gruppierungen;
import kickercup.xml.Gruppierung;
import kickercup.xml.Mannschaften;
impor... |
package com.zhowin.miyou.recommend.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.DividerItemDecoration;
import androidx.recyclerview.widget.LinearLa... |
public class BacteriaGrowth{
public static Funksionet fn;
public static NevilleN nv;
public static GraphingBacteria gb;
public static void main(String[] bgArgs){
double[] minutat = {35.0,43.0,52.0,73.0,84.0,91.0,95.0,98.0};
double[] bakterie = new double[minutat.length];
double vlperParashikim = 96.0;
... |
package com.example.xinruigao.musicinbackground;
import android.content.Context;
import android.content.Intent;
import android.renderscript.ScriptGroup;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import androi... |
/**
*
*/
package org.cssociety.tincan.api.impl;
import java.net.URI;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import org.cssociety.tincan.api.Activity;
import org.cssociety.tincan.api.ActivityProfileResource;
import org.cssociety.tincan.api.ActivityResource;
import org.cssoci... |
package com.tencent.mm.plugin.freewifi.ui;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.NetworkInfo.State;
import android.view.KeyEvent;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import com.tencent.mm.R;
import com.tencent.m... |
package cpen221.mp3.wikimediator;
public class NotInCacheException extends Exception {
}
|
package com.salaboy.conferences.agenda.controller;
import com.salaboy.conferences.agenda.util.AgendaItemCreator;
import com.salaboy.conferences.agenda.AgendaServiceApplication;
import com.salaboy.conferences.agenda.TestConfiguration;
import com.salaboy.conferences.agenda.model.AgendaItem;
import com.salaboy.conference... |
/*
* Copyright 2002-2013 the original author or authors.
*
* 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 com.revature.page;
import java.time.Duration;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.... |
package com.hrms.synerzip;
public class Constants {
public static String URL = "https://hrms.synerzip.in/";
public static String advancereportpath ="E:\\TestNGAdvancedReport\\report\\";
public static String URL1 = "https://gmail.com";
public static String datadrivenexcel = "... |
package Kap3;
public class Digest {
private String text;
private String hashValue;
public Digest() {
}
public Digest(String text) {
this.text = text;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
... |
package university;
public class Demo {
public static void main(String[] args) {
Studente enrico = new Studente("Enrico", "Bacis");
// ERROR:
// Studente enrico = new Studente("", "Bacis");
// Studente enrico = new Studente("Enrico", "");
// Inserisco 4 voti
enrico.aggiungiVoto(30);
enrico.... |
package per.goweii.wanandroid.utils;
import per.goweii.basic.utils.AppInfoUtils;
import per.goweii.basic.utils.SPUtils;
/**
* @author CuiZhen
* @date 2019/5/19
* QQ: 302833254
* E-mail: goweii@163.com
* GitHub: https://github.com/goweii
*/
public class UpdateUtils {
private static final String SP_NAME = "u... |
package day06_arithmetic_operators;
public class ArithmeticOperators {
public static void main (String [] args ){
System.out.println(5 + 10);
System.out.println(10 - 3);
System.out.println(3 * 3);
System.out.println(15 / 5 );
System.out.println (17 % 6);
System.out.p... |
package com.tingke.admin.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiM... |
package com.penzias.util;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.StringWriter;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import freemarker.cache.FileTemplateLoader;
import fr... |
package ch.ubx.startlist.server;
import java.util.List;
import java.util.Map;
import ch.ubx.startlist.shared.Job;
public interface JobDAO {
public void removeJob(Job job);
public void createOrUpdateJob(Job job);
public List<Job> listAllJob();
public Map<String, Job> listJob(List<String> names)... |
/**
* Created by xyz on 20-Mar-17.
*/
public class treinumere {
public static void main(String[] args) {
int x;
int y;
int z;
x=SkeletonJava.readIntConsole(" x = " );
y=SkeletonJava.readIntConsole(" y = " );
z=SkeletonJava.readIntConsole(" z = " );
if (x<y) ... |
/*
* Main.java
*
* MDK 4.0.1 - Clase para crear BD.
*
* 05/03/2016
*
* Copyright Drintin© 2016
*/
package uy.com.karibe.console;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Proper... |
package com.microsilver.mrcard.basicservice.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel
public class DeliveryScoreDto {
@ApiModelProperty(value="骑手id")
private Integer deliveryId;
@ApiModelProperty(value="用户id")
private Integer u... |
package com.cotescu.radu.http.server.constants;
import java.util.HashMap;
import java.util.Map;
/**
* This class provides a useful map that associates {@link HTTPStatusCode}s with more descriptive error messages, used for displaying error
* pages.
*
* @author Radu Cotescu
*
*/
public class HTTPErrorStatusCode... |
package PredicatesLamda;
import java.util.Arrays;
import java.util.List;
import java.util.function.Predicate;
public class PredicateExamples {
public static void main(String[] args) {
Predicate<Employee> stringPredicate = (employee) -> employee.getName().startsWith("Raj");
Predicate<Employee> e... |
package com.hx.entity;
/**
* @program: eqds-ms
* @description:
* @author: yangyue
* @create: 2019/12/19 17:06
*/
public class User {
private String id;
private String username;
private String password;
private boolean simpled;
@Override
public String toString() {
return "User{"... |
/**
* Definition for singly-linked list.
* class ListNode {
* int val;
* ListNode next;
* ListNode(int x) {
* val = x;
* next = null;
* }
* }
*/
public class Solution {
//use the fast and slow pointer to get the middle of a ListNode
ListNode getMiddleOfList(ListNode h... |
/*
* ExecuteSend.java
*
* Created on February 26, 2008, 3:05 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package org.sunspotworld;
import com.sun.spot.sensorboard.EDemoBoard;
import com.sun.spot.sensorboard.peripheral.TriColorLED;
import com.sun.spo... |
/*
* 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 UserInterface;
import Business.Address;
import Business.Person;
/**
*
* @author graceshi
*/
public class ViewPersonJPanel e... |
import java.nio.charset.Charset;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
public class EchoClientHandler extends ChannelInboundHandlerAdapter {
@Override
public void channelActive(ChannelHand... |
package nl.rug.oop.flaps.aircraft_editor.view.frame;
import lombok.Getter;
import nl.rug.oop.flaps.aircraft_editor.controller.errors.NotReachable;
import nl.rug.oop.flaps.aircraft_editor.util.IsDestinationReachable;
import nl.rug.oop.flaps.aircraft_editor.view.panels.blueprint.BluePrintPanel;
import nl.rug.oop.flaps.a... |
package com.saraew.main;
public class Main {
public static void main(String[] args) {
MainWindow window = new MainWindow(9, 9);
window.setVisible(true);
}
}
|
package id.tfn.code.myscanner;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.lifecycle.ViewModelProvider;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.util.Log... |
package com.haarman.listviewanimations.view;
public interface OnSwapListener {
public void onItemSwapped(int pos1, int pos2);
} |
package at.cooperation.rezeptdb.service;
import android.util.Base64;
import android.util.Log;
import com.android.volley.AuthFailureError;
import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.tool... |
package rs.pupin.custompolyline2;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view... |
package webmail.pages;
import org.stringtemplate.v4.ST;
import webmail.entities.Email;
import webmail.managers.otherManagers.SQLManager;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Created by JOKER on 11/29/14.
*/
public class ReplyPage extends MailPage {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.