text stringlengths 10 2.72M |
|---|
/*
* 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 org.kroky.jminesweeper.events;
import org.kroky.jminesweeper.Tile;
/**
*
* @author Peter Krokavec
*/
public class TileActi... |
package proghf.controller;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.geometry.Insets;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.Separator;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Pane;
import javafx.scene.layout.... |
/*
* Copyright 2002-2022 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.example.demo;
public class RootObject {
// private final long id;
private final String root;
PartyObject party = new PartyObject();
ClassificationNode cNode = new ClassificationNode();
public ClassificationNode getcNode() {
return cNode;
}
public RootObject() {
// this.id... |
/*
* Copyright 2002-2023 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.sinodynamic.hkgta.controller.salesreport;
import com.sinodynamic.hkgta.controller.ControllerBase;
import com.sinodynamic.hkgta.service.crm.sales.UserMasterService;
import com.sinodynamic.hkgta.util.TokenUtils;
import com.sinodynamic.hkgta.util.constant.GTAError;
import org.apache.commons.codec.binary.Base6... |
/**
* --------------------------------------------------------------------------------------------------------------------
* <copyright company="Aspose Pty Ltd" file="VerifyQRCodeOptions.java">
* Copyright (c) 2003-2023 Aspose Pty Ltd
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, t... |
package framework;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.How;
import org.openqa.selenium.support.PageFactory;
/**
* Created by nika.khaladkar on 18/08/2016.
*/
public class ProductsLightsPage extends... |
package com.org.bookservice.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
@Entity(name = "RoleEntity")
@Table(name = "roles", uniqueConstraints = {
@UniqueConstraint(columnNames = "rolei... |
package com.netcracker.entities;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.Objects;
@Entity
@Table(name="Type_Group")
public class TypeGroup {
@Id
@NotNull
@Column(name = "Type_Group_ID")
private Long id;
@NotNull
@Column(name="Name_Type")
... |
package io.flood.rpc;
/**
* Created by Administrator on 2015/11/2.
*/
public class FloodConstants {
public final static String VERSION="0.0.1";
public final static int RPC_BLOCKING_REQUEST=0x1;
public final static int RPC_RESPONSE=0x2;
public final static int RPC_STATE_SUCCESS=0;
public final s... |
/*
* 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 oj;
import java.awt.Desktop;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;... |
package com.oa.bbs.dao;
import java.util.List;
import com.oa.bbs.form.Forum;
import com.oa.page.form.Page;
public interface ForumDao {
public void addForum(Forum forum);
public void updateForum(Forum forum);
public void deleteForum(int forumId);
public List<Forum> findAllForumByUserId(Integer userId);
publ... |
package perdonin.renaissance;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.assets.AssetManager;
import perdonin.renaissance.screen.ScreenManager;
public class MyGame extends ApplicationAdapter {
public ScreenManager sm;
public AssetManager assets;
@Override
pu... |
package nl.topicus.wqplot.options;
import java.io.Serializable;
import nl.topicus.wqplot.components.plugins.IRenderer;
import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.codehaus.jacks... |
package de.codecentric.cvgenerator;
import org.springframework.data.jpa.repository.JpaRepository;
public interface QualificationRepository extends JpaRepository<Qualification, Integer>{
}
|
package org.giddap.dreamfactory.leetcode.onlinejudge.implementations;
import org.giddap.dreamfactory.leetcode.commons.TreeLinkNode;
import org.giddap.dreamfactory.leetcode.onlinejudge.PopulatingNextRightPointersInEachNodeII;
public class PopulatingNextRightPointersInEachNodeIIRecursiveImpl implements PopulatingNextRi... |
package ca.pluszero.headphoneviewer;
import java.util.List;
import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.nostra13.universalimagel... |
/*
* Welcome to use the TableGo Tools.
*
* http://vipbooks.iteye.com
* http://blog.csdn.net/vipbooks
* http://www.cnblogs.com/vipbooks
*
* Author:bianj
* Email:edinsker@163.com
* Version:5.8.0
*/
package com.lenovohit.hwe.org.model;
import java.util.HashSet;
import java.util.Set;
import javax.persistence... |
/*
* Scott
*/
package lab2;
/**
*
* @ Scott
*/
public interface Course {
public abstract String CourseName();
public abstract String CourseNumber();
public abstract double CourseCredits();
public abstract String Prerequisites();
} |
package com.wrathOfLoD.Models.Map.AreaEffect;
import com.wrathOfLoD.Models.Entity.Entity;
import com.wrathOfLoD.VisitorInterfaces.AreaEffectVisitor;
/**
* Created by luluding on 4/16/16.
*/
public class HealDamageAreaEffect extends AreaEffect {
private int healAmount;
public HealDamageAreaEffect(String nam... |
package Getters_Setters;
public class __Setter_serverRESPONSE {
}
|
package com.hesen.crawler.task;
import com.hesen.crawler.BaseTest;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
public class testItemTask extends BaseTest {
@Autowired
private ItemTaskJD itemTaskJD;
@Autowired
private ItemTaskTM itemTaskTM;
@Test
pub... |
package com.record.model;
import java.sql.Timestamp;
import java.util.List;
public interface RecordDAO_interface {
public void insert(RecordVO recordVO);
public void update(RecordVO recordVO);
public void delete(Timestamp start_time ,String mem_no);
public List<RecordVO> findByPrimaryKey(String mem_no);
... |
package en00a;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
public class Q05 {
public static void main(String[] args) {
String output;
Date date = new Date();
DateFormat dft2;
dft2 = new SimpleDateFormat("yyyy年M月d日(E)H時mm分ss秒");
out... |
package ca.uot.scs2682.marvelcatalog.ui.creators;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import ca.uot.scs2682.marvelcatalog.R;
import ca.uot.scs2682.marvelcatalog.data.Creator;
/**
* Created by ricardohidekiyamamoto on 2017-04-02.
*/
public class ... |
package com.sh.offer.stack;
import java.util.LinkedList;
import java.util.Stack;
/**
* @Auther: bjshaohang
* @Date: 2019/1/31
*/
public class GetMin {
private Stack<Integer> stack1 = new Stack<>();
private Stack<Integer> stack2 = new Stack<>();
private int min;
public static void main(String[] ar... |
package com.yxkj.facexradix.utils;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import com.yxdz.commonlib.util.SPUtils;
import com.yxkj.facexradix.MyApplication;
import com.yxkj.facexradix.Constants;
/**
... |
package com.thegriffen.projectsoaringgriffen;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.NavUtils;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.v... |
package com.github.dongchan.scheduler;
import com.github.dongchan.scheduler.stats.StatsRegistry;
import com.github.dongchan.scheduler.task.Task;
import com.github.dongchan.scheduler.task.helper.OneTimeTask;
import com.github.dongchan.scheduler.testhelper.SettableClock;
import org.junit.jupiter.api.BeforeEach;
import o... |
package com.bleuart.demo;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import com.bleuart.lib.bleApi;
import com.bleuart.lib.iCallback;
import com.bleuart.lib.util.Util;
import com.bleuart.winksoft.idcardcer.bean.IdCardBean;
import com.bleuart.winksoft.idcardcer.callback.IReadId... |
package spigot.greg.bwaddon;
import org.bukkit.plugin.java.JavaPlugin;
import org.screamingsandals.bedwars.Main;
import spigot.greg.bwaddon.gameSelectNpc.GameSelector;
public final class BwAddon extends JavaPlugin {
private static BwAddon plugin;
private static Tournament tournament;
@Override
public... |
package Interface;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Enumeration;
import gnu.io.CommPortIdentifier;
import gnu.io.SerialPort;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.a... |
/**
* Package for junior.pack3.p4.ch3.task1. Car store. CrudRepository.
*
* @author Gureyev Ilya (mailto:ill-jah@yandex.ru)
* @version 2019-05-27
* @since 2019-05-27
*/
package ru.job4j.services; |
package tw.org.iii.AbnerJava;
public class Second {
public static void main(String[] args) {
// TODO Auto-generated method stub
String s1 = new String();
byte []a1 = {97,98,99,100};
String b1 = new String(a1);
String b2 = new String(a1,1,2);
Bike myBike = new Bike();
System.out.println(s1);
System.ou... |
package util;
import java.util.Hashtable;
public class DataUtil {
public static Object[][] getData(Xls_Reader xls, String testCaseName) {
// D:\Selenium\Workspace\POMWithPF
String sheetName = Constants.DATA_XLS_SHEET;
int testStartRow = 1;
System.out.println(xls.getCellData(sheetName, 0, testStartRow));... |
package org.shv.contactapp.server;
import org.shv.contactapp.app.api.ContactView;
import org.shv.contactapp.app.api.IContactAppService;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation... |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* 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
*
* U... |
package com.giderosmobile.android.plugins.ads;
import java.lang.ref.WeakReference;
import android.app.Activity;
import android.view.KeyEvent;
public interface AdsInterface {
public void onCreate(WeakReference<Activity> activity);
public void onDestroy();
public void onStart();
public void ... |
package com.company.vehicleinventory.enums;
/**
* Represents db action status codes. toString() and convert() are in essence stubs to
* handle custom conversions when needed.
*/
public enum VehicleInventoryDatabaseStatusCode {
ADDED,
DELETED,
UPDATED,
FAILED;
public String toString(){
S... |
package org.dada.swt;
import java.util.HashMap;
import java.util.Map;
import java.util.Timer;
import org.eclipse.swt.widgets.TableItem;
public class TableState<K, V> {
//private Map<K, V> extant = new HashMap<K, V>();
//private Map<K, V> extinct = new HashMap<K, V>();
public Timer timer = new Timer();
public... |
package DesignPattern.Adapter;
public class Adapter implements Tap {
private final Tube6 t6 = new Tube6();
private final Tube8 t8 = new Tube8();
@Override
public int WaterOutput( int tp) {
// TODO Auto-generated method stub
if(tp==4){
return t6.OutputWater6cm()-2;
... |
package com.itheima.day_03.sleep;
public class SleepDemo {
public static void main(String[] args) {
usePerson(new PassengerA());
System.out.println("-------------");
usePerson(getPerson());
}
private static void usePerson(Person person) {
//在调用时相当于多态形式的 Person person = new PassengerA();
person.sleep();
... |
package ru.job4j.list;
/* public List<Integer> toList (int[][] array) {} - в метод приходит двумерный массив целых чисел,
необходимо пройтись по всем элементам массива и добавить их в List<Integer>.*/
import java.util.ArrayList;
import java.util.List;
public class ConverterMatrix2List {
public List<Integer> toL... |
package top.docstorm.documentstormcommon.service;
import top.docstorm.documentstormcommon.domain.FileInfo;
/**
* @Description:
* @author: passer
* @version:2019/9/17
*/
public interface FileInfoService {
/**
* 往数据库插入上传文件信息
* @param fileInfo
* @return
*/
int insertUploadF... |
package com.cb.cbfunny.tv.fragment;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.support.v4.app.Fragment;
import com.cb.cbfunny.utils.DialogUtils;
public class BaseFragment extends Fragment {
private static final long serialVersionUID = 1L;
private Dialog progressDialog;
@S... |
public class IntegerToRoman {
public String intToRoman(int num) {
String[] onesToRoman = {"", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"};
String[] tensToRoman = {"", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC"};
String[] hundredsToRoman = {"", "C", "CC", "CCC", "CD"... |
/*
* Copyright 2002-2018 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.bshare.core;
import android.os.Parcel;
import android.os.Parcelable;
import android.text.TextUtils;
/**
* 全部可支持平台,若要增加或刪除平台请修改该枚举
*/
public enum PlatformType implements Parcelable {
EMAIL("email"), SINAMINIBLOG("sinaminiblog", true), SOHUMINIBLOG("sohuminiblog", true), QQMB("qqmb", true), ... |
package pt.joja;
import java.util.Arrays;
import java.util.Random;
public class MaxHeap {
public static void main(String[] args) {
int nums = 100;
Random rand = new Random(47);
int[] eles = new int[nums];
for (int i = 0; i < nums; i++) {
eles[i] = rand.nextInt(1000);
... |
package com.thinkdevs.cryptomarket;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
public class PrefUtils {
private static final String START_TIME="Countdown_timer";
private static final String MAX_TIME="Countdown_max";
pri... |
package com.wangzhu.spring.scan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.AnnotatedBeanDefinition;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.config.BeanDefinitionHolder;
import org.springf... |
package creational.factorymethod.product;
// A 产品
public class AProduct implements Product {
@Override
public void name() {
System.out.println("AProduce");
}
}
|
public class TestDemo {
/* ApplicationContext ac;
SqlSessionFactory sessionFactory;
DeptmentMapper deptmentMapper;
@Before
public void init(){
ac = new ClassPathXmlApplicationContext("spring/applicationContext-dao.xml");
sessionFactory = (SqlSessionFactory)ac.getBean("sqlSessionFactory");
}
@Test
publ... |
package modelo;
public class Economico implements Motor{
@Override
public void arracar() {
System.out.println("Arrancar motor.");
}
@Override
public void acelerar() {
System.out.println("Acelerando motor.");
}
@Override
public void apagar() {
System.out.println("Apagando ... |
package vo;
import java.util.Date;
public class PayVO {
private int payId; // 결제 아이디
private String payWay; // 결제 수단
private Date payDate; // 결제 일자
private String payInfo; // 결제 정보
//외래키
private String userId; // 회원 아이디
private int mScheduleId; // 영화 시간 아이디
public int getPayId() {
return payId;
}
pu... |
package com.sl.app.access.find.account.dao;
import com.sl.app.access.find.account.vo.AppAccessFindAccountVO;
import net.sf.json.JSONObject;
public interface AppAccessFindAccountDAO {
JSONObject updateFindMember(AppAccessFindAccountVO vo);
}
|
/*
* Ubb.java
*
* Created on 2006Äê5ÔÂ17ÈÕ, ÏÂÎç2:21
*
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
*/
package tot.util;
impo... |
package com.codingKnowledge.controller;
import java.util.Scanner;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.codingKnowledge.entity.Client;
public class TestClient {
private static Scanner sc = null;
pub... |
package course.chapter9.objects2;
public class Account {
// fields
double balance;
String accountId;
static int nextId = 0;
static final int ROUTING_NUMBER = 123456789;
// methods
void deposit(double amount) {
balance +=amount;
}
void withdraw(double amount) {
bala... |
package linkedlists;
import static org.junit.Assert.*;
import org.junit.Test;
public class IntersectionTest {
@Test
public void testIntersection() {
Node node1 = new Node(1);
node1.append(2);
node1.append(3);
Node node4 = new Node(4);
Node node5 = new Node(5);
Node node6 = new Node(6);
node4.next... |
package patterns.behavioral.strategy;
public class ConcreteStrategyA implements Strategy
{
@Override
public void behavior()
{
System.out.println("use strategy A!");
}
}
|
package org.bots.clients;
public enum BotPlatformType {
TELEGRAM,
FACEBOOK;
}
|
package xdroid.adapter;
/**
* @author Oleksii Kropachov (o.kropachov@shamanland.com)
*/
public interface ViewTypeResolver<D> {
int getViewType(int position, D data);
}
|
package com.example.shivani.shivani;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import com.squareup.picasso.Picasso;
public class Image_Activity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
import org.junit.Test;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
public class BubbleSortTest {
@Test
public void testBubbleSort(){
BubbleSort bubbleSort = new BubbleSort();
assertThat(bubbleSor... |
/* BindingRendererUtil.java
{{IS_NOTE
Purpose:
Description:
History:
Apr 25, 2011 4:44:06 PM , Created by simonpai
}}IS_NOTE
Copyright (C) 2011 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
}}IS_RIGHT
*/
package org.zkoss.zkplus.databind;
import java.util.Iterator;
import java.uti... |
package a3.behaviour;
import a3.algorithm.ShortestPath;
import a3.memory.CollectiveMemory;
import a3.memory.model.Position;
import a3.memory.model.Tile;
import a3.utility.Calc;
import static a3.utility.Calc.distanceFromAtoB;
import static a3.utility.Calc.getMovementDirection;
import static a3.utility.Debug.print;
impo... |
package com.example.scso.school_social;
/**
* Created by Administrator on 2017/7/8.
*/
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import ... |
package co.edu.campusucc.sd.modelo;
// Generated 23/05/2020 02:30:18 PM by Hibernate Tools 5.4.7.Final
import java.util.HashSet;
import java.util.Set;
/**
* TipoCuenta generated by hbm2java
*/
public class TipoCuenta implements java.io.Serializable {
private String idTipoCuenta;
private String nombre... |
package com.pwc.sort.test;
import com.pwc.sort.BitMap;
import com.pwc.test.TestBase;
import com.pwc.util.BinaryObject;
import org.junit.Test;
import static junit.framework.Assert.assertEquals;
public class BitMapTest extends TestBase {
@Test
public void testSort() throws Exception {
final... |
package com.example.NFEspring.entity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import javax.persistence.*;
import javax.persistence.Entity;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Entity
@Table(name = "link_ticket")
public class LinkTicket implements Serializab... |
/* Copyright 2015 Esri
*
* 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,... |
package com.atm.factory;
import com.atm.dao.IAtmDAO;
import com.atm.dao.proxy.AtmDAOProxy;
public class AtmDAOFactory {
public static IAtmDAO getIAtmDAOInstance(){
return new AtmDAOProxy();
}
}
|
package towerofhanoi;
import java.util.EmptyStackException;
import stack.StackInterface;
/**
* Implentation of Linked Stack to be used in Tower of Hanoi.
* @author Daniel Xu <xudy>
* @version 2015.10.19
*
* @param <T> can take any type
*/
public class LinkedStack<T> implements StackInterface<T> {
... |
package com.dream.the.code.droidswatch;
/**
* This class is taken from https://github.com/bennapp/forwardBackwardChaining
*
* @author Ben Nappier ben2113
*
*/
public class Or extends Operator{
public Or(Variable first, Variable second){
this.first = first;
this.second = second;
this.token =... |
package com.gagetalk.gagetalkcustomer.database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by hyochan on 3/29/15.
*/
public class DBHelper extends SQLiteOpenHelper{
//Use Disturb Mode
public static final Strin... |
package ivge;
import java.lang.invoke.SwitchPoint;
import java.util.*;
import java.util.function.Consumer;
import java.util.function.Supplier;
public class Main {
public static void main(String[] args){
Deque<Element> queue = new ArrayDeque<>();
ArrayList<Computer> arrayList = new ArrayList<Com... |
package ankang.springcloud.homework.common.service;
import ankang.springcloud.homework.common.dao.IdentifyingCodeDao;
import ankang.springcloud.homework.common.pojo.IdentifyingCode;
import org.springframework.stereotype.Service;
import java.util.Optional;
import java.util.Random;
/**
* @author: ankang
* @email: dr... |
package com.codigo.smartstore.webapi;
// package com.codigo.smartstore.webapi;
//
// import org.junit.Before;
// import org.junit.jupiter.api.Test;
// import org.junit.runner.RunWith;
// import org.mockito.ArgumentCaptor;
// import org.mockito.Mockito;
// import org.springframework.beans.factory.annotation.Autowired;
/... |
package com.sinodynamic.hkgta.dao.crm;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.sinodynamic.hkgta.dao.GenericDao;
import com.sinodynamic.hkgta.entity.crm.UserDevice;
import com.sinodynamic.hkgta.util.constant.Constant... |
package br.usjt.chatbot;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
/**
* Created by tnf98 on 18/04/2018.
*/
public class Database {
public Usuario inserir(Usuario usuario){
DatabaseReference raiz = FirebaseDatabase.getInstance().getRef... |
package com.github.simy4.poc;
import com.amazonaws.auth.AWSCredentialsProvider;
import com.amazonaws.client.builder.AwsClientBuilder;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDB;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDBClientBuilder;
import com.amazonaws.services.dynamodbv2.datamodeling.Dyna... |
class Date{
private int year;
private String month;
private int day;
public Date() {
month = "1¿ù";
day = 1;
year = 2009;
}
public Date(int year, String month, int day) {
setDate(year,month,day);
}
public Date(int year) {
setDate(year, "1¿ù", 1);
}
public void setDate(int year, String month, ... |
/*
* Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved.
*
* 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 ... |
package fr.centralesupelec.sio.endpoints;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import fr.centralesupelec.sio.data.MoviesRepository;
import f... |
package al.ahgitdevelopment.municion;
import android.app.ActionBar;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.KeyEvent;
import android.view.Menu;
import android.... |
package otf.obj.msg.remote;
import otf.model.ServerDataModel;
/**
* @author ⋈
*
*/
public class GetBloodSugarValuesRequest implements ExecutableRequest
{
/**
* @see otf.obj.msg.remote.ExecutableRequest#execute()
*/
@Override
public ExecutableResponse execute()
{
var list = Se... |
package com.cs.casino.game;
import com.cs.avatar.Avatar;
import com.cs.avatar.AvatarBaseType;
import com.cs.avatar.HairColor;
import com.cs.avatar.Level;
import com.cs.avatar.SkinColor;
import com.cs.casino.player.TestConfig;
import com.cs.game.Channel;
import com.cs.game.Game;
import com.cs.game.GameDto;
import com.c... |
package com.sevael.lgtool.dao;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import org.bson.Document;
import org.bson.conversions.Bson;
import com.mongodb.client.MongoDatabase;
import com.mongodb.gridfs.GridFSDBFile;
public interface CommonDBDao {
public int getNextSequence(Mongo... |
package com.shubhamnegi.flashchatnewfirebase;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.L... |
package com.example.vplayer.ui.activity;
import android.content.Intent;
import android.graphics.drawable.ColorDrawable;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import androidx.appcompat.... |
package by.htp.les02.main;
public class TwelthTask {
public static void main(String[] args) {
for (int n = 33; n <= 125; n++) {
System.out.println((char) n + " " + n);
}
}
}
|
package com.shahinnazarov.gradle.models.k8s;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonPropertyOrder(
{
"apiVersion",
"kind",
"metadata",
"spec"
}
)
public final ... |
package com.larry.shugo.activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.baidu.mapapi.SDKInitializer;
import com.larry.shugo.utils.ConfigUtil;
import cn.bmob.v3.Bmob;
import cn.sharesdk.framework.ShareSD... |
package com.bramgussekloo.projectb.Activities.EditProduct;
import android.Manifest;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.net.Uri;
import android.net.sip.SipSession;
import android.os.Build;
import... |
package log;
import contacts.Contact;
import contacts.ContactDisplayPanel;
import panel.ComProps;
import panel.UploadPanelDisabled;
import upload.Upload;
import javax.swing.*;
import javax.swing.event.ListSelectionEvent;
import javax.swing.table.TableColumn;
import java.awt.*;
import java.awt.event.Compon... |
/*
* Copyright (c) 2009, Julian Gosnell
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list ... |
package ca.mcgill.ecse223.kingdomino.view;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import javax.swing.BoxLayout;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.G... |
/*
* ################################################################
*
* 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
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.