text stringlengths 10 2.72M |
|---|
package edu.uw.cwds.predictionservice.decisionforest;
import java.io.IOException;
import java.util.Random;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.mahout.classifier.df.DecisionForest;
import org.apache.mahout.classifier.df.data.DataConverter;
import org.apache.... |
package es.guillermoorellana.punkapidroid.beers.presentation.list;
import android.arch.lifecycle.ViewModelProvider;
import android.arch.lifecycle.ViewModelProviders;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import a... |
package com.clicky.semarnat.fragments;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.LinearLayout;
import android.widget.Lis... |
package com.rednovo.libs.common;
import android.app.ActivityManager;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.NetworkInfo.State;
import android... |
package com.zm.recyclerviewtest.utils;
import android.text.Editable;
import android.text.Selection;
import android.text.Spannable;
import android.widget.EditText;
import com.zm.recyclerviewtest.bean.Student;
import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Som... |
package org.bellatrix.admin;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import org.bellatrix.data.Accounts;
import org.bellatrix.process.BaseRepository;
import org.mule.module.http.internal.ParameterMap;
import org.springframework.beans.factory.annotat... |
package cf.tilgiz.interfaces;
public class InterfaceRunner {
public static void main(String[] args) {
Pricable pizza = new Pizza("Neopolitana", 1, 20, Size.L);
Pricable phone = new CellPhone("Motorola", "XT33", 1, 250);
Pricable fridge = new Fridge("LG", "E950", 1, 300);
printDel... |
package Game;
import java.*;
import ThreadPackage.*;
import java.util.*;
import Ship.*;
public class PlaingGame {
static boolean choice;
static Scanner sc = new Scanner(System.in);
static Random _random = new Random();
static MyBGM go = new MyBGM();
static WeatherThread weather = new WeatherThr... |
package com.wirelesscar.dynafleet.api;
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import ja... |
package com.example.kevpreneur.smartshopper;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ListView;
import java.util.ArrayList;
public class ... |
package com.company;
import java.util.Scanner;
public class Ejercicio6_2 {
public static void main(String[] args) {
Scanner teclado = new Scanner(System.in);
System.out.print("Introduzca un numero el 1 al 10: ");
int numeroo = teclado.nextInt();
switch(numeroo) {
ca... |
package com.example.c0753560_mad3125_midterm;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
impo... |
package com.bitwise.ticketbooking;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.... |
package com.myxh.developernews.network;
import android.util.Log;
import com.myxh.developernews.bean.AndroidData;
import com.myxh.developernews.bean.CategoryData;
import com.myxh.developernews.bean.GankData;
import com.myxh.developernews.bean.ZhihuDetailData;
import com.myxh.developernews.bean.ZhihuHotData;
import com... |
/*
* #%L
* Diana UI Core
* %%
* Copyright (C) 2014 Diana UI
* %%
* 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 req... |
// https://www.youtube.com/watch?v=fyW6AeZkiYc
class Solution {
public int networkDelayTime(int[][] times, int N, int K) {
Map<Integer,List<int[]>> graph = new HashMap<>();
PriorityQueue<int[]> pq = new PriorityQueue<int[]>(
(int[] a, int[] b) -> a[1] - b[1]
);
... |
import java.util.Arrays;
/**
* Created with IntelliJ IDEA.
* User: dexctor
* Date: 12-12-9
* Time: 下午6:50
* To change this template use File | Settings | File Templates.
*/
public class NutsAndBolts {
public static void pair(int[] nuts, int[] bolts)
{
pair(nuts, bolts, 0, nuts.length ... |
import org.junit.Test;
import utils.FormatUtils;
import java.util.ArrayList;
import java.util.List;
/**
* Test class FormatUtils
* @author Adrian Helberg, Rodrigo Ehlers
*/
import java.util.function.Predicate;
import java.util.stream.Collectors;
import static org.junit.Assert.assertEquals;
/**
* T... |
/*
* Copyright 2016 TeddySoft Technology. All rights reserved.
*
*/
package tw.teddysoft.gof.Observer;
import java.util.ArrayList;
import java.util.List;
public class Server {
private List<Client> clients = new ArrayList<>();
public void monitor(){
for(Client client : clients){
client.setResult(client.ge... |
package com.getroadmap.r2rlib.request;
import com.getroadmap.r2rlib.models.Position;
/**
* Created by jan on 14/07/16.
*/
public class SearchRequest {
private String oName;
private String dName;
private Position oPos;
private Position dPos;
private String oKind;
private String dKind;
pr... |
public class VehicleController extends Thread {
private GroundVehicle v;
private Simulator sim;
int sides = 5;
Keyframe bookmarks;
public static final int MIN_SIDES = 3;
public static final int MAX_SIDES = 10;
public static final int DEFAULT_SIDES = 5;
public static final double BOUND_DIAM = 50.0;
public... |
package com.app.aston;
import android.os.AsyncTask;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;
import org.w3c.dom.Text;
public class MyTask extends AsyncTask<String, Integer, String> {
private TextView textView;
private ProgressBar progressBar;
public... |
package orm.integ.utils;
import java.util.List;
public class PageData {
private final List<Record> list;
private final int totalCount;
public PageData(List<Record> list, int totalCount) {
this.list = list;
this.totalCount = totalCount;
}
public List<Record> getList() {
return list;
}
public int g... |
package com.imooc.ioc.beanshuxingzhurufangshi;
/**
* @Author: Asher Huang
* @Date: 2019-10-16
* @Description: com.imooc.ioc.beanshuxingzhurufangshi
* @Version:1.0
*/
public class User {
private String name;
private Integer age;
public User(String name, Integer age) {
this.name = name;
... |
import java.time.LocalDateTime;
import java.util.Random;
import java.time.format.DateTimeFormatter;
public class Main {
public static void main(String[] args) {
pluralize("Dog", 1);
pluralize("cat", 2);
pluralize("turtle", 0);
flipNHeads(5);
clock();
}
public static void pluralize(String x, ... |
package com.example.tech4gt.restapi.models;
/**
* Created by tech4GT on 12/21/17.
*/
public class Post {
Integer userId,Id;
String title,body;
public Post(Integer userId, Integer id, String title, String body) {
this.userId = userId;
Id = id;
this.title = title;
this.bod... |
package de.deepamehta.plugins.eduzen.provider;
import java.io.InputStream;
import javax.ws.rs.ext.Provider;
import org.codehaus.jettison.json.JSONObject;
import de.deepamehta.core.util.JavaUtils;
import de.deepamehta.plugins.eduzen.AbstractJaxrsReader;
import de.deepamehta.plugins.eduzen.model.ResourceTopic;
/**
... |
/*
* 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 byui.cit260.LehisDream.model;
import java.io.Serializable;
import java.util.Objects;
/**
*
* @author smith
*/... |
package helloworld.client;
public class HelloWorldClient3 {
private static final String HOST = "127.0.0.1";
private static final int PORT= 9527;
public static void main(String[] args){
new HelloWorldClientMain().start(HOST,PORT,"王五");
}
} |
package com.example.devansh.personalhealthcarechatbot;
import android.content.Context;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
pu... |
package com.platform.repository;
import com.platform.domain.Agenttype;
import org.springframework.data.jpa.repository.*;
import java.util.List;
/**
* Spring Data JPA repository for the Agenttype entity.
*/
public interface AgenttypeRepository extends JpaRepository<Agenttype,Long> {
public Agenttype findByAgen... |
import java.util.HashMap;
public class SymbolTable {
private HashMap<String, Variable> staticVars, functionVars;
int functionVarCount, argVarCount, staticVarCount, fieldVarCount;
/* Constructs the Symbol Table.
* Two Hashtables are created, representing class scope (staticVars) and local function scope... |
package week10d02;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
public class Travel {
public static final String SPLIT_CHAR = " ";
public static final int STATION_INDEX = 0;
public static final int STATIONS_NUMBER = 30;
publ... |
package egovframework.com.file.excel.download;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import o... |
/**
*
*/
package edu.mycourses.adt.basic;
import java.util.Iterator;
/**
* @author Ibrahima Diarra
*
*/
public class LinkedListBag <T> implements Bag<T>{
private LinkedList<T> list = new LinkedList<T>();
/* (non-Javadoc)
* @see edu.mycourses.adt.basic.Bag#size()
*/
@Override
public... |
package com.example.service;
import com.example.response.CommonResultData;
import com.example.web.vo.UserVO;
/**
* Created by sunming on 2019/6/20.
*/
public interface UserModelService {
/**
* 新增用户
* @param userVo
* @return
*/
CommonResultData addUser(UserVO userVo);
/**
* 通过... |
package com.oa.alarm.form;
import java.util.ArrayList;
import java.util.Date;
import java.util.Vector;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import... |
package fello.pojo;
public class Member {
public String getFristname() {
return fristname;
}
public void setFristname(String fristname) {
this.fristname = fristname;
}
public String getLastname() {
return lastname;
}
public void setLastname(String lastname) {
... |
package ffm.slc.model.enums;
/**
* The type of students the course was designed for.
*/
public enum PopulationServedType {
REGULAR_STUDENTS("Regular Students"),
BILINGUAL_STUDENTS("Bilingual Students"),
COMPENSATORY_REMEDIAL_EDUCATION_STUDENTS("Compensatory/Remedial Education Students"),
GIFTED_AND_TALENTED_STUD... |
/**
* Created by mayz985 on 9/3/15.
*/
public class NameTestUtil {
public void veryPowerfulUtil() {}
}
|
package searchmetrics;
import javax.ws.rs.core.GenericType;
import java.time.LocalDate;
import java.util.List;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
import searc... |
package states.can;
public interface CanModifyPizzeria {
public boolean Pizzeria_insert(String nazwa, String adres, String strona, String telefon, String[] godziny);
public boolean Pizzeria_update(int id, String nazwa, String adres, String strona, String telefon, String[] godziny);
} |
/*
SQL Schema Migration Toolkit
Copyright (C) 2015 Cédric Tabin
This file is part of ssmt, a tool used to maintain database schemas up-to-date.
The author can be contacted on http://www.astorm.ch/blog/index.php?contact
Redistribution and use in source and binary forms, with or without
modification, are p... |
package oo;
public abstract class Financeiro implements Interface {
private int dinheiro;
private int quantidadeProdutos;
public int getDinheiro() {
return dinheiro;
}
public void setDinheiro(int dinheiro) {
this.dinheiro = dinheiro;
}
public int getQuantidadeProdutos() {
return quantidadeProdutos;... |
package learn.java.classes;
import java.util.Objects;
public abstract class Person {
protected int id;
protected String name;
protected String lastName;
protected String patronym;
public Person() {
}
public Person(int id, String name, String lastName, String patronym) {
this.id ... |
package org.robotframework.formslibrary.chooser;
import java.awt.Component;
import org.netbeans.jemmy.ComponentChooser;
import org.robotframework.formslibrary.util.ComponentType;
import org.robotframework.formslibrary.util.ComponentUtil;
import org.robotframework.formslibrary.util.Logger;
/**
* Chooser th... |
/*
### PROGRAMMKOPF ###
Lineare Programmierung
Aufgabe 6
FS23
Marc Freytag
Version: 1
20121017
addiert, subtrahiert, multipliziert und dividiert zwei Zahlen
### ENDE PROGRAMMKOPF ###
*/
public class aslp6
{
// ### HAUPTFUNKTION ###
public static void main(String[] a... |
package com.hoanganhtuan95ptit.awesomekeyboard.view;
import android.app.Activity;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
impo... |
package mx.redts.adendas.model;
// Generated 23-may-2014 0:38:28 by Hibernate Tools 3.4.0.CR1
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* FeLugarEntrega generated by hbm2java
*/
@Entity
@Table(name = "fe_lugar_ent... |
package com.mingrisoft;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JButton;
import javax.s... |
package com.gxtc.huchuan.adapter;
import android.content.Context;
import android.view.View;
import com.gxtc.commlibrary.base.BaseRecyclerAdapter;
import com.gxtc.commlibrary.helper.ImageHelper;
import com.gxtc.commlibrary.utils.ToastUtil;
import com.gxtc.huchuan.R;
import com.gxtc.huchuan.bean.ChatJoinBean;
import co... |
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.atomic.AtomicInteger;
public class FileSearching implements Runnable {
public ThreadPoolExecutor executor;
private static Atomic... |
/*
* Created by SixKeyStudios
* Added in project Technicalities
* File configmanagers.items.nature / NatureConfigManager
* created on 21.5.2019 , 22:25:52
*/
package technicalities.configmanagers.nature;
import technicalities.configmanagers.ConfigManager;
import technicalities.configmanagers.ConfigWrapper;
impor... |
package edu.mit.needlstk;
import java.util.ArrayList;
class ExprTree {
protected static int uidCount = 0;
protected OperationType opcode;
private ArrayList<ExprTree> operands;
protected int uid;
public ExprTree(OperationType tOpcode) {
opcode = tOpcode;
operands = new ArrayList<ExprTree>();
uid = ... |
package org.hadoop.praveen;
import java.io.IOException;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
impor... |
package com.unicom.patrolDoor.dao;
import com.unicom.patrolDoor.entity.Test;
/**
* @Author wrk
* @Date 2021/6/24 9:16
*/
public interface TestMapper {
int insertTest(Test test);
}
|
package com.metoo.core.weixin.utils;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.metoo.core.weixin.pojo.SNSUserInfo;
import com.metoo.core.weixin.pojo.WeixinAccessToken;
import com.metoo.core.weixin.pojo.WeixinOauth2Token;
import net.sf.js... |
/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.nio.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Bowling
{
private static boolean Debug = false;
public static void main (String[] args) throws java.la... |
package com.beike.wap.entity;
import java.util.Date;
import com.beike.common.enums.trx.AuthStatus;
import com.beike.common.enums.trx.MerSettleStatus;
import com.beike.common.enums.trx.TrxStatus;
/**
* @Title: Trxoder_goods.java
* @Package com.beike.common.entity.trx
* @Description: 订单商品明细
* @date May... |
package com.redsun.platf.util;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
/**
* <p>Title: com.walsin.platf.util.HqlBuilder</p>
* <p>Description: HQL建立器</p>
* <p>Copyright: Copyright (c) 2010</p>
* <p>Company... |
package sun.study.java.algorithm;
/**
* 冒泡排序
* 比较相邻的两个元素,如果顺序不对就交换,直到遍历完整个数组
*
*/
public class PopSort {
public static int[] sort(int[] target){
System.out.println("pop-------------------------------------------------------------------");
int cnt=0;
int[] array = target.clone();
... |
package com.vamsi.Threads;
import static org.junit.Assert.*;
public class UtilitiesTest {
private Utilities utilities;
@org.junit.Before
public void setup(){
utilities = new Utilities();
}
@org.junit.Test
public void veryNthChar() {
char[] result = {'h','e','l','l','o'};
... |
package com.alibaba.druid.bvt.sql.mysql.select;
import com.alibaba.druid.sql.MysqlTest;
import com.alibaba.druid.sql.SQLUtils;
import com.alibaba.druid.sql.ast.SQLStatement;
import com.alibaba.druid.sql.ast.statement.SQLSelectStatement;
import com.alibaba.druid.sql.visitor.ParameterizedOutputVisitorUtils;
import com.a... |
package com.example.jiyushi1.dis.activity.guest;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package br.com.vebo.dados.swing.table;
import br.com.vebo.dados.mapeamento.Material;
import br.com.vebo.dados.mapeamento.Perfume;
import br.com.vebo.util.DoubleUtil;
import java.util.ArrayList;
import java.util.List;
i... |
package com.danerdaner.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import com.danerdaner.simple_voca.R;
import java.util.ArrayList;
import androidx.annotation.NonNull;
import androidx.recyclerview... |
package com.heihei.fragment.withdraw;
import java.math.BigDecimal;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Paint;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;... |
package com.github.MrDuoDuo2.common;
import com.sun.istack.internal.logging.Logger;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
public class ConfigLoader {
public static Configuration config;
private static Logger logger;
... |
package com.nepc.asset.manager.entity;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import javax.persistence.*;
import java.math.BigInteger;
import java.util.List;
@Entity
@Table(name = "SCENARIO")
@EqualsAndHashCode(callSuper = false)
@ToString
public class Sc... |
package com.nian.util.model;
/**
* @author tanfan
* @ClassName: ConfigFile
* @Description: 模拟配置持久化
* @date: 2017/4/7 10:48
* @since JDK 1.7
*/
public class ConfigFile {
}
|
package com.codigo.smartstore.database;
/**
* Klasa realizuej sprawdzenie czy dana liczba jest liczbą pierwszą
*
* @author andrzej.radziszewski
*/
public final class PrimeNumberChecker {
/**
* @param primeNumber Wartość numeryczna do weryfikacji czy jest liczbą pierwszą
* @return Wartość logiczna <b>TRUE</b>... |
package nl.ronaldvandenbroek.worldgen.calculation;
import nl.ronaldvandenbroek.worldgen.calculation.array.ITwoDimensionalArrayUtility;
import nl.ronaldvandenbroek.worldgen.calculation.noise.INoiseMapGenerator;
public class HeightMap {
private INoiseMapGenerator noiseMapGenerator;
private ITwoDimensionalArrayU... |
package com.delrima.webgene.client.validate;
import java.util.List;
public interface Validator {
boolean validate();
List<String> getValidationResult();
}
|
package com.mpowa.android.powapos.apps.powatools.speech;
import android.util.Log;
import java.util.ArrayList;
public class SpeechMatcher {
public static ArrayList<MatchResult> matchTable;
public static ArrayList<String> commands;
static {
commands = new ArrayList<String>();
commands.ad... |
package com.company;
public class Main {
public static void main(String[] args) {
System.out.println(areEqualByThreeDecimalPlaces(-3.1756,-3.175));
System.out.println(areEqualByThreeDecimalPlaces(3.175,3.176));
System.out.println(areEqualByThreeDecimalPlaces(3.0,3.0));
}
public ... |
package com.karya.controller;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;... |
public class MyClass {
public static void main(String args[]) {
permute("namer");
}
public static void permute(String name){
permute("", name);
}
private static void permute(String prefix, String name){
int n= name.length();
if(n == 0 ){
System.out.println(pre... |
package ntou.cs.java2021.ex3;
import java.security.SecureRandom;
import java.util.Scanner;
public class PokerGameTest {
public static void main(String[] args) {
PokerGame game = new PokerGame();
Scanner input = new Scanner(System.in);
while (true) {
System.out.print("Please in... |
/*
* 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 Cafe;
/**
*
* @author renan
*/
public class Calculate {
private double coffeFlavorValue;
private double ... |
package com.thegriffen.projectsoaringgriffen;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Random;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Inte... |
// **********************************************************
// 1. 제 목: 과목 기수별 진행상황 BEAN
// 2. 프로그램명: CourseProgressAdminBean.java
// 3. 개 요: 과목 기수별 진행상황 BEAN
// 4. 환 경: JDK 1.3
// 5. 버 젼: 1.0
// 6. 작 성: 2003. 8. 13
// 7. 수 정:
// **************************************************... |
package controller;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import javax.swing.JButton;
import model.GameEngineImpl;
import model.enumeration.BetType;
import model.interfaces.Player;
import view.AppFrame;
import view.model.PlayerStates;
//This class listens to item states of the items i... |
package Webprogramming;
import java.util.Scanner;
import java.net.URL;
public class getUrlContents {
public static void main(String[] args) throws Exception
{
URL aURL = new URL("https://www.facebook.com/daan.berks");
System.out.println("protocol = " + aURL.getProtocol());
System.out.println("autho... |
package team21.pylonconstructor;
import org.junit.Test;
import java.util.ArrayList;
import static junit.framework.Assert.assertEquals;
/**
* Tests the profile data class
* 1. userName
* 2. requests
* 3. followers
* 4. following
*
* Tests addition and removal of 2,3 and 4
*
* User Stories Tested: None
... |
/*
* 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 source;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net... |
package com.financemanagement.javaandjson.serialization;
import java.io.IOException;
import javax.money.MonetaryAmount;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.std.StdSerializer;
public class MonetaryAmountS... |
package net.oneqas.services.DAO;
import net.oneqas.entity.BaseEntity;
import net.oneqas.entity.groupAggregate.GroupAggregate;
import java.util.List;
public interface DAO
{
void save(BaseEntity entity);
void update(BaseEntity entity);
void delete(Long Id);
void copy(BaseEntity oldGroup, BaseEntity new... |
package com.fligltmanagement.domain;
import javax.persistence.*;
/**
* Created by z00382545 on 11/10/16.
*/
@Entity
public class Inventory {
@Id
@GeneratedValue(strategy= GenerationType.AUTO)
@Column(name = "inv_id")
long id;
int count;
public Inventory() {
super();
}
pu... |
package io.jrevolt.sysmon.model;
import io.jrevolt.launcher.vault.VaultConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.env.EnumerableCompositePropertySource;
import org.springframework.boot.env.YamlProp... |
package proghf.controller;
import javafx.collections.ListChangeListener;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.control.*;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
im... |
/**
* Spring MVC REST controllers.
*/
package com.trails.uaa.web.rest;
|
package algo3.fiuba.modelo.resultado_combate;
import algo3.fiuba.modelo.cartas.Monstruo;
import java.util.Objects;
public class GanaContraModoDeAtaque implements ResultadoCombate {
private Integer diferenciaPuntos;
public GanaContraModoDeAtaque(Integer diferenciaPuntos) {
this.diferenciaPuntos = di... |
package com.vicutu.commons.lang;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.math.BigDecimal;
impo... |
package com.worldchip.bbp.bbpawmanager.cn.view;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import android.view.Grav... |
package com.nisira.core.dao;
import com.nisira.core.entity.*;
import java.util.List;
import android.database.sqlite.SQLiteDatabase;
import com.nisira.core.database.DataBaseClass;
import android.content.ContentValues;
import android.database.Cursor;
import com.nisira.core.util.ClaveMovil;
import java.util.ArrayList;
im... |
/*
* PsThreadEnroll.java
*
* All Rights Reserved, Copyright(c) FUJITSU FRONTECH LIMITED 2013
*/
package com.fujitsu.frontech.palmsecure_smpl;
import java.util.ArrayList;
import java.util.TreeMap;
import com.fujitsu.frontech.palmsecure_smpl.data.PsDataManager;
import com.fujitsu.frontech.palmsecure_smpl.data.PsTh... |
package ru.mcfr.oxygen.framework.operations;
import ro.sync.contentcompletion.xml.CIElement;
import ro.sync.contentcompletion.xml.WhatElementsCanGoHereContext;
import ro.sync.ecss.extensions.api.*;
import ro.sync.ecss.extensions.api.node.AuthorDocumentFragment;
import javax.swing.text.BadLocationException;
import jav... |
package portal.admin.customer_page;
import io.qameta.allure.Step;
import static com.codeborne.selenide.Condition.exactText;
import static com.codeborne.selenide.Selenide.$x;
public class NewCustomerPage {
@Step("Вводим имя заказчика")
public NewCustomerPage customerName(String name) {
$x("//*[@data-... |
package Steps;
import cucumber.api.java.en.And;
import cucumber.api.java.en.When;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.MobileElement;
import io.appium.java_client.TouchAction;
import io.appium.java_client.android.AndroidDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
i... |
package com.example.hante.newprojectsum.broadcast;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.example.hante.newprojectsum.activitys.WelcomeActivity;
import com.example.hante.newprojectsum.setting.service.AlarmService;
/**
* 开机启动 监听广播
*/
publ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.