text stringlengths 10 2.72M |
|---|
package com.giraldo.parqueo.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.giraldo.parqueo.model.Propietario;
@Repository
public interface PropietarioRepository extends JpaRepository<Propietario, Long>{
... |
/**
* IMPORTANT: Make sure you are using the correct package name.
* This example uses the package name:
* package com.example.android.justjava
* If you get an error when copying this code into Android studio, update it to match teh package name found
* in the project's AndroidManifest.xml file.
**/
package com... |
package ist.es.refactorings;
import java.util.ArrayList;
import java.util.List;
public class ExtractMethodExample {
/**
* Orders issued by a given client, initialized somewhere
*/
private final List<Order> orders = new ArrayList<Order>();
/**
* @param outstanding
* @return
*/
... |
package com.company;
import java.awt.*;
public class Castle implements Drawable {
private int x, y, width, height, width2, nPoints;
private int[] xPoints, yPoints;
private Color color;
public Castle(int x, int y, int width, int height, int width2, int[] xPoints,
int[] yPoints, int n... |
public interface IMatrixModifiers {
public void matrixReplace(String matrix[][], String original, String novo); /* Substitui todas as ocorrencias de "original" da matriz por "novo" */
public void matrixClean(String matrix[][]); /* Retira linhas iguais da matrix */
public void deleteCollum(String matrix[][], int ind... |
// Sun Certified Java Programmer
// Chapter 6, P456_2
// Strings, I/O, Formatting, and Parsing
import java.io.*;
class Tester456_2 {
public static void main(String[] args) {
/*String[] files = new String[100];
File search = new File("searchThis");
files = search.list(); // create th... |
package com.jawspeak.unifier;
import static org.junit.Assert.assertEquals;
import java.util.Map;
import org.junit.Test;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Lists;
public class ClassPathDifferTest {
@Test
public void recognizeNoDifferecesInSameClassInfos() throws ... |
package javabasico.aula27labs;
/**
* @author Kim Tsunoda
* Objetivo Escreva uma classe para representar uma lâmpada. Desenvolva métodos para ligar, desligar a lampada.
*/
public class Exercicio01 {
public static void main (String []args) {
Lampada lampada = new Lampada ();
lampada.ligar();
... |
package com.tencent.mm.g.a;
import com.tencent.mm.sdk.b.b;
public final class nj extends b {
public a bYp;
public nj() {
this((byte) 0);
}
private nj(byte b) {
this.bYp = new a();
this.sFm = false;
this.bJX = null;
}
}
|
package pl.cwanix.opensun.agentserver.engine.experimental.maps;
import lombok.AllArgsConstructor;
@AllArgsConstructor
public enum ZoneType {
VILLAGE(1);
private final int type;
public byte getType() {
return (byte) this.type;
}
public boolean equals(final int value) {
return typ... |
package ameca;
/**
*
* @author manu
*/
//import com.mysql.cj.util.StringUtils;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Locale;
import javax.servlet.ServletExce... |
package net.majorkernelpanic.spydroid.api;
import net.majorkernelpanic.streaming.Session;
import net.majorkernelpanic.streaming.rtsp.RtspServer;
public class CustomRtspServer extends RtspServer {
public CustomRtspServer() {
super();
// RTSP server disabled by default
mEnabled = false;
}
}
|
package ca.csf.dfc.poo.Iterator.classes;
public interface Container {
public Iterator getIterator();
}
|
public class StringToIntegerAtoi {
public int run(String str) {
// 空字符串直接返回
if (str.length() == 0) return 0;
// 过滤空格
int i = 0;
while (i < str.length() && str.charAt(i) == ' ') {
i++;
}
// 是一个空字符串 或 (过滤空格之后)首字母非数字
// > 57 说明也不会是 + - 等符合
... |
package mk.petrovski.weathergurumvp.presenter;
import io.reactivex.Observable;
import io.reactivex.disposables.CompositeDisposable;
import io.reactivex.schedulers.TestScheduler;
import mk.petrovski.weathergurumvp.TestModels;
import mk.petrovski.weathergurumvp.data.DataManager;
import mk.petrovski.weathergurumvp.data.l... |
package exer3;
public interface Swimming {
public abstract void swim();
public default void breathe(){
System.out.println("大口呼吸");
}
}
|
package com.eazy.firda.eazy.adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.android.volley.toolbox.ImageLoader;
import com.android.volley.toolbox.NetworkImageView;
import com... |
/*
* 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 resourcemanagementapp.subjects;
import com.jfoenix.controls.JFXComboBox;
import com.jfoenix.controls.JFXRadioButton;
import co... |
package mouse.shared;
/**
* @author Kevin Streicher <e1025890@student.tuwien.ac.at>
* @param <FirstType>
* @param <SecondType>
*/
public class Pair<FirstType, SecondType> {
public FirstType first;
public SecondType second;
public Pair(FirstType firstElement, SecondType secondElement) {
this.f... |
package com.makethingshum.fantasy;
/**
* Created by jwells on 14/02/2017.
*/
public enum Location {
BENTALLS("Bentalls Shopping Centre"),
STPAULS("St. Pauls School Playground"),
RAINFOREST("Rainforest"),
SKATEPARK("Skate Park"),
EMIRATES("Emirates Stadium"),
WHITEHOUSE("The Whitehouse"),
... |
package cn.izouxiang.manager.config.web;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
impo... |
package com.tencent.mm.plugin.fingerprint.ui;
import com.tencent.mm.ab.l;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.MMActivity;
import com.tencent.mm.wallet_core.d.g;
import com.tencent.mm.wallet_core.d.i;
class a$1 extends g {
final /* synthetic */ a jhb;
a$1(a aVar, MMActivity mMA... |
package com.example.lo52_project;
import java.util.Timer;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.Intent;
import android.view.Menu;
import and... |
// Generated from C:\Users\User\Dropbox\Federal\MESTRADO\Projeto\workspace\ProjetoFinal\src\gramaticas\preProcessor\GramaticaPreProcessor.g4 by ANTLR 4.0
package gramaticas.preProcessor;
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.Token;
import org.antlr.v4.runtime.tree.TerminalNode... |
/**
* 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 Info;
public class samsongSchoolBusTime {
String text;
void samsongTime(int hour, int minute) {
if(hour==8) { // 8시
if(minute>=10 && minute<20) { // 8:20
text = "삼송 셔틀이 " + hour + "시 20분에 있습니다.";
}
else if(minute>=20 && minute<30) { // 8:30
text = "삼송 셔틀이 " + hour + "시 30분에 있습니다.";
... |
/*
* 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 eje2;
import javax.swing.JOptionPane;
/**
*
* @author Mery Acevedo
*/
public class eje2Main {
/**
... |
package com.unistudents.api.service.impl;
import com.unistudents.api.model.Grades;
import com.unistudents.api.parser.StudentsParser;
import com.unistudents.api.scraper.StudentsScraper;
import com.unistudents.api.service.GradesService;
import org.jsoup.nodes.Document;
import org.springframework.stereotype.Service;
@Se... |
package com.tencent.mm.plugin.wallet.balance.ui.lqt;
import com.tencent.mm.protocal.c.pk;
import com.tencent.mm.vending.c.a;
class WalletLqtDetailUI$6 implements a<Void, pk> {
final /* synthetic */ WalletLqtDetailUI pbs;
WalletLqtDetailUI$6(WalletLqtDetailUI walletLqtDetailUI) {
this.pbs = walletLqtD... |
package zm.gov.moh.common.submodule.form.model.widgetModel;
import java.util.List;
public interface WidgetGroupModel extends WidgetModel {
void addChild(WidgetModel widgetModel);
void addChildren(List<WidgetModel> components);
WidgetModel getChild(int index);
List<WidgetModel> getChildren();
void... |
package removeDuplicates;
import java.util.Hashtable;
import java.util.LinkedList;
public class removeDuplicates{
public void removeDuplicates(LinkedListNode n){
Hashtable table = new Hashtable();
LinkedListNode pre = null;
while(n!=null){
if(table.contains(n.data)){
pre.next = n.next;
}
else... |
package org.xgame.global.system;
/**
* @Name: SystemStateEnum.class
* @Description: // 系统状态枚举
* @Create: DerekWu on 2018/9/2 18:00
* @Version: V1.0
*/
public enum SystemStateEnum {
// STOP, // 停止状态
STARTING, // 启动中
RUNNING, // 运行中
STOPPING // 停止中,停止有一个过程
}
|
//package com.alodiga.wallet.ejb;
//
//import java.util.List;
//
//import javax.ejb.Stateless;
//import javax.ejb.TransactionManagement;
//import javax.ejb.TransactionManagementType;
//import javax.interceptor.Interceptors;
//
//import org.apache.log4j.Logger;
//import com.alodiga.wallet.common.ejb.BusinessEJB;
//impor... |
package interviewbit.math;
public class Verify_Prime {
public int isPrime(int a) {
if(a<2)
return 0;
for (int i = 2; i <= Math.sqrt(a); i++) {
if (a % i == 0) {
return 0;
}
}
return 1;
}
}
|
package com.tencent.mm.plugin.boots.a;
public interface d {
}
|
package com.mic.luxemain.service;
import com.mic.luxemain.Repository.DailyMealRepository;
import com.mic.luxemain.Repository.MenuItemRepository;
import com.mic.luxemain.domain.DailyMeal;
import com.mic.luxemain.domain.MenuItem;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.s... |
public class HelloWorldExternalC
{
public void HelloWorldC()
{
System.out.println("HelloWorldC");
}
}
|
//---------------------------------FTPServer---------------------------------------------
//
// This first function goal is to launch the ftp server (in his globality).
// It creates the virtual files asked and allows us to launch a fixed
// number of threads when the program is called.
//
//Copyright (c) 2019 by Thoma... |
package com.zhouyi.business.controller;
import com.zhouyi.business.core.common.ReturnCode;
import com.zhouyi.business.core.model.ReportDto;
import com.zhouyi.business.core.model.Response;
import com.zhouyi.business.core.model.cmodes.ReportCondition;
import com.zhouyi.business.core.service.ReportService;
import com.zho... |
/**
*
*/
package com.cnk.travelogix.supplier.commercials.core.service.impl;
import de.hybris.platform.catalog.enums.ArticleApprovalStatus;
import de.hybris.platform.servicelayer.model.ModelService;
import java.util.Date;
import com.cnk.travelogix.supplier.commercials.core.advanced.incentiveontopup.model.SupplierIn... |
public class Student {
private int id;
private String firstName;
private String gender;
private String gpa;
private String email;
public Student(int id, String first_name, String gpa, String gender, String email) {
this.id = id;
this.firstName = first_name;
this.gpa = g... |
package com.tencent.mm.plugin.aa.ui;
import android.content.Intent;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import com.tencent.mm.bg.d;
import com.tencent.mm.model.q;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.protoca... |
package ufc.br.so.programs;
import java.util.List;
import ufc.br.so.memory.Page;
import ufc.br.so.services.ServicesRunning;
public class GetDateTime extends Program {
public GetDateTime() {
this.setName("getdatetime");
this.setSize(4);
this.setDescription("getdatetime - Return the current date and time");
... |
package io.bega.kduino.datamodel;
import com.google.gson.annotations.SerializedName;
/**
* Created by usuario on 01/09/15.
*/
public class UserRecievedDefinition {
@SerializedName("user_id")
public String UserID;
@SerializedName("username")
public String UserName;
@SerializedName("name")
... |
package com.example.springboothibernate.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import com.example.springboothibernate.models.Course;
imp... |
package dto.main;
public class Respuesta<T> {
private int codigoHttp;
private T cuerpo;
private String mensaje;
public Respuesta(int codigoHttp, T cuerpo, String mensaje) {
super();
this.codigoHttp = codigoHttp;
this.cuerpo = cuerpo;
this.mensaje = mensaje;
}
public Respuesta() {
super();
}
publ... |
package com.geektech.todo;
import android.view.View;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
public class TaskViewHolder extends RecyclerView.ViewHolder {
TextView title;
TextView description;
TextView deadline;
public Ta... |
/*
* 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 com.book.mycdi.interceptor;
import com.book.mycdi.model.Dog;
import javax.inject.Inject;
import javax.interceptor.AroundInvoke... |
package com.example.healthmanage.ui.activity.qualification;
import android.content.Intent;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import androidx.lifecycle.Observer;
import androidx.recyclerview.widget.DividerItemDecoration;
import androidx.r... |
package com.example.spring01.controller;
import java.util.List;
import javax.inject.Inject;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
im... |
package com.rockwellcollins.atc.parser.antlr.internal;
import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org... |
package com.gestta.gestta_app;
import android.content.Intent;
import android.os.PersistableBundle;
import android.support.design.widget.TextInputLayout;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import butterknife.BindView;... |
package it.usi.xframe.xas.bfimpl.sms;
import it.usi.xframe.xas.bfimpl.sms.providers.LogData;
import it.usi.xframe.xas.bfutil.data.SmsMessage;
import it.usi.xframe.xas.bfutil.data.SmsSenderInfo;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.commons.logging.Log;
import org.apache.commons.... |
package com.xxx;
import java.util.List;
import java.util.concurrent.atomic.AtomicLong;
import org.springframework.stereotype.Service;
import com.google.common.collect.Lists;
@Service
public class BookServiceImpl implements BookService {
// 使用递增方式生成 id后缀
private AtomicLong idGenerator = new AtomicLong(0L);
... |
package src;
public class vueListeAgences {
}
|
/*
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
The above elevation map is represented by array [0,1,0,2,1,0,1,3,2,1,2,1]. In this case, 6 units of rain water (blue section) are being trapped. Thanks Marcos for c... |
package com.legalzoom.api.test.integration.ProductsService;
import org.testng.Assert;
import org.testng.annotations.Test;
import com.legalzoom.api.test.client.ResponseData;
import com.legalzoom.api.test.dto.CreatePriceChangeReasonIdDTO;
public class CoreProductsReferencesPriceChangeReasonsGetIT extends ProductsTest{... |
package at.cooperation.rezeptdb;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.inputmethod.EditorInfo;
import android.widget.Butto... |
package com.gmail.merikbest2015.ecommerce.domain.dto;
import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Value;
import java.util.Set;
/**
* Data Transfer Object class which receives responses from google services.
* The response is a JSON ... |
package com.bbb.composite.product.details.dto;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import com.bbb.composite.product.details.dto.product.BazaarVoiceProductDTO;
import com.bbb.composite.product.details.dto.product.MediaDTO;
import com.bbb.composite.product.details.dto.product.TabDT... |
package form;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import model.Request;
import model.User;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.Path;
import org.zkoss.zk.ui.event.ForwardEvent;
import org.zkoss.zk.ui.util.Generic... |
package com.google.android.gms.common.api;
import com.google.android.gms.common.api.a.b;
import com.google.android.gms.common.api.m.i;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Set;
class m$f extends i {
final /* synthetic */ m aLa;
private final ArrayList<b> aLn;
public m$f... |
package com.mimi.mimigroup.ui.adapter;
import android.graphics.Color;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.mimi.mimigroup.R;
import com.mimi.mimigroup.db.DBGimsH... |
package com.demo.test.dto;
import com.solo.sell.dataobject.OrderDetail;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ju... |
package com.dreamcatcher.admin.model.dao;
import java.util.List;
import java.util.Map;
import com.dreamcatcher.admin.model.StatisticsDto;
public interface AdminDao {
public int memberStateChange(Map memberStateMap);
public int siteStateChange(Map siteStateMap);
public List<StatisticsDto> locationRa... |
package com.web.TestNgRltd;
import java.io.File;
import java.io.IOException;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;
public class FailedScreenShot {
public static void captureScreenS... |
package com.robotarm.core.arduino;
public class SensorDataHandler {
}
|
package com.github.baloise.rocketchatrestclient.model;
import com.fasterxml.jackson.annotation.JsonGetter;
public class AttachmentField {
private boolean isShort = false;
private String title, value;
public void setShort(boolean isShort) {
this.isShort = isShort;
}
@JsonGetter("short")
... |
package com.naveen.spring.batch.springbatchcsv.model;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Entity;
import javax.persistence.Id;
@Data
@NoArgsConstructor
@Entity
public class User {
@Id
private Integer id;
private String name;
private String de... |
package il.ac.tau.cs.sw1.ex9.starfleet;
public class Cylon extends myAbstractCrewMember {
private int modelNumber;
public Cylon(String name, int age, int yearsInService, int modelNumber) {
super(age,yearsInService,name);
this.modelNumber = modelNumber;
}
public int getModelNumber() {
return this.modelNumb... |
package pattern_test.adapter.class_adapter;
/**
* Description:
*
* @author Baltan
* @date 2019-04-02 14:46
*/
public class Test1 {
public static void main(String[] args) {
StandardVoltage standardVoltage = new StandardVoltage();
standardVoltage.standardOutput();
Adapter adapter = new ... |
package com.prokarma.reference.architecture.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import java.util.List;
public class Event implements Serializable{
@SerializedName("name")
@Expose
public String name;
@Serial... |
package com.flute.atp.domain.model.runtime.event;
import com.flute.atp.common.Category;
import com.flute.atp.common.Rule;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
public class FlowTrapedEvent extends FlowEvent {
public Rule rule;
public FlowTrapedEvent(String ruleGroupId, String flowId, C... |
package com.shopware.test.pages.base;
public interface ProfileEditConstants {
public String TITLE_NAME_PAGE = "Profile | Customer account | QA Test Shop";
public String PROFILE_GREEN_ALERT_MESSAGE = "Your profile has been saved successfully.";
public String PASSWORD_GREEN_ALERT_MESSAGE = "Your password has been cha... |
package com.union.design.generator.mybatis;
import lombok.Builder;
import lombok.Data;
import java.util.List;
@Builder
@Data
public class MybatisMapperXml {
private String packageName;
private String className;
private String tableName;
private List<MybatisResultMap> resultMaps;
} |
package it.unical.asd.group6.computerSparePartsCompany.data.dto;
import java.io.Serializable;
import java.time.LocalDate;
public class EmployeeDTO implements Serializable {
private Long id;
private String username;
private String password;
private String firstname;
private String lastname;
... |
package com.tencent.mm.plugin.appbrand;
import com.tencent.mm.plugin.appbrand.config.AppBrandLaunchReferrer;
class j$1 extends j {
j$1() {
}
public final AppBrandLaunchReferrer aaD() {
return null;
}
}
|
package network.codex.codexjavarpcprovider.error;
import network.codex.codexjava.error.rpcProvider.RpcProviderError;
import org.jetbrains.annotations.NotNull;
/**
* Error thrown when there is an issue initializing the RPC Provider.
*/
public class CodexJavaRpcProviderInitializerError extends RpcProviderError {
... |
package com.example.sitegitfirebase;
import android.annotation.SuppressLint;
import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.graphics.BitmapFa... |
package com.example.a12306f.order;
import android.annotation.SuppressLint;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;... |
import java.util.Scanner;
import java.lang.String;
public class Blackjack {
public static void main(String[] args) {
P1Random rng = new P1Random();
Scanner reader = new Scanner(System.in);
int count = 1, play = 3, wincount = 0, losecount = 0, tiecount = 0, hand = 0, de... |
package compilador.gerador.codigo;
public class BufferCodigo<T> extends Buffer<T> {
public BufferCodigo() {
super();
}
} |
package com.tencent.mm.plugin.appbrand.jsapi.video;
import com.tencent.mm.plugin.appbrand.jsapi.video.f.b;
import com.tencent.mm.plugin.appbrand.s.i;
import com.tencent.mm.plugin.appbrand.s.j;
import com.tencent.mm.sdk.platformtools.x;
class AppBrandVideoView$5 implements b {
final /* synthetic */ AppBrandVideoVi... |
package com.huawei.esdk.csdemo.listener;
import java.awt.Rectangle;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.MouseEvent;
import java.util.Vector;
import com.huawei.esdk.csdemo.action.ScheduleConfAction;
import com.huawei.esdk.csdemo.adapter.MouseAdapter;
import com.hu... |
package com.tencent.mm.bs;
import java.util.concurrent.atomic.AtomicInteger;
public final class c {
public static abstract class b<Out, In1, In2> extends a<Out> implements com.tencent.mm.bs.b.a<In1> {
com.tencent.mm.bs.b.b<In1> sNF;
private com.tencent.mm.bs.b.b<In2> sNG;
private com.tenc... |
package com.debtrepaymentapp.dao;
import java.util.List;
import com.debtrepaymentapp.model.Debt;
import com.debtrepaymentapp.model.User;
public interface DebtDAO {
public void saveOrUpdate(Debt debt,Integer userID);
public void delete(int userID, String debtName);
public Debt get(int userID, St... |
package collection.lists.secondTask;
import java.util.List;
public class Processor {
private final List<String> companies;
private static final String SEPARATOR = ", ";
public Processor(List<String> companies) {
this.companies = companies;
}
public void runProcces() {
StringBui... |
package org.sbbs.demo.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persisten... |
package com.mundo.web.interceptor;
import com.mundo.core.util.CollectionUtil;
import com.mundo.web.annotation.CheckCsrf;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.... |
package com.example.obat9;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
public class RPkulit extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceSt... |
package controller.constants;
/**Some messages to log which duplicated with error messages
* */
public interface LogMessages {
/*AbstractGenericService methods*/
String INCORRECT_INPUT_DATA = "Incorrect input data";
String GETTING_ELEMENT_BY_ID = "Try to get element by id";
String UPDATING_ELEMENT =... |
import java.util.Locale;
public class Main {
public static void main(String[] args) {
// Imprimindo um texto qualquer na tela
System.out.print("Olá Mundo!"); //print não faz quebra de linha
System.out.println("Bom dia!"); //println faz a quebra
System.out.print("Tudo Bem!");
//Imprimir conteudo de algum... |
package controller;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.atomic.AtomicBoolean;
import model.ReceiverLookupDocument;
import model.SerializedMail;
import model.StatusMessageObject;
import net.spy.memcached.internal.OperationFuture;
impo... |
package com.weixin.dto.message.resp;
import com.weixin.dto.message.Music;
/**
* 音乐消息
* Created by White on 2017/2/20.
*/
public class RespMusicMessage extends RespBaseMessage {
private Music Music;
public Music getMusic() {
return Music;
}
public void setMusic(Music music) {
Music... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
/**
* масив факультеттів
*/
private static Faculty faculties[] = new Faculty[0];
public static void main(String[] args) {
boolean end = false;
while(!end)
{
try {
String str = getStrin... |
package com.tencent.mm.plugin.card.model;
import com.tencent.mars.smc.IDKey;
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.kernel.g;
import com.tencent.mm.network.k;
import com.tencent.mm.network.q;
import com.tencent.mm.plugin.c... |
package interno.nucleo;
/* MAESTRO VIPERD (multi-plataforma)
* 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... |
package com.example.billage.backend.common;
import android.database.sqlite.SQLiteDatabase;
import android.provider.BaseColumns;
public class Databases {
public static SQLiteDatabase mDB;
public static final class CreateDB implements BaseColumns {
public static final String NAME = "name";
publ... |
package com.codriver;
import com.facebook.react.ReactActivity;
import android.os.Bundle;
public class MainActivity extends ReactActivity {
/**
* We override onCreate method to discard any Activity state persisted during Activity restart process.
* Please find more information at: https://github.com/software-m... |
package com.example.android.giphyapi.activity;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import androi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.