text stringlengths 10 2.72M |
|---|
package com.meizu.scriptkeeper.services;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import com.meizu.scriptkeeper.preferences.SchedulePreference;
import com.meizu.scriptkeeper.schedule.ScheduleControl;
import com.meizu.scriptkeeper.schedule.monkey.MonkeyError;
import com.mei... |
package com.pattern.observe.p2pcase.asynbuild;
import com.pattern.observe.p2pcase.UserService;
import com.pattern.observe.p2pcase.rebuild.RegObserver;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Executor;
public class UserController {
private UserService userService;
priva... |
// Generated code from Butter Knife. Do not modify!
package com.zhicai.byteera.activity.message;
import android.view.View;
import butterknife.ButterKnife.Finder;
import butterknife.ButterKnife.ViewBinder;
public class SelectAddressActivity$$ViewBinder<T extends com.zhicai.byteera.activity.message.SelectAddressActivit... |
package com.enesmumu.nba.base;
/**
* @author 作者:BoXuelin
* @date 创建时间:2017年10月18日
* @version 1.0
*/
public class Constant {
public static String SUCCESS = "SUCCESS";// 成功
public static String FAILED = "FAILED";// 失败
public static String ERROR = "ERROR";// 异常
}
|
package atcoder.arc026;
import java.util.Arrays;
import java.util.Comparator;
public class ARC026C {
public static void main(String[] args) {
new ARC026C().solve(5,
new Light[] { //
new Light(0, 1, 1), //
new Light(1, 2, 1), //
new Light(2, 4, 3), //
new Light(3, 5, 1), //
new Li... |
package com.bozuko.bozuko.views;
import com.bozuko.bozuko.R;
import com.bozuko.bozuko.datamodel.User;
import com.fuzz.android.ui.URLImageView;
import android.content.Context;
import android.graphics.Color;
import android.graphics.Typeface;
import android.text.TextUtils.TruncateAt;
import android.widget.LinearLayout;
i... |
package com.unknowns.hibernate.entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Workers {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
int id;
int lvl;
public Workers() {
su... |
package de.mq.phone.web.person;
import java.util.Collection;
import java.util.Locale;
import java.util.Map;
import org.springframework.validation.BindingResult;
import de.mq.phone.domain.person.GeoCoordinates;
interface PersonSearchController {
void assignPersons(final PersonSearchModel model, final... |
package org.cethos.tools.ninebatch.tests.tasks;
import org.cethos.tools.ninebatch.tasks.BatchConversionTask;
import org.cethos.tools.ninebatch.tasks.ConversionFailureException;
import org.cethos.tools.ninebatch.tasks.ImageQueryTask;
import org.cethos.tools.ninebatch.tasks.Task;
import org.cethos.tools.ninebatch.tasks.... |
package com.example.kuno.sharedpreferences;
import android.app.Activity;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
/**
* Created by kuno on 2017-01-25.
*/
public class TwoActivity extends Activity {
... |
package com.zc.pivas.printlabel.service.impl;
import com.zc.base.orm.mybatis.paging.JqueryStylePaging;
import com.zc.base.orm.mybatis.paging.JqueryStylePagingResults;
import com.zc.base.sys.common.util.DefineCollectionUtil;
import com.zc.pivas.printlabel.entity.PrinterIPBean;
import com.zc.pivas.printlabel.repos... |
package esi.atl.G39864.blokus.view.javaFx;
import esi.atl.gg39864.blokus.model.Game;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
/**
* this method allows to make the action stop the game for the current player
* where the button arreter is clicked
*
* @author chris home
*/
public class Arr... |
/*
* 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.jd.myadapterlib.dinterface;
import android.view.View;
/**
* Auther: Jarvis Dong
* Time: on 2017/1/3 0003
* Name:
* OverView:
* Usage:
*/
public interface DOnItemChildLongClickListener {
boolean onLongClick(View var1, int var2);
}
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.lifespeedtechnologies.OpenTracker;
import java.awt.Graphics;
import org.OpenNI.*;
import static com.lifespeedtechnologies.OpenTracker.Driver.drawSkeleton;
/**
*
* @author dean
*/
public class IrDriver ... |
import java.util.*;
public class day3 {
public static void main(String[] args){
// question2
Scanner inp=new Scanner(System.in);
System.out.print("Give the number to be checked : ");
int n=inp.nextInt();
String str=Integer.toString(n);
char digit[]=str.toCharA... |
package jp.ac.kyushu_u.csce.modeltool.base.utility;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
import org.eclips... |
package com.appspot.smartshop.ui.product;
import java.net.URLEncoder;
import java.util.LinkedList;
import java.util.Set;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.Int... |
package com.knightly.dynamicproxy;
/**
* Created by knightly on 2018/2/13.
*/
public interface Moveable {
void move();
}
|
package com.pelephone_mobile.mypelephone.ui.adapters;
import android.content.Context;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import com.pelephone_mobile.R;
import com.pelephone_mobile.mypelephone.networ... |
/*
* This file is part of lambda, licensed under the MIT License.
*
* Copyright (c) 2018 KyoriPowered
*
* 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 w... |
package com.cybex.provider.websocket;
import android.util.Log;
import com.cybex.provider.exception.NetworkStatusException;
import com.cybex.provider.graphene.chain.AccountObject;
import com.cybex.provider.graphene.chain.Asset;
import com.cybex.provider.graphene.chain.AssetObject;
import com.cybex.provider.graphene.c... |
package compiler;
import com.next.schema.table.Table;
public class TableImpl extends Table
{
public boolean isKey(String colName)
{
return (super.getKey().indexOf(colName)!=-1);
}
}
|
/**
* Reader
* package provides complete set of tools for reading
* @author michailremmele
*/
package it.sevenbits.codecorrector.reader; |
package com.alibaba.druid.bvt.pool;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.concurrent.atomic.AtomicInteger;
import javax.sql.ConnectionEvent;
import javax.sql.ConnectionEventListener;
import javax.sql.PooledConnection;
import junit.framework.TestC... |
package com.soldevelo.vmi.testutils.packets;
import com.soldevelo.vmi.ex.VMIException;
import com.soldevelo.vmi.packets.TestRequest;
import com.soldevelo.vmi.packets.TestRequestPhase2;
import com.soldevelo.vmi.utils.MacHelper;
import java.net.InetAddress;
import java.net.UnknownHostException;
public class TestReques... |
package org.springframework.roo.addon.layers.service.addon;
import static org.springframework.roo.model.RooJavaType.ROO_SERVICE;
import static org.springframework.roo.model.RooJavaType.ROO_SERVICE_IMPL;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import jav... |
package ru.itmo.ctlab.sgmwcs.graph;
public class Edge extends Unit {
public Edge(Edge that) {
super(that);
}
public Edge(int num) {
super(num);
}
@Override
public String toString() {
return "E(" + String.valueOf(num) + ")";
}
}
|
// **********************************************************
// 1. 제 목:
// 2. 프로그램명: CourseScoreData.java
// 3. 개 요:
// 4. 환 경: JDK 1.3
// 5. 버 젼: 0.1
// 6. 작 성: Administrator 2003-09-19
// 7. 수 정:
//
// **********************************************************
pack... |
package com.next.infra.odata2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.web.servlet.ServletComponentScan;
import gen.table.BmoORDR;
@SpringBo... |
package com.hfjy.framework.logging;
public enum LogTypes {
TRACE, DEBUG, INFO, WARN, ERROR, SYSTEM, TRADE
}
|
package com.lenovohit.hcp.base.web.rest;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springfr... |
package com.dpp.dao;
import com.dpp.entity.Goods;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;
@Repository
public interface GoodsDao {
/**
* 查询所有商品
* @return
*/
@Select("<script>select * from goods ... |
package org.yxm.modules.gank;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import and... |
package de.hdm.softwarepraktikum.server.db;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.*;
import java.util.ArrayList;
import java.util.Vector;
import com.gargoylesoftware.htmlunit.javasc... |
package com.java.OOP.partTwo;
public abstract class Animal {
/**
1) Abstract method has no body.
2) Always end the declaration with a semicolon(;).
3) It must be overridden. An abstract class must be extended and in a
same way abstract method must be overridden.
4) A class has to be declared abstract to have... |
package io.micronaut.rabbitmq.docs.rpc;
import io.micronaut.context.ApplicationContext;
import io.micronaut.rabbitmq.AbstractRabbitMQTest;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Mono;
public class RpcUppercaseSpec extends AbstractRabbitMQTest {
@Test
void testProductClientAndListene... |
package com.zhicai.byteera.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.TextUtils;
import com.lidroid.xutils.DbUtils;
import com.umeng.analytics.MobclickAgent;
import com.zhicai.byteera.MyApp;
import com.zhicai.byteera.activity.bean.ZCU... |
/*
* File: Breakout.java
* -------------------
* Name:
* Section Leader:
*
* This file will eventually implement the game of Breakout.
*/
import acm.graphics.*;
import acm.program.*;
import acm.util.*;
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
public class Breakout extends GraphicsPro... |
package rs2.model.game.entity.character.player;
import java.util.ArrayList;
import java.util.List;
import rs2.model.game.world.World;
import rs2.util.NameUtil;
/**
* A {@link Player}'s contact list (friends and ignores) used in private messaging.
* @author Jake Bellotti
* @since 1.0
*/
public class ContactList ... |
package com.example.vibrationcustom;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Typeface;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.os.VibrationEffect;
import android.os.Vibrator;
import a... |
package com.heihei.model;
import org.json.JSONObject;
import com.heihei.model.msg.bean.GiftMessage;
public class AudienceGift {
public Gift gift = new Gift();// 礼物id
public User fromUser = new User();
public int amount = 1;
public int startAmount = 1;
public long time = 0l;
public Strin... |
package listeners.game.server;
import java.util.Set;
import java.util.stream.Collectors;
import core.player.PlayerCompleteServer;
import core.player.PlayerSimple;
import core.server.SyncController;
public abstract class ServerInGamePlayerListener {
protected final String name;
protected final Set<String> otherNam... |
package io.github.atomfrede.gradle.plugins.crowdincli.task.crowdin.git;
import org.yaml.snakeyaml.Yaml;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
public class GitCommitTask {
private final File configFile;
private final String commitMessage;
public GitCommitT... |
import org.junit.Test;
import java.awt.event.ActionEvent;
import java.awt.event.ItemEvent;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JSlider;
import javax.swing.JCheckBox;
import javax.swing.event.ChangeEvent;
import cs3500.an... |
package standalone;
import com.github.louism33.axolotl.search.Engine;
import com.github.louism33.chesscore.Chessboard;
import com.github.louism33.chesscore.MoveParser;
import java.io.IOException;
import java.io.InputStreamReader;
class StandAlone {
private static int totalMoves = 1;
private static final lon... |
package ru.mcfr.oxygen.framework.operations.table;
import ro.sync.ecss.extensions.api.ArgumentDescriptor;
import ro.sync.ecss.extensions.api.AuthorOperationException;
import ro.sync.ecss.extensions.api.node.AuthorElement;
import ro.sync.ecss.extensions.api.node.AuthorNode;
import ru.mcfr.oxygen.framework.operations.Mc... |
package com.second.practiceproject2.controller;
import com.second.practiceproject2.aspect.LogAspect;
import com.second.practiceproject2.model.User;
import com.second.practiceproject2.service.AnswerService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Auto... |
/*
* Created on 2004. 9. 6.
*/
package com.esum.framework.core.event.util;
import com.esum.framework.common.util.MessageIDGenerator;
import com.esum.framework.core.event.EventException;
import com.esum.framework.core.event.message.Attachment;
import com.esum.framework.core.event.message.ContentInfo;
import com.esum.... |
package person.zhao.pattern;
import person.zhao.pattern.bean.AmericanPerson;
import person.zhao.pattern.bean.ChinesePerson;
import person.zhao.pattern.bean.IPerson;
import person.zhao.pattern.bean.JapanesePerson;
/**
* 简单工厂实例
*
* PersonFactory 生产3个国家的人
*
*/
public class Factory {
public void p(){
... |
package com.pm.customer.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
impo... |
package com.example.counterclock.receivers;
import android.app.admin.DeviceAdminReceiver;
import android.content.Context;
import android.content.Intent;
import android.support.v4.content.LocalBroadcastManager;
public class AdminReceiver extends DeviceAdminReceiver {
public static final String ACTION_DISABLED = "devi... |
package main;
import parser.jdom2.GenerateXMLDriver;
import io.bytes.reader.ReadFileBytes;
import io.bytes.writer.WriteFileBytes;
import io.regex.RegExSearch;
public class Main {
public static void main(String[] args) {
//PATH OF LOG
String path = "log//server.log";
//READER
ReadFileBytes reader = new... |
/**
* GUIClient.java
*
* Created on January 19, 2007, 10:03 PM
* Description: it creates the main GUI that launches
* all the applications. Display URL's, file choosers
* brings GUIDatabase and performs the statistics
* USES GUIDatabase.java, htmlEditor.java.
* It has two internal classes RightPanel.java,
*... |
package com.bitcamp.service;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.bitcamp.DTO.Product.ListDTO;
import com.bitcamp.DTO.custo... |
import java.util.*;
// general n sum code.
public class ThreeSum {
public static List<List<Integer>> threeSum(int[] nums) {
Arrays.sort(nums);
return threeSum(nums, 0, 3, 0);
}
public static List<List<Integer>> threeSum(int[] nums, int begin, int k, int target) {
List<List<I... |
package com.pmm.sdgc.model;
import java.io.Serializable;
import java.util.Objects;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
/**
*
* @author dreges
... |
package com.example.hyunyoungpark.addressbookdemo.Data;
//extend with ContentProvider
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteQueryBuilder;... |
package com.github.riyaz.bakingapp.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
/**
* POJO representing a single step in the recipe
*
* @author Riyaz
*/
@SuppressWarnings("WeakerAccess")
public final class Step implements Parcelable {
/**
... |
package com.mhg.weixin.config.shiro;
import at.pollux.thymeleaf.shiro.dialect.ShiroDialect;
import org.apache.shiro.authc.credential.HashedCredentialsMatcher;
import org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor;
import org.apache.shiro.spring.web.ShiroFilterFactoryBean;
import org.a... |
/**
* Server-side support classes including container-specific strategies
* for upgrading a request.
*/
@NonNullApi
@NonNullFields
package org.springframework.web.socket.server.support;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullFields;
|
import java.applet.Applet;
import java.awt.*;
import com.sun.j3d.utils.applet.MainFrame;
import com.sun.j3d.utils.geometry.*;
import com.sun.j3d.utils.universe.*;
import javax.media.j3d.*;
import javax.vecmath.*;
import com.sun.j3d.utils.behaviors.mouse.*;
public class BSurfaceMerging extends Applet
{public BranchGrou... |
package slimeknights.tconstruct.library.modifiers;
import com.google.common.collect.ImmutableList;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import java.util.List;
import slimeknights.mantle.util.RecipeMatch;
import slimeknights.tconstruct.library.TinkerRegistry;
import slimeknig... |
public class RotatedBinarySearch {
static int binarySearch(int[] arr, int x, int low, int high) {
if(low > high)
return -1;
int mid = (high + low) / 2;
boolean rotatedAtLeft = arr[mid] < arr[low];
boolean rotatedAtRight = arr[mid] > arr[high];
if((!rotatedAtLef... |
package com.ideal.cash.register.models;
/**
* 店员
* @author Ideal
*/
public class Clerk {
/**
* 设定优惠活动是否开启
* @param onSale 要设定的活动
* @param active 是否开启
*/
public void setOnSaleActivation(OnSale onSale, boolean active) {
onSale.setActive(active);
}
/**
* 添加商品信息到指定优惠
* @param onSa... |
package RestAssured;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import googleApis.payLoad;
import googleApis.resources;
import static io.restassured.RestAssured.given;
import static org.hamcrest.Matchers.equalTo;
import java.io.FileInputStream;
import java.io.IOException;
import ja... |
/*
* Merge HRIS API
* The unified API for building rich integrations with multiple HR Information System platforms.
*
* The version of the OpenAPI document: 1.0
* Contact: hello@merge.dev
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.te... |
package com.openfarmanager.android.utils;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import com.openfarmanager.android.App;
import java.text.ParseException;
import java.util.StringTokenizer;
/**
* A set of static methods for IPv4 addreses processing, co... |
package demo.domain;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface ItemRepository extends JpaRepository<Item, Long> {
List<Item> findByRestaurantId(String restaurantId);
List<Item> findByOrderInfo(OrderInfo orderInfo);
}
|
package com.hotel.master.category;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hotel.mapper.MapperClz;
@Service
public class CategoryServiceImpl implements ICategoryService {
@Autowired
ICategoryRepo categoryRepo... |
package com.reagan.graphingcalc;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.BorderFactory;
import javax.swing.JPanel;
import javax.swing.Timer;
@SuppressWarnings("s... |
/**
*
*/
package com.gcit.lms.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.springframework.jdbc.core.ResultSetExtractor;
import org.springframework.stereotype.Component;
import com.gcit.lms.entity.BookCopies;
/**
* @BookCopies ppradh... |
package fine.project.oauth;
public class Credentials {
private String aplicationID;
private String aplicationSecret;
private String redirectUrl;
private String scope;
private String resourceRequestURL;
public Credentials(String aplicationID, String aplicationSecret, String redirectUrl, String resourceRequestUR... |
/*
* work_wx
* wuhen 2020/2/4.
* Copyright (c) 2020 jianfengwuhen@126.com All Rights Reserved.
*/
package com.work.wx.controller.modle.subChatItem;
public class ChatModeRecordItem {
private String type; // 每条聊天记录的具体消息类型:ChatRecordText/ ChatRecordFile/ ChatRecordImage/ ChatRecordVideo/ ChatRecordLink/
... |
package GUI;
import file_operations.Record;
import object_type.Animal;
import object_type.Point;
import java.awt.event.*;
import java.awt.*;
import java.util.*;
import javax.swing.*;
import java.io.*;
import java.net.*;
import java.applet.*;
/*
计时功能
*/
public class HandleMouse extends JPanel implements MouseLi... |
package configuration;
import com.alibaba.nacos.api.exception.NacosException;
import lombok.extern.slf4j.Slf4j;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
* 主备选举测试逻辑
* @author plusman
* @since 2021/4/12 2:52 PM
*/
@Slf4j
public class LeaderFollowerElectionConfiguratio... |
/*
* 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 CSC110_2016;
/**
*
* @author JanithWanni
*/
public class SavingsAccount extends BankAccount{
private double... |
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import java.util.*;
public class LoopoverTest {
private Looper l;
@Test
public void FixedTest()
{
l=new Looper();
Loopover L;
l.up(0);
l.left(0);
l.down(0);
l.right(0);
L=l.loopdyDoop(... |
package com.example.demo.persistencia;
import com.example.demo.dominio.Tabuleiro;
import java.sql.*;
import java.util.ArrayList;
public class TabuleiroDAO {
private final Conexao conex;
private final String SELECTALL = "SELECT * FROM public.tabuleiro;";
private final String SELECT = "SELECT * FROM publ... |
package com.zantong.mobilecttx.presenter;
import com.zantong.mobilecttx.api.OnLoadServiceBackUI;
import com.zantong.mobilecttx.base.BasePresenter;
import com.zantong.mobilecttx.base.MessageFormat;
import com.zantong.mobilecttx.base.interf.IBaseView;
import com.zantong.mobilecttx.common.Config;
import com.zantong.mobil... |
/**
*
*/
package com.aof.component.prm.Bill;
import java.util.Calendar;
import java.util.Iterator;
import java.util.List;
import net.sf.hibernate.Transaction;
import net.sf.hibernate.HibernateException;
import net.sf.hibernate.Query;
import com.aof.component.BaseServices;
import com.aof.component.crm.customer.Cus... |
package xtrus.user.apps.site.samsung.parser;
import java.util.StringTokenizer;
public class PDFMSGParser extends SamsungParser {
public PDFMSGParser(String pdfMessageNumber) throws Exception {
StringTokenizer tok = new StringTokenizer(pdfMessageNumber, "_");
if (tok.hasMoreTokens()) {
this.messageNumber ... |
package repositories;
import models.SinhVien;
import java.util.ArrayList;
import java.util.List;
public class SinhVienRepo {
private List<SinhVien> sinhVienList = new ArrayList<>();
/**
* Add a sinhVien object
* @param sinhVien
*/
public void add(SinhVien sinhVien) {
this.sinhVie... |
package co.company.spring.emp.service;
import java.util.List;
import java.util.Map;
import co.company.spring.dao.Emp;
import co.company.spring.dao.EmpSearch;
public interface EmpService {
public List<Emp> getEmpList(EmpSearch emp); //전체조회
public List<Map<String, Object>> getStatDept();
public Emp getEm... |
package com.aisino.invoice.xtjk.po;
import java.util.Date;
/**
* @ClassName: FwkpSbzt
* @Description:
* @Copyright 2017 航天信息股份有限公司-版权所有
*/
public class FwkpSbzt extends FwkpQyxx{
private float lxljzpxe;//最大持票量
private String fpzl;
private String zzlxsjstr;//最早离线时间字符串
private Date zzlxsj;//最早离线时间date
pri... |
import java.io.*;
import java.util.*;
/**
* Console UI class that interacts with and displays information
* about the Meerkat Lane.
*
* @author Kody Dangtongdee
* @version 2/24/2015
*/
public class MeerkatLane
{
/**
* Scaner to read user input
*/
private Scanner in;
/**
* Writer... |
package com.corycharlton.bittrexapi.request;
import android.support.annotation.NonNull;
import com.corycharlton.bittrexapi.internal.constants.Url;
import com.corycharlton.bittrexapi.response.GetOrderBookResponse;
import static com.corycharlton.bittrexapi.internal.util.Ensure.isNotNullOrWhitespace;
/**
* Used to re... |
package com.rednovo.ace.widget.live;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.View;
import android.view.WindowManager;
import android.widget.TextView;
import com.facebook.drawee.generic.G... |
package Telas;
import Controle.ControleLogin;
import Supermercado.BD;
import Supermercado.Caixa;
import Supermercado.Estoque;
import Supermercado.Venda;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import jav... |
package ru.job4j.nonblocking;
import java.util.Comparator;
import java.util.ArrayList;
import java.util.Objects;
/**
* Класс Task реализует сущность "Задача".
*
* @author Gureyev Ilya (mailto:ill-jah@yandex.ru)
* @version 1
* @since 2017-08-04
*/
class Task {
/**
* Счётчик объектов.
*/
private ... |
package kxg.searchaf.url.ralphlauren;
import java.util.ArrayList;
import java.util.List;
public class RalphlaurenPage {
public String Category;
public String type; // clearance or sale
public String url;
public RalphlaurenPage() {
}
public static List<RalphlaurenPage> getBoysInstance() {
Ar... |
/*
+--------------------------------------------------------------------------------------+
|Federal University Of Juiz de Fora - UFJF - Minas Gerais - Brazil |
|Institute of Hard Sciences - ICE |
|Computer Science Departament - DCC ... |
/*
* Copyright (c) 2015 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.server.translation.in.action;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;
import pl.edu.icm.unity.exceptions.EngineException;
im... |
package com.stk123.task.config;
import com.stk123.common.CommonUtils;
import lombok.extern.apachecommons.CommonsLog;
import org.springframework.context.annotation.Condition;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.core.type.AnnotatedTypeMetadata;
@CommonsLog
public c... |
package be.mxs.common.util.date;
import java.util.GregorianCalendar;
import java.util.Date;
public class MedwanCalendar extends GregorianCalendar {
public static Date getNewDate(Date originalDate,long timeInMilliSeconds){
try{
MedwanCalendar cal = new MedwanCalendar();
cal.setTime(... |
package com.medic.medicapp;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android... |
package com.lotus.controller;
import java.util.LinkedList;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import com.lotus.model.TweetDetails;
class OperationsTest {
private Operations op = new Operations();
@Test
void test() {
TweetDetails tweet1 = new TweetDetails();
... |
package cz.jpetrla.springdemo.mvc;
import java.util.Map;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.Reque... |
package com.example.android.moneytran.currency;
import com.example.android.moneytran.R;
public class JapaneseYen extends Currency {
private int name = R.string.jpy_name;
private int balance = R.string.jpy_balance;
private int flag = R.drawable.flag_japan;
private char symbol = '\u00A5';
@Override... |
package domain;
import lombok.Data;
import java.io.Serializable;
/**
* 要找到类的实例只需要知道此类的名字就行,找到了类的实例,那么如何找到方法呢?在反射中通过反射能够根据方法名和参数
* 类型从而找到这个方法。那么此时第一类的信息我们就明了了,那么就建立相应的是实体类存储这些信息。
*/
@Data
public class Request implements Serializable {
private static final long serialVersionUID = 3933918042687238629L;
priva... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.