text stringlengths 10 2.72M |
|---|
package com.example.wattson.Adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.wid... |
package com.chilkens.timeset.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.hibernate.annotations.CreationTimestamp;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
@Set... |
package earth.xor.model;
import org.xorrr.util.EnvironmentVars;
public abstract class BookmarkFields {
public static String DATABASE_NAME = System.getenv(EnvironmentVars.DB_NAME);
public static final String BOOKMARKS = "bookmarks";
public static final String BOOKMARK = "bookmark";
public static fin... |
package com.example.paula.recipeasy;
import android.content.Context;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.Log;
import android.widget.ArrayAdapter;
public class CustomAutoCompleteTextChangedListener implements TextWatcher {
Context context;
public CustomAutoCompl... |
package ui;
import javafx.fxml.FXML;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
public class WebViewController {
@FXML private WebView webView;
private WebEngine webEngine;
@FXML
public void initialize(){
webEngine = webView.getEngine();
// web... |
import java.awt.*;
import javax.swing.*;
public class cal extends JFrame {
private static final long serialVersionUID = 1L;
public cal(String title) {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setSize(300,180);
setTitle(title);
setLayout(new BorderLayout(10,5));
makeup();
make();
setVisible(true);... |
/*
* 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 CLinkedList;
/**
*
* @author asus
*/
public class CLinkedList<T> {
private Node<T> head;
private Nod... |
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class FirstWindow extends JFrame implements ActionListener{
private JComboBox nbParticipantCombo = new JComboBox();
private JComboBox nbTVCombo = new JComboBox();
private JButton validBu... |
package com.company;
import org.apache.poi.ss.usermodel.CellType;
import org.apache.poi.xssf.usermodel.XSSFRow;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.*;
publ... |
package com.webexteams.auto;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@ComponentScan
public class WebexTeamsAutoApplication {
public static void main(Str... |
package com.example.cia;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import andro... |
package pl.java.scalatech.lifecycle;
import org.springframework.beans.factory.support.DefaultListableBeanFactory;
public class CarExt extends DefaultListableBeanFactory {
}
|
package tilePack;
import org.newdawn.slick.Image;
public class SingledTile extends Tile{
public SingledTile(String name, Image img) {
super(name, img);
// TODO Auto-generated constructor stub
}
}
|
/**
* All bot utilities can be found in this package.
*
* @author AlienIdeology
* @since 0.0.3
*/
package org.alienideology.jcord.bot; |
import java.util.Scanner;
public class LinkedList {
private class Node{
private Employee e;
private Node next;
@SuppressWarnings("unused")
public Node(Employee val, Node n){
e = val;
next = n;
}
public Node(Employee val){
e = val;
next = null;
}
}
private Node first... |
package com.yida.design.strategy.demo;
import com.yida.design.strategy.demo.strategy.BackDoor;
import com.yida.design.strategy.demo.strategy.BlockEnemy;
import com.yida.design.strategy.demo.strategy.GivenGreenLight;
/**
*********************
* 使用策略
*
* @author yangke
* @version 1.0
* @created 2018年... |
package repositorio;
import java.io.Serializable;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.Resource;
import javax.enterprise.context.Dependent;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.transac... |
package extra_Practices;
import java.util.Scanner;
public class massAndWeight {
public static void main(String[] args) {
Scanner sc= new Scanner(System.in);
System.out.print("Please enter the mass of the object: ");
double mass=sc.nextDouble();
double weight=mass*9.8;
System.out.println("The we... |
package com.jk.jkproject.ui.activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Typeface;
import android.net.Uri;
import android.os.Bundle;
import android.os.Looper;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManag... |
package src;
import java.io.FileNotFoundException;
public class Driver {
public static void main(String[] args) throws FileNotFoundException {
Parser parser = new Parser("tests/numvals.txt");
Token currToken = parser.getNextToken(); // prime the pump
while (true) {
switch (currToken.getType()) {
case... |
package com.youyiwen.Service;
import com.youyiwen.Bean.User;
/**
* @Author: zhaoyang
* @Date: 2021/03/04
*/
public interface UserService {
public User searchUserByName(String name);
public void insertUser(User user);
public String searchPasswordByName(String name);
public String searchRole(User use... |
package com.tencent.mm.plugin.appbrand.dynamic.launching;
public enum c$a {
;
static {
fxe = 1;
fxf = 2;
fxg = 3;
fxh = 4;
fxi = 5;
fxj = 6;
fxk = new int[]{fxe, fxf, fxg, fxh, fxi, fxj};
}
}
|
/**
*
*/
package com.caoym;
import static org.junit.Assert.*;
import java.awt.AWTException;
import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import java.awt.Point;
import java.awt.Rectan... |
package old;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.Collections;
import java.util.List;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ArrayC... |
package Labirent;
public abstract class Dusmanlar implements Hareket, Konum {
public abstract String toString();
}
|
/**
*
*/
package restaurante;
import java.io.Serializable;
import java.math.RoundingMode;
import java.text.DecimalFormat;
/**
* @author Gabriel Alves
* @author Joao Carlos
* @author Melissa Diniz
* @author Thais Nicoly
*/
public class TiposDeRefeicoes implements Comparable<TiposDeRefeicoes>, Serializable {... |
package com.xvr.serviceBook.service.impl;
import com.xvr.serviceBook.entity.Worker;
import com.xvr.serviceBook.form.WorkerForm;
import com.xvr.serviceBook.repository.DepartmentRepository;
import com.xvr.serviceBook.repository.WorkerRepository;
import com.xvr.serviceBook.service.WorkerService;
import org.springframewor... |
package Client.Services;
import Client.Services.*;
import Client.Services.Enums.Jobs;
public class Engineer extends Worker
{
private double weeklyBenefits=0.0;
public Engineer()
{
super();
weeklyBenefits=400.00;
}
public Engineer(String a,int b,int c, Jobs e,double d)
{
super(a,b,c,e);
setWeek(d);
}
... |
/*
* Copyright 2003-2016 MarkLogic Corporation
*/
package com.saptarshi.rest;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.math.BigInteger;
import java.net.URI;
import com.marklogic.client.DatabaseClient;
import com.marklogic.client.DatabaseClientFactory;
imp... |
package com.lljin.study.redistest.config;
import com.lljin.study.redistest.feign.TestFeignClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;
/**
* @author lljin
* @description TODO
* @date 2020/8/2 22:08
*/
@EnableFeignClients(client... |
package Leetcode;
/**
* 给定两个大小为 m 和 n 的有序数组 nums1 和 nums2。
* 请你找出这两个有序数组的中位数,并且要求算法的时间复杂度为 O(log(m + n))。
* @author AD
*
*/
public class FindMedianSortedArrays {
public double findMedianSortedArrays(int[] A, int[] B) {
//数组长度
int m = A.length;
int n = B.length;
//确保m <= n
//此时A... |
/*
* 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.tencent.mm.pluginsdk.model.app;
import com.tencent.mm.ab.b.a;
import com.tencent.mm.ab.b.b;
import com.tencent.mm.network.q;
import com.tencent.mm.platformtools.ab;
import com.tencent.mm.plugin.ac.a.a$a;
import com.tencent.mm.protocal.c.aig;
import com.tencent.mm.protocal.c.aih;
import com.tencent.mm.proto... |
package com.tencent.mm.plugin.pwdgroup.ui;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.Animation.AnimationListener;
class a$1 implements AnimationListener {
final /* synthetic */ a maB;
final /* synthetic */ View val$view;
a$1(a aVar, View view) {
... |
import java.util.Scanner;
import java.util.TreeSet;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Main {
private static TreeSet<String> eMailList;
public static void main(String[] args) {
eMailList = new TreeSet<>();
System.out.println("Список команд: LIST, ADD... |
package com.xhpower.qianmeng.controller.front;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.Requ... |
package ua.nure.timoshenko.summaryTask4.db;
import ua.nure.timoshenko.summaryTask4.db.entity.Order;
/**
* Status order.
*
* @author L.Timoshenko
*
*/
public enum Status {
REGISTERED, PAID, CANCELED;
public static Status getStatus(Order order) {
return Status.values()[order.getStatusID()];
}
public static ... |
package com.microsilver.mrcard.basicservice.dao;
import com.microsilver.mrcard.basicservice.model.FxSdFinanceCustomer;
import com.microsilver.mrcard.basicservice.model.FxSdFinanceCustomerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface FxSdFinanceCustomerMapper {
int co... |
package org.kuali.mobility.bus.util;
import java.util.Comparator;
import org.kuali.mobility.bus.entity.BusStop;
public class BusStopDistanceSort implements Comparator<BusStop> {
public int compare(BusStop o1, BusStop o2) {
int comparison = this.compareDoubleValues(o1.getDistance(), o2.getDistance());
retur... |
class Node {
public int data;//数据
public Node next;//后继信息
public Node prev;//前驱信息
public Node(int data) {
this.data = data;
}
}
public class MyLinkedList {
public Node head;//双向链表标志的头
public Node tail;//双向链表的尾巴
//头插法
public void addFirst(int data) {
Node node = new ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pl.panryba.mc.duels;
/**
*
* @author PanRyba.pl
*/
public class Duel {
private String playerA;
private String playerB;
private boolean started;
private boolean completed;
private... |
package example.chess;
public enum ChessType {
BLACK_CELL, WHITE_CELL, EMPTY_CELL,MOVE_CELL,
PAWN_W, ROOK_W, KNIGHT_W, BISHOP_W, QUEEN_W, KING_W,
PAWN_B, ROOK_B, KNIGHT_B, BISHOP_B, QUEEN_B, KING_B
}
|
public class MyDeno extends MyRun {
public static void main(String[] args) throws InterruptedException {
MyRun r=new MyRun();
Thread t=new Thread(r);
t.start();
t.interrupt();
System.out.println("main thread");
}
}
|
package com.cyendra.tetris;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.Timer;
import javax.swing.Box;
... |
package com.datastructure;
/*
* http://www.acmerblog.com/nodes-distance-k-given-node-6004.html
*/
public class TreeNodeDistAtK {
static class Node {
int data;
Node left, right;
public Node(int i) {
this.data = i;
}
}
//打印以root为根的二叉树中,到target距离为k的节点
public static int KDistNode(Node root, Node targe... |
package com.phone1000.martialstudyself.utils;
import android.util.Log;
import com.google.gson.Gson;
import com.phone1000.martialstudyself.adapters.CommentAdapter;
import com.phone1000.martialstudyself.adapters.MoreItemAdapter;
import com.phone1000.martialstudyself.model.MoreModel;
import com.phone1000.martialstudysel... |
package com.pccw.immd.eservices.scheduler.job;
import java.util.Date;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.client.RestTempla... |
package robosim.ai;
import planner.core.Domain;
import robosim.core.Action;
import robosim.core.Simulator;
import java.util.ArrayList;
import java.util.HashMap;
public class QLearingAI implements Controller {
HashMap<QState, HashMap<QLearner.Transition, Double>> transitionCounts;
double[][] transitCounts; //... |
package edu.byu.cs.tweeter.view;
import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AppCompatActivity;
import android.Manifest;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.os.Build;
import android.text.Editable;
import... |
package com.org.c2y2.base;
import java.util.List;
import java.util.Map;
public interface IService<T extends Entity> {
/**
* description 添加方法
* @return void
*/
public abstract void insert(T t) throws Exception;
/**
* description 删除方法
* @return void
*/
public abstract void d... |
package com.demo.android.musicplayer.Service;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.media.MediaPlayer;
import android.os.Binder;
import android.os.IBinder;
import android.u... |
package com.finki.os.labs.lab1;
import java.io.*;
import java.util.ArrayList;
/// ---- BAJT PO BAJT ------ ///
public class HW01_2RA {
public static void main(String[] args) throws IOException {
RandomAccessFile fos = null;
RandomAccessFile fin = null;
RandomAccessFile db = null;
... |
package com.kerbii.undersiege;
public abstract class EffectBase extends GameObject {
public int animationIndex;
private static float initialVertices[] = {
0.0f, 0.0f, 0.0f,
0.0f, 0.0f, 0.0f,
0.0f, 0.0f, 0.0f,
0.0f, 0.0f, 0.0f
};
public EffectBase(float x, float y, float width, float height) ... |
import java.io.IOException;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
... |
package org.eclipse.emf.codegen.ecore.templates.model;
import java.util.*;
import org.eclipse.emf.codegen.ecore.genmodel.*;
import org.eclipse.emf.codegen.ecore.genmodel.util.GenModelUtil;
public class AdapterFactoryClass
{
protected static String nl;
public static synchronized AdapterFactoryClass create(String l... |
package rgg.campusvirtualapp.vista;
import java.io.File;
import rgg.campusvirtualapp.AppMediador;
import rgg.campusvirtualapp.presentador.IPresentadorTarea;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.In... |
package com.tencent.mm.plugin.card.model;
import android.text.TextUtils;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.b.a;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.network.k;
import com.tencent.mm.network.q;
import com.tencent.mm.protocal.c.abl;
import com.tencent.mm.protoc... |
package assembler;
import java.util.ArrayList;
import java.util.Arrays;
public class InstructionList {
private static InstructionList instructionlist;
private ArrayList<String> RtypeInstruction;
private ArrayList<String> ItypeInstruction;
private ArrayList<String> JtypeInstruction;
public InstructionList(){... |
package crundle.qralarmclock;
import android.content.Intent;
import android.media.Ringtone;
import android.media.RingtoneManager;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
import com.google.zxing.Result;
import me.dm7.barcodescanner.... |
package models.user;
import com.avaje.ebean.Model;
import models.IUniqueID;
import models.security.AccessType;
import models.security.Token;
import play.api.mvc.AcceptExtractors;
import services.TokenService;
import javax.persistence.*;
import java.util.Date;
import java.util.List;
@Entity
@Inheritance(strategy = In... |
package br.com.sysprojsp.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import br.com.sysprojsp.classes.model.Telefone;
import br.com.sysprojsp.connection.SingleConnection;
public class TelefoneDao {
pri... |
package interviewTasks_Saim_Maps;
import java.beans.IntrospectionException;
import java.util.LinkedHashMap;
import java.util.Map;
public class Map_frequency_eachCharachter {
public static void main(String[] args) {
frequencyTest("AABBBCDDDDEEEEE");
}
public static void frequencyTest(String str){
... |
/*
* 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 db.dao;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import ... |
package Display;
public class Inheritance
{
public static void main(String[] args)
{
B obj=new B();
obj.num1=7;
obj.num2=3;
obj.add();
obj.sub();
}
}
class A //super ,parent ,
{
int num1,num2;
public void add()
{
System.out.pr... |
public class ComparTo
{
public static void main (String args[])
{
String a = "я";
String b = "вас";
String c = "хуй";
String d = "блядь";
int result = a.compareTo(b);
// if (a.compareTo(b) < 0)
System.out.println("Меньше" + " " + result);
... |
package classes;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import com.example.medicalprocess.MainActivity;
import db.BDDConnexion;
public class Nature {
private int numero;
private String nom;
... |
package com.tencent.tencentmap.mapsdk.a;
public class mc extends RuntimeException {
public mc(String str) {
super(str);
}
}
|
package com.xiruan.demand.demand.template;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
/**
* Created by Chen.Ju on 2015/5/17.
*/
public class SpringFactory implements ApplicationContextAware {
... |
package edu.sit.model;
import java.time.LocalDate;
import edu.sit.uteis.CalculoIdade;
public class Cliente {
private Integer id;
private String nome;
private LocalDate dataDeNascimento;
private String endereco;
private String cpf;
private Contato contato;
private Integer contatoid;
public... |
public class ChoiceEffect
{
public final String BUILDING_DAMAGED = "Building Damaged";
public final String PLAYER_HURT = "Player Hurt";
public final String BUILDING_FIXED = "Building Fixed";
public final String PLAYER_HEALED = "Building Healed";
public final String BUILDING_UPGRADED = "Building Upgrad... |
package main.java.com.Arkioner.schibstedTest.core.http;
import com.sun.net.httpserver.HttpExchange;
import java.io.IOException;
import java.io.OutputStream;
/**
* Created by arkioner on 18/05/15.
*/
public class HttpUnauthorized {
private static HttpUnauthorized instance;
public static HttpUnauthorized ge... |
package com.nks.whatsapp.protocol;
public class Constants {
/**
* Constant declarations.
*/
public static final String CONNECTED_STATUS = "connected"; // Describes the connection status with the WhatsApp server.
public static final String ... |
package com.tianlang.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller //创建对象,表示这是一个控制器对象
public class MyController {
/*加了注解就相当于servlet中doGet方法
* ModelAndView:是本次请求的结果
... |
package com.hyonga.dictionary.common;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.Docum... |
package Game;
import java.io.Serializable;
import java.util.Timer;
import java.util.TimerTask;
public class Time {
int days;
int hours;
Timer time = new Timer();
TimerTask task;
private int secondsPassed;
public Time(){
initTime();
secondsPassed = 0;
days = 0;
... |
package com.tencent.mm.plugin.scanner.ui;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.bg.d;
import com.tencent.mm.model.au;
import com.tencent.mm.plugin.scanner.a.a.a;
import com.tencent.mm.plugin.scanner.a.h;
import com.tencent.mm.plugin.sca... |
package de.jmda.app.uml.shape.arrow;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.Before;
import org.junit.Test;
import javafx.geometry.Point2D;
public class JUTTail___Front_0_0___Back_0_0
{
private Tail tail;
@Before public void before()
{
... |
import java.util.*;
import java.lang.Math;
class Encumb {
//Change the below constants to effect the carrying capacity modifiers. 15 = PHB, 10&&5 = realistic
static int ENCUMB = 5;
static int HEAVY_ENCUMB = 10;
static Scanner scan = new Scanner(System.in);
public static final String RED_BOLD_BRIGHT = "\033[1;91m"... |
/*
* Copyright 2006 Ameer Antar.
*
* 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... |
package co.nos.noswallet.kyc;
import android.app.Activity;
import android.support.v4.app.Fragment;
import co.nos.noswallet.base.BaseView;
public interface KnowYourCustomerView extends BaseView {
void navigateTo(Fragment fragment);
void startActivity(Class<? extends Activity> klazz);
void exitScreen();
... |
package com.cognitive.newswizard.service.service;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons... |
package com.journaldev.dao;
import com.journaldev.model.Person;
import org.hamcrest.core.Is;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springfra... |
package tv.mongotheelder.harvestsprites.setup;
import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.client.audio.Sound;
import net.minecraft.inventory.container.ContainerType;
import net.minecraft.item.BlockItem;
import net.minecraft... |
package com.example.ahmed.octopusmart.Fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
i... |
package com.tencent.mm.plugin.wenote.model.a;
import com.tencent.mm.plugin.wenote.model.nativenote.manager.WXRTEditText;
public abstract class b {
public String jdM = "";
public boolean qoH = false;
public int qoI = 0;
public int qoJ = -1;
public WXRTEditText qoK;
public WXRTEditText qoL;
... |
package com.bloc.objects;
class Song extends Object {
// The ensemble which produced it
Ensemble mEnsemble;
// Title of the song
String mTitle;
// The year it was released
int mYearReleased;
/*
* Song
*
* Default Constructor
* Side-effects: Assigns some default ensemble, title and
* and year of y... |
package com.itheima.ssm.service;
import com.itheima.ssm.domain.Permission;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* 权限业务层接口
*/
@Service
@Transactional
public interface PermissionService {
List<Permission> findA... |
import java.util.Vector;
import java.lang.Exception;
class Border
{
static final int BLACK=0;
static final int GREEN=1;
static final int RED=2;
static final int BLUE=3;
static final int YELLOW=4;
static final int AQUA=5;
static final int PINK=6;
static final int WHITE=7;
private Config config;
private Shape... |
package api.longpoll.bots.adapters.deserializers;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import java.lang.reflect.Type;
/**
* Deserializes Integer JSON value to {@code Boolean}. (0 = f... |
package com.tencent.mm.plugin.sns.lucky.ui;
import android.app.Dialog;
import android.content.Context;
import android.graphics.Typeface;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;
import com.tencent.mm.plugin.sns.i.f;
import c... |
package ch.springcloud.lite.core.mail;
import org.springframework.boot.context.properties.ConfigurationProperties;
import lombok.Data;
@Data
@ConfigurationProperties("spring.cloud.lite.app.email.sender")
public class Sender {
volatile String account;
volatile String password;
volatile String smtphost... |
/*
* 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.silva.industries.microservices.service.dto;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Builder
@Getter
@Setter
@NoArgsConstru... |
package com.penzias.service;
import java.util.List;
import com.penzias.core.interfaces.BasicService;
import com.penzias.entity.SmRoleModular;
import com.penzias.entity.SmRoleModularExample;
public interface SmRoleModularService extends BasicService<SmRoleModularExample, SmRoleModular> {
Integer addMore(L... |
package com.team_linne.digimov.integration;
import com.team_linne.digimov.model.Cinema;
import com.team_linne.digimov.repository.CinemaRepository;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Auto... |
package com.tencent.mm.plugin.account.bind.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import com.tencent.mm.bg.d;
import com.tencent.mm.plugin.account.a.j;
class BindQQUI$10 implements OnClickListener {
final /* synthetic */ B... |
/**
*
*/
package com.storm.bolts;
import java.util.Map;
import backtype.storm.task.TopologyContext;
import backtype.storm.topology.BasicOutputCollector;
import backtype.storm.topology.OutputFieldsDeclarer;
import backtype.storm.topology.base.BaseBasicBolt;
import backtype.storm.tuple.Tuple;
/**
* @... |
package com.ybh.front.model;
import java.math.BigDecimal;
import java.util.Date;
public class Product_Email {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FreeHost_Product_Email.id
*
* @mbg.generated Fri May 11 11:16:07 ... |
package com.smartbear.field;
import com.smartbear.Main;
import com.smartbear.game.Game;
import com.smartbear.game.GameState;
import com.smartbear.objects.Bomb;
import com.smartbear.objects.Flag;
import java.awt.*;
/**
* Created by druger on 23.09.2016.
*/
public class Cell {
private final int[] COLOR_OF_NUMBE... |
package it.htm.services;
import it.htm.dao.TaskDaoImpl;
import it.htm.dto.SkillDTO;
import it.htm.dto.TaskDTO;
import it.htm.entity.Skill;
import it.htm.entity.Task;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.