text stringlengths 10 2.72M |
|---|
package tiny0.asint;
import tiny0.asint.TinyASint.*;
public interface Procesamiento {
void procesa(Asig asig);
void procesa(Resta exp);
void procesa(Mul exp);
void procesa(Div exp);
void procesa(Id exp);
void procesa(Decs_muchas decs);
void procesa(Decs_una decs);
void procesa(Prog_sin... |
package com.github.netudima.jmeter.junit.report;
import java.io.IOException;
import org.w3c.dom.Element;
public class AlternateJtlToJUnitReportTransformer {
public void transform(String jtlFile, String junitReportFile, String testSuiteName) throws IOException {
try (final AlternateDomXmlJUnitReportWrite... |
package zm.gov.moh.core.repository.database.dao.domain;
import java.util.List;
import androidx.lifecycle.LiveData;
import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.OnConflictStrategy;
import androidx.room.Query;
import zm.gov.moh.core.repository.database.entity.domain.Concept;
import zm.gov... |
package hirondelle.web4j.model;
import hirondelle.web4j.BuildImpl;
import hirondelle.web4j.request.Formats;
import hirondelle.web4j.request.RequestParameter;
import hirondelle.web4j.ui.translate.Translator;
import hirondelle.web4j.util.Args;
import hirondelle.web4j.util.EscapeChars;
import hirondelle.web4j.uti... |
package iks.pttrns.factory.ingridients;
public class ThinCrustDough extends Dough {
}
|
package com.screens;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import com.badlogic.gdx.Gdx;
//Class imports
import com.badlogic.gdx.graphics.Texture;
import com.badlog... |
package com.example.chloerainezeller.project2;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.Spinner;
import jav... |
package com.love_li2.recognizenotes.view;
import com.love_li2.recognizenotes.R;
import android.content.Context;
import android.graphics.Color;
import android.graphics.Point;
import android.util.AttributeSet;
import android.view.View;
import android.view.WindowManager;
import android.view.View.OnClickListener;
import ... |
import java.util.Scanner; //import scanner
public class IDCard
{
public static void main(String[]args)
{
//instantiate format
IDCard form = new IDCard();
//insantiate new Scanner object "kb"
Scanner kb = new Scanner(System.in);
//user input
System.out.println("Enter your first name");
String firs... |
package javadecompiler.constantpool.type;
public class ConstantUtf8
{
public String utf8String;
public int utfLen;
public ConstantUtf8( int utfLen, String utf8String )
{
this.utfLen = utfLen;
this.utf8String = utf8String;
}
} |
package br.unisal.controllers;
import java.io.IOException;
import br.unisal.util.Util;
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 javax.serv... |
package com.afl.common;
import java.util.Scanner;
public class NumberHelper {
public static final int THREE = 3;
public static final int FIVE = 5;
// Read the input aruments
public static int getNumberFromUser() {
System.out.println("Enter the input number");
Scanner input = new Scanner(Syste... |
package com.example.cse.makeupapp;
import android.arch.persistence.room.Database;
import android.arch.persistence.room.Room;
import android.arch.persistence.room.RoomDatabase;
import android.content.Context;
@Database(entities = CosmeticModel.class,version = 1,exportSchema = false)
public abstract class CosmeticDatab... |
package com.zhouyi.business.core.service;
import com.alibaba.fastjson.JSON;
import com.zhouyi.business.core.common.ReturnCode;
import com.zhouyi.business.core.dao.LedenEquipmentMapper;
import com.zhouyi.business.core.dao.SysUnitMapper;
import com.zhouyi.business.core.dao.SysUserMapper;
import com.zhouyi.business.core.... |
package com.gerray.fmsystem.ManagerModule.Lessee;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.... |
package ch.fhnw.edu.cpib.cst;
import ch.fhnw.edu.cpib.cst.interfaces.IFactor;
import ch.fhnw.edu.cpib.cst.interfaces.IFactorNTS;
import ch.fhnw.edu.cpib.scanner.Ident;
import ch.fhnw.edu.cpib.scanner.interfaces.IToken;
// factor ::= IDENT factorNTS
public class FactorIdent extends Production implements IFactor {
... |
package edu.kit.pse.osip.simulation.view.main;
import edu.kit.pse.osip.core.model.base.Motor;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.paint.Color;
/**
* This class visualizes the mixing motor in the MixTank.
*
* @version 1.0
* @author Niko Wilhelm
*/
pub... |
package com.kunsoftware.entity;
public class Ground {
private Integer id;
private String name;
private Integer destination;
private String type;
private String groundDescribe;
private String linkMain;
private String remark;
private String imagePath;
private String qualificat... |
package com.worldbank.model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.NonNull;
@Data
@NoArgsConstructor
@EqualsAndHashCode
public class Student {
@NonNull
private String name;
private int roll;
}
|
package hanbitex;
/**
* 2016. 4. 16. Sum10.java cheonbora@naver.com story :1부터 10까지의합
*/
public class Sum10 {
public static void main(String[] args) {
int sum = 0;
// sum = 1 + 2 + 3 + 4 + 5 + 6 + 7+ 8 + 9 + 10;
for (int i = 1; i <= 10; i += 2) {
sum += i;
// System.out.print(i+"\t");
}
... |
package com.bitbus.fantasyprep;
import java.io.IOException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
@Spring... |
package ua.nure.timoshenko.summaryTask4.db;
import static org.junit.Assert.*;
import org.junit.Test;
import ua.nure.timoshenko.summaryTask4.db.entity.Order;
public class StatusTest {
@Test
public void testGetStatus() {
Order order = new Order();
order.setStatusID(1);
assertEquals(Status.PAID, Status.getSta... |
package com.wenny.animation;
import android.animation.Animator;
import android.animation.AnimatorSet;
import android.animation.IntEvaluator;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.graphics.Interpolator;
import android.graphics.dra... |
package com.workshops.controller;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.Htt... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.print("Num of month: ");
int a = scan.nextInt();
if (a == 1 || a == 2 || a == 12){
System.out.println("winter!");
}else if(a == 3 || a == 4 || a == 5){
Syst... |
package com.takshine.wxcrm.controller;
import java.net.URLDecoder;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.sf.json.JSONObject;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import ... |
package com.bingo.code.example.design.strategy.rewrite;
/**
* �����㷨ʵ�֣�Ϊ�¿ͻ���������ͨ�ͻ�����Ӧ���ļ۸�
*/
public class NormalCustomerStrategy implements Strategy{
public double calcPrice(double goodsPrice) {
System.out.println("�����¿ͻ���������ͨ�ͻ���û���ۿ�");
return goodsPrice;
}
}
|
package com.sneaker.mall.api.model;
/**
* 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... |
package com.cat.bean;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* @author xukaiqiangpc
*
*/
@Entity
@Table(name =... |
package com.example.windows10now.muathe24h.networking;
import android.content.Context;
import android.content.SharedPreferences;
import com.example.windows10now.muathe24h.util.Constant;
/**
* Created by Windows 10 Now on 11/22/2017.
*/
public abstract class TaseNetWorkBase<T extends Object> {
private Context m... |
package uuu.totalbuy.test;
/*
* 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.
*/
/**
*
* @author Administrator
*/
public class TestWhile {
public static void main(Stri... |
public class MyCircle {
private MyPoint center;
private int radius=1;
public MyCircle(int x, int y, int radius) {
this.center=new MyPoint(x,y);
this.radius=radius;
}
public MyCircle(MyPoint center, int radius) {
this.center=center;
this.radius=radius;
}
public int getRadius() {
return this.radiu... |
package com.example.lockwood.techTest.aws;
import com.amazonaws.AmazonClientException;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDB;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDBClientBuilder;
import com.amazonaws.s... |
package com.example.demo.EndPoints;
import com.example.demo.DTO.Table.TableReponse;
import com.example.demo.DTO.Table.TableRequest;
import com.example.demo.Services.TableServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.htt... |
package com.TestProject;
import org.junit.*;
import static org.junit.Assert.*;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
import pages.*;
public class cube {
private WebDriver driver;
@Before
public void setUp() throws Exception {
driver = new FirefoxDriver();
}
... |
package com.swetha.wishesapp;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;
public class GreetingActivity extends AppCompatActivity {
TextView name;
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
package integerSet;
/**
* This class provides methods to interact with a set of integers
* implemented using a normal array of integers.
* You <b>should</b> at least modify the
* methods <code>member</code> (is an integer in the set)
* and <code>insert</code> (add a new integer to the set).
* You may add new me... |
//************** Oct 23- P1*************
package ConstructorConcept;
public class Employee {
public static void main(String[] args) {
System.out.println("hello");
Employee e1=new Employee();
Employee e2=new Employee(10);
Employee e3=new Employee(10, "Selenium");
}
//Constructor of a class
//constructor na... |
package com.tencent.mm.protocal.c;
import com.tencent.mm.bk.a;
import java.util.LinkedList;
public final class wb extends a {
public LinkedList<auj> iXe = new LinkedList();
public LinkedList<aum> rBr = new LinkedList();
protected final int a(int i, Object... objArr) {
if (i == 0) {
f.... |
package net.julisapp.riesenkrabbe.views.supportViews;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.google.firebase.crash.Firebas... |
package com.tencent.mm.plugin.account.friend.ui;
import com.tencent.mm.a.o;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.account.a.a.a;
import com.tencent.mm.plugin.account.friend.a.ao;
import com.tencent.mm.plugin.account.friend.a.ap;
import com.tencent.mm.plugin.account.friend.ui.f.1;
import com.tenc... |
package ie.brewer.model;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class Beer {
@NotBlank(message="SKU is Mandatory")
private String sku;
@NotBlank(message="Name is Mandatory")
private String beerName;
@Size(min=10, max=50, message="... |
package collectionpackage;
import java.util.Comparator;
public class EmployeeComparator implements Comparator {
public int compare(Object o1, Object o2) {
// TODO Auto-generated method stub
Employee e1 =(Employee)o1;
Employee e2 =(Employee)o2;
if(e1.age>e2.age)
return -1;
else if(e1.age<e2.age)
retur... |
package thuc_hanh.Comparator;
|
package org.gbif.kvs;
import java.io.Closeable;
/**
* Store of V data indexed by a key (byte[]).
*
* @param <K> type of key elements
* @param <V> type of elements stored
*/
public interface KeyValueStore<K, V> extends Closeable {
/**
* Obtains the associated data/payload to the key parameter, as byte[].
... |
package com.yunhe.cargomanagement.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yunhe.cargomanagement.dao.PurCommMapper;
import com.yunhe.cargomanagement.entity.PurComm;
import com.yunhe.cargomanagement.service.IPurCommService;
import org.springframework.stereotype.Servic... |
package com.springbootmybatis.controller;
import com.springbootmybatis.mapper.AccessoryMapper;
import com.springbootmybatis.model.AccessoryEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.R... |
package wirtualnySwiat.grafika;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class OknoDialogowe extends JDialog implements ActionListener {
private final int oknoWys, oknoSzer;
private JTextField poleTekstowe;
private String tek... |
package thirtydaysofcode;
import util.HashTable;
import java.util.HashMap;
import java.util.Scanner;
/**
* Created by wendy on 9/15/18.
*/
public class RansomNoteAgain {
// Complete the checkMagazine function below.
static void checkMagazine(String[] magazine, String[] note) {
HashTable mapWords =... |
package com.tencent.mm.openim.b;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.b.a;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.kernel.g;
import com.tencent.mm.network.k;
import com.tencent.mm.network.q;
import com.tencent.mm.openim.PluginOpenIM;
import com.tencent.mm.plugin.ap... |
package Dominio;
import java.sql.ResultSet;
import Persistencia.Agente_BD;
public class Actividad_DAO {
private static Actividad_DAO ActividadDAO;
private static Agente_BD agenteBD;
private Actividad_DAO()throws Exception{
agenteBD= Agente_BD.getAgente();
}
public static Actividad_DAO getAct... |
package com.jlxy.bllld.dao;
import com.jlxy.bllld.entity.User;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;
import java.util.List;
import static com.jlxy.bllld.utils.OrmConstans.UserTABLE;
/**
* Created by ORCHID on 2017/3/23.
*/
@Repository
public interface UserDao {
... |
package org.libreoffice.example.comp;
import com.sun.star.awt.XWindow;
import com.sun.star.beans.PropertyValue;
import com.sun.star.container.NoSuchElementException;
import com.sun.star.lang.IllegalArgumentException;
import com.sun.star.lang.XServiceInfo;
import com.sun.star.lang.XSingleComponentFactory;
impor... |
package com.yougou.merchant.api.active.vo;
import java.io.Serializable;
/**
* 审批商家报名vo
* @author zhang.wj
*
*/
public class MerchanteEnrollxamineVo implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1L;
//是否成功
private boolean isSuccess;
//错误原因
private String errorMsg;
p... |
package textExcel;
import textExcel.TestsALL.Helper;
// initializes spreadsheet and parses the type of cell that's being
// created depending on user input
public class Spreadsheet implements Grid
{
private int numRows = 20;
private int numCols = 12;
private Cell[][] spreadsheet = new Cell[numRows][num... |
package function;
public class Function {
public double[][] arrayFilling(String a, String b, String c){
int n = Integer.parseInt(a);
int m = Integer.parseInt(b);
int s = Integer.parseInt(c);
int l = (Math.abs(n-m))/s;
double table[][] = new double[l][1];
return table;
}
public double[][] function... |
package com.stem.dao;
import com.stem.entity.WxImageResource;
import com.stem.entity.WxImageResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface WxImageResourceMapper {
int countByExample(WxImageResourceExample example);
int deleteByExample(WxImageRes... |
package spring4.javaconfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import spring4.iocdemo.Config;
import spring4.iocdemo.UseFunctionService;
public class Main {
public static void main(String[] args) {
AnnotationConfigApplicationContext context = new AnnotationConfigAppl... |
package Genetic;
import java.util.*;
public class GeneticAl {
Random random = new Random();
private int randomIndividDigit = 10;//сколько мутантов появляется в новом поколении
private int generationDigit = 10;//сколько поколений
private int firstGenerationDigit = 50;//сколько особей в первом поколении... |
package com.xxw.service.combine;
import com.xxw.entity.dto.MainPagelnfoDTO;
import com.xxw.entity.dto.Result;
/**
* @author xiongxianwei
* 2020/6/1 0001
*/
public interface HeadLineShopCategoryCombineService {
Result<MainPagelnfoDTO> getMainPagelnfo();
}
|
package testcase.emb;
import es.utils.mapper.Mapper;
import es.utils.mapper.exception.MappingException;
import es.utils.mapper.factory.builder.EMBuilder;
import es.utils.mapper.factory.builder.From;
import es.utils.mapper.impl.object.ClassMapper;
import from.ClassMapperFromTest;
import org.junit.jupiter.api.Test;
impo... |
package br.com.nozinho.dao.impl;
import javax.ejb.Stateless;
import br.com.nozinho.dao.UfDAO;
import br.com.nozinho.ejb.dao.impl.GenericDAOImpl;
import br.com.nozinho.model.Uf;
@Stateless
public class UfDAOImpl extends GenericDAOImpl<Uf, String> implements UfDAO{
}
|
package com.liyinghua.common;
/**
*
* @ClassName: StatusMessages
* @Description: 用户状态信息(是否禁用)
* @author:李英华
* @date: 2019年11月13日 下午7:40:12
*/
public class StatusMessages {
/**
* 信息编号
*/
private Integer wrongNumber;
/**
* 提示信息
*/
private String hint;
/**
*
*/
private Object... |
package com.hb.rssai.view.me;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import com.hb.rssai.R;
import com.hb.rssai.base.BaseFragment;
import com.hb.rss... |
import org.junit.Assert;
import org.junit.Test;
public class ExampleTest {
@Test
public void test() {
Assert.assertEquals(1,1);
}
}
|
package com.travelportal.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import play.db.jpa.JPA;
@Entity
@Table(name = "cancellation_date_diff")
pub... |
public class FindKthSmallestNumber{
public static void main(String args[]){
int array[] = {2,20,5,4,11,15};
int k = 6;
System.out.println(getSmallest(array,0,array.length-1,k-1));
}
public static int getSmallest(int array[],int left,int right,int k){
if(left <= right){
int pivot = partition(a... |
package com.tencent.mm.plugin.backup.backupmoveui;
import android.content.SharedPreferences.Editor;
import android.os.Bundle;
import android.os.Looper;
import android.widget.Button;
import android.widget.TextView;
import com.tencent.mm.R;
import com.tencent.mm.plugin.backup.a.g;
import com.tencent.mm.plugin.backup.c.a... |
package com.computerstudent.madpractical.Practical_16;
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.TimePicker;
i... |
package br.com.amphibia.schedule.dao;
import org.springframework.data.repository.CrudRepository;
import br.com.amphibia.schedule.model.Usuario;
public interface UsuarioDAO extends CrudRepository<Usuario, Integer>{
public Usuario findByEmailAndSenha(String email, String senha);
public Usuario findByEmailOrRacf(S... |
package Process;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.*;
import java.util.*;
import java.util.concurrent.BlockingQueue;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.LinkedBlockingQueue;
impor... |
//package HW9;
import java.util.Random;
class NewPoint1 {
int x;
int y;
int z;
}
public class Eucledian_multithreaded extends Thread {
static int NoOfThreads = Runtime.getRuntime().availableProcessors();
static long milliSeconds = 0;
static double minDistance;
static NewPoint1 firstPoint... |
/*
* 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 registrationapp;
import java.sql.ResultSet;
import javax.swing.JOptionPane;
/**
*
* @author Nitish Chauhan
*/
public class... |
package br.eti.ns.nssuite.requisicoes.bpe;
import br.eti.ns.nssuite.requisicoes._genericos.NaoEmbReq;
public class NaoEmbReqBPe extends NaoEmbReq {
public String chBPe;
}
|
package com.xuanxing.core.home.service.impl;
import com.xuanxing.core.home.service.IIndexService;
public class IndexServiceImpl implements IIndexService {
}
|
package jteller.estructuras;
import java.util.LinkedList;
import java.util.List;
public class Constructor {
private List<String> argumentos = new LinkedList<String>();
public Constructor() { }
public Constructor(final String ... argumentos) {
for (String argumento : argumentos) {
this.argumentos.add(argumen... |
package controller.util.collectors.impl;
import controller.constants.FrontConstants;
import controller.exception.WrongInputDataException;
import controller.util.collectors.DataCollector;
import domain.Admin;
import domain.User;
import org.apache.log4j.Logger;
import resource_manager.ResourceManager;
import javax.serv... |
package com.apress.todo.reactive;
import static org.springframework.http.MediaType.APPLICATION_JSON;
import static org.springframework.web.reactive.function.server.RequestPredicates.GET;
import static org.springframework.web.reactive.function.server.RequestPredicates.POST;
import static org.springframework.web.reactiv... |
class TesteJavaBasico
{
static {
System.out.println("bloco statico");
}
{
System.out.println("bloco NÃO estatico");
}
TesteJavaBasico()
{
System.out.println("construtor");
}
public static void main(String ...nomeQualquer)
{
//System.out.println("Antes de criar o objeto");
TesteJavaBasico t... |
package testCases;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class AlertDemo {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver", "src/test/resources/drivers... |
package by.ez.smm.web.security.util;
import java.security.SecureRandom;
import java.util.Date;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;
import by.ez.smm.web.security.exception.AuthIntern... |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... |
package capstone.abang.com.Register;
import android.app.Activity;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.RectF;
import android.... |
/*
* Copyright 2011 Eric F. Savage, code@efsavage.com
*
* 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 require... |
package com.bluemingo.bluemingo.service;
import com.bluemingo.bluemingo.domain.UserVO;
import com.bluemingo.bluemingo.generic.GenericService;
public interface UserService extends GenericService<UserVO, Integer>{
}
|
package com.lupoiu.photoshooter;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.ColorMatrix;
import android.graphics.ColorMatrixColorFilter;
import android.graphics.Paint;
import android.net.Uri;
import andro... |
package cn.edu.hebtu.software.sharemate.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
... |
package com.apolo.webapp.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Gen... |
package day14;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
public class test6 {
public static void main(String[] args) {
Date d1 = new Date();
SimpleDateFormat sdf1 = new SimpleDateFormat();
System.out.println(sdf1.format(d1));
}
}
|
package p4_group_8_repo.Game_levels;
import javafx.collections.ObservableList;
import p4_group_8_repo.Game_actor.Turtle;
import p4_group_8_repo.Game_actor.WetTurtle;
import p4_group_8_repo.Game_scene.MyStage;
/**
* Class of Level 4
* @author Jun Yuan
*
*/
public class Level_4 {
/**
* Replace Turtles with WetT... |
package it.polimi.se2019.controller.weapons.ordered_effects;
import it.polimi.se2019.rmi.UserTimeoutException;
import it.polimi.se2019.controller.GameBoardController;
import it.polimi.se2019.controller.weapons.WeaponController;
import it.polimi.se2019.view.player.PlayerViewOnServer;
import java.util.ArrayList;
import... |
package com.tencent.mm.plugin.fav.ui.detail;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.plugin.fav.a.b;
import com.tencent.mm.plugin.fav.a.h.a;
import com.tencent.mm.protocal.c.vx;
class FavoriteImgDetailUI$4 implements OnClickListener {
... |
package com.service;
import javax.transaction.Transactional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.model.Address;
import com.model.Customer;
import com.repository.Cus... |
package models.academics.coursedefn;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
@Entity
@DiscriminatorValue("ASSIGN")
public class Assignment extends Deliverable {
}
|
package securities_trading_platform.databaseActions;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
/*
* This class connects to the database, and creates table in the database if it is no... |
/*
* 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 membership.management;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.... |
package com.yoeki.kalpnay.hrporatal.all_employee;
import android.app.Activity;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
... |
package com.team6.app.quiz;
import java.util.Arrays;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotat... |
package map;
import helpers.DataConversionHelper;
import javafx.util.Pair;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Node {
private List<Connection> neighbors;
private Position position;
public Node(Position position) {
this.pos... |
package univ.m2acdi.apprentissageborel.util;
public final class Constante {
public static final String DATA_FILE_NAME = "data_file.json";
public static final String EXERCISE_FILE_NAME = "exercise.json";
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.