text stringlengths 10 2.72M |
|---|
package com.tianlang.dao;
import com.tianlang.entity.Province;
import com.tianlang.jdbcutil.JDBCUtil;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class QueryDao {
public List<Province> query(){
List<... |
package ua.nure.timoshenko.summaryTask4;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@RunWith(Suite.class)
@SuiteClasses({ ua.nure.timoshenko.summaryTask4.db.RoleTest.class,
ua.nure.timoshenko.summaryTask4.db.StatusTest.class,
ua.nure.timoshenko.su... |
package smart.storage;
import smart.config.AppConfig;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
public class LocalStorage implements Storage {
public final static String UPLOAD_DIR ... |
package edu.sjsu.fly5.manager;
import java.rmi.RemoteException;
import edu.sjsu.fly5.pojos.Flight;
import edu.sjsu.fly5.pojos.FlightInstance;
import edu.sjsu.fly5.pojos.Journey;
import edu.sjsu.fly5.pojos.PaymentDetails;
import edu.sjsu.fly5.pojos.Person;
import edu.sjsu.fly5.pojos.Traveller;
import edu.sjsu.fly5.ser... |
package Domain.Effetti.lista;
import Domain.Carta;
import Domain.Effetti.Effetto;
import Domain.Effetti.lista.effectInterface.Azionabile;
import Domain.Effetti.lista.effectInterface.Validabile;
import Domain.Giocatore;
import Domain.Risorsa;
import Domain.SpazioAzione;
import Exceptions.SpazioAzioneDisabilitatoEffetto... |
package glam.android.minexp.glam;
import android.animation.ArgbEvaluator;
import android.animation.ObjectAnimator;
import android.animation.TypeEvaluator;
import android.animation.ValueAnimator;
import android.animation.ValueAnimator.AnimatorUpdateListener;
import android.annotation.SuppressLint;
import android.conten... |
package one.kii.summer.beans.utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* Created by WangYanJiong on 18/04/2017.
*/
public class ArraysAssert {
private static Logger logger = Lo... |
package de.cketti.holocolorpicker.demo;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import com.larsw... |
package com.company;
//qustion: find the rotation count in rotated sorted arrays
public class CountRotationInArray {
public static void main(String[] args) {
//int[] arr={4, 5, 6, 7, 0, 1, 2};
int [] arr={1,2,3,4,5,6,7};
System.out.println("array is raoted : "+ countRotations(arr) + "times")... |
// Date: 10/14/2013 7:39:05 PM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX
package hyghlander.mods.ports.DragonScales.client.models;
//import hyghlander.mods.ports.DragonScales.common.entities.EntityModDragon;
import net.minecraft.clien... |
package com.wangwentong.sports_api.model;
import java.io.Serializable;
/**
* Created by Wentong WANG on 2016/11/20.
*/
public class NewsInfo implements Serializable {
private String news_title;
private String news_content;
private String news_creator_id;
private String news_create_time;
private... |
/*
* Copyright (c) 2011, 2020, Frank Jiang and/or its affiliates. All rights
* reserved. AbstractKernel.java is PROPRIETARY/CONFIDENTIAL built in 2013. Use
* is subject to license terms.
*/
package com.frank.svm.config;
import libsvm.svm_parameter;
/**
* The LIBSVM kernel configuration interface.
*
... |
/*
* NAESC Conference is a Google App Engine web application that provides
* a conference registration system.
* Copyright (C) 2010 Speed School Student Council
* 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
* th... |
/*
* Copyright 2012 JBoss Inc
*
* 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 i... |
package com.assignment08_sudoku;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import java.util.ArrayList;
public class DatabaseManager exte... |
package main.Strategy;
public class Pagamento {
FormaPagamentoStrategy formaPagamento;
public Pagamento(FormaPagamentoStrategy formaPagamento) {
this.formaPagamento = formaPagamento;
}
public Double calcularTarifa(Double valorTotal) {
return this.formaPagamento.calcularTaxa(valorTota... |
package ch.heigvd.res.labs.roulette.net.client;
import ch.heigvd.res.labs.roulette.data.JsonObjectMapper;
import ch.heigvd.res.labs.roulette.data.Student;
import ch.heigvd.res.labs.roulette.data.StudentListWrapper;
import ch.heigvd.res.labs.roulette.data.StudentsList;
import ch.heigvd.res.labs.roulette.net.protocol.Ro... |
public class HelloWorldExternalB
{
public void HelloWorldB()
{
System.out.println("HelloWorldB");
}
}
|
package com.ajayb.infoworks;
import java.util.*;
/**
* Using DFS to identify the subgraphs
*/
public class SubgraphIdentifier {
public static <T> List<Set<T>> identifySubgraphs(DirectedAcyclicGraph<T> g) {
List<Set<T>> subGraphs = new ArrayList<Set<T>>();
Set<T> subGraph = new HashSet<T>();
... |
//Time Limit Exceeded
import java.util.*;
import java.io.*;
public class Fenwick {
public static void main(String[] args) throws IOException {
Scanner nya = new Scanner(System.in);
int n = nya.nextInt();
int ops = nya.nextInt();
nya.nextLine();
FenTree cat = new FenTree(n);... |
package com.example.androidtask;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
public class thirdtask extends AppCompatActivity {
Edit... |
/*
* 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 software_project;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.collections.FXCollections;
import javafx... |
package Vista;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Font;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSeparator;
import javax.swing.SwingConstants;
import javax.swing.JComboBox;
import javax.swing.JSpinner;
import javax.s... |
package com.yi.abhinav0612_pokemon;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import com.yi.abhinav0612_pokemon.databinding.ActivityMainBinding;
import com.yi.abhinav0612_pokemon.fragment.FavoriteFragment;
import com.yi.abhinav0612_pokemon.fragment.PokemonFr... |
package id.go.pekalongankab.laporbupati;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Build;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
... |
package com.example.kripajha.asytaskgame;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.JsonReader;
import android.view.LayoutInflater;
import android.view.View;
import andro... |
package com.smxknife.springboot.v1.ex02.children.child1;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;
@SpringBootApplication
@PropertySource("classpath:/child1.properties")
public class Child1Config {
}
|
/* */ package datechooser.model;
/* */
/* */ import java.util.Calendar;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class DateUtils
/* */ {
/* 20 */ private static Calendar ... |
package com.tencent.mm.pluginsdk.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.bhy;
import com.tencent.mm.protocal... |
import com.skyley.skstack_ip.api.SKDevice;
import com.skyley.skstack_ip.api.SKEventListener;
import com.skyley.skstack_ip.api.SKUtil;
import com.skyley.skstack_ip.api.skenums.SKEventNumber;
import com.skyley.skstack_ip.api.skenums.SKEventType;
import com.skyley.skstack_ip.api.skenums.SKSecOption;
import com.skyley.skst... |
/*
* Copyright (c) 2013 M-Way Solutions GmbH
*
* 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 o... |
package com.tyss.cg.questions;
public interface Prac2Interface {
int A(int a, int b);
double B( double d, int b);
static void print() {
System.out.println("hello Print()");
}
default void show() {
System.out.println("hello Show()");
}
}
|
package com.mcf.base.model;
import java.util.List;
/**
* Title. <br>
* Description.
* <p>
* Copyright: Copyright (c) 2016年12月17日 下午2:37:57
* <p>
* Author: 10003/sunaiqiang saq691@126.com
* <p>
* Version: 1.0
* <p>
*/
public class ResponseData extends BaseModel {
/**
*
*/
private static final long ser... |
/**
* @Title: MispComDataAccessReqJson.java
* @Package cn.fuego.misp.webservice.json
* @Description: TODO
* @author Tang Jun
* @date 2015-5-22 上午9:16:49
* @version V1.0
*/
package cn.fuego.misp.webservice.json;
/**
* @ClassName: MispComDataAccessReqJson
* @Description: TODO
* @author Tang Jun
* @da... |
package com.tencent.mm.plugin.topstory.ui.home;
class b$3 implements Runnable {
final /* synthetic */ b ozD;
b$3(b bVar) {
this.ozD = bVar;
}
public final void run() {
try {
if (this.ozD.ozz != null && this.ozD.ozz.getView() != null) {
this.ozD.ozz.getView(... |
package org.opentosca.containerapi.resources.csar;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.util.List;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.cor... |
package com.aummn.suburb.resource.dto.response;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@NoArgsConstructor
@ApiModel(description="Output Suburb info ")
public class SuburbWebResponse {
private Long id;
private String ... |
/*
* 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 control;
import dominio.Cliente;
import dominio.DetalleVenta;
import dominio.Empleado;
import dominio.Producto;
imp... |
/**
* 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 com.eagle.order.util;
import java.io.*;
import java.util.Map;
import java.util.Properties;
import java.util.concurrent.ConcurrentHashMap;
public class ParseIni {
protected Map<String, Properties> sections = new ConcurrentHashMap<>();
private transient String defaultName = "default";
private trans... |
package ls.example.t.zero2line.hen_coder_view;
import android.graphics.Paint;
import android.view.View;
import android.content.Context;
import android.util.*;
import android.graphics.Color;
public class HenCoderXfermodeView extends View {
private Paint mPaint;
private static final int langth=100;
private ... |
package com.sergiienko.xrserver;
import java.util.HashMap;
import java.util.Map;
/**
* State of parsers/sources
* Mostly implemented for integrating with Zabbix
*/
public final class AppState {
/**
* State object, used for collecting last sources' states
*/
private static Map<Integer, Boolean> st... |
package com.tt.miniapp.launchcache.pkg;
import android.content.Context;
import android.util.Log;
import com.storage.async.Action;
import com.storage.async.Scheduler;
import com.tt.miniapp.errorcode.ErrorCode;
import com.tt.miniapp.launchcache.LaunchCacheDAO;
import com.tt.miniapp.launchcache.RequestType;
impo... |
package realizandoejercicios;
import java.util.Scanner;
public class eje3guia {
public static void main(String[] args) {
Double sueldobase, dias, gratificacion, horasextras, comision, bono, colacion, movilizacion, haberes, deberes;
Double afp, isapre, segurocesantia, valorhora=3.500, haberHoras, sueldoliquido;
... |
package com.klocek.lowrez;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
/**
* Created by Konrad on 2016-04-17.
*/
public class About extends GameScreen {
private Texture aboutTexture;
public About(LowRez game) {
super(g... |
package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.component;
import com.tencent.mm.modelsfs.FileOp;
import com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.d;
import com.tencent.mm.plugin.sns.ui.OfflineVideoView.a;
import com.tencent.mm.pointers.PString;
import com.tencent.m... |
package com.paleimitations.schoolsofmagic.common.data.capabilities.magic_data;
import com.paleimitations.schoolsofmagic.common.MagicElement;
import com.paleimitations.schoolsofmagic.common.MagicSchool;
import com.paleimitations.schoolsofmagic.common.spells.Spell;
import net.minecraft.entity.player.PlayerEntity;
import... |
package com.tencent.mm.plugin.appbrand.jsapi.media;
import com.tencent.mm.plugin.appbrand.jsapi.media.JsApiChooseVideo.a;
import java.io.File;
class JsApiChooseVideo$a$2 implements Runnable {
final /* synthetic */ a fUU;
JsApiChooseVideo$a$2(a aVar) {
this.fUU = aVar;
}
public final void run... |
package com.example.kcroz.joggr.ViewRoute;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
import android.widget.Simpl... |
package io.github.jorelali.commandapi.api.arguments;
import com.mojang.brigadier.LiteralMessage;
import com.mojang.brigadier.arguments.StringArgumentType;
import com.mojang.brigadier.context.CommandContext;
import com.mojang.brigadier.exceptions.CommandSyntaxException;
import com.mojang.brigadier.exceptions.SimpleComm... |
// Definition for singly-linked list.
class ListNode {
int val;
ListNode next;
ListNode(int x) {
val = x;
}
}
/**
* 92. Reverse Linked List II
*/
class Solution {
public ListNode reverseBetween(ListNode head, int m, int n) {
if (m == n)
return head;
ListNode fa... |
package so.ego.space.domains.project.application.dto;
import lombok.*;
import so.ego.space.domains.project.domain.Member;
import so.ego.space.domains.project.domain.Project;
import java.util.List;
@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class ProjectFindAllRespo... |
package com.tencent.mm.ui.chatting.b;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.chatting.b.b.g;
class ah$9 implements Runnable {
final /* synthetic */ ah tSj;
final /* synthetic */ int tSt;
final /* synthetic */ int tSu;
final /* synthetic */ g tSv;
ah$9(ah ahVar, int i,... |
/*
* 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 cantante;
import javax.swing.JOptionPane;
/**
*
* @author ESTUDIANTE
*/
public class Canario implements Cantante {
pri... |
package com.tencent.mm.plugin.readerapp.ui;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import com.samsung.android.sdk.look.smartclip.SlookSmartClipMetaTag;
import com.tencent.mm.model.bi;
import com.tencent.mm.plugin.readerapp.b.a;
impor... |
package com.example.apo.quizfinal;
import android.content.Intent;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTransaction;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import ja... |
package com.encore.datatype;
/*
* 1. 필드
* int 사이즈, char 컬러, float 가격, String 제조회사, String 재질
* 스크래치 여부를 알수 있는 필드를 추가
*
* 2. 메소드
* 2개 정의
* - 값을 Test 클래스에서 받아서 필드에 입력하는 기능
* - 필드에 입력된, 저장된 값을 콘솔창으로 출력하는 기능
* -----------------------------------------
* 1.
* 변수(Variable)는 사... |
package com.tt.miniapp.chooser;
import android.app.Activity;
import android.app.LoaderManager;
import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.v7.widget.Gr... |
package net.learn2develop.moviedata_finaltask10.net;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
/**
* U okviru cetvrtog koraka (takodje u paketu Net) potrebno je da definisemo retrofit instancu preko koje ce komunikacija ici. Retrofit nije sastavni
* deo Androida, i zato moramo... |
package com.google.android.exoplayer2.a;
import com.google.android.exoplayer2.p;
final class f$g {
final p acY;
final long adM;
final long ahd;
/* synthetic */ f$g(p pVar, long j, long j2, byte b) {
this(pVar, j, j2);
}
private f$g(p pVar, long j, long j2) {
this.acY = pVar;
... |
package com.nic.usermanagement.utils;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class DBU... |
package com.tencent.mm.plugin.account.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
class l$7 implements OnCancelListener {
final /* synthetic */ l eSI;
l$7(l lVar) {
this.eSI = lVar;
}
public final void onCancel(DialogInterface dialogIn... |
package com.tencent.mm.plugin.exdevice.service;
import android.os.IInterface;
public interface h extends IInterface {
long a(p pVar);
void a(n nVar);
boolean a(long j, int i, k kVar);
boolean a(i iVar);
boolean a(s sVar);
boolean a(String str, boolean z, q qVar);
long[] aHt();
b... |
package kütüphaneotomasyonu;
import kütüphaneotomasyonu.AbstractOrnek;
/*
* 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 Sualp
*/
//Abstract yapısı için alt sınıf... |
package com.qiang.graduation.main.conf;
import java.io.FileWriter;
import java.io.IOException;
public class AlipayConfig {
public static String app_id = "2018041602570218";
public static String merchant_private_key = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCOSkPJT+57dWsAveOb+Fl6IjJlnyfF3Yu5XkOHJD2... |
package com.saaolheart.mumbai.customer;
import org.springframework.data.jpa.repository.JpaRepository;
public interface CustConsultationSeqRepo extends JpaRepository<CustmerConsultationSeq, Long>{
}
|
package com.duanxr.yith.easy;
/**
* @author 段然 2021/3/8
*/
public class IslandPerimeter {
/**
* You are given row x col grid representing a map where grid[i][j] = 1 represents land and grid[i][j] = 0 represents water.
*
* Grid cells are connected horizontally/vertically (not diagonally). The grid is comp... |
package br.com.util;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusAdapter;
import java.awt.event.FocusEvent;
import javax.swing.JFormattedTextField;
import javax.swing.SwingUtilities;
import javax.swing.text.JTextComponent;
impo... |
package eday4;
import java.util.Arrays;
/*
*
* 0-1 knapsack
* DP
*
* */
public class 배낭 {
public static void main(String[] args) {
int W = 10; //배낭의 무게( 최종 구하고자하는 목표)
int[] w = {0,5,4,6,3}; // 무게(kg)
int[] v = {0,10,40,30,50}; // 가치(만원)
int[][] K = new int[w.length][W+1]; // 최대 배낭에 담은 물건의 가치
fo... |
package com.tencent.mm.plugin.walletlock.fingerprint.a;
import android.content.SharedPreferences;
import android.os.Bundle;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.plugin.soter.d.b;
import com.tencent.mm.plugin.walletlock.b.g;
import com.tencent.mm.plugin.walletlock.b.h;
import co... |
package com.uwetrottmann.trakt5.services;
import com.uwetrottmann.trakt5.BaseTestCase;
import com.uwetrottmann.trakt5.TestData;
import com.uwetrottmann.trakt5.entities.Episode;
import com.uwetrottmann.trakt5.entities.Ratings;
import com.uwetrottmann.trakt5.entities.Stats;
import com.uwetrottmann.trakt5.enums.Extended;... |
/*
* 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 util;
import java.sql.Date;
import java.text.SimpleDateFormat;
/**
*
* @author lukin
*/
public class DateChe... |
package com.sojay.testfunction.video.view;
import android.animation.Animator;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Camera;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Rect;
import andr... |
package star.orf.app;
import star.orf.app.Frames.AminoAcids;
import star.orf.app.Frames.Bases;
public class Model
{
Bases[] forwardBases;
Bases[] reverseBases;
AminoAcids[] forwardAA;
AminoAcids[] reverseAA;
boolean[] forwardDecodes;
boolean[] reverseDecodes;
}
|
package com.mi.model;
public class T_Car {
private String car_id;
private String user_id;
private String commodity_id;
private String commodity_size;
public String getCommodity_size() {
return commodity_size;
}
public void setCommodity_size(String commodity_size) {
this.commodity_size = commodity_size;
... |
package www.gemini.dao;
import java.util.List;
import www.gemini.model.AccPrjMaster;
public interface AccPrjMasterDao {
public void addRecord(AccPrjMaster master);
public List<AccPrjMaster> listOfMaster();
public void removeMasterDao(int accId);
}
|
package com.diozero.sampleapps.util;
/*
* #%L
* Organisation: diozero
* Project: diozero - Sample applications
* Filename: SysFsTest.java
*
* This file is part of the diozero project. More information about this project
* can be found at https://www.diozero.com/.
* %%
* Copyright (C) 2016 - 2023 dio... |
package cz.utb.kryonet;
import com.esotericsoftware.kryonet.Client;
import com.esotericsoftware.kryonet.Connection;
import com.esotericsoftware.kryonet.Listener;
import com.esotericsoftware.kryonet.Server;
import com.esotericsoftware.minlog.Log;
import cz.utb.SQL;
import fr.bmartel.speedtest.SpeedTestSocket;
... |
package com.jim.multipos.ui.vendors.vendor_list;
import com.jim.multipos.config.scope.PerFragment;
import dagger.Binds;
import dagger.Module;
@Module
public abstract class VendorListFragmentPresenterModule {
@Binds
@PerFragment
abstract VendorListFragmentPresenter provideVendorListFragmentPresenter(Vend... |
package com.kush.lib.expressions.evaluators;
import static com.kush.lib.expressions.types.factory.TypedValueFactory.nullValue;
import java.util.Optional;
import com.kush.lib.expressions.ExpressionEvaluator;
import com.kush.lib.expressions.ExpressionException;
import com.kush.lib.expressions.types.Type;
import com.ku... |
package rs.jug.rx.restclient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class RestClientModule {
@Bean
public GturnquistQuotersGateway restGateway(){
return new GturnquistQuotersGateway();
}
@Bean
public JsonReader ... |
package gui;
import other.SwingConsole;
public class GuiRunner {
public static void runLoginFrame(){
SwingConsole.run(new LoginFrame(), 450, 260);
}
static void runRegisterFrame(){
SwingConsole.run(new RegisterFrame(), 620, 320);
}
static void runDepositFrame(){
SwingConsol... |
package ssh.dao.impl;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import demo.dao.AbstractDao;
import ssh.dao.HdfsUserDao;
import ssh.model.HdfsUser;
@Component
public class HdfsUserDaoImpl extends AbstractDao implements HdfsUserDao... |
package com.xindq.yilan.domain;
public class FileDetail {
private int id;
private String name;
private String extension;
private String family;
private String detail;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String g... |
package com.rs.game.player.content.commands;
import com.rs.game.Animation;
import com.rs.game.ForceTalk;
import com.rs.game.Graphics;
import com.rs.game.WorldTile;
import com.rs.game.player.Player;
//import com.rs.game.player.content.DisplayNameAction;
import com.rs.game.player.content.Magic;
import com.rs.game.player.... |
package chessgame.userinterface;
import chessgame.board.Board;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JPanel;
/**
* This class is a component of the graphical interface. It contains a JPanel,
* that can to updated to refl... |
package es.technest.technestexercise.entity;
import es.technest.technestexercise.model.Account;
import org.springframework.http.HttpStatus;
import org.springframework.util.MultiValueMap;
public class ResponseEntity extends org.springframework.http.ResponseEntity<Account> {
public ResponseEntity(HttpStatus statu... |
import TSim.CommandException;
import TSim.SensorEvent;
import TSim.TSimInterface;
import java.util.concurrent.Semaphore;
public class Lab1 {
private static Semaphore[] sem;
public Lab1(Integer speed1, Integer speed2) {
if (sem == null) {
sem = new Semaphore[6];
for (int i = ... |
package com.atherton.darren.widget.custom;
public interface EventBasedView {
}
|
package com.tencent.mm.plugin.appbrand.game.c;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.Paint.Style;
import android.graphics.RectF;
import android.graphics.drawable.Drawable;
class a$a extends Drawable {
Paint fBa;
RectF fBb;
... |
package Actions;
import model.User;
import DAO.*;
import com.opensymphony.xwork2.ActionSupport;;
@SuppressWarnings("serial")
public class LoginAction extends ActionSupport {
private User user;
private IUserDAO udao = new UserDAO();
public String execute() throws Exception
{
TestDAO tes = new TestDAO();
//tes... |
package com.earaya.voodoo.config;
import org.codehaus.jackson.JsonFactory;
import org.codehaus.jackson.JsonGenerator;
import org.codehaus.jackson.JsonNode;
import org.codehaus.jackson.JsonParser;
import org.codehaus.jackson.map.DeserializationConfig;
import org.codehaus.jackson.map.MappingJsonFactory;
import org.codeh... |
package test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
import util.ParseMessage;
import util.StringComparison;
/**
* Продолжение идеи Test6 что строить рекурсивно дерево из lcSubstring-ов. Тогда шаблон будет иметь вид {&}lcSubstring{&}lcSubstring{&}... |
package unocerounocero;
import java.awt.Color;
public class Colores {
public static Color[] color;
public final static int ORANGE=1;
public final static int YELLOW=2;
public final static int GREEN=3;
public final static int RED=4;
public final static int MAGENTA=5;
public final static int PINK=6;... |
package com.zznode.opentnms.isearch.routeAlgorithm.core.cache;
public class MemcachedInfo {
private String address;
private String bytes;
private String version;
private String time;
private String threads;
private String limitMaxBytes;
private String bytesRead;
private String bytesWritten;
private ... |
package com.xingen.calendarview.touch;
import android.view.MotionEvent;
/**
* Created by ${xinGen} on 2018/1/2.
* blog:http://blog.csdn.net/hexingen
* View的touch事件处理类
*/
public interface ViewTouchHandler {
/**
* 处理触摸事件
* @param event
*/
void handleEvent(MotionEvent event);
}
|
package com.cnk.travelogix.sapintegrations.chargeable.itemcharging.data;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
im... |
package com.company;
public class CourseList { //özelliik nesneleri tanımlandı
int id;
String Cname;
String detail;
public CourseList(int id , String Cname , String detail){
this.id = id;
this.Cname = Cname;
this.detail = detail;
}
}
|
package grafico;
/**
*
* @author Adriana
*/
public interface VehiculoAereo {
public void volar();
} |
package real;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
public class Flipkart extends MyBaseTest{
@Test
public void search() throws InterruptedException{
driver.findElement(By.name("field-keywords")).sendKeys("s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.