text stringlengths 10 2.72M |
|---|
package shangguigu;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* Condition:可指定唤醒线程,效率较notifyAll高
* @param <T>
*/
public class Thread21<T> {
List<T> list = new ArrayL... |
package net.julisapp.riesenkrabbe;
import android.content.Context;
import junit.framework.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
impor... |
package com.techelevator;
import com.techelevator.VolunteerWorker;
import org.junit.Assert;
import org.junit.Test;
import org.junit.Before;
import org.junit.After;
public class VolunteerWorkerTest {
@Test
public void volunteers_make_no_money () {
VolunteerWorker test = new VolunteerWorker("Jacob","Peralta");
... |
package org.wltea.analyzer.util;
import java.nio.charset.Charset;
import java.nio.charset.IllegalCharsetNameException;
/**
* 字符工具类
*
* @author shouyilin
*
*/
public class CharsetUtil {
public static boolean isSupported(String charsetName) {
if (StringUtil.isEmpty(charsetName)) {
return false;
}
try {... |
package com.superman.multichannel;
import android.app.Application;
import com.umeng.commonsdk.UMConfigure;
/**
* 作者 Superman
* 日期 2018/12/28 10:51.
* 文件 AndroidMultiChannelPackage
* 描述
*/
public class MyApplication extends Application {
/**
* 参数1:上下文,必须的参数,不能为空
* 参数2:友盟 app key,非必须参数,如果Manifest文件... |
package br.inf.ufg.mddsm.broker.resource;
import base.common.Signal;
import br.inf.ufg.mddsm.broker.manager.SignalInstance;
public interface Effector {
Object execute(SignalInstance signal);
}
|
public class Work {
public static void main(String[] args) {
IDriver xiaoMing = new Driver();
ICar volkswagen = new Volkswagen();
ICar bmw = new BMW();
//小明开他自己的大众车上班
xiaoMing.drive(volkswagen);
//小明开他父亲的宝马车上班
xiaoMing.drive(bmw);
}
}
|
package org.livingdoc.fixture.api.converter;
import java.lang.reflect.AnnotatedElement;
public interface TypeConverter<T> {
default T convert(String value) throws ConversionException {
return convert(value, null);
}
T convert(String value, AnnotatedElement element) throws ConversionException;
... |
package fileTransPack;
import javax.swing.*;
import java.awt.BorderLayout;
import java.awt.Label;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.ServerSock... |
package com.example.android.mediaplayer;
/**
* Created by jaydutt on 14/01/2018.
*/
public class Song
{
private String name;
private int songReference;
private String Details="No Detail Available";
public Song(String s,int reference)
{
name=s;
songReference=reference;
}
p... |
package com.tencent.d.b.c;
class a$2 implements Runnable {
final /* synthetic */ a vlT;
a$2(a aVar) {
this.vlT = aVar;
}
public final void run() {
this.vlT.vlR.cancel();
}
}
|
package org.bashemera.openfarm.service;
import java.util.List;
import java.util.Optional;
import org.bashemera.openfarm.model.AnimalType;
import org.bashemera.openfarm.repository.AnimalTypeRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Servi... |
/*
* Copyright (C) 2015 Raphael P. Barazzutti
*
* 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 ... |
/**
*
* @author Nathan
*/
public class Character
{
private String name;
private final Item[] bag;
private int nextFreeSpace;
private String notebook;
private Area location;
public Character(String name, Area start)
{
this.name = name;
this.bag = new Item[... |
package io;
/**
* Enumeration to represent RGB color channel
*/
public enum RGB {
RED(16), GREEN(8), BLUE(0);
private int numVal;
RGB(int numVal) {
this.numVal = numVal;
}
private int getNumVal() {
return numVal;
}
/**
* Get color channel value from int represent... |
package com.sunzequn.sdfs.test;
import com.sunzequn.sdfs.node.DataNode;
import com.sunzequn.sdfs.node.NodeInfo;
import java.io.File;
/**
* Created by Sloriac on 2016/12/18.
*/
public class SockClient2Test {
public static void main(String[] args) {
NodeInfo selfInfo = new NodeInfo("2", "localhost", 222... |
/*
* created 03.06.2005
*
* Copyright 2009, ByteRefinery
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* $Id... |
import java.util.Scanner;
public class ProsteDodawanie {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int ileRazy = in.nextInt();
int suma=0;
int ileLiczb= 3;
int tabWyn[] = new int[ileRazy];
for (int i=0; i<ileRazy;i++){
... |
package com.tencent.tencentmap.mapsdk.a;
import java.util.List;
public class my {
private oe a = null;
public my(oe oeVar) {
this.a = oeVar;
}
public void a() {
if (this.a != null) {
this.a = null;
}
}
public final pd a(pe peVar) {
if (this.a == n... |
package com.classcheck.gen;
import java.util.Map;
public class MessagesReplace extends Replace{
private Map<String, String> messagesMap;
public MessagesReplace(String base, Map<String, String> messagesMap) {
super(base);
this.messagesMap = messagesMap;
}
public void changeMessages(){
String aftMessage = ... |
package shared.model;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("field")
public class Field
{
private int id;
@XStreamAlias("title")
private String title;
@XStreamAlias("xcoord")
private int xcoord;
@XStreamAlias("width")
private int width;
@XStreamAlias("helphtml")
private Str... |
/*
* 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 fr.aurelien.swingDB.DAO;
import java.sql.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.L... |
package vn.m2m.config;
import play.Configuration;
import play.Logger;
import javax.inject.Inject;
import javax.inject.Singleton;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.TimeUnit;
@Singleton
public class IpRequestConfig {
public class IpRequestMethodConfig{
// ex: 600/... |
package api;
import com.github.motoki317.traq4j.ApiClient;
import com.github.motoki317.traq4j.ApiException;
import com.github.motoki317.traq4j.api.*;
import com.github.motoki317.traq4j.model.*;
import javax.annotation.Nullable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UU... |
package com.uvaysss.queuemanager.ui.common;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.support.graphics.drawable.VectorDrawableCompat;
import android.support.v7.widget.... |
package com.pan.commlib.request;
import com.google.gson.Gson;
import com.pan.commlib.core.Request;
import java.util.Map;
public class JsonRequest extends Request {
public JsonRequest(Object payload) {
super(null);
mapRequestHeaders.put("Accept", "application/json");
mapRequestHeaders.put("Content-type", "ap... |
/*
Copyright (C) 2009, Bioingenium Research Group
http://www.bioingenium.unal.edu.co
Author: Alexander Pinzon Fernandez
JNukak3D is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the... |
package com.example.myapplication;
public class GlobalVariables {
static final String ADDRESS = "http://192.168.99.1/projectone/";
}
|
package com.tencent.mm.ui;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.plugin.setting.ui.setting.SelfQRCodeUI;
class ab$4 implements OnClickListener {
final /* synthetic */ ab toE;
ab$4... |
package com.dimple.maintenance.domain;
import com.dimple.common.core.domain.BaseEntity;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
/**
* @className Policy
* @description 策略表(Policy)实体类
* @auther Dimple
* @date 2019/4/17
* @Version 1.0
*/
public class Policy extends BaseEntity {
... |
package com.tencent.mm.g.c;
import android.content.ContentValues;
import android.database.Cursor;
import com.tencent.mm.sdk.e.c;
public abstract class al extends c {
public static final String[] ciG = new String[0];
private static final int ciP = "rowid".hashCode();
private static final int ctt = "labelId... |
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
class ArrayIntListTest
{
@Test
void test()
{
int[] data = {6,4,5,6,5,4};
ArrayIntList list = new ArrayIntList();
for (int n : data)
{
list.add(n);
}
assertEquals(4, list.get(5));
assertEquals(5, list.last... |
/*
* 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 Lab05A;
/**
*
* @author Aliaksiej Protas
*/
public class headCalc {
public static int he... |
package com.alibaba.dubbo.rpc;
import com.alibaba.dubbo.common.Node;
/**
* 服务的执行体
*/
public interface Invoker<T> extends Node {
/**
* 获取服务的类型
*/
Class<T> getInterface();
/**
* 执行本次服务调用过程
* @param invocation--本次服务调用的相关信息
* @return 调用执行结果
*/
Result invoke(Invocation inv... |
package day57_abstraction_polymorphism.abst_VS_inter;
public abstract class AbstractA {
int num1;
private double price;
public static int count;
public final String TYPE = "abstract";
public static final String LANGUAGE = "java";
public AbstractA(){ //Abst.class have CONSTRUCTOR
System.out.println("AbstractA c... |
package jp.co.tau.web7.admin.supplier.mappers;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import jp.co.tau.web7.admin.supplier.dto.InfoAirbagDTO;
import jp.co.tau.web7.admin.supplier.dto.InfoEquipmentDTO;
import jp.co.tau.web7.admin.supplier.entity... |
package com.tencent.mm.plugin.fts.ui.a;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.tencent.mm.plugin.fts.a.d.a.a.b;
import com.tencent.mm.plugin.fts.ui.a.b.a;
im... |
package com.pro.mongo.service.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.data.mongodb.cor... |
package com.itheima.ssm.service.impl;
import com.itheima.ssm.dao.IUserDao;
import com.itheima.ssm.domain.Role;
import com.itheima.ssm.domain.UserInfo;
import com.itheima.ssm.service.IUserService;
import com.itheima.ssm.utils.BCryptPasswordEncoderUtils;
import org.springframework.beans.factory.annotation.Autowir... |
package com.accp.pub.mapper;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.accp.pub.pojo.Gradeorganizationuser;
public interface GradeorganizationuserMapper {
int insert(Gradeorganizationuser record);
int insertSelective(Gradeorganizationuser record);
int ... |
package com.shiro.mapper;
public class ModuleMapperProvider
{
public String select()
{
String sql = "select * from module_p";
return sql;
}
}
|
package com.example.demo.services;
import com.example.demo.data_transfer_objects.InteresseDTO;
import com.example.demo.entities.Interesse;
import com.example.demo.repositories.InteresseRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.spr... |
package org.opentosca.containerapi.instancedata;
import java.net.URI;
import java.util.List;
import javax.ws.rs.core.Response.Status;
import org.opentosca.containerapi.instancedata.exception.GenericRestException;
import org.opentosca.instancedata.service.IInstanceDataService;
import org.opentosca.model.instancedata.... |
package polling;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonView;
import java.sql.Time;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.concurrent.atomic.AtomicInteger;
public class Poll{
@JsonView(View.excludemoderator.class)
int... |
/*
* Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved.
*
* 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 ... |
package setexer;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.TreeSet;
import org.junit.Test;
public class TestTreeSet {
public static void main(String[] args) {
Comparator<Employee> com = new Comparator<Employee>(){
@Override
publ... |
package ru.usu.cs.fun.lang;
import java.util.HashMap;
import java.util.Map;
import ru.usu.cs.fun.back.Scope;
import ru.usu.cs.fun.back.Term;
import ru.usu.cs.fun.lang.number_operations.Add;
import ru.usu.cs.fun.lang.number_operations.Div;
import ru.usu.cs.fun.lang.number_operations.Eq;
import ru.usu.cs.fun.... |
/*
* 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, Version 2.0 (the
* "License"); you ... |
// Alexander Bratyshkin
// 260684228
import java.sql.Date;
import java.text.DecimalFormat;
import java.time.LocalDate;
import java.util.Scanner;
public class Demo {
private static final int TWO_DECIMALS = 100;
public static void main(String[] args) {
double rate, threshold, max_points, purchase_tot... |
package HealthMonitorMng.service.background;
import java.util.List;
import HealthMonitorMng.hbm.base.background.DetectObject;
import HealthMonitorMng.hbm.base.background.BasicData.Area;
import HealthMonitorMng.hbm.base.background.BasicData.BasicData;
import HealthMonitorMng.hbm.base.background.BasicData.City;
... |
package com.yinghai.a24divine_user.module.setting;
import android.content.Intent;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.annotation.IdRes;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.... |
package api.validator.helper;
import api.arq.util.AutenticacaoUtil;
import api.model.Aerogerador;
import api.model.ParqueEolico;
import api.model.Usuario;
import api.repository.AerogeradorRepository;
import api.repository.ParqueEolicoRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org... |
package structuralPatterns.proxyPattern.forceProxy;
public class GamePlayerProxy implements IGamerPlayer {
private IGamerPlayer gamerPlayer = null;
private String name = "";
public GamePlayerProxy(GamePlayer gamePlayer, String name) {
this.gamerPlayer = gamePlayer;
this.name = name;
}... |
package com.example.notebookapp.adapter;
import android.content.Context;
import android.graphics.Color;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import and... |
package com.example.demo;
//public interface QuoteRepository extends JpaRepository<Quote, Long> {
//
// Optional<Quote> findByWord(String word);
//}
|
package ru.ermakovis.simpleStorage.common;
public class FileListMessage extends Message {
private final String root;
public FileListMessage(String root) {
this.root = root;
}
public String getRoot() {
return root;
}
}
|
package com.fujitsu.fs.java.pg.swing.layouts;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingUtiliti... |
package interviews.amazon.oa1;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
public class LRUCache {
public static void main(String[] args) {
LRUCache cache = new LRUCache(2);
cache.put(1, 1);
cache.put(2, 2);
System.out.println(cache.get(1));
... |
package com.example.v2.thread.unsafe.lock;
/*
* 为了更清楚的让我们知道是如何加锁和释放锁的,JDK5以后就提供了一个接口:Lock锁。
* Lock
* public void lock():加锁
* public void unlock():释放锁
* 实现类对象
* public ReentrantLock()
*/
public class LockTicketTest {
public static void main(String[] args) {
LockTicket ticket = new LockTicket()... |
public class Estrella {
private String identificador;
private double campoMagnetico;
private int indiceColor;
public Estrella(String identificador,double campoMagnetico,int indiceColor){
this.identificador=identificador;
this.campoMagnetico=campoMagnetico;
this.indiceColor=indiceColor;
}
... |
package BattleShipTCP;
import java.io.Serializable;
public class OutputView implements Serializable {
public void outputChar(String string){
System.out.print(string);
}
public void outputValue(String string){
System.out.println(string);
}
}
|
package com.tefper.daas.parque.business;
import java.util.List;
import com.tefper.daas.parque.model.ProductInstanceType;
public interface ProductBusiness {
public List<ProductInstanceType> getProductById(String productId);
public List<ProductInstanceType> getProductByPublicIdAndProductType(String publicId, Stri... |
package Lab01.Zad4;
public class DecoyDuck extends Duck {
public DecoyDuck(){
this.quack_behavior = new MuteQuack();
this.fly_behavior = new FlyNoWay();
}
public void display(){
System.out.println("Decoy duck");
}
}
|
package hirondelle.web4j.database;
import java.util.logging.*;
import java.sql.Connection;
import java.sql.SQLException;
import hirondelle.web4j.util.Util;
/**
Type-safe enumeration for transaction isolation levels.
<P>For more information on transaction isolation levels, see {@link Connection} and th... |
package com.codemine.talk2me;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class MySQLiteOpenHelper extends SQLiteOpenHelper {
public static final String CREATE_CONTRACTS = "create table CONTRACTS ("
+ "id integ... |
package controller;
import dao.puanlarDAO;
import entity.puanlar;
import java.io.Serializable;
import java.util.List;
import javax.enterprise.context.SessionScoped;
import javax.inject.Inject;
import javax.inject.Named;
@Named
@SessionScoped
public class puanlarController implements Serializable {
private List<p... |
package com.fixit.rest.requests;
/**
* Created by Kostyantin on 3/20/2017.
*/
public class APIRequestHeader {
private String userId;
private String installationId;
private String latestScreen;
public APIRequestHeader() { }
public APIRequestHeader(String userId, String installationId, String l... |
package engine.physics;
import org.lwjgl.util.vector.Vector3f;
public interface AABBEntity extends PhysicEntity{
public Vector3f getSize();
public Vector3f getCenter();
}
|
/*연습문제2.다음 조건을 만족하며 클래스 JFrame을 상속받는 클래스를 구현하여 테스트하는 프로그램을 작성하시오.
- 윈도우의 가로와 세로가 각각 300, 150으로, 윈도우의 콘텐트패인 색상을 Color.lightGray로
- 윈도우의 캡션 제목을 "프로그래밍 연습 2"로
- 윈도우의 종료 버튼으로 프로그램도 함께 종료하도록
- 상단에 "OK" 버튼과 하단에 "Cancel" 버튼 추가, BorderLayout의 "North", "South"이용
- 메소드 setDefaultLookAndFeelDecorated(boolean)의 인자를 true, false로 하여... |
package com.CollectionQueue;
/**
* Created by Mallika Aruva on 2/16/2018.
*/
public enum Category {
PHONE,
COMPUTER,
IPAD,
}
|
package com.example.zealience.oneiromancy.mvp.contract;
import com.example.zealience.oneiromancy.entity.DreamTypeEntity;
import com.example.zealience.oneiromancy.entity.HomeRecommendEntity;
import com.steven.base.mvp.BaseModel;
import com.steven.base.mvp.BasePresenter;
import com.steven.base.mvp.BaseView;
import java... |
package com.wb.bot.wbbot.utils;
import com.wb.bot.wbbot.controller.GroupController;
import com.wb.bot.wbbot.controller.MessageController;
import org.apache.commons.beanutils.ConvertUtils;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.lang.reflect.Type;
import java.util.ArrayList;
im... |
package ch.epfl.tchu.game;
import ch.epfl.tchu.Preconditions;
import ch.epfl.tchu.SortedBag;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import static ch.epfl.tchu.game.Constants.MAX_ROUTE_LENGTH;
import static ch.epfl.tchu.game.Constants.MIN_ROUTE_LENGTH;
/**
* Route Class
* Cla... |
package main;
import java.util.ArrayList;
import java.util.Iterator;
interface Observer{
public void update(Gishe gishe);
}
public class ObserverPattern {
ArrayList<Observer> observers = new ArrayList<Observer>();
public void registerObserver(Observer o)
{
observers.add(o);
}
public void unre... |
package com.company;
import java.io.File;
import java.nio.file.Path;
import java.nio.file.Paths;
public class Main {
public static void main(String[] args) {
Digit digit = new Digit();
String GetPath = new File("").getAbsolutePath() + "/src/Inputs/Inputfile.txt";
Path file = Paths.get(Ge... |
package com.ydl.iec.iec104.server.slave;
import com.ydl.iec.iec104.common.BasicInstruction104;
import com.ydl.iec.iec104.message.MessageDetail;
import com.ydl.iec.iec104.server.handler.ChannelHandler;
import com.ydl.iec.iec104.server.handler.DataHandler;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class SysDataH... |
package com.douane.entities;
import java.io.Serializable;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.sql.Timestamp;
import java.util.Date;
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
@NamedQuery(name="Contrevisite.findAll",... |
package com.github.repo;
import com.github.model.VotePerson;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query... |
package JogoDaVelha;
public class Jogadores {
String simbolo;
public void representa(String simbolo) {
this.simbolo = simbolo;
}
}
|
package com.fleet.properties.controller;
import com.fleet.properties.property.UserProperties;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@RestController
@RequestMapping("/user")
public class UserContr... |
package com.example.fincost.Adapter;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Color;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import androidx.a... |
package com.eugenesokolov.dict.service.impl;
import com.eugenesokolov.dict.model.TranslationWord;
import com.eugenesokolov.dict.service.GoogleSheetMapperService;
import com.eugenesokolov.dict.service.GoogleSheetsService;
import com.eugenesokolov.dict.service.SpreadSheetService;
import com.google.api.services.sheets.v4... |
package com.tencent.mm.plugin.freewifi.d;
import android.os.Build;
import com.tencent.mm.ab.b.a;
import com.tencent.mm.protocal.c.ast;
import com.tencent.mm.protocal.c.asu;
import com.tencent.mm.protocal.c.asv;
import java.util.LinkedList;
public final class j extends c {
protected final void aOR() {
a aV... |
package com.itfdms.auth.util;
import com.itfdms.common.constant.CommonConstant;
import com.itfdms.common.constant.SecurityConstants;
import com.itfdms.common.vo.SysRole;
import com.itfdms.common.vo.UserVO;
import org.apache.commons.lang3.StringUtils;
import org.springframework.security.core.GrantedAuthority;
import or... |
package ars.ramsey.interviewhelper.model.local;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
... |
/*
* 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 Stack;
/**
*
* @author asus
*/
public class Test {
public static void main(String[] args) {
Stac... |
package services;
import entity.User;
import play.db.jpa.Transactional;
import play.mvc.Controller;
import play.mvc.Result;
import repositories.UserRepository;
/**
* Created by Manuel on 24.10.17.
*/
public class LoginService extends Controller {
//POST
//Use body for parameters
@Transactional
pub... |
package com.jim.multipos.ui.product_class_new.model;
import com.jim.multipos.data.db.model.ProductClass;
import com.jim.multipos.ui.product_class_new.adapters.ProductsClassListAdapter;
/**
* Created by developer on 01.11.2017.
*/
public class ProductsClassAdapterDetials {
ProductClass object;
ProductsClass... |
package org.abigballofmud.flink.practice.app.constansts;
/**
* <p>
* description
* </p>
*
* @author isacc 2020/02/27 12:35
* @since 1.0
*/
public interface CommonConstant {
String INSERT = "INSERT";
String UPDATE = "UPDATE";
String UPSERT = "UPSERT";
String DELETE = "DELETE";
String KAFKA... |
package com.hesoyam.pharmacy.storage.controller;
import com.hesoyam.pharmacy.medicine.model.Medicine;
import com.hesoyam.pharmacy.storage.dto.AddStorageItemDTO;
import com.hesoyam.pharmacy.storage.dto.UpdateStorageItemDTO;
import com.hesoyam.pharmacy.storage.exceptions.InvalidAddInventoryItemException;
import com.heso... |
package com.testyantra.stockmanagement.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.testyantra.stockmanagement.dao.InvestorDAO;
import com.testyantra.stockmanagement.dao.UserDAO;
import com.testyantra.stockman... |
/*
* Copyright (c) 2010-2012 by Bjoern Kolbeck,
* Zuse Institute Berlin
*
* Licensed under the BSD License, see LICENSE file for details.
*
*/
package org.xtreemfs.osd.rwre;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.util.HashMap;
import java.util.Iterator;
import j... |
package hii;
import java.io.FileReader;
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.util.Scanner;
import org.json.simple.JSONValue;
import org.json.simple.parser.JSONParser;
import org.json.JSONArray... |
/**
* \file OnlineResource.java
* This class represents the OnlineResource node of the XML.
*/
package br.org.funcate.glue.model.xml;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.Xml... |
package com.tencent.mm.plugin.topstory.ui.a;
import android.content.Context;
import android.content.Intent;
import android.graphics.Point;
import android.support.v7.widget.RecyclerView$t;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
im... |
package so.ego.space.domains.task.application.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
@Getter
@Builder
@AllArgsConstructor
public class TaskSearchRequest {
private String search;
}
|
package com.sommy.android.med_manager;
import android.support.annotation.NonNull;
import android.support.test.espresso.Espresso;
import android.support.test.espresso.IdlingResource;
import android.support.test.espresso.matcher.BoundedMatcher;
import android.support.test.rule.ActivityTestRule;
import android.support.te... |
//### This file created by BYACC 1.8(/Java extension 1.13)
//### Java capabilities added 7 Jan 97, Bob Jamison
//### Updated : 27 Nov 97 -- Bob Jamison, Joe Nieten
//### 01 Jan 98 -- Bob Jamison -- fixed generic semantic constructor
//### 01 Jun 99 -- Bob Jamison -- added Runnable support
//### ... |
package com.ota.ibeacon4android.fw;
import java.util.List;
import com.ota.ibeacon4android.R;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;... |
package com.zking.ssm.mapper;
import com.zking.ssm.model.Book;
import com.zking.ssm.model.MyFile;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;
@Repository
public interface BookMapper {
int deleteByPrimaryKey(Integer bookId);
int insert(Book record);
in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.