text stringlengths 10 2.72M |
|---|
package com.ff.push;
import android.app.Activity;
import android.view.SurfaceHolder;
import com.ff.push.meida.AudioChannel;
import com.ff.push.meida.VideoChannel;
public class LivePusher {
static {
System.loadLibrary("native-lib");
}
private AudioChannel audioChannel;
private VideoChannel v... |
/*******************************************************************************
* Copyright 2013 SecureKey Technologies Inc.
*
* 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
*
* ht... |
package com.company.bookmark.partner;
public interface Shareable {
public String getItemData();
}
|
package org.stoevesand.brain.rest;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlRootElement;
import org.stoevesand.brain.model.AbstractContent;
import org.stoevesand.brain.model... |
package com.atguigu.java;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.time.format.FormatStyle;
import java.time.temporal.TemporalAccessor;
import java.util.Date;
import org.junit.Test;
/**
*
* 了解
*
*/
public class DateTimeFormatterTest {
@Test
public void test2(){... |
package it.raffo.codewars;
public class Test
{
public static void main(String[] args)
{
System.out.println(Sum.GetSum(1, 1));
}
}
|
package scut218.pisces.dao;
import java.util.List;
import scut218.pisces.beans.User;
/**
* Created by Lenovo on 2018/3/14.
*/
public interface UserDAO {
void insert(User user);
void delete(String id);
void update(User user);
User queryById(String id);
List<User> queryAll();
}
|
/**
* Copyright 2015 EIS Co., Ltd. All rights reserved.
*/
package Java001;
/**
* @author 笹田 裕介 <br />
* eclipse上でコンパイル <br />
* コンパイルが正常終了することを確認 <br />
* 更新履歴 2015/12/06(更新者):笹田 裕介:新規作成 <br />
*/
public class Test02 {
/**
* メインメソッド <br />
* 改行して出力 <br />
*... |
package org.valar.project.contactsApplication.service;
import java.util.List;
import org.valar.project.contactsApplication.model.Contact;
public interface ContactService {
public Integer save(Contact contact);
public Integer update(Contact c);
public Integer delete(Contact c);
public Integer delete(Integer[] con... |
package com.neo.runner;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;
@Slf4j
@Component
public class ConcreateApplicationRunner implements ApplicationRunner {
@Override
... |
package org.hpin.webservice.bean;
import java.util.Date;
public class CustomerRelationShipPro {
private String id; //主键ID
private String customerRelationShipId; //支公司ID
private String projectCode; //项目编码
private String projectName; //项目名称
private String projectOwner; //项目负责人
private String projectType; //项目类型(... |
package polling;
import java.rmi.RemoteException;
public interface PollFactory extends java.rmi.Remote {
public void build(String model) throws RemoteException;
public boolean doneYet() throws RemoteException;
public IVehicle getVehicle() throws RemoteException;
}
|
package com.github.charlieboggus.sgl.input;
import static org.lwjgl.glfw.GLFW.*;
public enum Buttons
{
Left(GLFW_MOUSE_BUTTON_LEFT, "Left Mouse"),
Right(GLFW_MOUSE_BUTTON_RIGHT, "Right Mouse"),
Middle(GLFW_MOUSE_BUTTON_MIDDLE, "Middle Mouse"),
Button4(GLFW_MOUSE_BUTTON_4, "Mouse 4"),
Button5(GLFW_... |
package com.tscloud.common.framework.domain.entity.manager;
import com.tscloud.common.framework.domain.ParentGroup;
import java.io.Serializable;
/**
* create by shm 2015-5-21
* 配置信息实体类
*/
public class Config extends ParentGroup implements Serializable {
private static final long serialVersionUID = -82716411... |
package com.adaming.services.impl;
import com.adaming.entities.Role;
import com.adaming.services.interfaces.IRoleService;
public class RoleService extends ServiceGenericImpl<Role> implements IRoleService{
}
|
package com.itcia.itgoo.dao;
import org.apache.ibatis.annotations.Insert;
import com.itcia.itgoo.dto.Communityfile;
public interface ICommunityDao {
@Insert("INSERT INTO COMMUNITYFILE VALUES(#{communityfile},#{communitynum})")
public void insertCommunityfile(String picPath, String communityfile);
}
|
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
final String LINE_SPR = System.getProperty("line.separator");
final int BIG_MOD = 1000000007;
void run() throws Excep... |
package org.wicketstuff.gae;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import org.apache.wicket.DefaultPageManagerProvider;
import org.apache.wicket.page.IPageManager;
import org.apache.wicket.page.IPageMan... |
package io.dcbn.backend.graph;
import javax.persistence.AttributeConverter;
import java.util.Arrays;
import java.util.stream.Collectors;
/**
* This converter is used to convert a {@link String} into a 2 dimensional double array.
*/
public class ProbabilityConverter implements AttributeConverter<double[][], String> ... |
package org.giddap.dreamfactory.fundamentals.datastructure;
/**
* http://www.museful.net/2012/software-development/circulararraylist-for-java
* http://bradforj287.blogspot.com/2010/11/efficient-circular-buffer-in-java.html
*/
public class CircularBuffer {
}
|
/*
* 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 domain;
import santaTecla.utils.IO;
import santaTecla.utils.WithConsoleModel;
import views.console.Messages;
public class Result extends WithConsoleModel{
private int blacks = 0;
private int whites = 0;
public Result(int blacks, int whites) {
assert blacks >= 0;
assert whites >= 0;
this.blacks = b... |
package cn.itcast.controller;
import cn.itcast.config.LogConfig;
import cn.itcast.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@FeignClient(value = "user-server", fallback = Us... |
package com.b.test.security;
import com.b.test.entry.UserDetail;
import com.b.test.entry.UserLogin;
import org.springframework.security.core.context.SecurityContextHolder;
/**
* @author hjl
* @date 2018/6/8/008 11:21
**/
public class UserLoginUtil {
public static UserLogin getUserLogin() {
Object o = ... |
package com.nsbhasin.nowyouseeme.data;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import androidx.room.TypeConverters;
import java.util.Date;
@Entity
@TypeConverters(DateConverter.class)
public class Location {
@PrimaryKey(autoGenerate = true)
@ColumnInfo(n... |
package DecorativePattern;
public class HousBlend extends Beverage {
public HousBlend(float cost,String description) {
super(description,cost);
}
}
|
package com.sapl.retailerorderingmsdpharma.MyDatabase;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteStatement;
import com.sapl.retailerorderingmsdpharma.activities.MyApplication;
import org.json.JSONArray;
import org.json.JSONException;
import or... |
/* Eoin McDonough 18241646
* Jakub Pažej 18260179
* Aleksander Jakusev 18257038
*/
public class excel_exe{
private String[] sheetNameList; //I would like an Array
private int numberOfPages = 0; ... |
package com.esrinea.dotGeo.tracking.model.component.device.dao;
import java.util.List;
import javax.persistence.NoResultException;
import javax.persistence.NonUniqueResultException;
import org.apache.log4j.Logger;
import com.esrinea.dotGeo.tracking.model.common.dao.AbstractDAO;
import com.esrinea.dotGeo.t... |
package listener;
import util.Enums.CalibrationType;
import calibration.Calibration;
public interface CalibrationListener
{
public void calibrationEvent(Calibration obj, CalibrationType type, String path, boolean defaultCalibration);
}
|
package com.t2c.Concessionaire.exceptions;
public class NotSupportedDataException extends RuntimeException {
public NotSupportedDataException(String message) {
super(message);
}
}
|
package hu.lamsoft.hms.nutritionist.service.nutritionist.impl;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;
import hu.lamsoft.h... |
package com.myxh.developernews.ui.base;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.MotionEvent;
import com.myxh.developernews.R;
import com.myxh.developernews.common.AppManager;
/**
* Created by asus on 2016/8/6.
*/
public class Bas... |
/*
* Copyright 2016 TeddySoft Technology. All rights reserved.
*
*/
package tw.teddysoft.gof.Command;
public interface Command {
public Result execute();
}
|
package com.hit.dao;
public class SqlConnector {
protected static String getSqlConnectorUrl() {
return "jdbc:mysql://localhost:3306/skymoodz";
}
protected static String getSqlConnectorUsername()
{
return "root";
}
protected static String getSqlConnectorPassword()
{
... |
/* XZHL0810_MsgDialog.java V01L01 Copyright@QINGDAO FUBO SYSTEM ENGINEERING CO.,LTD 2012 */
/*--------------------------------------------------------------------------------------------------------------------*/
/* ... |
package com.karachevtsev.matrixeditor;
/**
* Created by karachevtsev on 11.03.2016.
*/
public class PropertyValue {
public String value;
public String mark;
public PropertyValue(String value, String mark) {
this.value = value;
this.mark = mark;
}
}
|
package com.ocraftyone.MoreEverything.proxy;
import com.ocraftyone.MoreEverything.Reference;
import com.ocraftyone.MoreEverything.init.ModBlocks;
import com.ocraftyone.MoreEverything.init.ModItems;
import net.minecraft.client.renderer.block.model.ModelBakery;
import net.minecraft.util.ResourceLocation;
public class ... |
package comp303.fivehundred.ai.basic;
import comp303.fivehundred.ai.IPlayingStrategy;
import comp303.fivehundred.model.Hand;
import comp303.fivehundred.model.Trick;
import comp303.fivehundred.util.Card;
import comp303.fivehundred.util.Card.Suit;
import comp303.fivehundred.util.CardList;
/**
* @author Ioann... |
/**
* Sencha GXT 1.0.0-SNAPSHOT - Sencha for GWT
* Copyright (c) 2006-2018, Sencha Inc.
*
* licensing@sencha.com
* http://www.sencha.com/products/gxt/license/
*
* ================================================================================
* Commercial License
* ============================================... |
package com.ass.controller;
import javax.mail.MessagingException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import com.ass.service.MailerService;
@Controller
public class TestController ... |
package com.epam.university.spring.service;
import com.epam.university.spring.domain.Auditorium;
import java.util.List;
public interface AuditoriumService {
List<Auditorium> getAuditoriums();
Auditorium getAuditoriumByName(String name);
}
|
package com.example.angela.avocadowe;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import java.util.ArrayList;
/**
* Created by Angela on 10/20/17.
*/
public class Person implements Parcelable, Comparable<Person> {
//instance variables
private String ... |
package com.ufpr.tads.dac.exceptions;
public class FuncionarioException extends Exception{
public FuncionarioException() {
}
public FuncionarioException(String msg) {
super(msg);
}
}
|
package com.lesports.albatross.adapter.community;
import android.content.Context;
import android.support.v4.view.PagerAdapter;
import android.view.View;
import android.view.ViewGroup;
import com.lesports.albatross.activity.PhotoActivity;
import com.lesports.albatross.custom.FrescoPhotoView;
import java.util.ArrayLis... |
package uk.co.ksl.oms.service.domain;
import java.time.LocalDateTime;
import java.time.ZoneId;
import static uk.co.ksl.oms.service.domain.BuyOrSell.BUY;
public class LiveQuote {
private final Product product;
private final double buyPrice;
private final double sellPrice;
private final LocalDateTime t... |
/**
* Componente Curricular: Módulo Integrador de Concorrência e Conectividade
* Autor: Allen Hichard Marques dos Santos e Caique dos Santos Trindade
* Data: 15/05/2016
*
* Declaramos que este código foi elaborado por nós em dupla e
* não contém nenhum trecho de código de outro colega ou de outro autor,
... |
import java.util.ArrayList;
public class VoteProcessor {
public String calculateElectionWinner(ArrayList<String> votes) {
String Winner = "";
int votesFrancis = 0;
int votesSnowden = 0;
for (int i = 0; i < votes.size(); i++) {
if (votes.get(i).equalsIgnoreCase("pope francis")) {
votesFrancis++;
} e... |
package interfejsi1;
public class Tacka implements IMoveable{
public double x,y;
@Override
public void printLocation() {
System.out.println(this.toString());
}
@Override
public String toString() {
return "Tacka [x=" + x + ", y=" + y + "]";
}
@Override
public void moveUp(double value) {
// TODO Aut... |
import java.io.Reader;
import java.util.Scanner;
public class Calculator {
//
// public void takeInput(String input) throws IncorrectInputException {
//
// }
/**
* Makes a basic calculation using two numbers and an operator.
* @param num1 a float, the first number in the operation.
* @param n... |
package com.cs.player;
/**
* @author Hadi Movaghar
*/
public class PlayerLimitationException extends RuntimeException {
private static final long serialVersionUID = 1L;
public PlayerLimitationException(final String message) {
super(message);
}
}
|
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package simulator.srl;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Response</b></em>'.
* <!-- end-user-doc -->
*
*
* @see simulator.srl.ResultsPackage#getResponse()
* @model
* @generated
*/
public interface Response extends Si... |
package defence;
import java.awt.GridLayout;
import java.awt.image.BufferedImage;
import javax.swing.*;
import defence.ReadMap;
public class Main {
public static void makeWindow(String title, BufferedImage[] play_map){
// Set up the frame
JFrame frame = new JFrame(title);
frame.setDefaultCloseOperation(JFrame.E... |
package edu.almightyconverter;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity {
... |
package edu.cs.ubbcluj;
/**
* Created by Zete-Írs on 2016.04.08..
*/
public class TestableLogAnalyzer extends LogAnalyzer{
private FakeFileExtMgr fakeFileExtMgr;
public TestableLogAnalyzer(FakeFileExtMgr fakeFileExtMgr){
this.fakeFileExtMgr = fakeFileExtMgr;
}
@Override
public FileExt... |
package StepDefinations;
import io.cucumber.java.Before;
public class Hooks {
StepDefination m=new StepDefination();
@Before("@DeletePlace")
public void beforeScenario() throws Exception
{
if(m.placeid==null)
{
m.add_place_payload_with("sai", "Telugu", "warangal");
m.user_call_with_http_request("AddPl... |
package info.gridworld.grid;
/**
* A <code>SparseGridNodeList</code> is a linked list which used in a sparse array.
* @author Eduardo
*/
public class SparseGridNodeList
{
private SparseGridNode first;
//private int size;
public SparseGridNodeList()
{
first = null;
//size = 0;
}
/**
* insert elemen... |
package com.zhongyp.advanced.pattern.strategy;
/**
* project: demo
* author: zhongyp
* date: 2018/1/24
* mail: zhongyp001@163.com
*/
public class FlyNoWay implements FlyBehavior {
@Override
public void fly() {
System.out.println("I can not fly");
}
}
|
package com.example.okta_cust_sign_in.interfaces;
public interface AppLoadingView {
void show();
void show(String message);
void hide();
}
|
package com.staniul.teamspeak.commands.validators;
import com.staniul.util.validation.Validator;
public class IntegerParamsValidator implements Validator<String> {
@Override
public boolean validate(String element) {
return element.matches("^-?[1-9]\\d*$");
}
}
|
package hello;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@SpringBootApplication
@RestController
public class MyHel... |
package com.micHon.adapter;
public class EuroSocket {
public void plugIn(EuroDevice device){
device.on();
}
}
|
package com.wrathOfLoD.Models.Ability.Abilities;
import com.wrathOfLoD.Models.Entity.Character.Character;
import com.wrathOfLoD.Models.Map.Map;
import com.wrathOfLoD.Models.Skill.SneakSkillManager;
import com.wrathOfLoD.Utility.Position;
/**
* Created by matthewdiaz on 4/17/16.
*/
public class RemoveTrapAbility ext... |
package com.example.prog3.alkasaffollowup;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.Html;
import android.widget.TextView;
import com.example.prog3.alkasaffollowup.Model.MailingOut;
import java.util.StringTokenizer;
public class DisplayMailOut extends AppCompatA... |
package com.jh.share.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.stereotype.Service;
import com.jh.share.model.FileBucket;
import com.jh.share.repository.FileBucketRepository;
@Service
pub... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2018 Paul Campbell
*
* 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 Team.junit;
import Team.domain.Employee;
import Team.service.NameListService;
import org.junit.Test;
public class NameListServiceTest {
@Test
public void testGetAllEmployees(){
NameListService service=new NameListService();
Employee[] allEmployees = service.getAllEmployees();
f... |
package com.boku.auth.http.server.servletfilter;
import java.util.Collection;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.boku.auth.http.AuthorizationHeader;
import com.boku.auth.http.httpmessage.CanonicalHttpHeader;
import com.boku.auth.http.httpmessage.CanonicalHttpResponse;
im... |
package thesis;
import io.vertx.core.AbstractVerticle;
import thesis.verticles.App;
import thesis.verticles.MongoFooServiceVerticle;
public class MainDeployer extends AbstractVerticle{
@Override
public void start() throws Exception {
super.start();
vertx.deployVerticle(new MongoFooServiceVer... |
package com.pdd.pop.sdk.http.api.request;
import com.pdd.pop.ext.fasterxml.jackson.annotation.JsonProperty;
import com.pdd.pop.sdk.http.api.response.PddPromotionMerchantCouponListGetResponse;
import com.pdd.pop.sdk.http.HttpMethod;
import com.pdd.pop.sdk.http.PopBaseHttpRequest;
import com.pdd.pop.sdk.common.util.Json... |
package connectors.mongodb;
import chat.errors.CoreException;
import chat.logs.LoggerEx;
import chat.utils.ConcurrentHashSet;
import com.mongodb.ClientSessionOptions;
import com.mongodb.MongoClient;
import com.mongodb.MongoClientOptions;
import com.mongodb.MongoClientURI;
import com.mongodb.client.ClientSession;
impo... |
package com.tqb.utils;
import java.util.List;
public class PageBean<E> {
private int currentPage; // 当前页
private int pageSize; // 每页显示多少条记录
// 查询数据库
private List<E> recordList; // 本页的数据列表
private int recordCount; // 总记录数
// 计算
private int pageCount; // 总页数
private int beginPageIndex; // 页码列表的开... |
package com.lagardien.ocpviolation;
/**
* Ijaaz Lagardien
* 214167542
* Group 3A
* Dr B. Kabaso
* Date: 13 March 2016
*/
public class Rectangle extends Shape
{
Rectangle()
{
super.type = 1;
}
}
|
package uow.finalproject.webapp.entityType;
public enum Suburb {
NSW("NSW"), //New South Wales
QLD("QLD"), //Queensland
SA("SA"), //South Australia
TAS("TAS"), //Tasmania
VIC("VIC"), //Victoria
WA("WA"); //Western Australia
private String name;
Suburb(String name) {
this.name = name;
}
public String ge... |
package com.adv.mapper;
import com.adv.pojo.BuyTables;
import com.adv.pojo.BuyTablesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface BuyTablesMapper {
int countByExample(BuyTablesExample example);
int deleteByExample(BuyTablesExample example);
int ... |
package com.company.resume.Repositories;
import com.company.resume.Models.Skill;
import org.springframework.data.repository.CrudRepository;
public interface SkillsRepository extends CrudRepository<Skill, Long> {
Iterable <Skill> findAllSkillByNameContainingIgnoreCase(String query);
}
|
package update;
import dbConnector.MsSqlHandler;
import java.awt.Toolkit;
import java.sql.*;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;
import login.LoginDataBase;
/**
*
* @author Barış Dalyan Emre
*/
public class UpdateCustomer extends javax.swing.JFrame {
private MsSqlHandler han... |
package com.codetop._1;
import org.junit.Test;
public class Merge {
/**
* 输入:nums1 = [1,2,3,0,0,0], m = 3, nums2 = [2,5,6], n = 3
* 输出:[1,2,2,3,5,6]
* 示例 2:
*
* 输入:nums1 = [1], m = 1, nums2 = [], n = 0
* 输出:[1]
* 思路:
* 将nums2先加入到nums1中
* i指向nums1的起点
* j指向nums2的起点
... |
//
// Decompiled by Procyon v0.5.36
//
package com.davivienda.sara.procesos.cuadrecifras.filtro.totalesestacion.estructura;
public enum TotalesEstacionEstructuraRegistro
{
ESTACION("Estacion", 0, 0, 6, false),
TOTAL("Codigo_Total", 1, 7, 6, true),
CANAL("Canal", 2, 17, 1, true),
CANTIDAD_EVENTOS(... |
package edu.betygreg.domain;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
/**
* Created by Jaeger on 2016-05-31.
*/
public class AssignmentList {
private HashMap<String, Assignment> assignmentHList = new HashMap<>();
private String name;//TODO tänk här
private String id;
... |
/*
* Copyright 2002-2017 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 it.sevenbits.codecorrector.formatter.javaformatter;
import it.sevenbits.codecorrector.formatter.IProperties;
import org.junit.Test;
import static junit.framework.Assert.fail;
import static junitx.framework.Assert.assertEquals;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
/*... |
/***********************************************************
* @Description : 日志接口
* @author : 梁山广(Liang Shan Guang)
* @date : 2020/5/17 14:40
* @email : liangshanguang2@gmail.com
***********************************************************/
package 第04章_工厂方法模式.第3节_应用举例;
public interface Logger {... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Controlador;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
/**
*
* @author agonzalez
*/
publ... |
/*
* Created on Mar 2, 2007
*
*
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.citibank.ods.modules.client.classcmplc.form;
/**
* @author bruno.zanetti
*
*
* Window - Preferences - Java - Code Style - Code Templates
* @generated "UML to Java (com.ibm.xtools.transf... |
package com.oldlie.common.utils.accountcreator;
import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import java.util.ArrayList;
import java.util.List;
/**
* @author OLDLIE
* @date 2020/10/16
*/
public class NameListener extends AnalysisEventListener<Name> {
... |
//Figure 2-34
import Semaphore;
public class ReaderWriter extends Thread {
// Shared objects
// controls access to rc
public static Semaphore mutex = new Semaphore(1);
// controls access to the database
public static Semaphore db = new Semaphore(1);
// # of processes re... |
package com.example.fileupload.QuestionDTO;
import org.springframework.data.annotation.Id;
import java.util.List;
public class QuestionDTO {
private int quesId;
private String question;
private String answerType;
private String quesType;
private List<String> options;
private String category;... |
package com.appspot.smartshop.adapter;
import java.util.List;
import com.appspot.smartshop.R;
import com.appspot.smartshop.dom.UserInfo;
import com.appspot.smartshop.ui.user.AddFriendActivity;
import com.appspot.smartshop.utils.DataLoader;
import com.appspot.smartshop.utils.SimpleAsyncTask;
import android.... |
package com.zhangdxchn.lib.weixin.bean.menu;
public class MeidaButton extends Button {
private String media_id;
public String getMedia_id() {
return media_id;
}
public void setMedia_id(String media_id) {
this.media_id = media_id;
}
} |
package com.yg.constant;
public class WebConstant {
//HttpSession里面代表经理的level值
public static final String MGR_LEVEL = "mgr";
//HttpSession里面代表员工的level值
public static final String EMP_LEVEL = "emp";
//HttpSession里面代表用户级别的属性名
public static final String LEVEL = "level";
//HttpSession里面代表用户... |
package com.assignment.project_one.project_one;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Optional;
@RestController
public class BookController {
... |
package com.legaoyi.protocol.messagebody.encoder;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Component;
import com.legaoyi.protocol.down.messagebody.JTT808_8401_MessageBody;
import com.legaoyi.protocol.exception.IllegalMessageException;
import com.legaoyi.protocol.message.Mess... |
package tailminuseff.config;
import eventutil.EventListenerList;
import java.beans.*;
import java.util.concurrent.*;
import javax.inject.Inject;
public class PropertyChangeEventDebouncer {
private final long maximumEventFrequencyMs = 500;
private final Object lock = new Object();
private final EventLis... |
package it.ialweb.poi;
import android.app.Activity;
import android.app.Dialog;
import android.content.DialogInterface;
import android.net.Uri;
import android.os.Bundle;
import android.app.Fragment;
import android.support.v4.app.DialogFragment;
import android.support.v7.app.AlertDialog;
import android.view.LayoutInflat... |
/*
* 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 Servlets;
import HibFiles.Notification;
import HibFiles.PoolManager;
import HibFiles.Rating;
import HibFiles.Recipe;
import Hi... |
/*
* Copyright 2002-2021 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.service.mobile.impl;
import com.beike.service.mobile.LuceneMobileAssistService;
public class LuceneMobileAssitServiceImpl implements LuceneMobileAssistService {
@Override
public String getCityEnNameByAreaID(long area_id) {
// TODO Auto-generated method stub
return null;
}
}
|
package com.example.loadinganimationexample;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.github.ybq.android.spinkit.style.DoubleBounce;
// #21 (로딩화면 만들기 feat. github)
// https://github.com/ybq/Android-SpinKit
public class MainActivity extends AppCompatActivity {
@Overri... |
package Model;
import View.ViewObserver;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.Random;
public class VehicleList {
private final int delay = 50;
Timer timer = new Timer(delay, new TimerListener());
pub... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.