text stringlengths 10 2.72M |
|---|
package ch.ethz.geco.t4j.internal.json;
import reactor.util.annotation.NonNull;
import reactor.util.annotation.Nullable;
import java.util.List;
/**
* Represents an error object, you'll encounter in API responses.
*/
public class ErrorObject {
public List<SingleErrorObject> errors;
public static class Sing... |
package com.phila.samergigabyte.philabooksx;
/**
* Created by SamerGigaByte on 27/11/2015.
*/
public class OnlineBook extends Book {
String bookUrl;
}
|
package old.DefaultPackage;
public class Code04 {
public static String convert(String s, int numRows) {
char[] str = s.toCharArray();
StringBuffer[] sb = new StringBuffer[numRows];
for(int i = 0; i < sb.length; ++i) {
sb[i] = new StringBuffer();
}
int i = 0;
while(i < str.length) {
for(int j = 0; j ... |
package mbd.student.gurukustudent.model.student;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Naufal on 08/03/2018.
*/
public class UpdateProfileResponse {
@SerializedName("status")
@Expose
private Integer status;
@SerializedName("me... |
package org.vaadin.peter.contextmenu;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.EventListener;
import java.util.EventObject;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;... |
package net.sf.throughglass.templates;
import android.graphics.Bitmap;
/**
* Created by yowenlove on 14-8-20.
*/
public interface IFragmentInfo {
String onGetTitle();
String onGetSubTitle();
Bitmap onGetIcon();
}
|
package edu.colostate.cs.cs414.soggyZebras.rollerball.Wireformats;
import edu.colostate.cs.cs414.soggyZebras.rollerball.Game.Location;
import edu.colostate.cs.cs414.soggyZebras.rollerball.Game.Piece;
import java.io.*;
import java.util.Base64;
import java.util.Map;
public class ServerRespondsGameState implements Eve... |
package lxy.liying.circletodo.ui;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import cn.bmob.v3.BmobQuery;
import cn.bmob.v3.BmobUser;
import cn.bmob.v3.exception.BmobExcep... |
package com.hcg.web.Vo;
public class PageResp {
public Integer ErrorCode; //-1 代表系统错误 0代表请求成功 1 代表请求成功返回错误异常
public String msg;
public Object object;
public Integer getErrorCode() {
return ErrorCode;
}
public void setErrorCode(Integer errorCode) {
ErrorCode = errorCode... |
package adcar.com.adcar;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;
import adcar.com.utility.Strings;
import adcar.com.utility.Utility;
/**
* Created by aditya on 07/03/16.
*/
public class BootReceiv... |
package pro.likada.util.converter;
import pro.likada.model.Trailer;
import pro.likada.service.TrailerService;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.FacesConverter;
/**
* Created by abuca on 10.03.17.
*/
@F... |
package it.unibs.pajc;
import java.io.*;
import java.net.*;
import java.util.Vector;
public class ServerBS //extends Thread
{
ServerSocket server;
private Vector <Socket> players = new Vector<Socket>();
public static void main(String[] args)
{
new ServerBS();
}
public ServerBS() //costruttore
{
int ... |
/*
* Copyright 2002-2020 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.zc.pivas.checktype.dao;
import com.zc.base.orm.mybatis.annotation.MyBatisRepository;
import com.zc.base.orm.mybatis.paging.JqueryStylePaging;
import com.zc.pivas.checktype.bean.CheckTypeBean;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 核对类型DAO
*
* @author k... |
package interfaceExample;
public abstract class Animal extends Being {
public abstract String communicate();
private Human pOwner;
public Animal(int mspeed,String name, int i, int j, boolean b) {
super(mspeed,name,i,j,b);
}
public Animal(int maxSeed, String name, int i, int j,Boolean b, Human pOwner2) {
sup... |
package com.application.sqlite;
import android.content.ContentResolver;
import android.net.Uri;
import android.provider.BaseColumns;
/**
* <b>Description:</b></br>DBConstants : Table Names, Column Names, Index Names & Content Provider URI</br>
* @author Vikalp Patel(VikalpPatelCE)
*/
public class DBConst... |
/**
*
*/
package eu.fbk.dycapo.factories.json;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.util.Log;
import eu.fbk.dycapo.exceptions.Dycap... |
package com.dabis.trimsalon;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.dabis.trimsalon.ui.TrimsalonKlantFrame;
public class DeTrimsalon {
/**
* Create the GUI and show it. For thread safety,
... |
package Pattren;
import java.util.Scanner;
public class AlphaPatt {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int n=in.nextInt();
int k=1;
for(int i=1;i<=n;i++){
for(int j=1;j<=n;j++,k++){
System.out.print((char)(k+64)+" ");
}
System.out.println();
}
}
}
|
package com.yoke.poseidon.web.itemShow.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yoke.poseidon.web.itemShow.cache.RedisCache;
import com.yoke.poseidon.web.itemShow.entity.PanelContent;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;
impo... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Threads;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author rm
*/
public class WaitAndModify {
public static void main(String[] ar... |
package C9;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Scanner;
public class E32 {
public static HashMap<Edge, Boolean> visitedEdgeMap = new HashMap<>();
public static Graph initGraph() {
String[] edges = {
"1 3 1", "1 4 1",
"2 3 1", "2 8 1",
... |
package com.romens.yjkgrab.utils;
import android.util.Log;
import com.avos.avoscloud.AVObject;
import com.romens.yjkgrab.model.Customer;
import com.romens.yjkgrab.model.Order;
import com.romens.yjkgrab.model.Product;
import com.romens.yjkgrab.model.Shop;
public class AnalysisHelper {
public static class OrderHel... |
/*
* Created on 20/08/2008
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package com.citibank.ods.modules.product.prodassettype.functionality.valueobject;
import com.citibank.ods.entity.pl.TplProdAssetTypeEntity;
/**
... |
package model;
import contract.IDoor;
import view.Lorann;
/**
*
* @author Guillaume Woreth, Luca Borruto, Ahmed Ben Mbarek
*
*/
public class Door implements IDoor {
/**
* Instanciate door to open and finish level
*/
private int _DoorY;
private int _DoorX;
public boolean KeyState = true;
public Door(){
... |
package readwrite.read;
import models.Performance;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class PerformanceReader extends Reader<Performance> {
private static List<Performance> performanceList = new ArrayList<>();
public static void readData() {
Pe... |
package exception;
import java.sql.SQLException;
/**
* 数据库操作异常类
* @author cdh 2017-08-01
*
*/
public class DataHandleException extends SQLException{
private static final long serialVersionUID = 1L;
public DataHandleException(String e){
super(e);
}
}
|
/*
* Created on 2005-8-22
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.aof.webapp.action.prm.report;
import java.io.FileInputStream;
import java.text.DateFormat;
import java.text.NumberFormat;
import java.text.SimpleDateFo... |
import java.util.Scanner;
/**
* Created by 17032361 on 2017/8/21.
* 求考试成绩最高分
*/
public class chapter5_7_1 {
public static void main(String[] args){
Scanner in = new Scanner(System.in);
int[] arr = new int[5];
for (int i=0;i<arr.length;i++){
System.out.println("请输入第"+(i+1)+"的学生... |
package pojo.businessObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import pojo.DAO.*;
import pojo.valueObject.assist.MessageReceiverVO;
import pojo.valueObject.domain.*;
import tool.... |
/**
*
*/
package com.fixit.core.data.sql;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
... |
package com.dian.diabetes.activity.user;
import java.util.HashMap;
import java.util.Map;
import org.json.JSONException;
import org.json.JSONObject;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.text.Editable;
import android.text.TextWatcher;
import androi... |
package com.rndapp.t.fragments;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android... |
package com.ggwork.net.socket;
import com.qfc.yft.CimConsts;
import com.qfc.yft.utils.APIDesUtils;
import com.qfc.yft.utils.JackUtils;
import com.qfc.yft.vo.SystemParams;
/**
* socket消息协议
*
* @author zw.bai
* @date 2013-5-10下午3:40:15
*/
public class SocketProtocol {
public final String SOCKET... |
class Quadratic
{
public void quadraticRoots(int a,int b,int c)
{
double a1=a;
double b1=b;
double c1=c;
double d=(b1*b1)-(4*a1*c1);
if(d<0)
{
System.out.print("Imaginary");
}
else
{
double r1=(-b1... |
package com.ilecreurer.drools.samples.sample2.conf;
import org.junit.jupiter.api.Test;
import org.kie.api.KieBase;
import org.kie.api.runtime.KieContainer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import static org.assertj.core.api.Ass... |
package ru.chertenok.weather.niceweather;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v4.app.TaskStackBuilder;
import android.view.Gravity... |
// Fig. 5.11: PruebaBreak.java
// Terminación de un ciclo con break.
import javax.swing.JOptionPane;
public class PruebaBreak {
public static void main( String args[] )
{
String salida = "";
int cuenta;
for ( cuenta = 1; cuenta <= 10; cuenta++ ) { // iterar 10 veces
if ( cuenta == 5 ) { // si cuenta vale... |
package net.minecraft.world.level.chunk;
public class DataLayer {
public final byte[] data;
private final int depthBits;
private final int depthBitsPlusFour;
public DataLayer(final int length, final int depthBits) {
data = new byte[length >> 1];
this.depthBits = depthBits;
depthBitsPlusFour = dep... |
package dk.jrpe.monitor.source.httpaccess.simulate;
import java.util.ArrayList;
public class SimulationConstants {
public static final ArrayList<String> HTTP_STATUS_LIST;
static {
HTTP_STATUS_LIST = new ArrayList<>();
HTTP_STATUS_LIST.add("200");
HTTP_STATUS_LIST.add("200");
... |
package br.edu.ufcspa.isolationapp.control;
import android.app.Fragment;
import android.os.Build;
import android.os.Bundle;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.text.util.Linkify;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.Vie... |
package edu.uag.iidis.scec.vista;
import java.util.Collection;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.ValidatorForm;
/**
* Form bean pa... |
package com.alibaba.druid.bvt.filter.wall;
import junit.framework.TestCase;
import org.junit.Assert;
import com.alibaba.druid.wall.WallContext;
import com.alibaba.druid.wall.WallFunctionStat;
import com.alibaba.druid.wall.WallProvider;
import com.alibaba.druid.wall.WallTableStat;
import com.alibaba.druid.wall.spi.My... |
package jthrift;
public class TConst extends TDoc {
private TType type;
private Id name;
private TConstValue value;
public TConst(TType type, Id name, TConstValue value) {
this.type = type;
this.name = name;
this.value = value;
}
public Id getName() { return name; }
} |
package com.masuikvova.wallet.Screens.Add;
public interface AddView {
void showError();
void showConfirm();
}
|
/**
*
*/
package org.artifact.security.service;
import java.util.List;
import org.artifact.security.dao.RoleDao;
import org.artifact.security.domain.Role;
import org.artifact.security.domain.RolePermission;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereot... |
package de.kfs.db.structure;
public class InformationWrapper {
/**
* This class wraps specific information about a Bike such as
* frame height, tire diameter, manufacturer
* and has utility to return these values into different types
* of Tables
*/
private String manufacturer;
pr... |
package ua.com.rd.pizzaservice.service.customer;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context... |
package com.bruce.singleton.type1_ehanshi;
public class SingletonTest01 {
public static void main(String[] args) {
//todo more logics
Singleton s1=Singleton.getInstance();
Singleton s2=Singleton.getInstance();
System.out.println(s1==s2);
System.out.println(s1.hashCode()+".."+s2.hashCode());
}
}
class ... |
package com.cn.service.impl;
import java.io.Serializable;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.cn.dao.UserDaoInterface;
import com.cn.domain.Users;
import com.cn.service.UserServiceInterface;
@Servic... |
package by.realovka.diploma.service;
import by.realovka.diploma.entity.User;
import by.realovka.diploma.repository.UserRepository;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import static o... |
package no.ntnu.stud.ubilearn.fragments.practise;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import java.util.Locale;
import no.ntnu.stud.ubilearn.R;
import no.ntnu.stud.ubilearn.db.PractiseDAO;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android... |
package com.sinodynamic.hkgta.dao.crm;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import org.hibernate.HibernateException;
import com.sinodynamic.hkgta.dao.IBaseDao;
import com.sinodynamic.hkgta.dto.crm.DaypassPurchaseDto;
import com.sinodynamic.hkgta.entity.crm.ServicePlan;
import co... |
package controlador;
public class GenerarTiempoEstClienteHabSimple {
}
|
/*
* 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 demoalchemy;
import com.ibm.watson.developer_cloud.alchemy.v1.AlchemyVision;
import com.ibm.watson.developer_cloud.alc... |
package com.example.demoNew.Controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.sp... |
package com.awakenguys.kmitl.ladkrabangcountry;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.widget.Toast;
import com.awakenguys.kmitl.ladkrabangcountry.model.User;
public class Profile extends Activi... |
package com.legaoyi.protocol.down.messagebody;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.legaoyi.protocol.message.MessageBody;
/**
* 音视频回放控制
*
* @author <a href="mailto:shengbo.gao@gmail.c... |
package yinq.userModule;
import java.lang.reflect.InvocationTargetException;
import yinq.Request.HttpRequestManager;
import yinq.Request.HttpRequestObservice;
import yinq.userModule.requests.UserInfoRequest;
import yinq.userModule.requests.UserLoginRequest;
/**
* Created by YinQ on 2018/11/29.
*/
public class Use... |
package com.bslp_lab1.changeorg.configuration;
import com.bslp_lab1.changeorg.DTO.PetitionDTO;
import com.bslp_lab1.changeorg.DTO.ResponseMessageDTO;
import com.bslp_lab1.changeorg.DTO.SubscribersDTO;
import com.bslp_lab1.changeorg.DTO.UserDTO;
import com.bslp_lab1.changeorg.beans.*;
import org.springframework.contex... |
package f.star.iota.milk.ui.acg17.acg;
import android.os.Bundle;
import f.star.iota.milk.base.ScrollImageFragment;
public class ACG17Fragment extends ScrollImageFragment<ACG17Presenter, ACG17Adapter> {
public static ACG17Fragment newInstance(String url) {
ACG17Fragment fragment = new ACG17Fragment();... |
package io.jenkins.plugins.audit.filter;
import hudson.Extension;
import hudson.init.Initializer;
import hudson.model.User;
import hudson.util.PluginServletFilter;
import org.apache.logging.log4j.ThreadContext;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import ja... |
package com.zhanwei.java.classloader;
public class App {
@Override
public String toString() {
// TODO Auto-generated method stub
return "App{}";
}
}
|
package ua.dao;
import ua.domain.Category;
import java.util.List;
public interface CategoryDAO {
void add(Category category);
void delete(long id);
Category findOne(long id);
List<Category> list();
byte[] getPictureBody(long id);
}
|
package org.linphone;
import android.app.Dialog;
import android.content.Intent;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.content.ContextCompat;
import android.support.v7.app... |
package objetos.powerUps;
import movimiento.Posicion;
import objetos.aeronaves.Algo42;
import objetos.armas.Arma;
import objetos.armas.LaserCannon;
/*
* Clase que modela los power up que dan un ca��n laser de beneficio.
*/
public class DeLaser extends PowerUp {
private LaserCannon arma;
public DeLas... |
package car_rent.rent;
public enum CarSegment {
BASIC, PREMIUM, VIP, TRANSPORT
}
|
/*
* @(#) EbmsRoutingInfoService.java
* Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved.
*/
package com.esum.wp.ebms.ebmsroutinginfo.service.impl;
import org.apache.commons.lang.StringUtils;
import com.esum.appframework.exception.ApplicationException;
import com.esum.appframework.service.impl.BaseServic... |
package com.jme.puer.backoffice.dao;
import java.util.List;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;
public interface IBaseMapperDao<E, PK> extends IBaseMapper {
/**
* @description 详细说明
* @param e
*/
@Options(useGeneratedKeys = true, keyProperty = "id")
void... |
package com.example.crizma_pclaptop.pencil;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
/**
* Created by CRIZMA_PC&LAPTOP on 10/06/2018.
*/
public class networkconfig {
private static Retrofit retrofit;
private networkconfig() {
}
public static Retr... |
package Business_Layer.UserManagement;
import Business_Layer.Trace.PersonalPage;
public class Coach extends Subscription {
PersonalPage PersonalPage;
protected String qualification;
public void setPersonalPage(Business_Layer.Trace.PersonalPage personalPage) {
PersonalPage = personalPage;
}
... |
package com.cskaoyan;
/**
* @Author : zjf
* @Date : 2019/6/5 下午 03:32
*/
public class AliveUser {
private static final ThreadLocal<String> thread = new ThreadLocal<>();
public static void setThread(String userName){
thread.set(userName);
}
public static String getThread(){
return thr... |
package com.example.projetpfebam.controller;
import com.example.projetpfebam.exception.ResourceNotFoundException;
import com.example.projetpfebam.model.*;
import com.example.projetpfebam.repository.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
impor... |
package com.sevenfive.assignment4.auth;
import com.sevenfive.assignment4.DAO;
import com.sevenfive.assignment4.auth.models.User;
import java.util.HashMap;
import java.util.Map;
public class Auth implements IAuthentication {
private static final String TAG = Auth.class.getSimpleName();
private final Map<Stri... |
package object.simulation;
public class ResultsDataEntry {
private int iteration;
private int specimen;
private double energy;
private double discomfort;
private double cost;
ResultsDataEntry(int iteration, int specimen, double energy, double discomfort, double cost) {
this.iteration = iteration;
this.spec... |
// Copyright 2017 Google 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 in w... |
package com.codingchili.instance.model.npc;
import com.codingchili.core.context.CoreRuntimeException;
/**
* @author Robin Duda
*
* Thrown when an npc is not found.
*/
public class NoSuchEntityException extends CoreRuntimeException {
public NoSuchEntityException(String id) {
super("Entity with the giv... |
package cn.edu.cqut.util;
import com.google.common.collect.Lists;
import java.util.Collections;
import java.util.List;
import java.util.Map;
public class CustomResult extends CrmResult<Map<String, Object>> {
public CustomResult() {
}
public CustomResult(List<JsonJ> data) {
setJsonJ(data);
}... |
package pom;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
public class TestClase4 {
private WebDriver driver;
Levis_Page levis;
@Before
public void setUp() throws Exception {
levis=new Levis_Page(driver);
driv... |
package com.tdr.registrationv3.utils;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.request.animation.GlideAnimation;
import com.bumptech.glide.request.target.... |
package com.delaroystudios.alarmreminder;
import android.animation.Animator;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.app.LoaderManager;
import android.app.ProgressDialog;
import android.content.ContentUris;
import android.content.Context;
import android.content.CursorLoad... |
package com.sapl.retailerorderingmsdpharma.MyDatabase;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteStatement;
import com.sapl.retailerorderingmsdpharma.activities.MyApplication;
import org.json.JSONArray;
import org.json.JSONException;
import or... |
package com.pinyougou.shop.controller;
import com.alibaba.dubbo.config.annotation.Reference;
import com.github.pagehelper.PageInfo;
import com.pinyougou.pojo.TbBrand;
import com.pinyougou.pojo.TbSpecification;
import com.pinyougou.sellergoods.service.BrandService;
import com.pinyougou.sellergoods.service.Specification... |
package hello;
import java.util.Scanner;
public class hello0 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner in = new Scanner(System.in);
System.out.println("1¡¢hello1");
System.out.println("2¡¢hello2");
System.out.println("3¡¢hello3");
S... |
package com.example.finalproject;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.Spinner;
import android.widget.TextView;
import android.wi... |
/*
* Copyright (c) 2013-2014, Neuro4j.org
*
* 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 applicab... |
package com.jeffdisher.thinktank.crypto;
import java.nio.ByteBuffer;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.util.Base64;
import java.util.UUID;
/**
* Inspired by JWT (JSON Web Token), but far simpler and specific to ThinkTank uses. May later be replaced by JWT but
* there is ... |
package com.doterob.transparencia.connector.contract.extractor.local.scq;
/**
* Created by dotero on 07/05/2016.
*/
public interface ScqPDFRowConstants {
public static final int ROW_1 = 180;
public static final float STEP = 42.5f;
public static final int ROWS = 8;
public static final int[] PHASES = ... |
package com.avalon.coe.backward;
import com.avalon.coe.Producer;
import org.apache.avro.Schema;
import org.apache.avro.generic.GenericData;
import org.apache.avro.generic.GenericRecord;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.IOExcep... |
package com.gaoshin.appbooster.service;
import com.gaoshin.appbooster.entity.Application;
import com.gaoshin.appbooster.entity.ApplicationType;
public interface AppResolver {
Application getApplication(String id);
ApplicationType getType();
}
|
package com.sshfortress.common.huanxinutil;
public class entity {
private String uuid;
private String type;
private String created;
private String modified;
private String username;
private String activated;
private String nickname;
public String getUuid() {
return uuid;
}
public void setUu... |
package com.yoga.controller;
import java.sql.Timestamp;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.... |
package presz.bddtdd.tests.java.process;
public enum RetourVirement {
Ok,
SoldeDepasse,
PlafondDepasse,
Ko
}
|
package org.littlewings.infinispan.embedded.server.rest.test;
import org.littlewings.infinispan.embedded.server.rest.EnableInfinispanEmbeddedRestServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
@EnableInfinispanEmbed... |
package exercicio05;
public class IngressoNormal extends Ingresso
{
IngressoNormal(float valorIngresso)
{
super(valorIngresso);
// TODO Auto-generated constructor stub
}
public void total()
{
System.out.println("O valor do ingresso e: "+this.getValorIngresso());
}
}
|
/**
* Este paquete contiene la definicion de beans.
*/
package org.athento.nuxeo.rm.bean; |
/*
* Copyright (c) 2015 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.db.test;
import org.junit.Assert;
import org.junit.Test;
import com.fasterxml.jackson.databind.node.ObjectNode;
import pl.edu.icm.unity.types.I18nString;
import pl.... |
package drivetrain;
public class TankDriveControl extends DriveControl{//control robot in tank mode
private static TankDriveControl tankdrivecontrol; //singleton instance
private TankDriveControl() {
}
public static TankDriveControl getInstance(){ //get singleton instance
if(tankdrivecontrol == null) {
tan... |
package controller;
import java.util.ArrayList;
import java.util.Calendar;
import model.ReplyMaterialDTO;
public class ReplyMaterialController {
private ArrayList<ReplyMaterialDTO> list;
private int id;
public ReplyMaterialController() {
id = 1;
list = new ArrayList<>();
... |
package com.sunrj.application.System.dao;
import java.util.List;
import java.util.Map;
public interface ssmTestDao {
public List<Map<String,Object>> testMapper();
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.