text stringlengths 10 2.72M |
|---|
package team.project.myTeam;
import java.awt.Rectangle;
import java.util.ArrayList;
import easy_soccer_lib.PlayerCommander;
import easy_soccer_lib.perception.FieldPerception;
import easy_soccer_lib.perception.MatchPerception;
import easy_soccer_lib.perception.PlayerPerception;
import easy_soccer_lib.utils.EF... |
package com.nikita.recipiesapp.common.models;
import android.support.annotation.Nullable;
import java.util.List;
public final class Recipe {
public final int id;
public final String name;
public final List<Ingredient> ingredients;
public final List<Step> steps;
private final int servings;
public final S... |
/*
Copyright 2015 Alfio Zappala
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 writing, software... |
/**
* Support for common XMPP utils.
*/
package tigase.jaxmpp.core.client.xmpp.utils;
|
package com.isg.ifrend.core.service.mli;
import java.util.List;
public class AccountServiceImpl implements AccountService {
@Override
public List increaseAccountCreditLimit(Object accountCreditLimitModel) {
// TODO Auto-generated method stub
return null;
}
@Override
public Object getAccountInfo(String car... |
package com.seboid.udem;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.database.Cursor;
import androi... |
package deloitte.forecastsystem_bih.loadforecast.arima;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.stereotype.Service;
import com.workday.insights.timeseries.arima.Arima;
import com.workday.insights.timeseries.arima.struct.ArimaParams;
import com.workday.insigh... |
package com.vivek.sampleapp.sharedpreference;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
/**
* Created by vivek-pc on 12/13/2015.
*/
public class MySharedPreferenceManager {
private static SharedPreferences prefs;
private static M... |
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
public class ExecutorExample {
private static class Runner implements Runnable {
@Override
public void run() {
Util.printMsg("Hi");
}
}
public static void main(String[]... |
package com.alibaba.druid.bvt.sql.mysql.createTable;
import com.alibaba.druid.sql.MysqlTest;
import com.alibaba.druid.sql.ast.SQLStatement;
import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlCreateTableStatement;
import com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser;
import java.util.List;... |
package com.example.g0294.tutorial.layouts;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import com.example.g0294.tutorial.R;
public class LayoutsActivity extends AppCompatActivity {
private Butt... |
package com.sherry.epaydigital.bussiness.service;
import com.sherry.epaydigital.bussiness.domain.AddProductDomain;
import com.sherry.epaydigital.data.model.AdminProduct;
import com.sherry.epaydigital.data.model.ProductCategory;
import com.sherry.epaydigital.data.repository.AdminProductRepository;
import com.sherry.epa... |
package com.itszt.newprovider;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class NewproviderApplication {
public static void main(String[] args) {
SpringApplication.run(NewproviderApplication.class, ... |
package uebung1Test;
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.*;
import org.junit.Test;
import uebung1.CurrentDate;
import uebung1.FakeDateGenerator;
import static junit.framework.TestCase.assertTrue;
public class CurrentDateTest {
@Test
public void getDate_withS... |
package core;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
public class FileInput {
public ArrayList<String> commands;
private ArrayList<Card> playerHand = new ArrayList<Card>()... |
import java.lang.*;
import java.util.*;
import java.io.*;
// #!/usr/bin/python -O
// #include <stdio.h>
// #include <stdlib.h>
// #include <string.h>
// #include<stdbool.h>
// #include<limits.h>
// #include<iostream>
// #include<algorithm>
// #include<string>
// #include<vector>
// #include<queue>
// using namespace... |
package beans;
import java.io.Serializable;
import java.sql.Date;
public class Rezervacija implements Serializable {
private static final long serialVersionUID = 1L;
private Long id;
private Date datumPrijave;
private Date datumOdjave;
private Soba soba;
private Kupac kupac;
public ... |
package eu.eisti.pk2020.fintech.aau;
public class foo {
}
|
package com.github.evgdim.tdd.service;
import java.util.Optional;
import org.springframework.stereotype.Service;
import com.github.evgdim.tdd.entity.Person;
import com.github.evgdim.tdd.repository.PersonRepository;
@Service
public class PersonServiceImpl implements PersonService {
private final PersonRe... |
package com.lu.rest.Server;
import java.util.HashMap;
import java.util.Map;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.DELETE;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws... |
package com.redsun.platf.web.controller.converter;
import org.springframework.core.convert.converter.Converter;
import org.springframework.util.StringUtils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Created with IntelliJ IDEA.
* User: Dick Pan
* Date: 2012/7/9
* Time: 上午 11:32
* To c... |
package kr.or.ddit.basic;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
public class T09_SetTest {
/*
* - List와 Set의 차이점
* 1. List
* - 입력한 데이터의 순서가 있음
* - 중복되는 데이터 저장 가능
* 2. Set
* - 입력한 데이터의 순서가 없음
* - 중복되는... |
public class Validacoes {
public String formatarTelefone(String telefone){
int indice = 0;
String telefoneFormatado = new String();
for (char caractere: telefone.toCharArray()) {
if(isNumber (caractere)){
indice++;
switch (indice) {
... |
package inheritanceAssignment;
public class inheritance_demo {
public static void main(String[] args)
{
B obj = new B();
obj.i = 1;
obj.j = 2;
obj.display();
}
}
|
/*
* Created by Angel Leon (@gubatron), Alden Torres (aldenml)
* Copyright (c) 2011-2014, FrostWire(R). All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either versio... |
package com.himanshu.springboot2.angular.orders.entity;
import javax.persistence.*;
@Entity
@Table(name = "orders")
public class Order {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
@ManyToOne(targetEntity = Customer.class, fetch = FetchType.EAGER)
@JoinColumn(referencedColumnName =... |
package slimeknights.tconstruct.smeltery.client;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraftforge.fluids.FluidStack;
import javax.annotation.Nonnull;
import slimeknights.tconstruct.library.client.RenderUtil;
import slimeknight... |
package de.tuberlin.dima.minidb.io.index;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import de.tuberlin.dima.minidb.catalogue.IndexSchema;
import de.tuberlin.dima.minidb.core.DataField;
import de.tuberlin.dima.minidb.io.cache.PageFormatException;
import de.tuberlin.dima.minidb.io.m... |
package com.bofsoft.laio.customerservice.DataClass.index;
import com.bofsoft.laio.data.BaseData;
/**
* 教练获取我的学员的分类下的学员列表data
*
* @author yedong
*/
public class MyStudentClassListInfoData extends BaseData {
public int CACId; // 学员关联表Id
public int StuDPId; // 学员在DP中的Id
public String StuUUID; // 学员的账户UUI... |
package com.tasklist.service;
import java.util.List;
import com.howtodoinjava.demo.model.TaskVO;
public interface TaskManager
{
public List<TaskVO> getAllTasks();
public void addTasks(String task);
public void deleteTasks(String taskid);
}
|
package com.example.cursorhomeworkmongodb;
import com.example.cursorhomeworkmongodb.model.Alarm;
import com.example.cursorhomeworkmongodb.model.enums.DayOfWeek;
import com.example.cursorhomeworkmongodb.service.AlarmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.... |
package learn.java.collections.flowers.lilies;
import learn.java.collections.flowers.Color;
import java.util.Objects;
public final class OrientalLily extends Lily {
private boolean petalsRecurved;
public OrientalLily() {
}
public OrientalLily(String name, double basePrice, int stemLength, int hours... |
package com.mtl.hulk.configuration;
import com.mtl.hulk.serializer.kryo.KryoSerializer;
import org.apache.tomcat.jdbc.pool.PoolProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.List;
@ConfigurationProperties("mtl.hulk")
public class HulkProperties {
private... |
package com.hypermine.habbo.cameraserve.json;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by Scott Stamp <scott@hypermine.com> on 3/21/2017.
*/
public class Photo {
@SerializedName("planes")
public List<Plane> planes;
@SerializedName("sprites")
public Lis... |
package elder;
public interface HeightMap {
public Double getHeightAt(double latitude, double longitude);
}
|
package admin;
import java.util.Scanner;
import car.Carshow;
import admin.UserLoginImpl;
import admin.User;
public class UserTest {
public void Uesrshow() {
/**
* 登录测试
* 注册测试
*/
boolean falg = false;
while (true) {
System.out.println("********欢迎使用腾飞汽车租赁系统********");
... |
//
// Decompiled by Procyon v0.5.36
//
package com.davivienda.multifuncional.tablas.historicoajustesmulti.session;
import com.davivienda.sara.base.exception.EntityServicioExcepcion;
import java.util.Collection;
import java.util.Date;
import javax.ejb.Local;
import com.davivienda.sara.entitys.Historicoajustesmulti;
... |
/*
* 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 phatnh.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.SQLException;
import java.util.logging... |
package com.rednovo.ace.ui.activity;
import android.annotation.SuppressLint;
import android.app.ProgressDialog;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Bitmap.CompressFormat;
import android.graphics.BitmapFactory;
import android.graphics.BitmapFactory.Options;
import andr... |
package com.example.federation.GetterSetterClasses;
/**
* Created by HP-PC on 17-04-2017.
*/
public class Participant {
public int participantId,participantPreQuestionnair,participantFeedback,participantEvaluation,participantPostQuestionnair;
public String participantName,participantEmail;
public Partic... |
/*
MIT License
Copyright (c) 2016 Kent Randall
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... |
/*
* @(#) ISapifInfoDAO.java
* Copyright (c) 2006 eSumTech Co., Ltd. All Rights Reserved.
*/
package com.esum.wp.ebms.ssltrustlist.dao;
import java.util.List;
import com.esum.appframework.dao.IBaseDAO;
import com.esum.appframework.exception.ApplicationException;
/**
*
* @author heowon@esumtech.com
... |
package com.bridgelabz.censusAnalyser.service;
public class CsvBuilderFactory {
public static CSV_Interface createCsvInterface() {
return new com.bridgelabz.censusAnalyser.service.OpenCSV();
}
}
|
package a3.utility;
import aiantwars.EAction;
import aiantwars.EAntType;
import aiantwars.ILocationInfo;
import a3.algorithm.model.Node;
import a3.memory.model.Tile;
import aiantwars.impl.Location;
import static java.lang.Math.abs;
import java.util.Random;
/**
* @author Tobias Jacobsen
*/
public class Calc {
p... |
package HelloWorld;
/**
* Created by llu1 on 9/8/2016.
*/
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
@WebService(targetNamespace = "http://test.com/",name = "HelloWorld")
public interface HelloWorld {
@WebMethod(operationName = "sayHello")
... |
/*
* Test 3:
*
* Si controlla l'errore che deve essere inviato quando si omette la keyword
* CLASS.
* Il Parser fa in modo che tale keyword venga considerata.
*/
package pippo;
public
nomeclasse {
int a;
void s() {}
}
|
package com.gt.supertier.business.user.entitiy;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "groups")
public class Group {
@Id @GeneratedValue(strategy = GenerationType.IDENTITY)
Integer id;
@Column(length = 30)
private String name;
public Integer getId() {
... |
package com.edu.realestate.dao;
import com.edu.realestate.model.House;
public interface HouseDao extends AbstractDao<House> {
}
|
package com.pibs.bo.impl;
import java.util.HashMap;
import java.util.Map;
import com.pibs.bo.RptEquipmentBo;
import com.pibs.dao.EquipmentDao;
public class RptEquipmentBoImpl implements RptEquipmentBo {
private EquipmentDao equipmentDao;
public EquipmentDao getEquipmentDao() {
return equipmentDa... |
package de.sfn_kassel.javabeam.util;
public class SpriteType {
public static final byte CMD_DRAW_PIXEL = 0x01;
public static final byte CMD_DRAW_RECTANGLE = 0x02;
public static final byte CMD_DRAW_LINE = 0x03;
public static final byte CMD_DRAW_CIRCLE = 0x04;
public static final byte CMD_DRAW_TEXT = 0x05;
publi... |
package com.zc.pivas.docteradvice.syndatasz.message.req.ESBEntry;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
/**
*
* ESB查询bean
*
* @author cacabin
* @version 0.1
*/
@XmlAccessorType(XmlAccessType.... |
package com.algorithm.list;
public class DeleteNode {
public static ListNode deleteNode(ListNode head, int val) {
ListNode pre = new ListNode(0);
pre.next = head;
ListNode result = pre;
while(pre!=null){
if(pre.next.val == val){
ListNode temp = pre.nex... |
package com.dg.android.lcp.activities;
import java.net.URLEncoder;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
im... |
package br.edu.ifpb.bdnc.projeto.dao.impl;
import br.edu.ifpb.bdnc.projeto.dao.interfaces.UsuarioDAO;
import br.edu.ifpb.bdnc.projeto.entidades.Sexo;
import br.edu.ifpb.bdnc.projeto.entidades.Usuario;
import br.edu.ifpb.bdnc.projeto.services.impl.CaronaServiceImpl;
import br.edu.ifpb.bdnc.projeto.services.interfaces.C... |
package inline_setup;
import first.domain.Customer;
import first.domain.Rental;
import org.junit.Before;
import org.junit.Test;
import replace_loop_with_individual_test.ObjectMother;
import java.util.List;
import static org.junit.Assert.assertEquals;
public class CustomerTest {
@Test
public void davidStat... |
/*
* 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.mycompany.serpientesescaleras.imagenes;
import java.awt.Image;
import javax.swing.*;
/**
*
* @author nroda
*/
public cl... |
/*
* 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.burgosanchez.tcc.venta.ejb;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import ja... |
package edu.duke.ra.core.query;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import antlr.collections.AST;
import edu.duke.ra.core.RAException;
import edu.duke.ra.core.db.DB;
import edu.duke.ra.core.result.ErrorResult;
import edu.duke.ra.core.result.IQueryResult;
import edu.duke.ra... |
/*
* 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 PO.saldoFranqSist;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
impor... |
package com.gxjtkyy.standardcloud.common.domain.dto;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import java.util.Date;
/**
* 文档基础类
* @Package com.gxjtkyy.domain.dto
* @Author lizhenhua
* @Date 2018/5/28 14:45
*/
@Setter
@Getter
@ToString(ca... |
package main.java;
public class Duel extends Jouer {
public Duel() {
}
/**
* Méthode pour générer un nombre aléatoire entre un minimum et un maximum qui ne sont pas compris dedans (min < x < max)
* @param min Valeur minimum à trouver
* @param max Valeur maximum à trouver
* @return Reto... |
package testherencia4;
/**
* @author Javier
*/
public class autobus extends vehiculo{
int numeroPlazas;
public autobus() {
}
public autobus(String ma, String mo, int p, int np) {
super(ma, mo, p);
setNumeroPlazas(np);
}
public void mostrar() {
super.mostrar();
... |
package com.soldevelo.vmi.tester;
import com.soldevelo.vmi.config.Configuration;
import com.soldevelo.vmi.config.ConfigurationException;
import com.soldevelo.vmi.config.parameters.Parameters;
import com.soldevelo.vmi.tester.communication.RegisterProducer;
import com.soldevelo.vmi.tester.ftp.FtpComponent;
import com.so... |
package co.sblock.events.listeners.entity;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.ExpBottleEvent;
import co.sblock.Sblock;
import co.sblock.events.listeners.SblockListener;
/**
* Listener for ExpBottleEvents.
* <p>
* Since Sblock allows bottling experience for 11 exp and an empty bot... |
package ru.snake.tools.checkstyle.pattern;
import java.util.HashMap;
import java.util.Map;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
/**
*
* @author snake
*
*/
public class ParameterPatternTest {
private Map<String, String> parameters;
... |
package edu.rosehulman.defaritl.weatherpics;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.media.Image;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
impo... |
/*
* 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 bbdd;
/**
*
* @author JD
*/
public class EntradaReducida extends Entrada{
public EntradaReducida(String id, Sesion ses... |
package com.android.gestiondesbiens.model;
public class Transactions {
private int itemId;
private String itemCode;
private String itemDateCreated;
private String itemName;
private String itemSpecification;
private int centerSrcId;
private String centerSrcName;
private String salleSrcName;
private String per... |
/*
* (C) Copyright 2018 Fresher Academy. All Rights Reserved.
*
* @author viettn.admin
* @date Apr 20, 2018
* @version 1.0
*/
package edu.fa.service;
import java.util.List;
public class TrainingService {
public void evaluateJunior(List<String> courses) {
System.out.println("Evaluate junior");
}
publi... |
package com.citibank.ods.modules.client.classcmplc.functionality.valueobject;
//
//©2002-2007 Accenture. All rights reserved.
//
/**
* [Class description]
*
* @see package
* com.citibank.ods.modules.client.classcmplc.functionality.valueobject;
* @version 1.0
* @author gerson.a.rodrigues,Mar 13,... |
package com.cashplk;
import com.cashplk.dao.ChatIdMongodbDAO;
import com.facishare.storage.mongodb.MongoDBTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
/**
* Created by zhaoyf
* 2015/11/4
*/
@ContextConfiguration(locations = {... |
package com.esum.backup.table;
import java.util.List;
import com.esum.backup.BackupScheduler;
import com.esum.framework.FrameworkSystemVariables;
import com.esum.framework.common.sql.Record;
import com.esum.framework.common.util.Convertor;
import com.esum.framework.core.component.ComponentException;
import com.esum.f... |
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
public cl... |
/*
* 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 petweb.entidades;
import java.util.Date;
/**
*
* @author Marcelo
*/
public class Atendimento {
private Long id;
... |
package com.deepak.catalog.service;
import com.deepak.catalog.model.Item;
import org.springframework.stereotype.Component;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Collection;
/**
* Deepak Singhvi
*/
public interface ItemService {
public Collection<Item> getAllItems();
public... |
package com.example.thang.moviehype;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
import android.view.View;
import android.wid... |
//package co.bucketstargram.dao;
//
//import java.sql.Connection;
//import java.sql.PreparedStatement;
//import java.sql.ResultSet;
//import java.sql.SQLException;
//
//import javax.naming.Context;
//import javax.naming.InitialContext;
//import javax.sql.DataSource;
//
//public class LoginDao {
// private D... |
package com.delrima.webgene.arch.client.validation;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;
import com.delrima.webgene.arch.client.utils.GWTFrameworkLogger;
import com.google.gwt.user.client.ui.ChangeListener;
import com.google.gwt.user.client.ui.Widget;
/**
* ... |
package com.shahinnazarov.gradle.models.k8s;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonPropertyOrder(
{
"medium",
"sizeLimit"
}
)
public final class PodVolumeEmptyDir<R extends DefaultK8sObject>... |
/*
* @(#) PkiStore.java
* Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved.
*/
package com.esum.wp.ims.pkistore;
import com.esum.wp.ims.pkistore.base.BasePkiStore;
public class PkiStore extends BasePkiStore {
private static final long serialVersionUID = 1L;
// DataBase Flag
private String dbType;
// ... |
package com.adventurpriseme.castme;
import com.adventurpriseme.castme.ChromeCastMgr.IChromeCastMessage;
/**
* This class is used to interface with the receiver app via {@link com.adventurpriseme.castme.ChromeCastMgr.CCastChannel}
* <p/>
* Created by Timothy on 11/24/2014.
* Copyright 11/24/2014 adventurpriseme.co... |
package Painter;
//import java.awt.Graphics;
import java.awt.Point;
import java.io.File;
//import org.openstreetmap.osm.data.coordinates.LatLon;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openstreetmap.osm.data.MemoryDataSet;
import org.openstreetmap.osm.io.F... |
//import com.sun.jersey.api.client.config.ClientConfig;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
public class ClientApp {
static public void main( String[] args )
throws Exception {
... |
package com.nt.dao;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataAccessException;
import org.sp... |
package com.java.loops;
public class BreakExample {
public static void main(String[] args) {
int num =0;
while(num <= 100) {
System.out.println(num);
if (num == 5) {
break;
}
num ++;
}
System.out.println("Out of the loop");
System.out.println("One");
System.out.println("Two");
... |
package Problem_16235;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.PriorityQueue;
public class Main {
static int N,M,K;
static int[][] A, Y;
static PriorityQueue<pair> trees = new Prio... |
package com.god.gl.vaccination.util;
import android.app.Activity;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.res.Configuration;
import android.util.DisplayMetrics;
import android.view.WindowManager;
import android.view.inputme... |
package model;
public class MovieVO {
private int seq_PID;
private String title;
private String genre1;
private String genre2;
private String genre3;
private String director;
private String actor1;
private String actor2;
private String actor3;
private String actor4;
private String production;
private Strin... |
package vehicles.interf.interfimpl.transport;
import vehicles.interf.Move;
import vehicles.interf.Swim;
import vehicles.interf.interfimpl.transport.Car;
/**
* Created by kleba on 16.03.2018.
*/
public class Amphibian extends Car implements Swim,Move {
public Amphibian(int x1, int y1, int x2, int y2, double pri... |
package com.cheese.radio.ui.demo.coordinatorLayout.fragment;
import com.cheese.radio.base.cycle.BaseFragment;
/**
* Created by 29283 on 2018/4/20.
*/
public class DemoFragment extends BaseFragment<DemoFragmentModel> {
}
|
package com.wangzhu.strategy.service.impl;
import com.wangzhu.strategy.bean.StrategyEnum;
import com.wangzhu.strategy.service.IStrategyService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
@Service
public class HighStrategyServiceImpl implements IStrategyServ... |
package com.example.uberclone;
import androidx.annotation.NonNull;
import androidx.appcompat.app.ActionBarDrawerToggle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.drawerlayout.widget.DrawerLayout;
import com.google.android.material.navigation.NavigationView;
import com.parse.LogInCallback;
impor... |
/*
* Copyright © 2020-2022 ForgeRock AS (obst@forgerock.com)
*
* 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... |
package io.ceph.rgw.client.model;
/**
* Created by zhuangshuo on 2020/3/23.
*/
abstract class BaseBucketResponse implements BucketResponse {
private final String bucketName;
BaseBucketResponse(String bucketName) {
this.bucketName = bucketName;
}
public String getBucketName() {
retur... |
package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import com.alibaba.druid.PoolTestCase;
import junit.framework.TestCase;
import org.junit.Assert;
import com.alibaba.druid.pool.DruidDataSource;
public class C... |
package com.dx.decorater;
/**
* Created by dx on 2017/3/30.
* 具体构件角色:定义一个将要接受附加责任的类
*/
public class AmericanGirl extends Girl {
public String getDescription() {
return "+American";
}
}
|
/*
* Copyright (C) 2018 The Android Open Source Project
*
* 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 app... |
package com.platform.domain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import javax.persistence.*;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import java.util.Objects;
/**
*... |
package com.cyhz_common_component_activity;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
public class CCA_SystemAlbum extends CCA_BaseActivity
{
private static final int REQUESTCODE = 2;
pub... |
// license-header java merge-point
//
// Attention: Generated code! Do not modify by hand!
// Generated by: ValueObject.vsl in andromda-java-cartridge.
//
package com.git.cloud.cloudservice.model.vo;
import com.git.cloud.common.model.base.BaseBO;
/**
*
*/
public class ScriptModelVO extends BaseBO imple... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.