text stringlengths 10 2.72M |
|---|
/*
* Copyright 2016 TeddySoft Technology. All rights reserved.
*
*/
package tw.teddysoft.gof.Adapter;
import java.util.List;
public interface AgentModelContext {
void setAgent(Agent agent);
Agent getAgent();
void addAcceport(Acceptor acceptor);
Acceptor getAcceptor(String key);
List<Acceptor> getAcceptors();... |
package com.huffingtonpost.chronos.model;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import org.apache.log4j.Logger;
import org.joda.time.DateTime;
public class JobSpec {
static final long serialVersionUID = 2L;
public static Logger LOG = Logger.getLogger(JobSpec.class);
publ... |
package src.server_main;
/*import java.io.InputStream;
import java.io.OutputStream;*/
public interface Public_Element {
public final int L_ERROR = 0;
public final int L_INFO = 1;
public final int L_DEBUG = 2;
public final int S_WRITE = 3;
public final int S_READ = 4;
public final int E_READ = -5;
public final ... |
import java.util.Scanner;
public class CalculateBattingStatistics {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
char idLoop = 'y';
while((idLoop == 'y')){
int numBatters = Validator.getInt(scan, "Enter number of batters: ", 1, Integer.MAX_VALUE);
int[][] statChart = ... |
/**
*
*/
package com.wordpress.gertonscorner.todo.dto;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
/**
* Todo sort transfer object. Contains the sorted list of todos
*
* @author Gerton
*
*/
public class TodoSortDTO implements Serializable {
/**
... |
package com.logzc.common.util;
import org.junit.Test;
/**
* Created by lishuang on 2016/9/28.
*/
public class PropertyUtilTest {
@Test
public void testGet(){
String url = PropertyUtil.getProperty("/com.logzc.webzic/logzc/webzic/config.properties","jdbc.url");
System.out.println(url);
... |
package com.ai.platform.agent.ssh;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */
/**
* This program will demonstrate the sftp protocol support.
* $ CLASSPATH=.:../build javac Sftp.java
... |
//
// Decompiled by Procyon v0.5.36
//
package com.ideabus.contec_sdk.code.bean;
public class e extends PieceData
{
}
|
package com.stackroute.service;
import com.mongodb.*;
import com.mongodb.client.MongoCollection;
import com.stackroute.domain.Questions;
import com.stackroute.exceptions.QuestionAlreadyExistsException;
import com.stackroute.repository.QuestionRepository;
import org.springframework.beans.factory.annotation.Autowired;
i... |
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* @author lichi
*/
public class Test {
public static void main(String[] args) throws IOException {
String msg = Test.check("00930811111");
System.out.print(msg);... |
package seven;
/**
* <li>1. Koncept klase/objekat</li>
* <p>OOP -> kreirajući objekte i relacije između </p>
* <li>2. Koncepti OOP jezika
* <li>2.1 Enkapsulacija</li>
* <li>2.2 Apstrakcija</li>
* <li>2.3 Nasljeđivanje</li>
* <li>2.4 Polimorfizma</li>
* </li>
*/
public class SevenExecutor {... |
package Service;
import Model.Staff;
import Repository.StaffRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.util.List;
public class StaffServiceIplm implements StaffService {
@Autowired
... |
package practico17.PageObject;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.Select;
import com.github.javafaker.Faker;
public class RegistrationPage extends BasePage{
public RegistrationPage(WebDriver remoteDriver){... |
package pl.lodz.uni.math.contactapp;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.provider.MediaStore;
import andro... |
package lk.egreen.booking.server.dao.impl;
import lk.egreen.booking.server.dao.AccountDAOController;
import lk.egreen.booking.server.entity.Account;
import org.springframework.stereotype.Repository;
/**
* Created by dew on 2/28/16.
*/
@Repository
public class AccountDAOControllerImpl extends AbstractDAOController<A... |
package StellarisDK.FileClasses.Helper;
import com.sun.javafx.scene.control.skin.LabeledText;
import javafx.scene.Node;
import javafx.scene.control.*;
import javafx.scene.input.ClipboardContent;
import javafx.scene.input.Dragboard;
import javafx.scene.input.KeyCode;
import javafx.scene.input.TransferMode;
public clas... |
package cn.rongcapital.mc2.me.ewq.api.dto;
public class CampaignQueuePullIn {
private String flowId;
private String nodeId;
public CampaignQueuePullIn() {}
public CampaignQueuePullIn(String flowId, String nodeId) {
this.flowId = flowId;
this.nodeId = nodeId;
}
public String getFlowId() {
... |
package me.ivt.com.ui.floatingactionbutton;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AppCompatActivity;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import java.util.ArrayList;
import java.util.List;
import me.ivt.com.ui... |
package br.com.mixfiscal.prodspedxnfe.services;
import br.com.mixfiscal.prodspedxnfe.dao.own.EmpresaDAO;
import br.com.mixfiscal.prodspedxnfe.dao.util.ConstroyerHibernateUtil;
import br.com.mixfiscal.prodspedxnfe.domain.nfe.ICMS10;
import br.com.mixfiscal.prodspedxnfe.domain.nfe.IPI;
import br.com.mixfiscal.prodspedxnf... |
package mandelbrot.gui;
// @author Raphaël
import geometry.StraightRectangle;
import java.awt.Dimension;
import java.awt.GraphicsDevice;
import java.lang.reflect.Field;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
im... |
package com.example.hp.googlebooks;
import android.app.DownloadManager;
import android.app.LoaderManager;
import android.content.Context;
import android.content.Intent;
import android.content.Loader;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.Uri;
import android.support.... |
package by.htp.count05.main;
public class CounterLogic {
public void decreaseCount(Counter counter) {
int count = counter.getCount();
while (count > counter.getMin()) {
count--;
}
counter.setCount(count);
}
public void increaseCount(Counter counter) {
int count = counter.getCount()... |
package com.javatunes.web;
import java.io.File;
import java.io.FileNotFoundException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.Scanner;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.ann... |
package com.saechimdaeki.chap07;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.Request... |
package com.example.demo.moduls.redis.service.impl;
import com.example.demo.moduls.redis.service.RedisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframew... |
/**
* 湖北安式软件有限公司
* Hubei Anssy Software Co., Ltd.
* FILENAME : PartnershipIdVo.java
* PACKAGE : com.anssy.inter.team.vo
* CREATE DATE : 2016-8-23
* AUTHOR : make it
* MODIFIED BY :
* DESCRIPTION :
*/
package com.anssy.inter.team.vo;
/**
* @author make it
* @version SVN #V1# #2016-8-23#... |
package frc.robot;
public class RobotState{
private static RobotState m_robotstate = null;
private RobotState(){
}
public State m_state = null;
public static RobotState getInstance(){
if(m_robotstate == null)
m_robotstate = new RobotState();
return m_robo... |
package artronics.gsdwn.networkMap;
import artronics.gsdwn.helper.FakePacketFactory;
import artronics.gsdwn.node.SdwnNode;
import artronics.gsdwn.packet.Packet;
import org.junit.Before;
import org.junit.Test;
import java.util.concurrent.BlockingQueue;
import static org.junit.Assert.assertEquals;
import static org.ju... |
package com.jic.libin.leaderus.study007;
import java.io.File;
import java.io.IOException;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.*;
import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.RecursiveTask;
import java.util.stream.Collectors;
/**
* Crea... |
package com.gaoshin.amazon;
import com.gaoshin.dao.jpa.DaoComponent;
public interface AwsDao extends DaoComponent {
}
|
import java.util.Scanner;
public class Yunsuan {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scanner = new Scanner(System.in);
System.out.println("تلبًa:");
int a = scanner.nextInt();
System.out.println("تلبًb:");
int b = scanner.nextInt();
if (a%b==0||a+b>1000) {
... |
package com.bupsolutions.polaritydetection.ml;
import com.bupsolutions.polaritydetection.model.Polarity;
public interface PolarityModel extends ClassificationModel<Polarity> {
void handleNegations(boolean flag);
}
|
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/**
* <p>Package contains classes of JTS3ServerQuery Library.</p>
* <p>You can visit <a href="https://www.stefan1200.de/forum/index.php?topic=10.0">HERE</a> for more information!</p>
*/
package de.stefan1200.jts3serverquery; |
package com.github.ytjojo.supernestedlayout.demo.nobehavior;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import com.github.ytjojo.supernestedlayout.demo.R;
/**
* Created by Administrat... |
package com.git.cloud.request.dao.impl;
import com.git.cloud.common.dao.CommonDAOImpl;
import com.git.cloud.request.dao.IVirtualExtendDAO;
/**
* 虚机扩容临时类
* @author huangrongsheng
* @version 1.0 2014-9-9
* @see
*/
public class VirtualExtendDAOImpl extends CommonDAOImpl implements IVirtualExtendDAO{
}... |
package com.wrathOfLoD.Models.Entity;
import com.wrathOfLoD.Models.Commands.ActionCommand;
import com.wrathOfLoD.Models.Commands.ActionCommandVendor;
import com.wrathOfLoD.Models.Commands.EntityActionCommands.DieCommand;
import com.wrathOfLoD.Models.Commands.EntityActionCommands.DropItemCommand;
import com.wrathOfLoD.... |
package pl.seafta.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import o... |
package com.example.in28mins.first.web;
@WebServlet(urlPatterns ="/login.do")
public class LoginServlet extends HttpServlet{
private UserValidationService service = new UserValidationService service();
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
... |
package model;
import java.awt.Image;
import javax.swing.ImageIcon;
/**
* Class Rock
* @author Group6
*
*/
public class Rock extends GraphicElements {
private int i=1;
/**
* Instantiates a rock
* @param x
* @param y
*/
public Rock(int x, int y) {
super(32,32, x, y);
super.icoOb... |
package com.romitus;
public interface Atacar {
public void atacarPersonaje(Personajes p1);
}
|
package com.gaoshin.top.plugin.dialer;
import android.view.View;
import com.gaoshin.top.ShortcutEditActivity;
public class CallShortcutEditActivity extends ShortcutEditActivity {
private CallShortcutEditor editor;
protected View getEditor() {
editor = new CallShortcutEditor(this);
... |
package com.ds.assignment2.app.dsAs2.Repositories;
import com.ds.assignment2.app.dsAs2.Model.Item;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface ItemRepository extends MongoRepository<Item, Integer> {
}
|
package com.dgt.tools.dgtviewer.model;
import java.util.Iterator;
/**
*
* @author Wayssen
*/
public interface MachineModelAccesor {
Iterator<MachineModel> getMachineModelIterator();
}
|
package com.role.game.constants;
public class RolePlayingGameConstants {
public static final String TAB = "\t";
public static final String SEPARATOR = ": ";
public static final String OPTION_SELECT = "Please choose one of the below options:";
public static final String INVALID_OPTION = "Sorry the option you have ... |
package br.com.lucro.manager.model;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.per... |
import javax.swing.JLabel;
import java.util.concurrent.TimeUnit;
/**
* Stopwatch.java
*
* @author Sebrianne Ferguson, Lovejit Kharod
* Last edited: November 19, 2018
* Purpose: to keep track of time for the drone game. Gets displayed at the top of the
* screen. Once the time in the stopwatch has reached... |
package deliver.model;
public class Order {
private int person_id;
private String orderName;
private String from;
private String destination;
private String note;
private String status;
public Order() {
}
public Order(String orderName, String from, String destination, String note... |
package com.example.uberv.jsonparsingdemo;
import java.util.List;
public class Entry {
Attribute name;
List<Attribute> image;
}
|
package org.softRoad.services;
import org.softRoad.exception.DuplicateDataException;
import org.softRoad.exception.ForbiddenException;
import org.softRoad.exception.InvalidDataException;
import org.softRoad.models.Fee;
import org.softRoad.security.Permission;
import javax.enterprise.context.ApplicationScoped;
import ... |
package servicenow.datamart;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import servicenow.api.DateTime;
import servicenow.api.Log... |
package classes;
import interfaces.DrawAPI;
/**
* @author dylan
*
*/
public class GreenCircle implements DrawAPI {
/*
* (non-Javadoc)
*
* @see interfaces.DrawAPI#drawCircle(int, int, int)
*/
@Override
public void drawCircle(int radius, int x, int y) {
System.out.println("Drawing Cir... |
package com.example.android.finalproject_yaocmengqid.SideMenu;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
import com.example.androi... |
package com.demo.mediacodec;
import com.demo.lib.av.DataSource;
import com.demo.mediacodec.R;
import android.app.Activity;
import android.content.res.Configuration;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import android.view.Surface;
import android.view.SurfaceHolder;
import a... |
package com.apps.dashboard.service;
import com.apps.dashboard.model.AppModel;
import java.util.List;
public interface FileReader {
List<AppModel> getAppDetails();
}
|
package com.example.reggiewashington.c196;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
im... |
package ivankar.parking.service;
import ivankar.parking.domain.Invoice;
import ivankar.parking.domain.Ticket;
/**
* Service for calculating parking fee.
* <p>
* Created by Ivan_Kar on 10/18/2016.
*/
public interface PricingService {
/**
* Calculates fee for provided parking ticket.
*
* @param ... |
package edu.cpp.iipl.util;
import com.google.gson.Gson;
import edu.cmu.lti.lexical_db.NictWordNet;
import edu.cmu.lti.ws4j.RelatednessCalculator;
import edu.cmu.lti.ws4j.impl.*;
import edu.cmu.lti.ws4j.util.WS4JConfiguration;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader... |
package com.neu.spring;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import or... |
package java0722;
import java.util.*;
public class BookService {
Scanner scan = new Scanner(System.in);
public void text(NameDTO name) {
System.out.println("-----------------------------------------------------------------");
System.out.println("1. 회원등록 | 2.도서등록 | 3. 도서대출 | 4. 도서반납 | 5. 도서목록 | 6. 종료")... |
package com.trump.auction.cust.api;
import com.trump.auction.cust.model.PromotionChannelModel;
/**
* 推广渠道信息相关
* @author wangbo 2018/2/5.
*/
public interface PromotionChannelStubService {
/**
* 根据渠道名称查询渠道信息
* @param channelName 渠道名称
* @return 渠道信息
*/
PromotionChannelModel findChannelByNa... |
/*
* 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.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.Timer;
import java.io.IOException;
import java.io.InputStream;
i... |
package jdbc;
import java.awt.Color;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.TextField;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.FileNotFoundException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sq... |
package com.own.hibernate;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.pers... |
package palamarchuk.bcalendargroups.dialogs;
import android.app.AlertDialog;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.EditText;
import com.daimajia.androidanimations.library.attention.ShakeAnimator;
import org.json.JSONException;
import org.j... |
package test;
import com.ljh.dto.User;
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/**
* @Author laijinhan
* @date 2020/9/24 10:20 下午
*/
public class myTest {
@Test
public void test(){
ClassPathXmlApplicationContext context = new ClassPathXmlA... |
package me.leaver.bloger.app.mvp.model;
/**
* Created by zhiyuan.lzy on 2016/3/19.
*/
public class CookieValue {
private String cookie;
public CookieValue() {
}
public String getCookie() {
return cookie;
}
public void setCookie(String cookie) {
this.cookie = cookie;
}
... |
package com.don.blacklist.app.Model;
import java.util.ArrayList;
import java.util.List;
/**
* Created by donpironet on 28/04/14.
*/
public class Conversations {
private String mNumber;
private String mId;
private List<SmsObjects> mSmsObjectsList;
public List<SmsObjects> getSmsObjectsList() {
... |
package com.taim.backendservice.configuration;
import com.taim.backendservice.exception.InternalServerErrorException;
import com.taim.backendservice.exception.ResourceNotFoundException;
import org.apache.commons.io.IOUtils;
import org.springframework.http.HttpStatus;
import org.springframework.http.client.Client... |
package com.min.edu.model;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.min.edu.dto.MemberDTO;
@Service
public class MemberServiceImpl implements MemberIService {
@Autowired
private MemberIDao dao;
@Override
publ... |
package co.yoyu.sidebar.view;
import java.util.ArrayList;
import java.util.List;
import wei.mark.standout.StandOutWindow;
import wei.mark.standout.Utils;
import wei.mark.standout.constants.StandOutFlags;
import wei.mark.standout.ui.Window;
import android.content.BroadcastReceiver;
import android.content.Context;
impo... |
package com.github.colinjeremie.justpickafilm.activities;
import android.content.Intent;
import android.support.v4.view.MenuItemCompat;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
im... |
/* Nicholas King, CSC 131-03, Assignment 2
* This program uses command line arguments to log start and stop times of particular task and saves the information in a text file title "tm.txt"
* List of acceptable command line arguments can be found in TM.md provided
*/
import java.time.*;
import java.time.tempor... |
package com.SearchHouse.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.SearchHouse.dao.UserInfoDao;
import com.SearchHouse.pojo.User1;
import com.SearchHouse.service.UserService;
@Service
public class UserI... |
import java.util.ArrayList;
import java.util.HashMap;
public class TrimaBinarySearchTree {
/**
* Given an upper and lower bound, trim the tree based on the bounds Input:
* Input:
3
/ \
0 4
\
2
/
1
L = 1
R = 3
Output:
3
/
2
/
1
*/
public class... |
package com.anton.kth_laboration_1;
import android.util.Log;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import org.xmlpull.v1.XmlPullParserFactory;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Time;
import java.text.DateFormat;
import java.text.Parse... |
package DuckHunt.Main;
import DuckHunt.Other.GameGlobalVariables;
import DuckHunt.Request.OpponentCameraFeed;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.SocketException;
... |
package bib.test;
import bib.Lexique;
import bib.iterateurs.IterateurLexique;
/**
* Created by Gauthier on 20/03/2017.
*/
public class TestLexique {
public static void main(String[] args) {
Lexique lex = new Lexique(5);
lex.ajouter("mot");
lex.ajouter("mots");
lex.ajouter("maux")... |
package com.ai.platform.agent.web.main;
public class JettyConstant {
public static final String JETTY_CONFIG_PROPERTY_FILE_NAME = "jetty.properties";
}
|
package eight.animal;
public class Dog extends Animal {
public Dog(String imePsa) {
super(imePsa);
}
@Override
public void playSound() {
System.out.println("Waw waw..");
}
}
|
package kr.waytech.attendancecheck_beacon.activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import... |
package com.team3.bra;
import android.os.StrictMode;
import java.sql.*;
import java.util.Vector;
public class JDBC {
static String url = "jdbc:mysql://phpmyadmin.in.cs.ucy.ac.cy";
static String username = "broadway";
static String database = "`broadway`";
static String password = "929K6sb7mAbDrahH";
private s... |
package com.example.david.foodadviser;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import static android.R.attr.id;
import static android.R.attr.name;
/**
* Crea... |
package com.dromedicas.jaxrs.service;
import java.util.HashMap;
import java.util.Map;
import org.codehaus.jackson.annotate.JsonAnyGetter;
import org.codehaus.jackson.annotate.JsonAnySetter;
import org.codehaus.jackson.annotate.JsonIgnore;
import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.j... |
package org.xitikit.examples.java.mysql.logwatch.data;
import org.springframework.data.repository.CrudRepository;
/**
* Copyright ${year}
*
* @author J. Keith Hoopes
*/
public interface BlockedIpv4Repository extends CrudRepository<BlockedIpv4, Integer>{
}
|
package pl.rpolak.generator.name;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author Rafal.Polak
*/
public class NameTest {
public NameTest() {
}
@BeforeClass
public s... |
package dk.webbies.tscreate.evaluation;
import dk.webbies.tscreate.evaluation.DeclarationEvaluator.EvaluationQueueElement;
import java.util.*;
/**
* Created by Erik Krogh Kristensen on 16-12-2015.
*
* Is used to create a lot of sub-callbacks, and when all those are done, the main callback is executed.
*/
public ... |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package ssl;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
/**
* <!-- begin-user-doc -->
* The <b>Package</b> for the ... |
package com.example.jiyushi1.dis.activity.seller;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
impor... |
package example.lgcode.launchstatus.models;
import com.squareup.otto.Bus;
import example.lgcode.launchstatus.dtos.LaunchDTO;
/**
* Created by leojg on 3/3/17.
*/
public class LaunchDetailModel {
private LaunchDTO launch;
private Bus bus;
public LaunchDetailModel(LaunchDTO launch, Bus bus) {
... |
package com.trump.auction.back.util.sys;
import java.util.Map;
import java.util.Properties;
import org.apache.xmlbeans.impl.common.ConcurrentReaderHashMap;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.beans... |
/*
* Copyright 2002-2019 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... |
/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2011 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... |
import becker.robots.City;
import becker.robots.Direction;
import becker.robots.Robot;
import becker.robots.Thing;
import becker.robots.Wall;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author katop7929
*/
public class Quiz1 {
... |
package L5_ExerciciosFuncoes.L5_Player;
import L5_ExerciciosFuncoes.Ex01_L5;
import java.util.Scanner;
public class Ex01_L5_Player {
public static void main(String[] args) {
Scanner myScr = new Scanner(System.in);
int numeroDeRepeticoes = myScr.nextInt();
Ex01_L5 ex01_L5 = new Ex01_L5();
... |
package com.bnrc.ui.refresh;
import android.content.Context;
import android.graphics.Color;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
public abstract class OverScrollHeaderLayout extends FrameLayout imple... |
public class Lol {
public String $a_clumsy__String;
public void someMethod() {
if("1" == "1") {
}
}
} |
package Helpers;
import java.sql.*;
/**
* La classe DbTable estente ogni file del package Dbtable e contiene tutte le funzioni principali che permettono di interagire con il DBMS
*/
public class DbTable {
protected String name;
protected String sql;
/** Metodi DML (insert, update , delete) */
p... |
package userServlet;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.htt... |
package com.pelephone_mobile.mypelephone.ui.activities;
/**
* Created by Gali.Issachar on 20/10/13.
*/
/**
*
*/
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.con... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.