text stringlengths 10 2.72M |
|---|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jakc.payment.test;
import java.sql.Connection;
import java.util.Properties;
import java.util.logging.Level;
import java.util.logging.Logger;
import nabiladbv20.createPOSTGRESConnection;
import org... |
package models;
import java.util.Date;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.jsoup.Jsoup;
import play.data.format.Formats;
import play.data.validation.Constr... |
package com.tencent.mm.plugin.honey_pay.ui;
import android.view.View;
import android.view.View.OnClickListener;
class HoneyPayModifyQuotaUI$2 implements OnClickListener {
final /* synthetic */ HoneyPayModifyQuotaUI klK;
HoneyPayModifyQuotaUI$2(HoneyPayModifyQuotaUI honeyPayModifyQuotaUI) {
this.klK =... |
package com.tencent.mm.plugin.appbrand.jsapi.share;
import android.os.Bundle;
import com.tencent.mm.ipcinvoker.f;
import com.tencent.mm.plugin.appbrand.jsapi.share.k.1;
import com.tencent.mm.sdk.platformtools.x;
class k$1$1 implements Runnable {
final /* synthetic */ long fZk;
final /* synthetic */ Bundle fZl... |
package com.tencent.mm.plugin.sns.e;
import com.tencent.mm.g.a.qb;
import com.tencent.mm.plugin.sns.data.e;
import com.tencent.mm.plugin.sns.data.i;
import com.tencent.mm.plugin.sns.model.af;
import com.tencent.mm.plugin.sns.model.an;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
import com.tencent.mm.... |
package entitätsklassen;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
public class BestellAt {
private Integer bstnr, knr, status;
private BigDecimal rsum;
private Date bestdate, liefdate, rechdate;
private List<BestA> artList;
public BestellAt() {
}
public... |
package com.tencent.mm.g.a;
public final class ep$a {
public boolean bLW;
}
|
import java.awt.BorderLayout;
import java.awt.CardLayout;
import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GridBagConstraints;
import java.awt.RenderingHints;
import java.awt.Shape;
import java.awt.event.ActionEv... |
/*
* 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 tolteco.sigma.view.interfaces;
/**
*
* @author Juliano
* @param <T> Tipo do objeto a ser
* manipulado pela resp... |
package enthu_l;
public class e_1137 {
public static void main (String args [ ]){
int index = 1;
String[] strArr = new String[5];
String myStr = strArr[index];
System.out.println(myStr);
}
}
|
package dev.borowiecki.home.after_week_1.solutions;
public class Ex9 {
public static void main(String[] args) {
int a = 2;
int b = 3;
int res = a;
while(b>1) {
res*=a;
b--;
}
System.out.println(res);
}
}
|
package Manageruser.controllers;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
im... |
package com.tencent.mm.plugin.appbrand.jsapi;
import android.util.SparseArray;
import com.tencent.mm.plugin.appbrand.performance.AppBrandPerformanceManager;
import com.tencent.mm.plugin.game.gamewebview.jsapi.biz.ao;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.smtt.sdk.TbsListener$ErrorCode;
import ... |
package com.walkerwang.algorithm.bigcompany;
import java.util.Scanner;
/*
* 你要出去旅游,有N元的预算住酒店,有M家酒店供你挑选,这些酒店都有价格X。
需要你正好花完这N元住酒店(不能多,也不能少)最少能住几晚?返回最少住的天数,没有匹配的返回-1
* 比如你有1000元,所有酒店都是大于1000的,则返回-1
* 比如你有1000元,有1家1000元的,有1家300,有1家700。则最少能住1晚,最多住2晚(300+700)。返回1
* 比如你有1000元,有1家387元,有1家2元,有一家611,则返回3(3家各住1天)
* 比如你有1000元,... |
/*
* 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 edu.co.uninpahu.figonachi;
import java.util.Scanner;
/**
*
* @author ESTUDIANTE
*/
public class Main {
... |
package security;
import org.springframework.context.ApplicationContext;
import models.User;
import play.api.Application;
import play.i18n.Messages;
import play.mvc.Http;
import play.mvc.Http.Request;
import play.mvc.Result;
import play.mvc.Http.Context;
import be.objectify.deadbolt.AbstractDeadboltHandler;
import be... |
package com.maweiming.wechat.bot.service.message;
import com.maweiming.wechat.bot.dao.ListenMessageDao;
import com.maweiming.wechat.bot.model.core.WechatCore;
import com.maweiming.wechat.bot.service.message.core.BaseMessage;
import com.maweiming.wechat.bot.service.message.core.IMessage;
import com.maweiming.wechat.bot... |
package com.tencent.mm.plugin.sns.model;
import android.os.Looper;
import android.os.Message;
import com.tencent.mm.plugin.sns.model.ab.a;
import com.tencent.mm.sdk.platformtools.ag;
import com.tencent.mm.sdk.platformtools.x;
class ab$1 extends ag {
final /* synthetic */ ab npf;
ab$1(ab abVar, Looper looper)... |
package Trabalho3;
import java.awt.Dimension;
import javax.swing.ImageIcon;
public class Parametros implements ViewerParameters {
private final int NUMICONSDICE = 6,
diceHeight = 60,diceWidth = 60,
pinHeight = 72,pinWidth = 45,
smallPinHeight = 15,smallPinWidth = 12,
tileHeight = 45,tileWidth = 45,
... |
package de.piobyte;
/*
Copyright (C) 20015 piobyte 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 or agree... |
package models;
import play.db.jpa.Model;
import javax.persistence.*;
@Entity
public class Jugador extends Model {
private String nom;
private int edat;
private String dni;
/* @ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "equip_id") //Foreign key
private Equip equip;
*/
... |
/**
*/
package Forms.util;
import Forms.*;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
* It supports the call {@link #doSwitch(EObject) doSwitch(obj... |
package capitulo07;
public class EnhancedForTest {
public static void main(String[] args) {
int[] array = { 99, 100, 98, 97, 95, 96, 94, 93, 92, 91, 90 };
int total = 0;
for (int number : array)
total += number;
System.out.printf("Total de elementos do vetor equivale a: %d%n",total);
}
}
|
package com.example.bookmanager_ph06542.dao;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import com.example.bookmanager_ph06542.database.DatabaseHelper;
import com.example.bookmanager_ph06... |
package eu.cqse.msdnscraper.rules.spcop;
import java.util.ArrayList;
import java.util.Collection;
import com.mpdeimos.webscraper.Scrape;
import com.mpdeimos.webscraper.ScraperSource;
import com.mpdeimos.webscraper.ScraperSource.ScraperSourceProvider;
import com.mpdeimos.webscraper.conversion.ConstructConverter;
impo... |
package com.outsideintdd.katas.scoreboard;
public class BasketRepository {
private static final int ONE_POINT = 1;
private static final int TWO_POINTS = 2;
private static final int THREE_POINTS = 3;
private int teamAScore;
private int teamBScore;
public BasketRepository() {
this.teamAScore = 0;
}
... |
package it.basestation.cmdline;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.LinkedList;
import java.util.Stack;
public class LastPeriodGlobalRecord {
private Hashtable<String, LinkedList<CapabilityInstance>> globalCapabilityInstancesList = new Hashtable<String, LinkedList<Capabilit... |
package com.ydhl.cn.demo;
import javax.persistence.*;
/**
* @ClassName Boy
* @Description TODO
* @Author yangll
* @Date 2019/9/4 0004 10:52
* @Version 1.0
**/
@Entity
@Table(name = "boy")
@org.hibernate.annotations.Table(appliesTo = "boy",comment = "实体表")
public class Boy {
@Id
@Genera... |
package cci_trees_graphs;
import cci_trees_graphs.ListOfDepths_4_3.TreeNode;
/**
* Check Balanced: Implement a function to check if a binary tree is balanced.
* For the purposes of this question, a balanced tree is defined to be a tree
* such that the heights of the two subtrees of any node never differ by more
*... |
package edu.kit.pse.osip.simulation.view.dialogs;
import edu.kit.pse.osip.core.model.base.AbstractTank;
import edu.kit.pse.osip.core.model.base.TankSelector;
import edu.kit.pse.osip.core.utils.language.Translator;
import edu.kit.pse.osip.simulation.view.main.ViewConstants;
import javafx.event.ActionEvent;
import javaf... |
/*
* Copyright 2010 sdp.com, Inc. All rights reserved.
* sdp.com PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
* creator : jiangyixin.stephen
* create time : 2013-2-25 下午3:26:34
*/
package tools.invoker.command;
import tools.invoker.command.constants.Status;
/**
* 功能描述:
* @author jiang... |
package com.xvr.serviceBook.controller.restapi;
import com.xvr.serviceBook.controller.restapi.dtorepresentation.AppRoleModelRepresentation;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframe... |
package rugal.westion.jiefanglu.core.service;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.http.HttpRequest;
import rugal.westion.jiefanglu.core.entity.Account;
import rugal.westion.jiefanglu.core.entity.GaoDeCity;
import rugal.westion... |
package com.websharp.dwtz.activity.dwtzjysb;
import com.websharp.dwtz.R;
import com.websharp.dwtz.activity.BaseActivity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.view.View;
import android.widget.ImageView;
public class ActivityViewImag... |
package com.example.zealience.oneiromancy.mvp.presenter;
import com.example.zealience.oneiromancy.R;
import com.example.zealience.oneiromancy.entity.VRPhotoEntity;
import com.example.zealience.oneiromancy.mvp.contract.VRcontract;
import java.util.ArrayList;
import java.util.List;
/**
* @user steven
* @createDate 2... |
package com.example.demo.controller;
import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
public class ControllerOneTest {
private static final long DEALY = 3000... |
module websi {
} |
package com.netease.course.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.netease.course.dao.UserDao;
import com.netease.course.entity.User;
import com.netease.course.service.userAccountService;
@Service
public class UserAccountV... |
public class CellsWithOddValuesInAMatrix_1252 {
public static int oddCells(int n, int m, int[][] ind) {
int[][] a = new int[n][m];
for(int[] c : ind){
for(int j=0; j < m; j++)
a[c[0]][j]++;
for(int i=0; i < n; i++)
a[i][c[1]]++;
}
... |
package edu.ramapo.philipglazman.kono;
import android.util.Log;
import android.util.Pair;
import java.util.Random;
import java.util.Vector;
/**
* Responsible for computer strategy.
*/
public class Computer extends Player{
// Available Strategies
private final String FORWARD = "forward";
private final... |
package com.spelunkers.game.screens;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.InputAdapter;
import com.badlogic.gdx.ScreenAdapter;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.bad... |
package org.carter.peyton.training.rap.view.action;
import org.carter.peyton.training.rap.db.entities.Device;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerComparator;
import org.eclipse.swt.SWT;
public class TableViewerComparator extends ViewerComparator {
private static final ... |
package com.smxknife.java2.thread.executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;
/**
* @author smxknife
* 2019/8/24
*/
public class FixedThreadPoolDemo {
public static void main(String[] args) {
ExecutorService execut... |
package com.traider.journal.System;
import com.binance.api.client.BinanceApiClientFactory;
import com.binance.api.client.BinanceApiRestClient;
import com.traider.journal.Models.Trade;
import com.traider.journal.Repositories.TradeRepository;
import org.springframework.beans.factory.annotation.Autowired;
import java.ut... |
/*
* Copyright 2014, Stratio.
*
* 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 wri... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package begining.gf4.web.jpa.entity;
import begining.gf4.web.common.ConstantValueQuery;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.G... |
package formatters;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.w3c.dom.css.CSSValueList;
import rest.Result;
import javax.xml.XMLConstants;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Set;
/**
* Created by cenk on 04/01/15.
*/
public class SqliteFo... |
package practica;
/*Autores: Ignacio Amaya de la Peña
Adrián Cámara Caunedo
Borja Mas García
*/
//Clase para la creación de paradas de metro
public class ParadaMetro {
private int id; //Indicador de parada
private String nombre; //Nombre de parada
private ParadaMetro siguiente; //Parada si... |
package com.heartmarket.model.dao;
import java.util.List;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import com.heartmarket.model.dto.Ca... |
package com.services.utils.redis.objs;
import com.services.utils.redis.common.RedisBase;
import redis.clients.jedis.BinaryClient;
import redis.clients.jedis.Jedis;
import redis.clients.util.SafeEncoder;
import java.util.List;
/**
* 对存储结构为List类型的操作
*/
public class Lists {
/**
* List长度
*
* @param ... |
package bai_tap;
import java.security.PublicKey;
public class IllegalTriangleException extends Exception {
public IllegalTriangleException(String message) {
super(message);
}
}
|
package com.dayuanit.shop.domain;
import java.util.Date;
public class UserAddress {
private Integer id;
private Integer userId;
private String provinceCode;
private String cityCode;
private String areaCode;
private String dtaAddress;
private String userRealName;
private String phone;
privat... |
package testCode.ch9.employee;
/**
* Created by pingjiex on 1/5/17.
*/
public class Manager {
}
|
import java.util.*;
/**
* Created by jason chou on 2016/12/6.
*/
public class javahomework {
public static void main(String[] args)
{
int i;
int input;
double total = 1;
Scanner scanner = new Scanner(System.in);
System.out.println("Enter number(lesser than 20):");
input = scanne... |
/*
* 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 rest;
import dao.DAOLog;
import entities.Entity;
import entities.Log;
import entities.Project;
import entities.ProjectR... |
package org.slf4j.jul;
import java.util.concurrent.atomic.AtomicLong;
import java.util.logging.Handler;
import java.util.logging.LogRecord;
public class CountingHandler extends Handler {
final AtomicLong eventCount = new AtomicLong(0);
@Override
public void publish(LogRecord record) {
eventCount... |
package com.rogalabs.sample_social_login;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.View;
import com.rogalabs.lib.Callback;
import com.rogalabs.lib.LoginView;
import com.rogalabs.lib.SocialUser;
public class MainActivity extends LoginView {
private ProfileFragme... |
package org.chail.common.krb;
import javax.security.auth.Subject;
import javax.security.auth.callback.CallbackHandler;
import javax.security.auth.login.LoginException;
import javax.security.auth.spi.LoginModule;
import java.util.Map;
public class MyHadoopLoginModule implements LoginModule {
/**
* Initialize... |
package com.qcwp.carmanager.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import com.qcwp.carmanager.R;
import com.qcwp.carmanager.control.TitleContentView;
import com.qcwp.carmanager.enumeration... |
package com.example.demo.controller;
import com.example.demo.model.dto.AuthorDto;
import com.example.demo.model.request.CreateAuthorReq;
import com.example.demo.service.AuthorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.h... |
package pe.gob.sunarp.ventasapp.prueba;
import java.util.ArrayList;
import java.util.List;
import pe.gob.sunarp.ventasapp.dto.VentasDto;
import pe.gob.sunarp.ventasapp.service.contrato.VentasService;
import pe.gob.sunarp.ventasapp.service.implementacion.VentasServiceImpl;
public class Prueba04 {
public sta... |
package com.concurrent;
import java.util.concurrent.BrokenBarrierException;
import java.util.concurrent.CyclicBarrier;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
* 障碍器
* @author walkerwang
*
*/
public class CyclicBarrierDemo {
public static void main(String[] args) {... |
package br.com.devmos.reddit.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import br.com.devmos.reddit.models.Comment;
import br.com.devmos.reddit.models.Post;
import br.com.devmos.reddit.models.User;
public interface CommentRepository extends JpaRepository<Comment... |
public class EscapeCard extends WildCard{
public EscapeCard(String cardName) {
super(cardName);
}
public void execute(Player player) {
if(player.getInventory().getWildCard().size() > 0){
Dice dice = new Dice();
int moveVal = dice.getRollValue();
player.g... |
package fr.lecnam.nfa032.chapitre02;
import java.util.Scanner;
import fr.lecnam.nfa032.chapitre01.Personne;
public class TestPersonne {
private static int nombreDePersonnes;
/**
* Methode pour demander le nombre de personnes a stocker
*/
public static void createTableau() {
Scanner scanner = new Scanner(S... |
package de.jmda.gen.java;
import de.jmda.gen.java.DeclaredMethodGenerator;
/**
* Generator for technical instance method declarations.
*
* @author rwegner
*/
public interface DeclaredInstanceMethodGenerator
extends DeclaredMethodGenerator
{
boolean isInterfaceMethodGenerator();
void setInterfaceMethodGenerato... |
/*
*Nohely Monserrat Cortés del Ángel
*A01410768
*Ingeniería Mecatrónica
*/
package spp.ncortesd.t01p2;
import java.util.Scanner;
/**
*
* @author Nohely
*/
public class SPPNCortesDT01P2 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
... |
package com.tencent.mm.plugin.offline.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
class WalletOfflineCoinPurseUI$20 implements OnClickListener {
final /* synthetic */ WalletOfflineCoinPurseUI lMe;
WalletOfflineCoinPurseUI$20(WalletOfflineCoinPurseUI wal... |
package cn.sharp.android.ncr;
import java.io.File;
import java.io.FilenameFilter;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import and... |
package br.com.customer.screens;
import static br.com.customer.driver.Driver.getDriver;
import org.openqa.selenium.support.PageFactory;
import io.appium.java_client.MobileElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
public class Home... |
package UnionFInd;
import java.util.Scanner;
//Quick union
// Hay n elementos en una lista con su indice, cuando se conectan dos elementos el indice de uno apunta al siguiente, creando arboles
// Inicializar involucra hacer un arreglo de (1,...,n) por lo que la iniciación es O(n)
// Al unir solo cambia un indice, per... |
package br.com.unipac.service;
import java.util.List;
import java.util.Optional;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import br.com.unipac.domain.Vendedor;
public interface VendedorService {
Vendedor save(Vendedor vendedor);
List<Vendedor> lis... |
package sellwin.gui;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import sellwin.domain.*;
import sellwin.utils.*;
// SellWin http://sourceforge.net/projects/sellwincrm
//Contact support@open-app.com for commercial help with SellWin
//This software is provided "AS IS", without a warranty of any ... |
package eu.torsteneriksson.storetracker;
import android.app.Notification;
import android.app.PendingIntent;
import android.app.Service;
import android.content.ContentValues;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.database.DatabaseUtils;
... |
package com.fiber.androidchallenge.model;
/**
* This class using for http response.by this,we received only code and response message for further usages.
* Like response code 200 and message.we send this as getResponse and getStatusCode
* Created by mahmud on 15/4/2016
*/
public class HttpResponse {
private St... |
package com.yzpc.action;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionSupport;
public class FileUploadAction extends Acti... |
package RStrategy;
public interface CalculateStrategy {
Double calculate(Double a, Double b);
}
class Summation implements CalculateStrategy{
@Override
public Double calculate(Double a, Double b) {
return a+b;
}
}
class Division implements CalculateStrategy{
@Override
public Double c... |
package com.designpattern.createpattern.factory;
public class FactroyC implements AbstractFactory {
@Override
public Object getInstance() {
return new FactroyC();
}
}
|
package ru.stqa.pft.mantis.tests;
import org.testng.Assert;
import org.testng.annotations.Test;
import ru.lanwen.verbalregex.VerbalExpression;
import ru.stqa.pft.mantis.appmanager.HttpSession;
import ru.stqa.pft.mantis.model.MailMessage;
import ru.stqa.pft.mantis.model.UserData;
import ru.stqa.pft.mantis.model.Users;
... |
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Scanner;
import java.util.Set;
import java.util.Stack;
... |
package com.mySampleApplication.shared.model;
import com.extjs.gxt.ui.client.data.BaseModelData;
import java.io.Serializable;
public class CustomerTypeData extends BaseModelData implements Serializable {
private Long custTypeCode;
private String custTypeName;
public Long getCustTypeCode() {
return cus... |
package com.tencent.mm.plugin.aa.a;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.aa.a.a.j;
import com.tencent.mm.protocal.c.v;
import com.tencent.mm.vending.h.e;
import com.tencent.mm.vending.j.f;
public class c$a implements e<v, f<String, Integer, String, String, Integer>> {
final /* synthetic */... |
public class BalDriveBicycle implements BalStreetLegal {
private String bicyclePedal = "BalDriveBicycle";
@Override
public String toString() {
return "DriveBicycle [bicyclePedal=" + bicyclePedal + "]";
}
@Override
public void getstreetSignalStop() {
System.out.println("Bicycle Stop");
}
... |
package com.mygdx.game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.math.Vector2;
import com.mygdx.GameObjects.AbstractGameObject;
import com.mygdx.GameObjects.SkillAOEObject;
import com.mygdx.Global.Assets;
import com.mygdx.ObjectInfo.Skill;
public class SkillHandler {
public final static String TAG = Ski... |
import java.util.*;
import edu.duke.*;
/**
* Write a description of WordFrequencies here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class WordFrequencies {
private ArrayList<String> myWords;
private ArrayList<Integer> myFreqs;
WordFrequencies(){
myWords = ... |
package android.support.v7.widget;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ResolveInfo;
import android.database.DataSetObservable;
import android.os.AsyncTask;
import android.os.Build.VERSION;
import android.text.TextUtils;
import a... |
package com.murkino.domain.cat.sex;
import lombok.ToString;
@ToString
public final class Male extends Sex {
@Override
public String shortName() {
return "M";
}
}
|
package characters;
import bots.MotherBot;
import parcels.ColorList;
import parcels.GameBoard;
import parcels.Parcel;
import java.util.ArrayList;
public class Gardener extends Character {
private static Gardener gardener = new Gardener();
public static void reset(){
gardener = new Gardener();
}... |
package classes;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import com.example.medicalprocess.MainActivity;
public class Maladie {
private int mid;
private String nom;
public Maladie(ResultSet rs) throws SQLException {
mid = rs.getInt("mid");
nom = rs.getString("nom"... |
package com.mathpar.students.ukma.Grushka.Module2Part2;
import java.util.Arrays;
import java.util.Random;
import mpi.*;
/**
* The processor with the number of 0 is sending an array of numbers
* to other processors
* of communicator MPI.COMM_WORLD
*/
public class TestBcast {
public static void main(String[] ar... |
package com.nikogalla.tripbook.sync;
import android.content.Context;
import android.location.Location;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Log;
import com.google.android.gms.common.ConnectionResult;
import com.google.andr... |
package com.example.android.navigation_test;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInfla... |
package library;
public class books implements interfacehub {
private String title;
private String callid;
private boolean checkedout;
}
|
package com.kgitbank.spring.domain.article.controller;
import java.util.List;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotatio... |
package com.cardniu.sele;
import java.util.concurrent.TimeUnit;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import com.sun.jna.platform.win32.WinDef;
import com.sun.jna.platform.win32.WinDef.HWND;
import com.sun.jna.platform.win32.WinUser.WNDENUMPROC;
public class HwndIterator {
private static... |
/**
*
*/
package fi.jjc.graphics.image;
import java.nio.ByteBuffer;
import fi.jjc.math.Vector2;
/**
* Class for bit images.
*
* @author Jens ┼kerblom
*/
public class Bitmap
{
/**
* Bitmap data.
*/
private final ByteBuffer data;
/**
* Width of used pixels.
*/
private final int width;
/**
... |
package com.kingbbode.bot.common.base;
import com.kingbbode.bot.common.annotations.Brain;
import com.kingbbode.bot.common.annotations.BrainCell;
import com.kingbbode.bot.common.base.cell.AbstractBrainCell;
import com.kingbbode.bot.common.base.cell.ApiBrainCell;
import com.kingbbode.bot.common.base.cell.CommonBrainCell... |
package com.saasbp.auth.adapter.out.persistence;
import java.util.Optional;
import java.util.UUID;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.saasbp.auth.adapter.out.persistence.jpa.UserEntity;
import com.saasbp.auth.adapter.out.persiste... |
/**package de.emp2020.securityConfig;
import java.util.Collection;
import java.util.List;
import java.util.stream.Collectors;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.p... |
package ch6;
import ch5.Dish;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import static java.util.stream.Collectors.*;
public class Partitioning {
public static void main(String[] arg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.