text stringlengths 10 2.72M |
|---|
package com.tch.test.august;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
public class JsoupTest {
public static void main(St... |
package com.company;
public class Main {
public static void main(String[] args) {
Dog doggy = new Dog("Krommis", "Male", true);
GermanShepherd doggy2 = new GermanShepherd("German Shepherd", "Female", true, true, true);
doggy2.eating();
doggy2.bark();
System.out.println... |
/**
* MIT License
* <p>
* Copyright (c) 2017-2018 nuls.io
* <p>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... |
package com.unisports.bl;
import com.unisports.dao.TeamDAO;
import com.unisports.entities.Team;
import java.util.List;
import java.util.UUID;
import javafx.util.Pair;
public class TeamBL {
TeamDAO _teamDao;
public TeamBL() {
_teamDao = new TeamDAO();
}
public Team GetTeamById(UUID id) {
... |
package com.eomcs.basic.ex05;
//# 증감 연산자 : 후위(post-fix) 증가 연산자
//
public class Exam0610 {
public static void main(String[] args) {
int i = 2;
//증갑연산자가 없다면
//기존 변수의 값을 1증가시키기 위해 다음과 같이 코딩해야 한다.
// i = i + 1;
//증감연산자를 사용하면 다음과 같이 간단하게 작성할 수 있다.
i++; // 3
// 현재 위치에 i 메모리에 들어 있는 값을 꺼내 놓는다.
... |
package com.example.imgurimagesearch.data.localdatabase;
import androidx.room.Database;
import androidx.room.RoomDatabase;
import com.example.imgurimagesearch.data.localdatabase.Dao.ICommentsDao;
import com.example.imgurimagesearch.data.localdatabase.Entity.CommentsEntity;
@Database(entities = {CommentsEntity.class}... |
/*
* 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.mycompany.airportservice;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.client.RestTempl... |
package org.fmedlin.camper;
import android.app.Application;
import android.content.Intent;
import android.content.pm.PackageManager.NameNotFoundException;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import android.os.Bundle;
import android.os.Parcelable;
import com.fmedlin.intentbuilder.BuildConfig... |
package hu.mentlerd.hybrid.asm;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
/*
* A method is considered special if it retu... |
package com.contract.system.controller;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
i... |
package com.ypeksen.mvc.dao;
import com.ypeksen.mvc.model.User;
public interface UserDao {
User findAuthenticatedUserByEmail(String email);
User findByEmail(String email);
void save(User user);
}
|
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.03.27 at 10:31:... |
package gov.nih.mipav.model.scripting.actions;
import gov.nih.mipav.model.scripting.ScriptableActionInterface;
import gov.nih.mipav.model.scripting.parameters.ParameterTable;
import gov.nih.mipav.view.Preferences;
/**
* A base class for all non-algorithmic (not JDialog*) script actions.
*/
public abstract class ... |
class Solution {
public boolean isValid(String s) {
Stack<Character> charStack = new Stack<>();
for(char i: s.toCharArray()){
if(i == '(' || i == '{' || i == '['){
charStack.push(i);
}
else{
if(charStack.isEmpty()){
... |
package team.groupproject.converters;
import team.groupproject.dto.MyUserDto;
import team.groupproject.entity.Myuser;
public class MyUserConverter {
public static MyUserDto convertMyUserToMyUserDto(Myuser myuser) {
MyUserDto myUserDto = new MyUserDto();
myUserDto.setId(myuser.getId());
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Paricular_view_our_social_work.java
*
* Created on May 18, 2012, 12:09:13 AM
*/
/**
*
* @author Amresh
*/
import java.sql.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class P... |
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.yuneec.widget;
import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.FrameLayout;
import android.wi... |
package com.gwc.bisv;
import java.util.Date;
public class Song {
private String title;
private String artistFirstName;
private String artistLastName;
// Constructors
public Song(String title, String artistFirstName, String artistLastName) {
this.title = title;
this.artistFirstName... |
import dataServiceImpl.CreditDataServiceImpl;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import po.CreditInfoPO;
import java.rmi.RemoteException;
import java.util.ArrayList;
/**
* CreditDataServiceImpl Tester.
*
* @author <Authors name>
* @since <pre>十二月 7, 201... |
package WebShop.model;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToMany;
@Entity
public class Category {
@Id
@GeneratedValue
private Integer id;
private String categoryName... |
package interfaces;
import classes.Interpreter;
/**
* @author dylan
*
*/
public interface Expression {
/**
* @param interpreter
* @return
*/
public String interpret(Interpreter interpreter);
}
|
/*
* 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.myvodafone.android.front.bundle;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.Html;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.... |
package a50;
import java.util.Arrays;
/**
* @author 方康华
* @title ThreeSumClosest
* @projectName leetcode
* @description No.16 Medium
* @date 2019/7/29 21:34
*/
public class ThreeSumClosest {
public int threeSumClosest(int[] nums, int target) {
Arrays.sort(nums);
int close = 0, dif = Integer... |
package com.tyrant.equalshashcode;
/**
* @author:profiteur
* @create 2020-07-02 15:57
**/
public class User implements Cloneable{
private String name;
private String age;
public User() {}
public User(String name, String age) {
this.name = name;
this.age = age;
}
public Str... |
package Actions;
import Articles.*;
import Attributes.ADate;
import Utils.Data;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane... |
/**
* Sencha GXT 3.0.1 - Sencha for GWT
* Copyright(c) 2007-2012, Sencha, Inc.
* licensing@sencha.com
*
* http://www.sencha.com/products/gxt/license/
*/
package com.sencha.gxt.explorer.shared;
import com.google.web.bindery.requestfactory.shared.RequestFactory;
public interface ExplorerRequestFactory extends Req... |
package Locadora;
import java.util.InputMismatchException;
import java.util.Scanner;
public class Locacao {
public static void main(String[] args) {
Acervo acervo = new Acervo();
Cadastro cadastro = new Cadastro();
boolean verifica = true;
while (verifica) {
System.ou... |
package com.wdl.query.hql.pojo;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class ConditionOperator {
private final String operator;
private static final Map cachedOperators = new HashMap();
private ConditionOperator(String operator) {
this.operat... |
package com.gtambit.gt.app.setting;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.CompoundButton;
import android.widget.CompoundButton.OnCheckedChangeListener;
import android.widget.ToggleB... |
package com.proyecto.server.service.impl;
import org.springframework.stereotype.Service;
import com.proyecto.dom.Perfil;
import com.proyecto.kernel.service.ServiceBase;
import com.proyecto.server.dao.IPerfilAplicacionDAO;
import com.proyecto.server.service.IPerfilService;
@Service
public class PerfilServic... |
package br.com.estore.web.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.List;
import br.com.estore.web.factory.ConnectionFactory;
import br.com.estore.web.model.CustomerBean;
public class Custom... |
package com.ua.dekhtiarenko.webapp.services;
import com.ua.dekhtiarenko.webapp.db.dao.classes.BookDAOImpl;
import com.ua.dekhtiarenko.webapp.db.entity.Book;
import org.apache.log4j.Logger;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import ... |
package com.example.demo.controller;
import com.example.demo.model.Course;
import com.example.demo.model.User;
import com.example.demo.model.UserCourse;
import org.springframework.stereotype.Controller;
import java.util.ArrayList;
import java.util.List;
@Controller
public class CourseController {
public static... |
package com.tech.interview.siply.redbus.repository.contract.users;
import com.tech.interview.siply.redbus.entity.dao.users.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.Optional;
import java.util.UUID;
@Repository
public interf... |
package sop.filegen;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @Author: LCF
* @Date: 2020/1/9 9:37
* @Package: sop.filegen
*/
@Target(ElementType.TYP... |
/*
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.esum.framework.core.event.message;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
import com.esum.framework.common.util.SysConstants;
public class RoutingInfo implements Serializable {
private static final long serialVersionUID = 1L;
... |
package com.bbg.test;
import java.util.concurrent.atomic.AtomicInteger;
public class PrintThread implements Runnable {
/*
volatile int count=0;
*/
final AtomicInteger count = new AtomicInteger(0);//final for pointer not value, better for being used as lock
/*
static final AtomicInteger count = new... |
package service;
import java.io.UnsupportedEncodingException;
/**
* Rest Service Class provides all Rest API for Travel Experts \n
* @version 1.0 - Date: 04/13/2019
* @author Quynh Nguyen (Queenie)
*
**/
import java.lang.reflect.Type;
import java.net.URLDecoder;
import java.util.List;
import java.util.logging.L... |
// https://leetcode.com/problems/construct-string-from-binary-tree/solution/
class Solution {
public String tree2str(TreeNode t) {
if (t == null)
return "";
if (t.left==null && t.right==null)
return t.val + "";
if (t.right == null)
return t.val + "(" + tr... |
package charactor;
public class Hero {
protected String name; //姓名
public float hp; //血量
public float armor; //护甲
public int moveSpeed; //移动速度
Hero(){
}
Hero(String heroName){
name = heroName;
}
Hero(String heroName, float heroHP, float heroArmor, int heroMoveSpeed){
... |
package com.springapp.mvc.service;
import com.springapp.mvc.dao.UserDao;
import com.springapp.mvc.domain.User;
import com.springapp.mvc.web.request.RegisterForm;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.inject.Inject;
import java.util... |
package lesson2;
/**
* Created by Admin on 09.02.2015.
*/
public class test5 {
public test5() {
}
public static void main(String[] args) {
int x = 223;
switch (x % 100) {
case 11:
System.out.println(x + " рублей ");
break;
case 12:
... |
package org.basex.query.func.array;
import org.basex.query.*;
import org.basex.query.iter.*;
import org.basex.query.util.list.*;
import org.basex.query.value.*;
import org.basex.query.value.item.*;
import org.basex.util.*;
/**
* Function implementation.
*
* @author BaseX Team 2005-15, BSD License
* @author Christ... |
package org.endeavourhealth.im.models.mapping;
import com.fasterxml.jackson.annotation.JsonProperty;
public class MapDependentColumn {
private String column;
private MapValueRequest value;
@JsonProperty("Column")
public String getColumn() {
return column;
}
public MapDependentColumn ... |
package pkgclass.firstprg;
public class ClassFirstPrg
{
public static void main(String[] args)
{
System.out.println("Hello Word");
}
}
class FirstPrg
{
public static void main(String args[])
{
System.out.println("Dhananjani");
System.out.println("19.1 MIS... |
package jesk.configuration;
import java.io.File;
public class JeskConfiguration extends Configuration {
public JeskConfiguration(File file) {
super(file);
addDefault("desktop.general.background-image", "included://res/background-sample.png");
save();
}
public String getBackgroundImag... |
/**
* Copyright (C) 2008 Atlassian
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
/*
* 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 FileIO;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.I... |
/*
* 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 ru.dm_ushakov.mycalculator.lang.func;
import java.math.BigDecimal;
import ru.dm_ushakov.mycalculator.lang.OperationContext;
public class TanFunc extends AbstractFunction {
@Override
public BigDecimal evalute(BigDecimal[] args, OperationContext context) {
if(args.length!=1)throw new IllegalArgumentExcepti... |
/*
* 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 com.beike.dao.background.landmarks;
import java.util.List;
import com.beike.dao.GenericDao;
import com.beike.entity.background.landmarks.LandMarks;
import com.beike.form.background.landmarks.LandMarksForm;
/**
*
* Title : LandMarksDao
* <p/>
* Description : 地标信息访问数据接口
* <p/>
* CopyRight :... |
package com.cinema.sys.service;
import com.cinema.sys.model.Site;
import com.cinema.sys.model.base.TSite;
public interface SiteService {
Site getDetail();
/**添加或更新*/
int save(TSite t);
}
|
package com.overlo4ded.fol.reader.gui;
import java.awt.EventQueue;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import javax.swing.BoxLayout;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
impo... |
package CoreVkApiParse.Wall;
import org.json.simple.JSONObject;
public class Photo {
private Object id, album_id, owner_id, user_id, photo_75, photo_130, photo_604, width, height, text, date, post_id, access_key;
public Photo(JSONObject jo){
try {
this.id = jo.get("id");
t... |
package com.fpl.web;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.repository.query.Param;
import org.springframework.web.bind.annotation.CrossOr... |
/**
*/
package mmodela.impl;
import mmodela.*;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EFactory;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
/**
* <!-- begin-u... |
package common.util;
import static org.junit.Assert.*;
import java.util.Locale;
import org.junit.Test;
public class MessageUtilTests {
@Test
public void getMessageTest() {
Locale locale = new Locale("vi", "VN");
assertEquals("Dữ liệu phải bắt đầu từ dòng 999",
MessageUtil.getMessage("import.importError1... |
package util;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class jdbcUtil {
private static String url="jdbc:mysql://localhost:3306/db_project";
private static String user="root";
private static String password=... |
package com.gmail.filoghost.holographicdisplays.object;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import com.gmail.filoghost.holographicdisplays.HolographicDisplays;
import... |
package com.proyectogrado.alternativahorario.alternativahorario.negocio;
import com.proyectogrado.alternativahorario.entidades.Carrera;
import com.proyectogrado.alternativahorario.persistencia.FachadaPersistenciaCarreraLocal;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
/**
*
*... |
package com.springtraining.model;
import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;
import java.util.List;
/**
* The persistent class for the M_SECTION database table.
*
*/
@Entity
@Table(name="M_SECTION")
@NamedQuery(name="MSection.findAll", query="SELECT m FROM M... |
package com.zimu.ao.board;
import java.awt.Point;
import org.newdawn.slick.Graphics;
import com.zimu.ao.enums.Direction;
public abstract class RenderebleBoard {
protected int cursor;
protected int topCursor;
public abstract void moveCursor(Direction direction);
public abstract void tabSwitch();
public a... |
package com.infoworks.ml.domain.detectors;
import com.infoworks.ml.services.FileResources;
import org.tensorflow.Graph;
import org.tensorflow.Operation;
import java.awt.*;
import java.awt.geom.Rectangle2D;
import java.awt.image.BufferedImage;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.I... |
package org.talend.components.i18n;
import static java.util.stream.Collectors.toMap;
import static org.eclipse.jgit.diff.DiffEntry.ChangeType.ADD;
import static org.eclipse.jgit.diff.DiffEntry.ChangeType.DELETE;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.Fi... |
package com.mall.backend.web;
import java.io.IOException;
import java.util.List;
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 com.mall.domai... |
package me.wuxingxing.pay.alipay.exception;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
/**
* @author xingxing.wu
* @date 2018/3/29
*/
public class AlipayException extends RuntimeException {
private static final long serialVersionUID = 1L;
private int status;
private Intege... |
package com.propertycross.mgwt.ui;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.HasValue;
import com.google.gwt.user.client.ui.Label;
import com.googlecode.mgwt.ui.client.widget.CellList;
import com.googlecode.mgwt.ui.client.widget.celll... |
import java.awt.List;
import java.math.BigDecimal;
import org.junit.Assert;
import cucumber.api.PendingException;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import cucumber.deps.com.thoughtworks.xstream.converters.basic.StringConverter;
import org.... |
package com.yc.education.model.account;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
@Table(name = "account_coast_purchase")
public class AccountCoastPurchase {
/**
* 成本核算-采购成本
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
... |
package com.example.uma.model;
import java.util.Set;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.DBRef;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "roles")
pu... |
package com.eshop.model.entity;
public enum ProductState {
ON_SALE,
HIDDEN;
}
|
package com.example.jayclark.ideexplorer;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.util.Log;
public class MainActivity... |
package com.mxninja.example.spring_micro_services.users.domain;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.util.UUID;
@Setter
@Getter
@EqualsAndHashCode(of = "uid")
@Entity
@Table(name = "user... |
package com.uchain;
public class GlobalConfig {
public static String genesisBlockChainId = "";
}
|
package io.papermc.hangar.security.metadatasources;
import io.papermc.hangar.security.PermissionAttribute;
import io.papermc.hangar.security.annotations.ProjectPermission;
import org.springframework.security.access.ConfigAttribute;
import org.springframework.security.access.annotation.AnnotationMetadataExtractor;
imp... |
package inheritance;
public class Medic {
}
|
package com.ma.pluginframework.domain.richmsg.section;
import org.json.JSONException;
import org.json.JSONObject;
public class PluginTextSection extends PluginMsgSection {
//region 需要存储的字段
private String text;
//endregion
public PluginTextSection(String text) {
this.text = text;
}
p... |
package pers.lyr.demo.dao.impl;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;
import pers.lyr.demo.common.factory.JdbcTemplateFactory;
import pers.lyr.demo.common.mapper.StudentTableMapper;
import pers.lyr.demo.dao.BaseDAOImpl;
import pers.lyr.demo.dao.StudentDAO;
... |
package com.jl.extract;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.io.Unsuppor... |
package com.tessoft.nearhere.activities;
import android.os.Bundle;
import android.os.Handler;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.Toast;
import com.tes... |
package vape.springmvc.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name ="procesadores")
public class Procesadores {
@Id
@Column(name = "idproc")
private String idproc;
@Column(name = "modelo")
private Str... |
package com.gxtc.huchuan.ui.live.intro;
import android.Manifest;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.text.TextUtils;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import android.widget.CheckBox;
import android.widget... |
package com.alvin.demo.design.store;
import java.util.Map;
public interface ICommodity {
void sendCommodity(String uId, String commdityId, String bizId, Map<String, String> extMap) throws Exception;
}
|
package com.otala.codereveals.repository;
import com.otala.codereveals.domain.Company;
import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* Spring Data repository for the Company entity.
*/
@SuppressWarnings("unused")
@Repository
public i... |
package com.gaoshin.onsalelocal.groupon.dao;
import java.util.List;
import com.gaoshin.onsalelocal.groupon.beans.Category;
public interface CategoryDao {
List<Category> getOrderedSubcategories();
}
|
package com.g2utools.whenmeet.activity.main;
import android.content.DialogInterface;
import android.content.Intent;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.... |
/*
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.trannguyentanthuan2903.yourfoods.history_order_user.model;
import com.trannguyentanthuan2903.yourfoods.product.model.OrderProduct;
import com.trannguyentanthuan2903.yourfoods.utility.Constain;
import java.util.ArrayList;
import java.util.HashMap;
/**
* Created by Administrator on 10/16/2017.
*/
public ... |
package chribb.mactrac.data;
import java.util.ArrayList;
import java.util.List;
public class FavoriteTrie {
//TODO need method to remove a Favorite
// as of now, I think the Trie will be stored in the AddViewModel. I'll initiallize the creation
// of the Trie in mainactivity. ill use an executor.
pr... |
package com.deepsingh44.ui;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.KeyStroke;
import java.awt.event.Ke... |
package seleniumBasicCode;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
public class seleniumRun {
public static void main(String[] args) {
// setting up the browser
System.setProperty("webdriver.chrome.driv... |
package fr.aresrpg.tofumanchou.domain.event.entity;
import fr.aresrpg.commons.domain.event.Event;
import fr.aresrpg.commons.domain.event.EventBus;
import fr.aresrpg.dofus.structures.game.Effect;
import fr.aresrpg.tofumanchou.domain.data.Account;
import fr.aresrpg.tofumanchou.domain.data.entity.Entity;
import java.uti... |
package com.smartsampa.busapi;
/**
* Created by ruan0408 on 5/07/2016.
*/
final class NullTrip extends Trip {
private static final Trip ourInstance = new NullTrip();
private NullTrip() {}
static Trip getInstance() { return ourInstance; }
@Override
public String getNumberSign() {
retur... |
package com.vodafone.innogaragepb.geomapp;
import android.Manifest;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.location.Location;
import android.os.Build;
import... |
package com.stk123.service.task;
import com.stk123.util.ExceptionUtils;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.apachecommons.CommonsLog;
import org.apache.commons.lang.StringUtils;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import java... |
package com.project.info;
public class Operation {
public static int removed = 0;
public static int added = 1;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.