text stringlengths 10 2.72M |
|---|
/*
* @(#)Interaction.java 1.0 09/05/2000
*
*/
package org.google.code.netapps.chat.primitive;
import java.io.*;
import java.util.*;
/**
* Class for presenting single interaction between cusromer and CSR.
* A set of interactions compose a single session.
*
* @version 1.0 09/05/2000
* @author Al... |
package egovframework.adm.hom.trs.dao;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
@Repository("trainingDAO")
public class TrainingDAO extends EgovAbstractDAO {
public int selectTrainingListTotCnt(Map<Strin... |
package miniProgram;
import miniProgram.schoolGrade.MachinLearningClass;
import miniProgram.schoolGrade.NetworkClass;
import miniProgram.schoolGrade.ProgrammingClass;
import miniProgram.schoolGrade.SchoolClass;
public class RunSchoolGrade {
public static void main(String[] args) {
test(new ProgrammingClass());
t... |
package com.nclodger.mail;
/**
* Created with IntelliJ IDEA.
* User: Julia
* Date: 12.10.13
* Time: 12:50
* To change this template use File | Settings | File Templates.
*/
public class EmailConfirmation {
}
|
package be.darkshark.parkshark.api.dto.division;
public class DivisionDto {
private long id;
private String name;
private String originalName;
private long director_id;
private String parent_division_id;
public DivisionDto(long id, String name, String originalName, long director_id, Strin... |
package com.design.factory.NormalFactory;
public class NYPizzaStyleClam extends Pizza {
public NYPizzaStyleClam() {
name = "NY Style Clam Pizza";
dough = "Thin Crust Dough";
sauce = "Marinara Sauce";
toppings.add("Grated Reggiano Cheese");
toppings.add("Fresh Clams from Long Island Sound");
}
}
|
package com.alibaba.druid.bvt.sql.mysql.createTable;
import com.alibaba.druid.sql.MysqlTest;
import com.alibaba.druid.sql.SQLUtils;
import com.alibaba.druid.sql.ast.statement.SQLTableLike;
import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlCreateTableStatement;
public class MySqlCreateTableTest160 extends... |
package in.adavi.pradyot;
import in.adavi.pradyot.application.MysqlDbExperimentApplication;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args ) throws Exception {
new MysqlDbExperimentApplication().run(args);
}
}
|
package ar.gob.ambiente.servicios.especiesforestales.managedBeans;
import ar.gob.ambiente.servicios.especiesforestales.entidades.Cites;
import ar.gob.ambiente.servicios.especiesforestales.entidades.Especie;
import ar.gob.ambiente.servicios.especiesforestales.entidades.util.JsfUtil;
import ar.gob.ambiente.servic... |
package edu.ycp.cs320.groupProject.webapp.client;
import com.google.gwt.user.client.rpc.AsyncCallback;
import edu.ycp.cs320.groupProject.webapp.shared.model.Ball;
public interface GameStateServiceAsync {
void getUpdatedBall(AsyncCallback<Ball> callback);
}
|
package com.mibo.common.util;
import java.io.Serializable;
public class SavaFile implements Serializable {
private static final long serialVersionUID = 1L;
private String name;
private String url;
private String imgSlt;
public String getName() {
return this.name;
}
public void setName(String name) {
th... |
package com.covidresponse.covidcontacttracer.utils;
import android.content.Context;
import android.location.Location;
import com.covidresponse.covidcontacttracer.R;
import java.text.DateFormat;
import java.util.Date;
public class Utils {
public static String getLocationText(Location location) {
return ... |
package hwarang.artg.mapper;
import java.util.List;
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.junit4.SpringJUnit4ClassRunner;
import hwara... |
package f.star.iota.milk.ui.artstation.art;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.util.HashMap;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import f.star.iota.milk.base.PVContract;
import f.star.iota.milk.base.StringPresenter;
... |
package business.concretes;
import java.util.List;
import business.abstracts.CourseService;
import dataAccess.abstracts.CourseDao;
import entities.concretes.Course;
public class CourseManager implements CourseService {
CourseDao courseDao;
public CourseManager(CourseDao courseDao) {
super();
this.courseDao... |
package com.example.mav_mr_fpv_osu_2020.lib.usb;
public interface IButtonCallback {
void onButton(int button, int state);
}
|
package com.energytrade.app.model;
import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import java.util.List;
/**
* The persistent class for the kiot_user_mappings database table.
*
*/
@Entity
@Table(name="kiot_user_mappings")
@NamedQuery(name="KiotUserMapping.findAll", query="SELECT ... |
import java.awt.Robot;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
public class Breeder {
Robot bot;
public boolean breed;
public boolean breeding;
public boolean abort;
public Breeder() {
bot = ArkBot.bot;
breed = false;
breeding = false;
abort = false;
}
publ... |
package layeredimage;
import imageasgraph.FixedSizeGraph;
import imageasgraph.OutputType;
import layeredimage.blend.Blend;
/**
* Represents an image which is stored as multiple layered images, and which can access and mutate
* those layers, save and export one or multiple.
*/
public interface LayeredImage extends ... |
/*
Copyright (C) 2013-2014, Securifera, Inc
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 of conditions and... |
package com.mart.db.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "tutorialmaster")
public class Tutorial extends B... |
package fj.swsk.cn.guidetest;
import android.app.Activity;
import android.content.Intent;
import android.os.*;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import fj.swsk.cn.guidetest.util.CommonUtils;
/**
* Created by apple on 16/7/14.
*/
public class TestActivity extends AppCompatAc... |
/* Evaluators.java
Purpose:
Description:
History:
Fri Sep 14 12:24:23 2007, Created by tomyeh
Copyright (C) 2007 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
This program is distributed under LGPL Version 2.1 in the hope that
it will be useful, but WITHOUT ANY WARRANTY.
}}IS_RIGHT
*/
package o... |
package com.takeaway.gameofthree.logger.component;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import com.t... |
/*
* 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 egovframework.svt.adm.prop.auto;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
@Repository
public class AdminAutoMemberDAO extends EgovAbstractDAO {
public void insertAutoMember(Map<String, Object> co... |
package lotro.my.reports;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import lotro.models.Alliance;
import lotro.models.Character;
import lotro.models.Equipment;
import lotro.models.Item;
import lotro.models.Kinship;
import lotro.models.Player;
import lotro.models.Slot... |
package com.servicos.model;
import java.io.Serializable;
import java.sql.SQLException;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpSession;
import com.servicos.dao.Usuar... |
/*
2021-10-10
[Leetcode][Hard] 282. Expression Add Operators
*/
import java.util.*;
class ExpressionAndOperators {
/*
Runtime: 115 ms
Memory Usage: 40 MB
참고 ) https://cheonhyangzhang.gitbooks.io/leetcode-solutions/content/282-expression-add-operators.html
*/
public List<St... |
package com.codingchili.realmregistry;
import com.codingchili.realmregistry.configuration.RealmRegistrySettings;
import io.vertx.ext.unit.junit.VertxUnitRunner;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
/**
* @author Robin Duda
*/
@RunWith(VertxUnitRunner.class)
pu... |
package slh.services.usermodel;
import java.io.IOException;
import java.net.URI;
import java.util.Properties;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.ResponseHandler;
import org.apache.http.client.flue... |
package drivetrain.unused;
import org.usfirst.frc.team1640.robot.Robot;
import org.usfirst.frc.team1640.robot.Robot.State;
import drivetrain.DriveControl;
import drivetrain.DriveControlDecorator;
import drivetrain.DriveIO;
import utilities.PIDOutputDouble;
import utilities.PIDSourceDouble;
import utilities.Utilities;... |
package com.example.bulingzhuang.sesamecreditdemo.custom;
import android.animation.ArgbEvaluator;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.BlurMaskFilter;
import android.graphics.Canva... |
package dao;
import java.util.ArrayList;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import entities.FestivalObj;
import hibernate.HibernateUtil;
public class FestivalDAO {
private SessionFactory factory=HibernateUtil.getSessionFactory();
Sessio... |
package pl.lukabrasi.weatheronline.entities;
import lombok.Data;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Data
@Table(name = "weather_user")
public class UserEntity {
private @Id
@GeneratedValue
int id... |
package action.com.logIn;
import com.opensymphony.xwork2.ActionSupport;
import net.sf.json.JSONObject;
import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.ServletResponseAware;
import org.apache.struts2.interceptor.SessionAware;
import pojo.businessObject.UserBO;
import too... |
package com.windtalker.ui.adapter;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import android.util.Log;
import com.windtalker.dto.DTOContact;
import com.windtalker.ui.FragmentChat;
import com.windtalker.ui.FragmentCont... |
package io.github.yanhu32.xpathkit.filter;
import io.github.yanhu32.xpathkit.utils.Strings;
/**
* 去除 XPath 表达式空格
*
* @author yh
* @since 2021/4/22
*/
public class SpaceXPathFilter implements XPathFilter {
@Override
public String filter(String xpath) {
return Strings.remove(xpath, " ");
}
}
|
package net.datacrow.console.windows.filerenamer;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.io.File;
import java.util.... |
package com.crunchshop.resolver.mutation.user;
import com.crunchshop.resolver.mutation.MutationResolver;
import com.crunchshop.service.UserService;
import graphql.schema.DataFetchingEnvironment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java... |
package com.sola.webdemo;
import com.sola.webdemo.kafka.Producer;
import com.sola.webdemo.kafka.SampleMessage;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.aut... |
import java.util.Scanner;
public class ConversosDeNumeros {
public static void main(String[] args) {
int menu = 0;
Scanner entrada = new Scanner(System.in);
System.out.println("--------------------------");
System.out.println("---CONVERSOR DE NUMEROS---");
System.out.printl... |
package br.com.douglastuiuiu.biometricengine.integration.creddefense.dto.response.pooling;
import java.io.Serializable;
/**
* @author douglas
* @since 20/03/2017
*/
public class PoolingCol1DTO implements Serializable {
private static final long serialVersionUID = 3544325374927970582L;
private PoolingCol1... |
package org.cronhub.managesystem.commons.dao.bean;
import java.util.Date;
import java.util.List;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
public class Daemon {
private Long id;
private String machine_ip;
private Integer machine_port;
private St... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.mycompany.clusterjtestapp;
import com.mysql.clusterj.annotation.Column;
import com.mysql.clusterj.annotation.Index;
import com.mysql.clusterj.annotation.PersistenceCapable;
import com.mysql.clusterj.annotati... |
package com.shady.finalc;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
public class MainActivity3 extends AppCompatActivity {
int lavaQtt... |
package dao;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
imp... |
package com.t11e.discovery.datatool;
import org.springframework.jdbc.core.RowCallbackHandler;
public interface CompletionAwareRowCallbackHandler
extends RowCallbackHandler
{
void flushItem();
}
|
package com.ipincloud.iotbj.vehicle.service;
import com.alibaba.fastjson.JSONObject;
public interface VehicleService {
Object syncVehicleDevice(JSONObject jsonObj);
Object vehiclegateadd(JSONObject jsonObj);
Object vehiclegateopen(JSONObject jsonObj);
}
|
package Model.Statement;
import Model.ADT.IDictionary;
import Model.ADT.IStack;
import Model.Exception.ToyException;
import Model.ProgramState.ProgramState;
import Model.Type.Type;
public class CompStatement implements IStatement{
private IStatement firstStmt;
private IStatement secondStmt;
public CompSt... |
package com.igalata.viewpager.ui;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.os.Bundle;
import com.igalata.viewpager.model.MyFragmentPagerAdapter;
import com.igalata.viewpager.R;
public class MainActivity extend... |
package com.robin.springboot.demo.java_random;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Random;
public class Test {
public static void main(String[] args) {
// for(int i = 0; i < 100; i++){
// BigDecimal a = getRandom(0.31, 0.71);
// System.out.println(a);
... |
package example.mapbox.sla.mapboxdemo;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import com.mapbox.geojson.Feature;
import com.mapbox.geojson.FeatureCollection;
import com.mapbox.geojson.LineString;
import com.m... |
package com.tdr.registrationv3.bean;
import java.util.List;
public class CityBean {
/**
* cityCode : 4101
* unitName : 郑州市
* fullSpell : Zhengzhou
* abbrSpell : ZZ
* subsystemList : [{"id":1,"subsystemName":"1223"},{"id":4,"subsystemName":"新增测试子系统1"},{"id":6,"subsystemName":"子系统1"}]
... |
/*
* Units.java
*
* Created on December 11, 2003, 10:10 AM
*/
package com.pcauto.util;
/**
*
* @author genec
*/
public abstract class Units implements java.io.Serializable {
public int getId() {
return id;
}
public String getString() {
return str;
}
public St... |
package mihau.eu.githubsearch;
import android.app.Activity;
import com.facebook.stetho.Stetho;
import javax.inject.Inject;
import dagger.android.AndroidInjector;
import dagger.android.DispatchingAndroidInjector;
import dagger.android.support.DaggerApplication;
import mihau.eu.githubsearch.di.component.AppComponent;... |
package com.dassa.vo;
public class DriverApplyImgVO {
//MOVE_APPLY_IMG_TBL
private int imgIdx; //이미지 인덱스번호
private String imgName; //이미지 이름 (사용자가 올린거)
private String imgPath; //이미지 경로 (사용자가 올린거)
public DriverApplyImgVO(int imgIdx, String imgName, String imgPath) {
super();
this.imgIdx = imgIdx;... |
package mx.com.otss.saec.acceso;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import mx.com.otss.saec.R;
import mx.com.otss.saec.menu_inferior.PrincipalActivity;
public class PortadaActivity extends... |
package examples;
import java.io.FileNotFoundException;
import java.util.Formatter;
import java.util.FormatterClosedException;
import java.util.NoSuchElementException;
import java.util.Scanner;
public class CreateTextFile {
private static Formatter output;
public static void main(String[] args) {
openFile();
a... |
package com.example.sembi.logingui;
import android.Manifest;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.gra... |
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Scanner;
public class MergeCounts {
... |
package com.mega.swipeit.Api;
public class ApiConst {
public static final String API_HOST ="http://demo.magespider.com/QuestionGame/api/";
public static final String SIGN_UP ="auth/signup";
}
|
package br.com.alura.leilao.acceptance.steps;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import br.com.alura.leilao.model.Lance;
import br.com.alura.leilao.model.Leilao;
import br.com.alura.leilao.... |
package com.example.light_the_led;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.Switch;
import android.widget.Toast;
import java.util.concurrent.ExecutionException;
public cla... |
package com.stackroute.movieservice.domain;
import javax.persistence.Entity;
//import javax.persistence.GeneratedValue;
//import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Movie {
@Id
//@GeneratedValue(strategy=GenerationType.AUTO)
private int movieId;
private String m... |
package com.jaiaxn.design.pattern.behavioral.iterator;
/**
* @author: wang.jiaxin
* @date: 2019年08月27日
* @description:
**/
public interface Iterator {
/**
* 是否存在下一个元素
*
* @return 结果
*/
boolean hasNext();
/**
* 返回下一个元素
*
* @return 下一个元素
*/
Object next();
}
|
package com.gxtc.huchuan.adapter;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.gxtc.commlibrary.base.BaseRecyclerAdapter;
import com.gxtc.huchuan.Constant;
import com... |
// https://www.youtube.com/watch?v=eVQiFuJRfsU
class Solution {
public List<List<String>> suggestedProducts(String[] products, String searchWord) {
List<List<String>> res = new ArrayList<>();
int n = products.length;
int lo = 0, hi = n - 1;
int len = searchWord.length();
... |
package common;
import cmdline.FbCollector;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import java.util.*;
public class PostsCollector
{
private Page page;
private String since;
private String until;
public List<String> postIds;
public static String fields;... |
package com.zxq.spring.controller;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.UUID;
@RestController
public class ZKController {
@Value("${server.port}")
... |
package com.asiainfo.worktime.service;
import java.util.List;
import com.asiainfo.worktime.model.ProcTypeModel;
public interface ProcTypeService {
List<ProcTypeModel> getAllProcTypes();
}
|
package com.minismap;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ArrayAdapter;... |
package com.stk123.service.support;
import org.hibernate.HibernateException;
import org.hibernate.MappingException;
import org.hibernate.dialect.Oracle12cDialect;
import org.hibernate.type.StandardBasicTypes;
import java.sql.Types;
import java.util.Map;
public class CustomOracleDialect extends Oracle12cDialect {
... |
package net.music.demo.controller;
import net.music.demo.exception.ResourceNotFoundException;
import net.music.demo.model.Artist;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import net.music.demo.reposi... |
package jarjestaminen.algoritmit;
import java.util.Arrays;
import java.util.Random;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
public class IntroSortTest {
private int[] arr;
private int[] arr2;
@Before
public void setUp() throws Exception {
... |
package com.aliyun.oss.model;
import java.util.ArrayList;
import java.util.List;
public class BucketList {
private List<Bucket> buckets = new ArrayList<Bucket>();
private String prefix;
private String marker;
private Integer maxKeys;
private boolean isTruncated;
private String... |
package com.flushoutsolutions.foheart.design;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import com.flushoutsolutions.foheart.globals.Menu;
import com.flushoutsolutions.foheart.json.JSONParser;
import org.json.JSONArray;
impo... |
package sda.credit.cards.issuers;
public interface Detector {
String detect(String number);
}
|
package br.com.senac.Servicos;
import br.com.senac.Classes.Mamifero;
import br.com.senac.Dao.MamiferoDao;
import br.com.senac.Exceptions.DataSourceException;
import br.com.senac.Exceptions.MamiferoException;
import br.com.senac.Validadores.MamiferoValidador;
import java.sql.SQLException;
import java.text.Parse... |
package com.mongo.embeded;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.Spri... |
package ornek16;
public class Liste {
Eleman bas;
Eleman son;
public Liste() {
bas = null;
son = null;
}
void basaEkle(Eleman yeni) {
if (bas == null) {
bas = yeni;
son = yeni;
} else {
yeni.ileri = bas;
bas = yeni;... |
/*
* 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 controlador;
import Modelo.Avance;
import Modelo.Programa;
import persistencia.Avances;
import java.io.IOException;
... |
package chartsManager;
import hadoopManager.SingleUrlGenerator;
import hadoopManager.UrlGenerator;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map.Entry;
import java.util.Set;
import org.jfree.util.Log;
/**
*
* @author Romano Simone - www.sromano.altervista.org
* This class groups eac... |
package hw5.task7;
public class ArrayMinMax {
public static void arrayIntShow(int[] varArr) {
for (int i = 0; i < varArr.length; i++) {
System.out.print(varArr[i] + " ");
}
}
public static void array2DShow(int[][] varArr) {
for (int i = 0; i < varArr.length; i++) {
... |
package RestAssuredAPI.SampleProject;
import static io.restassured.RestAssured.*;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.hamcrest.Matchers.equalTo;
import java.util.Collection;
import java.util.Collections;
import java.util.Scanner;
import org.junit.Assert;
import io.restassured.r... |
package com.mwi.aws.dynamodb.service;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.fluttercode.datafactory.impl.DataFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper;
... |
/*
* 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 ldamallet;
import cc.mallet.topics.DMRTopicModel;
import cc.mallet.types.InstanceList;
import java.io.File;
import java.io.IOE... |
package com.agharibi.hibernate;
import com.agharibi.hibernate.inheritance.*;
import com.agharibi.hibernate.model.Employee;
import com.agharibi.hibernate.model.Employer;
import com.agharibi.hibernate.model.Movie;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
public class Utils {
pub... |
package db;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public class ACID {
public ACID (Context context){
setContext(context);
}
public boolean addUserIDandpassword(String Us... |
/*
Copyright 2005-2015, Foundations of Success, Bethesda, Maryland
on behalf of the Conservation Measures Partnership ("CMP").
Material developed between 2005-2013 is jointly copyright by Beneficent Technology, Inc. ("The Benetech Initiative"), Palo Alto, California.
This file is part of Miradi
Miradi is free... |
package ch09.test;
public class Test03_2 {
}
|
package com.client;
import com.ringoram.BucketMetadata;
public interface ClientInterface {
/*when read or write block, first read path from server
* @param pathID: path that need to get from server
* @param blockIndex: block that want to request
*/
public void read_path(int pathID, int blockIndex);
//when... |
/* __
* \ \
* _ _ \ \ ______
* | | | | > \( __ )
* | |_| |/ ^ \| || |
* | ._,_/_/ \_\_||_|
* | |
* |_|
*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <rob ∂ CLABS dot CC> wrote this file. As long as you re... |
package com.example.proyectogrupal;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import android.Manifest;
import android.content.ContentResolver;
import android.content.Intent;
import android.content.... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Composition;
/**
*
* @author rm
*/
public class program1 {
private String s1;
private program2 object;
public program1(program2 myopj, String name) {
s1 = name;
... |
import br.com.rafagonc.tjdata.database.ESAJDatabase;
import br.com.rafagonc.tjdata.database.ESAJDatabaseManager;
import br.com.rafagonc.tjdata.models.ESAJPesquisaFoneticaProcesso;
import org.hibernate.Transaction;
import org.junit.Before;
import org.junit.Test;
import java.util.Date;
import java.util.UUID;
/**
* Cre... |
package packageone;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import org.apache.poi.ss.usermodel.DataFormatter;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import or... |
/**
* Copyright (c) 2011 SORMA
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Author: sorma@gaoshin.com
*... |
import java.io.IOException;
import java.io.InputStream;
import java.sql.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
public class DBHelper
{
//数据库连接地址
private final static String url = "jdbc:mysql://localhost:3306/doubanmovie?characterEncoding=utf... |
package com.appsala.app.controllers;
import java.util.List;
import com.appsala.app.entities.Unidade;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import com.appsala.app.services.UnidadeService;
import org.springframework.web.bind.annotation.*;
import org.springframework.b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.