text stringlengths 10 2.72M |
|---|
package com.stanislavmachel.shop.domain;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.util.UUID;
@Data
@Entity
public class Category {
@Id
@GeneratedValue(generator = "UUID"... |
/**
* This is a generated file. DO NOT EDIT ANY CODE HERE, YOUR CHANGES WILL BE LOST.
*/
package br.com.senior.furb.basico;
import br.com.senior.messaging.model.*;
@CommandDescription(name="retornaFilmesByDiretor", kind=CommandKind.Query, requestPrimitive="retornaFilmesByDiretor", responsePrimitive="retornaFilmesBy... |
package com.example.sohil.filesharing;
import android.graphics.Color;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
/**
* Created by sohil on 4/15/2015.
*/
public class GenericTextWatcher implements TextWatcher {
... |
package com.soldevelo.vmi.logging.utils;
import com.soldevelo.vmi.logging.entities.Node;
import org.joda.time.DateTime;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.junit.Asser... |
package pixel;
import java.util.Objects;
/**
* A simple representation of pixel colors, which stores a red, blue, and green value.
*/
public class SimplePixel implements PixelAsColors {
private int r;
private int g;
private int b;
/**
* Determines if the given value is a valid number for a color compon... |
package com.github.nik9000.nnfa.builder;
import java.util.ArrayList;
import java.util.List;
import com.github.nik9000.nnfa.heap.Nfa;
public abstract class AbstractMarkOperations<Self extends AbstractMarkOperations<Self>> extends AbstractSequentialOperations<Self> {
// TODO got to be a better list structure
p... |
package com.cambi.pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.testng.Assert;
import com.cambi.selenium.framework.BasePage;
public class SendGiftCardPage extends BasePage {
public SendGiftCardPage(WebDriver driver) {
sup... |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 app... |
package xyz.ieden.produce.eureka;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
/**
* @author lianghongwei01
* @date 2018/9/28 15:43
*/
@SpringBootApplication
@EnableEurekaC... |
import java.util.HashMap;
import java.util.Map;
public class InterleavingString {
public static boolean isInterleave(String s1, String s2, String s3, Map<String, Boolean> dp) {
if (s1.length() == 0 && s2.length() == 0 && s3.length() == 0)
return true;
if (s3.length() == 0)
... |
package com.advancementbureau.encrypt;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
public class FirstClass {
public static void main(String args[]) throws FileNotFoundException {
PrintWriter out = new PrintWriter("output.txt");
out.println("test");
out.close();
}
}
|
package io.gtrain.domain.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.gtrain.domain.interfaces.ContactableMember;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.PersistenceConstructor;
import org.springframework.data.mon... |
/* ~~ The InsertPanel is part of BusinessProfit. ~~
*
* The BusinessProfit's classes and any part of the code
* cannot be copied/distributed without
* the permission of Sotiris Doudis
*
* Github - RiflemanSD - https://github.com/RiflemanSD
*
* Copyright © 2016 Sotiris Doudis | All rights reserved
... |
package com.ds.assignment2.app.dsAs2.Repositories;
import com.ds.assignment2.app.dsAs2.Model.User;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface UserRepository extends MongoRepository<User, String> {
} |
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
private static void solve(int arr1[],int arr2[]){
int alice = 0;
int bob=0;
for(int i=0;i<3;i++)
{
if(arr1[i]>arr2[i])
alice++... |
package com.codingdojo.countries.controllers;
public class HomeController {
}
|
package com.cinema.sys.controller;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.spri... |
package com.bankerguy.bankerguy;
import java.util.List;
/**
* Created by nevin on 11/12/2017.
*/
public class Course {
private enum CourseType {
FLASHCARDS
}
private int id;
private String name;
private CourseType type;
private List<String> cards;
public Course(){
}
... |
/* Referncia: https://www.youtube.com/watch?v=WRANgDgM2Zg*/
package org.unbapp;
import java.util.ArrayList;
import java.util.List;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.Men... |
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
Department<WindInstrument> instrumentDepartment1=new Department<>("WindInstrument");
Department<StringInstrument> instrumentDepartment2 = new Department<>("StringInstrument");
Department<PercussionIn... |
/*
* 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 mati
*/
import java.util.*;
public class Ej6 {
public static void main (String args[]) {
float preciofi... |
package tw.org.iii.AbnerJava;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.HashMap;
import java.util.LinkedList;
import javax.swing.JPanel;
public class Drawer extends ... |
package com.sc.permission;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.confi... |
package controller.student.registration;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servle... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package hw2.q05;
import java.util.List;
/**
*
* @author yancy
*/
public class ReversePolishCalculator{
MyStack LetsDoit = new MyStack();
private float doMath(float f1, float f2, String op){
... |
package com.infinite.study.post;
import com.infinite.study.error.NotFoundException;
import com.infinite.study.model.Id;
import com.infinite.study.model.posts.Comment;
import com.infinite.study.model.posts.Post;
import com.infinite.study.model.user.Email;
import com.infinite.study.model.user.User;
import com.infinite.s... |
/**
* https://codeforces.com/problemset/problem/493/C #binary-search #brute-force #sorting #two-pointer
*
* <p>other: /* method 1 (1) xet arrA[i], i->n A: 2 2 2 B: 1 3 1 1
*
* <p>A[0] - 1 d : 4 6 : 8 for i : n idxA = upperBound(arrA, arrA[i]) idxB = upperBound(arrB,
* arrA[i])
*
* <p>optimize(idxA * 2 + (n - id... |
package com.fz.service.impl;
import com.fz.converter.OrderMaster2OrderDTOConverter;
import com.fz.dao.OrderDetailDao;
import com.fz.dao.OrderMasterDao;
import com.fz.dto.CartDTO;
import com.fz.dto.OrderDTO;
import com.fz.enums.OrderStatusEnum;
import com.fz.enums.PayStatusEnum;
import com.fz.enums.ResultEnum;
import c... |
/*
*Purpose : Class is implemented with pom and page factory model to find the webElements
* by using locators in Registration Page and different methods are implemented
* to execute operations
*
* @author Dinesh Kumar Peddakotla
* @version 1.0
* @since 23-06-2021
*/
package com.udemyautomati... |
package interation02;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Before;
import org.junit.Test;
import iteration02.Simulator;
import iteration02.fr.agh.domain.Cell;
import iteration02.fr.agh.domain.Dimension;
import iteration02.fr.agh.domain.Grid;
import iteration02.fr.agh.domain.Stat... |
package iota.lib;
public enum Cmd { on, off, open, close, lock, unlock, start, stop, stay, home, away}
|
package com.esum.comp.dbc.job.executor;
import com.esum.comp.dbc.jdbc.support.IfBasedListBatchSqlUpdate;
import com.esum.comp.dbc.job.JobException;
import com.esum.framework.common.sql.SQLUtil;
/**
* Update 로 데이터를 처리하는 JdbcExecutor.
*
* Copyright(c) eSum Technologies, Inc. All rights reserved.
*/
public class IfB... |
/**
* Copyright 2012 COMBASE AG
*/
package link.thread;
import link.CloudLink;
import org.codehaus.jettison.json.JSONArray;
import domain.DataType;
/**
* @author Gordon Bosch
*
*/
public class PostListThread extends Thread
{
JSONArray array;
public PostListThread(final JSONArray array)
{
super();
this... |
/*
* 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.duanc.serivce.impl;
import java.util.Set;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.duanc.api.UserService;
import com.duanc.mapper.SysUserMapper;
import com.duanc.model.User;
@Service("userService")
public class U... |
package com.san.accountState;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface AccountStateRepository extends JpaRepository<AccountState, Integer> {
}
|
package communicator;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.SocketException;
/**
* Created by visiri on 3/6/15.
*/
public class UDPserver extends Thread {
private String myIp;
private int myDefaultPort;
private MessageCallback messa... |
package com.train.amm;
import android.app.Activity;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
/**
* Activity生命周期
* void onCreate()
* Activity已经被创建完毕
*
* void onStart()
* Activity已经显示在屏幕,但没有得到焦点
*
* void onResume()
* Act... |
/**
* Support classes for SockJS including an
* {@link org.springframework.web.socket.sockjs.support.AbstractSockJsService}
* implementation.
*/
@NonNullApi
@NonNullFields
package org.springframework.web.socket.sockjs.support;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullField... |
package se.mauritzz.kth.inet.http;
import se.mauritzz.kth.inet.http.body.HttpBody;
import se.mauritzz.kth.inet.http.common.HttpCookies;
import se.mauritzz.kth.inet.http.common.HttpHeaders;
/**
* Represents an HTTP request or response object, depending on subclass. Contains common functionality,
* namely data struct... |
package turtlekit.viewer.viewer3D.engine;
import java.awt.Color;
import javax.media.opengl.GL2;
public class JoglPatch {
protected int id;
protected int size;
// private Material material;
public int getSize() {
return size;
}
public void setSize(int size) {
this.size = size;
}
public int getId()... |
package com.cst.geohash;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.util.ArrayList;
import java.util.List;
import com.cst.map.CovertBaiduGPS;
import com.cst.map.MarsCoordinate;
import com.cst.map.MarsCoordinate.C... |
package br.com.fiap.listener;
import java.io.FileWriter;
import java.util.Date;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.ServletRequestAttributeEvent;
import javax.servlet.ServletRequestAttributeListener;
import javax.servlet.annotation.WebLi... |
package fr.aresrpg.tofumanchou.domain.event.group;
import fr.aresrpg.commons.domain.event.Event;
import fr.aresrpg.commons.domain.event.EventBus;
import fr.aresrpg.tofumanchou.domain.data.Account;
/**
*
* @since
*/
public class GroupInvitationAcceptedEvent implements Event<GroupInvitationAcceptedEvent> {
privat... |
package com.bofsoft.sdk.widget.popupwindow;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.os.Handler;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view... |
package ro.pastia.server.protocol.http;
import org.junit.Test;
import ro.pastia.server.protocol.http.exception.InvalidRequestException;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
public class HttpRequestTest {
@Test
public void testGoodRequestLine() {
HttpReque... |
package com.efatura.sistemi.controller;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.DeleteMapping;
import or... |
package oops;
public class Music {
void about() {
System.out.println("Beautiful melody song");
}
}
|
package com.intricatech.topwatch;
import android.app.Activity;
/**
* Created by Bolgbolg on 17/11/2017.
*/
public interface LocationRecordServer {
void registerActivity(Activity activity, LocationRecordClient callback);
void unregisterActivity(Activity activity);
void startSession();
void pause... |
package paketmalimslovima;
import java.util.Scanner;
public class Zadatak_3_21082019 {
// Napisati program koji ucitava duzinu niza, niz i proverava da li je niz rastuci.
// Primer1 niza: 3 54 123 18
// Ispis: Niz nije rastuci.
// Primer2 niza: 71 422 1001 5050
// Ispis: Niz je rastuci.
public static voi... |
/*
* Copyright 2002-2020 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 karatsuba;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigInteger;
import java.util.Random;
import java.io.*;
import java.util.Scanner;
/**
* Created by vatva on 07.02.2017.
*/
public class Main {
public static void main(String[] args) throws Exception {
K... |
package com.blog.controller.admin;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* Description : 后台首页控制器
*
* @author : Sam
* @created : 2021/5/16
*/
@RequestMapping("/admin")
public class IndexAdminController {
@RequestMapping("/index")
public String index(){
return "admin/... |
/*
* Internally, key -> hash function -> index --> an array of buckets.
* If inputting two key.value with the same key; they both will be assigned
* into the same bucket. The previous one is therefore overwritten.
*
* Please note: each bucket contains a linked List. When two different key, but
* having... |
import java.util.*;
public class Main {
public static void main(String[] args) {
BinaryTree<Double> test = new BinaryTree<>();
test.Add(29.12);
test.Add(29.9);
test.Add(123.2321);
test.Add(13.43);
test.Add(1.43);
test.Add(0.00001);
test.Add(0.043);... |
package com.gxtc.huchuan.bean;
/**
* Describe:
* Created by ALing on 2017/5/3.
*/
public class MenberSearchBean {
/**
* followCount : 7
* introduction : 一个风趣幽默,气宇不凡的创业者。
* isFollow : 1
* newsTime :
* newsTitle :
* selfMediaName : 财神
* type : 5
* userCode : 273683401
... |
package com.esum.framework.common.jscript;
import org.apache.bsf.BSFEngine;
import org.apache.bsf.BSFException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class JScriptParser {
Logger log = LoggerFactory.getLogger(JScriptParser.class);
private JScript script;
public JScriptParser(Str... |
package l6;
public class Student {
private int course;
private String name;
public String getName() {
return this.name;
}
public int getCourse() {
return this.course;
}
public Student(String name,int course) {
this.name=name;
this.course=course;
}
public String toString()
{
return "[Имя:"+get... |
package com.radauer.mathrix;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* Cell of the Mathrix table
*/
public class Position implements Serializable
{
private final GroupKey groupKey;
private final RowKey rowKey;
private BigDecimal value;
public Position(GroupKey groupKey, RowK... |
package com.lsjr.zizi.chat.bean;
public class ConfigBean{
public static class Android {
private String disableVersion;// 不可见的版本号
private String version;// 最新版本号
private String versionRemark;// 最新版本描述
private String message;// 广告
public String getDisableVersion() {
return disableVersion;
}
public v... |
package com.emg.projectsmanage.pojo;
public class ProcessModel {
private Long id;
private Integer type;
private String name;
private Integer priority;
private Integer state;
private Integer stage;
private Integer stagestate;
private String progress;
privat... |
package org.gojul.gojulmq4j;
/**
* Some message brokers strongly suggest that you provide a key for your messages.
* The purpose of this interface is to provide a simple way to generate this key.
*
* @param <T> the type of object for which you must provide a key.
* @author julien
*/
@FunctionalInterface
public i... |
package com.example.cropad;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.os.Bundle;
import android.text.SpannableString;
import... |
package com.framgia.fsalon.screen.report.reportsales;
import android.databinding.BaseObservable;
import android.databinding.Bindable;
import com.framgia.fsalon.BR;
import com.github.mikephil.charting.data.LineData;
/**
* Exposes the data to be used in the ReportSales screen.
*/
public class ReportSalesViewModel ex... |
package alg.np.similarity.metric;
import util.reader.DatasetReader;
import profile.Profile;
/**
* Measures similarity based genomes - machine learning generated semantic content descriptors for the MovieLens dataset.
* All items a scored by how much they relate to each genome, with scores in range [0, 1]. There ar... |
/*
* 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 com.ems.ems;
import com.csvreader.CsvReader;
import com.csvreader.CsvWriter;
import java.io.File;
import java.io.FileNotFoundE... |
package mm.michalik.repository;
import mm.michalik.domain.User;
import org.springframework.data.repository.CrudRepository;
/**
* Created by maciej on 01.09.16.
*/
public interface UserRepository extends CrudRepository<User,Integer> {
User findByUsername(String username);
}
|
package com.example.programmer2.votingsystem;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.AdapterView;
import android.widget.GridView... |
package LC977SquaresOfASortedArray;
public class TwoPointer {
public int[] sortedSquares(int[] A) {
int n = A.length;
int j=0;
while(j<n && A[j]<0) {
j++;
}
int i = j-1;
int[] ans = new int[n];
int count=0;
while(i>=0 && j<n) {
... |
package com.demo.decorator.login;
import com.oracle.webservices.internal.api.databinding.DatabindingMode;
import lombok.Data;
/**
* @author: Maniac Wen
* @create: 2020/4/6
* @update: 18:22
* @version: V1.0
* @detail:
**/
@Data
public class User {
private String username;
private String password;
pri... |
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.*;
public class ClassLoaderTest1 extends URLClassLoader {
public ClassLoaderTest1(URL[] urls) {
super(urls);
}
public ClassLoaderTest1(URL[] urls, ClassLoader par... |
package se.rtz.mltool.args;
import java.io.File;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.io.SAXReader;
import se.rtz.tool.arg.Extractor;
import se.rtz.tool.arg.ParamException;
import se.rtz.tool.arg.common.ArgumentUtil;
public class XmlInputExtractor implements Extractor<Docu... |
package com.clever.ui.adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.clever.R;
import java.util.ArrayList;
/**
* Created by ... |
import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
public static void main (String[] args) throws java.lang.Exception
{
int len,i;
String str;
char c;
Scanner s=new Scanner(System.in);
str=s.nextLine();
len=str.length();
for(i=len-1;i>=0;i--)
{
c=str.charAt(i);
... |
package com.tpg.brks.ms.expenses.web.resources;
import com.tpg.brks.ms.expenses.domain.Expense;
import org.modelmapper.TypeMap;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
public class ExpenseResourceAssembler extends DomainResourceAssembler<Expense, ExpenseResource> implements... |
package YouTubeTutorial;
import java.util.InputMismatchException;
import java.util.Scanner;
import java.io.*;
public class ExceptionsLesson {
static Scanner userInput = new Scanner(System.in);
public static void main(String[] args) {
// slide 3
//slide 4
try {
getAFile(... |
package com.pm.oauth.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.pm.rentapp.commons.model.Role;
public interface RoleRepository extends JpaRepository<Role,Integer>{
}
|
package com.example.myapplication;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.Button;
import android.widget.ListView;
import android.widget.Toast;
import androidx.appcompat.app.Ap... |
/**
* @author jan.cajthaml 2013
*
* Port of "Fast IO for C++"
*
* Based on Fio.h, Fio.cpp and idea of StringTokenizer implementation in Java (char* + lookup)
*
*/
import java.util.regex.*;
import java.io.*;
import java.nio.*;
import java.util.Iterator;
import java.util.NoSuchElementException;
public final c... |
package nl.kolkos.photoGallery.services;
import nl.kolkos.photoGallery.entities.Photo;
public interface PhotoService {
Photo save(Photo photo);
Photo save(String fileName, String fileDownloadUrl, long size);
Photo findByFileLocation(String fileLocation);
void uploadsCleaner();
}
|
package fj.swsk.cn.eqapp.map;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.widget.TextView;
import java.util.Map;
import fj.swsk.cn.eqapp.R;
/**
* Created by xul on 2016/6/27.
*/
public class PoiCalloutContent {
/**
* 组装一个POI的callout内容页面
*
*... |
package com.example.demo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @Title:
* @Author: yangchunming
* @Date: 2019/10/18 0:54
*/
@RestController("/")
public class HelloController {
@GetMapping("/hello")
public String hel... |
package sk.somvprahe;
import java.util.ArrayList;
import sk.somvprahe.MessagesSentActivity.MessageHeadersAdapter;
import sk.somvprahe.MessagesSentActivity.MessageHeadersDataAdapter;
import sk.somvprahe.client.SvpClient;
import sk.somvprahe.client.SvpMessageEntity;
import sk.somvprahe.client.SvpMessagesThreadEntity;
i... |
package com.shan.tech.javlib.model.response;
public class PageableResponse {
}
|
package vocabularyInterfaces;
import java.io.FileInputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Set;
/**
* Created by EmerenciaAmarylla on 9/28/2016.
*/
public interface IVocabulary {
public void createSubVocabulary(FileInputStream excelFile) throws Exception;
public v... |
package com.ziaan.scorm;
import java.text.Collator;
import java.util.Comparator;
import java.util.List;
import java.util.Locale;
/**
* Matrix의 각 행의 비교를 위해서 사용되는 Collator
* 생성자로 비교되는 컬럼의 이름을 받는다.
* 비교되는 컬럼은 Numeric 또는 String이어야 한다.
*/
public class MatrixComparator implements Comparator {
int comparedColumnInde... |
package dao;
public class JDBCFactory implements UserDaoFactory {
public DAO createDAO() {
return new UserDAOHibernateImpl();
}
}
|
package be.mxs.common.util.pdf.general.oc.examinations;
import com.itextpdf.text.pdf.PdfPCell;
import com.itextpdf.text.pdf.PdfPTable;
import be.mxs.common.util.pdf.general.PDFGeneralBasic;
public class PDFRMHOutpatientFile extends PDFGeneralBasic {
//--- ADD CONTENT --------------------------------------------... |
package com.gk.service.impl;
import javax.annotation.Resource;
import javax.transaction.Transactional;
import org.apache.shiro.authz.annotation.Logical;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.apache.shiro.authz.annotation.RequiresRoles;
import org.apache.shiro.crypto.hash.Sim... |
package io.empyre.armor;
import com.google.common.io.Files;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import io.empyre.io.Data;
import java.io.*;
import java.util.HashMap;
import java.util.Map;
public class ArmorSet {
p... |
package entrepot.bean.contrat;
public interface IFait {
}
|
package bag;
public class Adjacencygraph
{
int vertex;
int a[][];
public Adjacencygraph(int vertex)
{
this.vertex = vertex;
a = new int[vertex][vertex];
}
public void addEdge(int c, int d)
{
a[c][d]=1;
a[c][d] = 1;
}
public void printGraph()
... |
package servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import domain.Order;
import service.OrderService;
public class PlaceOrderCommand extends FrontCommand{
public void doGet(HttpServletRequ... |
package scl.oms.outagemap;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.FileHandler;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.logging.SimpleFormatter;
/**
* Provides for basic appli... |
import java.sql.*;
public class Library2 {
static
{
// to do:
// add code to load the driver class sun.jdbc.odbc.JdbcOdbcDriver
// don't forget to catch relevant exceptions
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
} catch (ClassNotFoundException e) {
... |
package com.hdy.myhxc.exception;
/**
* @author m760384371
*/
public class AppException extends RuntimeException{
private String errorMsg;
public AppException(String message) {
super(message);
this.errorMsg = message;
}
public String getErrorMsg() {
return errorMsg;
}
... |
package ensamblador.app;
import javax.swing.*;
import javax.swing.table.DefaultTableCellRenderer;
import java.awt.*;
import java.awt.event.MouseEvent;
// CLASE PARA CREAR UNA DEFAULTCELLRENDERER PARA LAS CELDAS INTERIORES DE UNA TABLA
class customCellRenderer extends DefaultTableCellRenderer
{
final Co... |
package com.liujc.codeencapsulation.activity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.liujc.codeencapsulation.R;
import com.liujc.common.commonutils.ToastUitl;
import com.liujc.commonlibrary.base.BaseCompatActivity;
import com.liujc.commonlibrary.netstatus.NetUti... |
/*
* Copyright Verizon Media, Licensed under the terms of the Apache License, Version 2.0. See LICENSE file in project root for terms.
*/
package com.yahoo.cubed.templating;
import com.yahoo.cubed.settings.CLISettings;
import com.yahoo.cubed.model.Pipeline;
import com.yahoo.cubed.model.PipelineProjection;
import co... |
package exercises.chapter2.ex2;
/**
* Class prints Hello world to standard output
*
* @author Volodymyr Portianko
* @date.created 01.03.2016
*/
public class Exersice {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.