text stringlengths 10 2.72M |
|---|
package net.sam.dzone.periodic;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertFalse;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
public class SymbolValidityTest {
@Before
public void setUp() throws Exception {
}
@After
public void tearDown() throws ... |
package Logica;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
@Entity
public class Empleado implements Serializable {
... |
package com.beike.common.gc;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Service;
@Service("GCDaemon")
public class GCDaemon {
private final Log logger = LogFactory.getLog(GCDaemon.class);
public void gc() {
long begin = System.curren... |
package com.viettel.safenet.logalert.service;
import com.viettel.safenet.logalert.util.CommonUtils;
import com.viettel.safenet.logalert.util.DatetimeUtil;
import com.viettel.safenet.logalert.util.FileConfig;
import com.viettel.safenet.logalert.util.SmsSender;
import java.io.File;
import java.util.Date;
import ... |
package com.mycompany.midtermproject;
/*
* 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.
*/
/**
*
* @author safi_hasani
*/
import java.awt.*;
import java.awt.event.*;
import javax.s... |
package com.example.devnews.activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import... |
package com.zd.christopher.fragment;
import java.util.ArrayList;
import java.util.List;
import android.app.Fragment;
import android.content.res.ColorStateList;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.annotation.Nullable;
imp... |
package com.sandbox.scheduler.model;
import java.time.LocalDateTime;
/**
* Getter setter for TASK
*/
public class Task {
public int urgency = -1;
public Category category;
public LocalDateTime timeStamp = LocalDateTime.now();
public Task(int urgency, Category category, LocalDateTime timeStamp) {
this.urgen... |
package ca.kitamura.simpleaddressbook;
import org.junit.Test;
import org.mockito.internal.util.io.IOUtil;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.lang.annotation.Annotation;
import ca.kitamura.simpleaddressbook.models.random... |
package Problem_3944;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int T = Inte... |
package sample;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.Button;
import javafx.scene.control.DatePicker;
import javafx.scene.control.TextField;
import javafx.scene.layout.Pane;
imp... |
// Copyright (c) Philipp Wagner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package de.bytefish.sqlmapper.handlers;
import java.sql.ResultSet;
public abstract class BaseValueHandler<TTargetType> implements IValueHandler<TTargetType> {
... |
package slimeknights.tconstruct.tools.common.network;
import net.minecraft.client.network.NetHandlerPlayClient;
import net.minecraft.inventory.Container;
import net.minecraft.item.ItemStack;
import net.minecraft.network.NetHandlerPlayServer;
import net.minecraftforge.fml.common.network.ByteBufUtils;
import io.netty.b... |
package io.apinf.android_app;
import android.content.Intent;
import android.provider.Settings;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
impo... |
package com.order.viewer;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.order.dao.DishManageDao;
import com.order.pojo.ConsuInfo;
import com.order.pojo.Dish;
public class DishManageViewer {
private static Logger logger = LoggerFactory.getLogger(Dish.class)... |
/**
*
*/
package sample.payara.mybatis.mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.jdbc.SQL;
import sample.payara.mybatis.param.MyBatisUserSearchParam;
/**
* @author hashi
*
*/
public class MyBatisMapperSqlBuilder {
/*
* SQL文の`#{param.xxx}`の部分は、このメソッドの`@Param("param")`を... |
package groupworkNamaste;
public class CategoryAdmin extends SuperClassEmployee {
//One of the five employee category subclasses
//these two variables keep track of how many employees belong to each category
private static int counterAdmin = 0;
private int adminId;
//people that work in administratio... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
package com.pointinside.android.app.ui;
import android.app.ListActivity;
import android.content.*;
import android.database.Cursor;
import android.location.Locat... |
package symap.projectmanager.common;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ComponentEvent;
import java.awt.event.ComponentListener;
import java.sql.*;
import symapQuery.UserPrompt;
import util.DatabaseReader;
import ut... |
package com.mmall.controller.backend;
import java.io.IOException;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
*
* 项目名称:mmall
* 类名称:Shutdown
* 类描述:
* 创建人:xuzijia
* 创建时间:2017年10月19日 下午8:28:03
* 修改人:xuzijia
* 修... |
package tailminuseff.config;
import com.google.common.eventbus.EventBus;
import java.io.*;
import javax.inject.*;
import tailminuseff.UnhandledException;
@Singleton
public class ConfigurationFactory implements Provider<Configuration> {
private final ConfigurationIO configurationIO;
private final Provider<Pro... |
package com.aikiinc.coronavirus.service;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.aikiinc.coronavirus.model.CoronaVirus;
public interface CoronaVirusService {
public String getDateLoaded();
public Map<String, List<CoronaVirus>> getCoronaVirusRegionsMap();
public Set<String> ... |
package edu.colostate.cs.cs414.soggyZebras.rollerball.Tests.Client;
import static org.junit.jupiter.api.Assertions.*;
import edu.colostate.cs.cs414.soggyZebras.rollerball.Client.Client;
import edu.colostate.cs.cs414.soggyZebras.rollerball.Game.Location;
import edu.colostate.cs.cs414.soggyZebras.rollerball.Server.Serv... |
package org.kuali.ole.batch.export;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
import org.apache.solr.client.solrj.SolrQuery;
import org.apache.solr.client.solrj.response.FacetField;
import org.apache.solr.client.solrj.response.QueryResponse;
imp... |
import java.awt.AWTException;
import java.awt.datatransfer.UnsupportedFlavorException;
import utilities.XlsxGenerator;
import java.io.*;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFileChooser;... |
package main.java.algorithms.bpp;
import java.util.ArrayList;
import java.util.Collections;
import main.java.algorithms.BPPAlgorithm;
import main.java.main.product.Box;
import main.java.main.product.Product;
public class BruteForce extends BPPAlgorithm
{
public ArrayList<Box> getBoxes(ArrayList<Product> products, in... |
package com.forever.registry;
import com.forever.protocol.ProtocolEntity;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import java.io.File;
import java.lang.reflect.Method;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.ut... |
package edu.cricket.api.cricketscores;
import com.cricketfoursix.cricketdomain.aggregate.GameAggregate;
import edu.cricket.api.cricketscores.rest.response.MatchCommentary;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.... |
package projetZoo;
import java.util.LinkedList;
public class Zoo {
private static Zoo z = new Zoo();//Singleton
private Zoo() {
}
private LinkedList<Cage> cages = new LinkedList<Cage>();
private LinkedList<Cabane> cabanes = new LinkedList<Cabane>();
private LinkedList<Animal> animaux = new LinkedList<Animal>()... |
package com.xantrix.webapp.service;
import java.util.List;
import java.util.Optional;
import com.xantrix.webapp.entities.DettPromo;
public interface DettPromoService
{
Optional<DettPromo> SelDettPromo(long Id);
List<DettPromo> SelDettPromoByCodFid(String CodFid);
void InsDettPromo(DettPromo d... |
package learn.sprsec.ssia0502context;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootT... |
package com.ucl.common.logger;
import org.apache.logging.log4j.Level;
/**
* 日志接口
* Created by jiang.zheng on 2017/10/9.
*/
public interface Logger {
// debug
/**
* Logs a message object with the {@link Level#DEBUG DEBUG} level.
*
* @param message the message object to log.
*/
void d... |
/*
* 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 dialogos_project.alexa;
import com.amazon.ask.dispatcher.request.handler.HandlerInput;
import com.amazon.ask.model.Intent;
imp... |
/*
* 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 Interfaces;
/**
*
* @author YNZ
*/
public class Aloe implements CharSequence {
String str;
pub... |
package io.flood.rpc;
import com.google.protobuf.RpcController;
import com.google.protobuf.ServiceException;
import java.util.concurrent.CountDownLatch;
/**
* Created by Administrator on 2015/11/4.
*/
public class RpcMain {
public static void main(String[] args) {
RpcTest.RpcService.BlockingInterfac... |
package com.mycompany.interacciondb;
/**
*
* @author elias
*/
public class Ingreso {
private String admNom,email,admApat,admAmat,admContra;
private Integer id,status;
public Ingreso(){
}
public Ingreso(Integer id,String email, String admNom, String admApat, String admAmat, String admCont... |
package com.octave.service.user.impl;
import com.octave.entity.User;
import com.octave.service.user.UserService;
import com.octave.util.regex.CheckRegEx;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.... |
package ru.job4j.testing;
import java.io.UnsupportedEncodingException;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.sql.SQLException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.GregorianCalendar;
im... |
package com.movieapp.anti.movieapp.Models;
import java.io.Serializable;
/**
* Created by Anti on 2/10/2018.
*/
public class Movie implements Serializable {
public String original_title;
public int id;
public String poster_path;
public String overview;
public Boolean favorite;
public trans... |
package co.id.datascrip.mo_sam_div4_dts1.process;
import android.app.ProgressDialog;
import android.content.Context;
import org.json.JSONException;
import org.json.JSONObject;
import co.id.datascrip.mo_sam_div4_dts1.Function;
import co.id.datascrip.mo_sam_div4_dts1.Global;
import co.id.datascrip.mo_sam_div4_dts1.cal... |
package com.hcl.neo.eloader.microservices.params;
import java.util.ArrayList;
import java.util.List;
public class Response {
private List<OperationObjectDetail> operationObjectDetails;
public Response(){
operationObjectDetails = new ArrayList<OperationObjectDetail>();
}
public List<OperationObjectDetail> get... |
package in.msmartpay.agent.flight;
import android.app.DatePickerDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import androidx.annotation.Nullable;
import com.google.android.material.bottomshe... |
package com.wangzhu.other;
import org.junit.Test;
/**
* Created by wang.zhu on 2020-04-19 15:36.
**/
public class TestLong {
@Test
public void test(){
final int i = 1;
final long l = i;
final float f = (float)l;
System.out.println(f);
}
}
|
package io.flyingmongoose.brave.adapter;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.Filter;
import android.widget.Filterable;
import android.widget.TextVi... |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* 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
*
* Unles... |
package cl.laPalmera.Manejador;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import org.apache.log4j.Logger;
import cl.laPalmera.DTO.ProductoLineaDTO;
import cl.laPalmera.connection.ConnectionLaPalmera;
public class ManejadorProductoLinea ... |
package com.lyl.core.common.enums;
/**
* Created by lyl
* Date 2018/12/27 18:20
*/
public enum MonitorResult {
RUN_NOMAL,RUN_CONTROL_FAIL, RUN_LOCAL_BREAK, RUN_REMOTE_BREAK, RUN_EXP,RUN_SIGN_FAIL;
public static MonitorResult fromControlResult(ControlResult controlResult,boolean isLocal){
switch (co... |
package com.guru.login;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import andr... |
package com.esum.wp.ims.componentnodelistinfo.base;
import com.esum.appframework.dmo.BaseDMO;
/**
* This is an object that contains data related to the COMPONENT_NODELIST_INFO table.
* Do not modify this class because it will be overwritten if the configuration file
* related to this class is modified.
*
* @hib... |
package checkers.core.clientServerInterfaces;
import checkers.core.Checker;
import checkers.core.Move;
import java.rmi.RemoteException;
public interface Client extends java.rmi.Remote {
void update(boolean isMyTurn, Move lastMove) throws RemoteException;
void gameOver(String winnerLogin) throws RemoteExcepti... |
/**
* JedisUtils
*/
package Redis.utils;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
import redis.clients.jedis.JedisPoolConfig;
/**
* Created on 2013-12-18
* <p>Description: [���������Ҫ���ܽ���]</p>
*/
/**
* Created on 2013-12-18
* <p>
* Description: [���������Ҫ���ܽ���]
* </p>
* ... |
package com.niksoftware.snapseed.core;
import android.content.Context;
import com.niksoftware.snapseed.core.filterparameters.FilterParameter;
public class UndoObject {
private int _changedParameter;
private String _description;
private boolean _forceNoDescription;
private FilterParameter _parameter;
... |
package com.skp.test.string;
import static org.junit.Assert.*;
import java.util.TreeMap;
import org.junit.Test;
public class AnagramTest {
@Test
public void testMapCompare() throws Exception {
TreeMap<String, Integer> map1 = new TreeMap<>();
TreeMap<String, Integer> map2 = new TreeMap<>();
Tr... |
package com.zantong.mobilecttx.fahrschule.fragment;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.zantong.mobilecttx.R;
import com.zantong.mo... |
import com.google.gson.JsonParser;
import org.apache.http.HttpHost;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.impl.client.BasicCredentialsProvider;
import org.apache.http.impl.nio.client.HttpA... |
package cn.kitho.core.model;
public class LinkArticleKeyWords {
private Integer id;
private Integer articleId;
private Integer keyWordsId;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getArticleId() {
r... |
public class DoublyLinkedListNode {
public int data;
public DoublyLinkedListNode next;
public DoublyLinkedListNode prev;
public DoublyLinkedListNode() {
this.data = 0;
this.next = null;
this.prev = null;
}
public DoublyLinkedListNode(int data) {
this.data = data;... |
package com.xianzaishi.wms.tmscore.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import com.xianzaishi.wms.tmscore.vo.DistributionWaitSeqVO;
import com.xianzaishi.wms.tmscore.vo.DistributionWaitSeqQueryVO;
import com.xianzaishi.wms.common.exception.BizException;
... |
package Exercise1;
import java.util.stream.IntStream;
public class Q2 {
public static void main(String[] args) {
//without parallel
IntStream.range(1,11).forEach(num->{
try {
Thread.sleep(1000);
}
catch (Exception ex){
}
... |
package evolutionYoutube;
import com.vaadin.navigator.View;
import com.vaadin.ui.Button;
import com.vaadin.ui.UI;
import com.vaadin.ui.Button.ClickEvent;
public class Lista_Usuarios extends Lista_Usuarios_ventana implements View{
/**
*
*/
private static final long serialVersionUID = 1L;
public Mi_perfil_Admin... |
/*
* 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 DAO;
import Model.Users;
import java.util.ArrayList;
/**
*
* @author yasmine.mabrouk
*/
public class Main {
... |
package libraryproject.repositories;
import libraryproject.domain.book.BorrowQueue;
import libraryproject.domain.book.PaperBook;
import java.util.HashSet;
import java.util.Set;
public class QueueRepository {
private static Set<BorrowQueue> queues;
public QueueRepository() {
queues = new HashSet<>()... |
package de.niklaskiefer.bnclCore;
import de.niklaskiefer.bnclCore.BnclToXmlWriter;
import de.niklaskiefer.bnclCore.MainApplication;
import de.niklaskiefer.bnclCore.commons.BnclRandomUtils;
import de.niklaskiefer.bnclCore.parser.BnclEventParser;
import de.niklaskiefer.bnclCore.parser.BnclTaskParser;
import org.junit.B... |
public class Arrays_Promedio
{
public static void main(String[] args)
{
int[] numbers = new int[7];
int add=0;
for (int i = 0; i<7 ;i++)
{
numbers[i] = Numbers.RandomNumber();
}
for (int i=0; i<7 ;i++ )
{
add = add+numbers[i];
System.out.println(numbers[i]);
}
System.out.println("El pr... |
package com._520it.transfer.service;
import java.sql.SQLException;
import com._520it.transfer.dao.MyTransferDao;
import com._520it.utils.MyDataSourceUtils;
public class MyTransferService {
public boolean tansfer(String out, String in, String money) {
boolean transfer=true;
try {
//开启事务
MyDataSourceUtils.... |
package common;
import java.net.DatagramPacket;
import java.net.Inet6Address;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.nio.ByteBuffer;
/**
* @author korektur
* 25/03/16
*/
public class ServerConnectionEstablishPacketBuilder {
private final ServerConnectionEstablis... |
/*
* (C) Copyright IBM Corp. 2020.
*
* 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 agreed to in w... |
package com.example.imageview;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity implements View.OnClickListener {
pr... |
package okhttp_tools;
import java.io.IOException;
import java.util.ArrayList;
import java.util.concurrent.Callable;
import okhttp3.MediaType;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
import okhttp3.Response;
/**
* Created by Administrator on 2017/5/24.
*/
public class handle... |
/**
*
* Name : Lang, Wesley
* Task : 151. Reverse Words in a String
* Date : December 1, 2016
* Course : LeetCode - Algorithms - Medium
* Description: Given an input string, reverse the string word by word.
*
*/
public class ReverseWord {
public static void main(String [] args){
String sub = "Thiss... |
package Test;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.Set;
import java.util.stream.Stream;
import java.util.List;
public class Lexer {
private StringBuilder input = new StringBuilder(); //... |
package com.example.awesoman.owo2_comic.ui.ComicLocal.adapter;
import android.content.Context;
import android.text.Layout;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.example.awesoman.owo2_co... |
package finalassignment;
public class Employee {
String employeename;
int employeeid;
Employee(){
Employee emp1 = new Employee();
emp1.employeename = "rofiq";
emp1.employeeid = 1000;
Employee emp2 = new Employee();
emp2.employeename = "karim";
emp... |
package com.springD.framework.taglibs;
import java.util.ArrayList;
import java.util.List;
import org.springframework.util.CollectionUtils;
import com.springD.framework.utils.StringUtils;
/**
* 权限相关
* @author Chenz
*
*/
public class PermissionFunction {
public static boolean isIn(String iterableStr, Object ele... |
package com.melodygram.database;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import com.mel... |
package LimitDecimalNombre.AdditionnerTriEntier;
public class addTriEntier {
public static void main(String[] args) {
String[] tEntier = {"5", "-1", "8", "-3", "12", "20", "-12"};
int somme = 0;
for(int i = 0; i < tEntier.length; i++) {
somme = somme + Integer.parseInt(tEnti... |
package bspq21_e4.ParkingManagment.Classes;
import static org.junit.Assert.*;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Locale;
import org.databene.contiperf.PerfTest;
import org.databene.contiperf.Required;
import org.databene.contiperf.junit.ContiPerfRule;
import org.juni... |
package com.zhicai.byteera.activity.initialize;
import android.content.Intent;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget... |
package com.abt.middle.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.support.v7.widget.AppCompatTextView;
import android.util.AttributeSet;
import com.abt.middle.R;
/**
* @描述... |
package com.fatihdogan.datastructure.list;
import java.util.ArrayList;
// ToDo
public class PrintArrayList {
}
|
package com.esum.wp.ims.chubuainfo.base;
import com.esum.appframework.dmo.BaseDMO;
/**
*
* Copyright(c) eSum Technologies, Inc. All rights reserved.
*/
public abstract class BaseChubUaInfo extends BaseDMO {
// constructors
public BaseChubUaInfo() {
initialize();
}
public BaseChubUaInfo(String interfaceId)... |
package com.lsjr.zizi.mvp.home;
public class Constants {
public static String INSTANT_MESSAGE="instant_message";//转发消息的标记
public static String INSTANT_MESSAGE_FILE="instant_message_file";//转发文件稍有不同
public static String INSTANT_SEND="instant_send";//转发
public static String CHAT_MESSAGE_DELETE_ACTION="ch... |
public interface Addition extends java.rmi.Remote {
public int addition(int a, int b) throws java.rmi.RemoteException;
}
|
package br.edu.fadam.estruturadedados.ead.aula4.revisao;
public class NoBinario {
int valor;
NoBinario saEsquerdo;
NoBinario saDireito;
}
|
/**
* This class modifies the default SAX parser handler
*
*/
/**
* @author Daniel Jean
*
*/
//Default package
import java.util.List;
import java.util.Stack;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
public class SAXHandler extends DefaultHandl... |
package com.huazia.springcloud;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
*
* @author HuaZai
* @contact who.seek.me@java98k.vip
* <ul>
* @description TODO
* </ul>
* @className MicroserviceConfig... |
/*
* 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 ui;
/**
*
* @author causticroot
*/
public class display extends javax.swing.JFrame {
/**
* Creates new form displ... |
package com.study.repository;
import com.study.entity.BOrder;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
public interface BOrderRepository extends JpaRepository<BOrder, Long> {
@Query(... |
/*Joshua Palmer Z23280034
* COP 4331 001
* Homework 2 Question 4
*/
package hw2;
import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class UPCScanner {
/**used to get input from keyboard*/
private Scanner scanner;
/**regex to test valid UPC numbers, or the ... |
package cl.laPalmera.DTO;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import org.apache.log4j.Logger;
import cl.laPalmera.connection.ConnectionLaPalmera;
public class CabezaPedidoDTO {
private static final Logger LOGGER = Logger.getLogger(CabezaPedidoDTO.class);... |
package com.tdr.registrationv3.bean;
import com.contrarywind.interfaces.IPickerViewData;
public class OptionsBean implements IPickerViewData {
private String name;
private Object value;
public OptionsBean() {
}
public OptionsBean(String name, Object value) {
this.name = name;
th... |
package in.stevemann.tictactoe.services;
import in.stevemann.tictactoe.entities.Game;
import in.stevemann.tictactoe.entities.Player;
import in.stevemann.tictactoe.entities.QGame;
import in.stevemann.tictactoe.enums.GameStatus;
import in.stevemann.tictactoe.enums.GridType;
import in.stevemann.tictactoe.enums.PieceType;... |
package ru.ifmo.diploma.synchronizer.protocol.handshake;
import ru.ifmo.diploma.synchronizer.protocol.handshake.Credentials;
import ru.ifmo.diploma.synchronizer.protocol.handshake.HandshakeMessage;
import java.util.Map;
/**
* Created by ksenia on 25.05.2017.
*/
public class RoutingTable extends HandshakeMessage {
... |
package com.app.drashti.drashtiapp;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.app.drashti.drashtiapp.Model.Donat... |
/*
* Dryuf framework
*
* ----------------------------------------------------------------------------------
*
* Copyright (C) 2000-2015 Zbyněk Vyškovský
*
* ----------------------------------------------------------------------------------
*
* LICENSE:
*
* This file is part of Dryuf
*
* Dryuf is free softw... |
package com.yc.education.util;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.yc.education.model.purchase.*;
import com.yc.education.model.sale.*;
import com.yc.education.model.stock.CheckStock;
import com.yc.education.model.stock.CheckStockProduct;
import... |
package com.isg.ifrend.wrapper.mli.request.account;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name="GetAccount")
public class GetAccount {
private String accountNumber;
private String customerNumber;
private String cardNumber;
public String getAccountNumber() {
return accountNumber;
}
... |
import java.io.Serializable;
public class Movie implements Serializable {
String name;
int created_year;
String created_location;
String type;
double cost;
Movie(String name, int created_year, String created_location, String type, double cost){
this.name = name;
this.cost = cost... |
import java.util.StringTokenizer;
public class StringUtils {
/**
* zad 18/1
*
* @param text tekst
* @return liczba cyfr
*/
public static int countDigits(String text) {
int result = 0;
for (int i = 0; i < text.length(); i++) {
if (Character.isDigit(text.char... |
/*
* 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 jogo;
/**
*
* @author 2info2021
*/
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Rectangle;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.