text stringlengths 10 2.72M |
|---|
package ee.ttu.tarkvaratehnika.selveleidja;
import java.util.List;
import org.springframework.web.bind.annotation.*;
@RestController
public class CommentController {
private CommentService commentService;
public CommentController(CommentService commentService){
this.commentService = commentService;
... |
package com.example.marek.komunikator.userSettings.activities;
import android.os.Bundle;
import android.view.View;
import com.example.marek.komunikator.MyBaseActivity;
import com.example.marek.komunikator.R;
import com.example.marek.komunikator.userSettings.fields.Field;
import com.example.marek.komunikator.userSetti... |
/**
*
*/
package ucl.cs.testingEmulator.contexNotifierScripts;
import javax.bluetooth.DeviceClass;
import javax.bluetooth.DiscoveryAgent;
import javax.bluetooth.RemoteDevice;
import javax.microedition.io.Connector;
import javax.microedition.io.file.FileSystemRegistry;
import javax.swing.JFrame;
import javax.swing.JP... |
package org.motechproject.server.svc.impl;
import org.motechproject.server.model.IncomingMessage;
import org.motechproject.server.model.MessageProcessorURL;
import org.motechproject.server.model.db.MessageProcessorDAO;
import org.motechproject.server.svc.IncomingMessageProcessor;
import org.motechproject.server.svc.Su... |
package com.bbb.composite.product.details.dto;
import java.io.Serializable;
/**
* BrandCompositeDTO attributes specified here.
*
* @author psh111
*/
public class BrandCompositeDTO implements Serializable{
private static final long serialVersionUID = -8275780178068737878L;
private String brandId;
private Str... |
package com.ibai.patterns.decorator;
/**
* @author baizhizhen
*/
public class Soy extends CondimentDecorator {
public Soy(Beverage beverage) {
super(beverage);
}
@Override
public float cost() {
return beverage.cost() + 1.21f;
}
@Override
public String getDescription() {
... |
package com.lowes.lowesapp.rest.response;
/**
* Created by George on 1/23/2016.
*/
public class ImageUrls {
private String sm;
private String xl;
private String lg;
public String getSm ()
{
return sm;
}
public void setSm (String sm)
{
this.sm = sm;
}
publi... |
package br.com.slack.fabrica;
public interface FabricaDeArquivo {
public Arquivo criarArquivo(String nome);
}
|
package org.timesheet.service.impl;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import org.hibernate.Criteria;
import org.hibernate.criterion.Order;
import org.timesheet.service.GenericDao;
public class InMemoryDao<E, K> implements GenericDao<E, K> {
static final Logger log... |
package rent.common.projection;
import org.springframework.data.rest.core.config.Projection;
import rent.common.entity.AccountRegisteredEntity;
import java.time.LocalDate;
@Projection(types = {AccountRegisteredEntity.class})
public interface AccountRegisteredMinimal {
CitizenMinimalForAccount getCitizen();
... |
import java.util.ArrayList;
import java.util.List;
public class CloneTest {
/**
* @param args
*/
public static void main(String[] args) {
ArrayList<String> l = new ArrayList<String>();
l.add("one");
l.add("two");
List<String> l1 = (List<String>)l.clone();
System.out.println(l1 == l);
System.out.pri... |
package custom_binary_tree;
import java.io.Serializable;
import java.util.*;
/*
Построй дерево(1)
*/
public class CustomTree extends AbstractList<String> implements Cloneable, Serializable {
Entry<String> root;
List<Entry<String>> listOfElements = new LinkedList<>();
List<Entry<String>> listForRemove = n... |
package com.service.proxy;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.pojo.CardRecord;
import com.pojo.Proxy;
import com.service.base.BaseService;
public interface ProxyService extends BaseService<Proxy> {
/**
* 注意要和Employeer.xml的方法名对应
*/
public Proxy findProxyByI... |
abstract class AbstractSoupFactory {
String factoryLocation;
public String getFactoryLocation() {
return factoryLocation;
}
public ChickenSoup makeChickenSoup() {
return new ChickenSoup();
}
public FishChowder makeFishChowder() {
return new FishChowder();
}
public ClamChowder makeClamCho... |
package com.tencent.mm.plugin.address.ui;
public interface InvoiceEditView$b {
}
|
package com.workorder.ticket.persistence.dao;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.workorder.ticket.controller.vo.common.HistogramItem;
import com.workorder.ticket.persistence.dto.workorder.WorkOrderQueryDto;
import com.workorder.ticket.persist... |
package com.lei.utils.xml;
public class Element
{
private String actionPath;
private Class<?> handlerClass;
private String handlerMethod;
private Class<?> handlerRequest;
public String getActionPath()
{
return actionPath;
}
public void setActionPath(Strin... |
//递归方式:k sum -> k-1 sum
//同时结合一些过滤手段
class Solution {
public List<List<Integer>> fourSum(int[] nums, int target) {
List<List<Integer>> ans = new ArrayList<>();
int size = nums.length;
if(size < 4){
return ans;
}
Arrays.sort(nums);
List<Integer> sol = new A... |
package com.kps.dsk;
import java.awt.Canvas;
import java.util.List;
public interface IDSKController {
void play();
void pause();
void stop();
double getTime();
void setTime(double time);
void setStopTime(double time);
double getStopTime();
DSKState getState... |
package com.binary.mindset.tasklistmanagement.crud.repository;
import com.binary.mindset.tasklistmanagement.crud.entity.TaskEntity;
import com.binary.mindset.tasklistmanagement.model.Task;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import java.util.Lis... |
package prog5황인호;
import java.util.Scanner;
/**
* 아래와 같은 모양의 삼각형을 그리는 프로그램.
* 삼각형의 크기는 사용자가 지정해 준다.
* *****
* ****
* ***
* **
* *
* @author 황인호
*
*/
public class Triangle3
{
public static void main(String[] args)
{
Scanner input = new Scanner(System.in);
System.out.pri... |
package com.joseph.beer.Controller;
import com.joseph.beer.domain.BeerEntry;
import com.joseph.beer.service.BeerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingRes... |
package com.tencent.mm.ui.tools;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
class ShareScreenImgUI$2 implements OnCancelListener {
final /* synthetic */ ShareScreenImgUI uBX;
ShareScreenImgUI$2(ShareScreenImgUI shareScreenImgUI) {
this.uBX = share... |
package org.fuserleer.ledger.atoms;
import java.util.Objects;
import org.fuserleer.crypto.Hash;
import org.fuserleer.exceptions.ValidationException;
public class AtomNotFoundException extends ValidationException
{
/**
*
*/
private static final long serialVersionUID = 6964432881299046502L;
pri... |
package com.tencent.mm.plugin.webview.model;
import com.tencent.mm.plugin.webview.modeltools.e;
import com.tencent.mm.protocal.c.ant;
import com.tencent.mm.protocal.c.apz;
import com.tencent.mm.sdk.platformtools.bi;
import java.util.LinkedList;
import java.util.List;
public final class f {
public int pRe;
pub... |
package com.somethinglurks.jbargain.api;
import com.somethinglurks.jbargain.api.node.teaser.Teaser;
import java.util.List;
public interface Search {
Search sortBy(SortOption sortOption);
Search forumTopicOnly();
Search dealsOnly(boolean noExpired);
Search competitionsOnly();
List<Teaser> get... |
package com.tencent.tinker.loader;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Build;
import android.os.Build.VERSION;
import android.os.SystemClock;
import com.tencent.tinker.loader.app.TinkerApplication;
import com.tencent.tinker.loader.hotplug.ComponentHotplug;
import ... |
package com.jk.jkproject.ui.entity;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import com.jk.jkproject.utils.GsonUtils;
public class LiveGiftInfo implements Parcelable, Comparable {
public static final Creator<LiveGiftInfo> CREATOR = new Creator<LiveGiftInfo>() {
... |
package fr.jmini.htmlchecker.cli;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test;
import com.google.common.base.Charsets;
import com.google.common.io.Resources;
import com.selesse.jxlint.cli.CommandLineOptions;
import fr.jmini.htmlchecker.settings.HtmlCheckerProgramSettings;
public... |
package Algorithm;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Stack;
//请根据每日 气温 列表,重新生成一个列表。对应位置的输出为:要想观测到更高的气温,至少需要等待的天数。如果气温在这之后都不会升高,请在该位置用 0 来代替。
public class a739 {
public int[] dailyTemperatures(int[] T) {
Stack<Integer> stack =new Stack<>();
int[] re... |
package User;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
public abstract class Account {
protected float Amount;
protected String Account_id;
protected ... |
package webdriver.screen.cloud.exception;
public class ElementNotEnabledException extends Exception {
public ElementNotEnabledException() {
}
public ElementNotEnabledException(String message) {
super(message);
}
public ElementNotEnabledException(String message, Throwable cause) {
... |
package com.bw.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.bw.base.service.RegistService;
impo... |
package org.example;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import org.assertj.core.api.SoftAssertions;
import org.example.api.AuthApi;
import org.example.model.AuthRequest;
import org.example.model.AuthResponse;
import org.junit.jupiter.api.*;
import retrofit2.Response;
import ret... |
package org.usfirst.frc.team1165.robot.commands.auto;
import edu.wpi.first.wpilibj.command.CommandGroup;
/**
*
*/
public class CrossAutoLineCenter extends CommandGroup
{
public CrossAutoLineCenter()
{
addSequential(new DriveStraightSpeed(0.75, 0), 1.65);
}
}
|
package com.xiaoxiao.search.service.impl;
import com.xiaoxiao.pojo.vo.XiaoxiaoArticleVo;
import com.xiaoxiao.search.mapper.SearchArticleMapper;
import com.xiaoxiao.search.pojo.SolrArticleDocument;
import com.xiaoxiao.search.service.ArticleSolrService;
import com.xiaoxiao.utils.Result;
import com.xiaoxiao.utils.StatusC... |
/**
* Establishes the Triangle class and constructor!
*
* @author C. Thurston
* @version 5/1/2014
*/
public class Triangle extends IsoscelesTriangle
{
private double sideC;
/**
* Constructor for objects of class Triangle
*/
public Triangle(double A, double B, double C)
{
super(A,B);
this.sideC = C;
}... |
package com.tencent.mm.plugin.appbrand.dynamic.g;
class a$1 implements Runnable {
final /* synthetic */ a fxp;
public a$1(a aVar) {
this.fxp = aVar;
}
public final void run() {
this.fxp.KM();
}
}
|
package org.team3128.redobot.subsystems;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import com.kauailabs.navx.frc.AHRS;
import org.team3128.common.NarwhalRobot;
import org.team3128.common.control.trajectory.Trajectory;
import org.team3128.common.drive.DriveCommandRunning;
imp... |
package genscript.types;
import genscript.parse.SearchGraph;
import scriptinterface.ScriptComplexType;
import scriptinterface.ScriptSystemInterface;
import scriptinterface.ScriptType;
import scriptinterface.TypeCast;
import scriptinterface.defaulttypes.GComplexType;
import scriptinterface.defaulttypes.GVector;... |
package com;
import java.util.Scanner;
/**
* 十进制数转为任意进制数(考虑了小数点)
*
* @author walkerwang
*
*/
public class DecimalToNbinary {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while(scanner.hasNextLine()){
String string = scanner.nextLine();
String[] strs = string.... |
package com.tencent.mm.ui.chatting.f;
import com.tencent.mm.R;
import com.tencent.mm.model.au;
import com.tencent.mm.model.c;
import com.tencent.mm.modelsimple.t;
import com.tencent.mm.sdk.platformtools.ad;
import com.tencent.mm.sdk.platformtools.x;
class a$1 implements Runnable {
final /* synthetic */ a tXT;
... |
package com.decrypt.beeglejobsearch.di.scopes;
//@Scope
//@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE)
//public @interface Screen {
// int value();
//}
|
package com.xrigau.droidcon.espresso.presentation;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.widget.TextView;
import com.xrigau.droidcon.espresso.R;
import static com.xrigau.droidcon.espresso.presentation.Worl... |
package com.sudipatcp.stacknqueue;
import java.util.Stack;
public class DesignMinStack {
private Stack<Integer> stack;
private int min;
public DesignMinStack() {
stack = new Stack<>();
min = Integer.MAX_VALUE;
}
public void push(int x) {
if(x < min){
min = x... |
package com.actitime.excelsheets;
import org.testng.Reporter;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
public class DemoTest
{
@Parameters({"city","area"})
@Test
public void testA(String city,String area)
{
Reporter.log(city,true);
Reporter.log(area,true);
}... |
/*
* 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 quicksort;
/**
*
* @author maikol
*/
//herncia de la clase Molde
public class Peine extends Molde {
//contrcutor
... |
package com.ljw.util;
import java.util.LinkedList;
import java.util.List;
/**
* @Description:
* @Author Created by liangjunwei on 2018/8/2 17:09
*/
public class TitleUtil {
private static List<String> getGoodsBaseInfoStrList(){
List<String> list = new LinkedList<String>();
list.add("商品名称");
... |
package com.bbyopen.mongodb;
import java.net.UnknownHostException;
import org.json.simple.JSONValue;
import org.netkernel.layer0.nkf.INKFRequestContext;
import org.netkernel.layer0.nkf.INKFResponse;
import org.netkernel.module.standard.endpoint.StandardAccessorImpl;
import com.mongodb.BasicDBObject;
import com.mongo... |
package at.technikum.sfrexercise2.corebankingservice.service;
import at.technikum.sfrexercise2.corebankingservice.model.Customer;
import at.technikum.sfrexercise2.corebankingservice.model.Transaction;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframewor... |
package com.voksel.electric.pc.service;
import com.voksel.electric.pc.component.MenuTreeItem;
import com.voksel.electric.pc.configuration.ServiceConfiguration;
import com.voksel.electric.pc.domain.entity.Role;
import com.voksel.electric.pc.domain.entity.User;
import com.voksel.electric.pc.domain.entity.UserRole;
impor... |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2016.05.11 u... |
package utils;
public class Configs {
// static resource
public static final String HOME_PATH = "/views/fxml/home.fxml";
public static final String SPLASH_SCREEN_PATH = "/views/fxml/splash.fxml";
public static final String CARD_PATH = "/views/fxml/card_1.fxml";
public static final String DOCK_HOME_PATH = "/vie... |
package com.github.dmstocking.putitonthelist.grocery_list.items.add;
import android.support.annotation.NonNull;
import com.github.dmstocking.putitonthelist.Color;
import com.google.auto.value.AutoValue;
import java.net.URI;
@AutoValue
public abstract class ListItemViewModel {
public static ListItemViewModel cr... |
package offer;
// 操作给定的二叉树,将其变换为源二叉树的镜像。
public class 二叉树的镜像 {
public static void main(String[] args) {
TreeNode root = new TreeNode(8);
root.left = new TreeNode(6);
root.right = new TreeNode(10);
root.left.left = new TreeNode(5);
root.left.right = new TreeNode(7);
... |
package org.sagebionetworks.repo.manager.table;
import java.util.HashMap;
import java.util.Map;
import org.sagebionetworks.repo.model.EntityType;
import org.sagebionetworks.util.ValidateArgument;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/... |
package com.tencent.mm.plugin.mmsight.ui;
import com.tencent.mm.plugin.mmsight.ui.SightCaptureUI.14;
class SightCaptureUI$14$1 implements Runnable {
final /* synthetic */ 14 lqx;
SightCaptureUI$14$1(14 14) {
this.lqx = 14;
}
public final void run() {
SightCaptureUI.U(this.lqx.lqr);
... |
package com.g53mdp.cw1_3.recipebook;
import android.content.Intent;
import android.database.Cursor;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.... |
package controller.front;
import controller.FrontController;
import library.utils.Func;
import model.beans.NewsItemBean;
import model.beans.UserBean;
import model.models.NewsModel;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import j... |
package com.tencent.mm.g.a;
public final class op$b {
public String Yy;
public int actionType;
public String bZA;
}
|
package p9.entity;
import java.io.File;
import p9.CoreGame;
import p9.Direction;
import p9.InputClass;
import p9.MapScreen;
import p9.server.netpaks.CharacterDataPackage;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.g2d.Animation;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.... |
package com.example.demo;
public class TestData {
}
|
package kz.sagrad.ufix;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.ActivityCompat;
import andro... |
/*
* Copyright (C) 2013-2014 The CyanogenMod Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
package com.myapp.accountsManagement;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.URL;
import java.net.URLConnection;
import org.json.JSONObject;
public class RegistrationDao {
public boolean RegisterUser(
String userName,
String pa... |
/*
* Property of Will Stevens
* All rights reserved.
*/
package chapter_2_;
import java.util.ArrayList;
import java.util.List;
/**
* @author wstevens
*/
public class FilterScratch {
interface Predicate<T> {
boolean test(T subject);
}
public static <T> List<T> filter(List<T> subjects, Predic... |
package com.tencent.mm.plugin.webview.ui.tools;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.plugin.webview.ui.tools.WebViewDownloadWithX5UI.2;
class WebViewDownloadWithX5UI$2$1 implements OnClickLi... |
package SvgPac;
import java.awt.Color;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
public final class SvgHelper {
public static String floatToString(final float f) {
return String.format("%.1f", f).replace(',', '.');
}
public static String colorToString(final Co... |
package com.hedong.hedongwx.utils.yinlian;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.JMSException;
import javax.jms.MessageProducer;
import javax.jms.Queue;
import javax.jms.Session;
import javax.jms.TextMessage;
import org.apache.activemq.ActiveMQConnectionFactory;
import org.... |
/*
* 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.gui.asma;
import com.codename1.components.ImageViewer;
import com.codename1.ui.Button;
import com.codename1.ui.C... |
/* Directions:
* Write a program that implements a stack class that is based on the Deque
* class in Programming Project 4.2. This stack class should have the same
* methods and capabilities as the StackX class in the stack.java program
* (Listing 4.1).
*/
package chapter4;
public class Project4_3 {
public s... |
package com.woncheol.restapi.model;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.util.Date;
@Data
@AllArgsConstructor
public class Member {
String userId;
String name;
int age;
String address;
Date createdAt;
String companyName;
public Member() {
}
public Member(String u... |
package com.chilkens.timeset.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by hoody on 2017-08... |
package com.bowlong.third.assist;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
public @interface A2Class {
String type() default A2G.DATA; // Server, Client, Data
String namespace() default "";
String name() default "";
String remark()... |
package com.example.cryptocoffee.blockchainapi.domain;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
@Getter
@Setter
@ToString
public class User {
@Id
private String rfid;
private String corporateKey;
priva... |
package marche.traitement.Produit;
import java.time.LocalDate;
/**
*
*/
public abstract class Produit implements Cloneable{
protected int quantite;
protected LocalDate dateDePeremption;
protected String unite;
protected Produit(){}
/**
*
* @return une copie d'un Produit mais pas ... |
package io.bega.kduino.activities;
import android.app.Activity;
import android.app.ProgressDialog;
import android.bluetooth.BluetoothDevice;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.os.AsyncTask;
import android... |
//package com.hedong.hedongwx;
//
//import java.util.List;
//import java.util.Map;
//
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.context.juni... |
package com.vilio.plms.service;
import com.vilio.plms.dao.HouseDao;
import com.vilio.plms.dao.PlmsContractInfoDao;
import com.vilio.plms.dao.RepaymentScheduleDao;
import com.vilio.plms.exception.ErrorException;
import com.vilio.plms.glob.ReturnCode;
import com.vilio.plms.pojo.House;
import com.vilio.plms.service.base.... |
package com.smxknife.servlet.springboot.demo01.servlet;
import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;
/**
* @author smxknife
* 2018-12-26
*/
@WebServlet(name = "def", value = "/def/*", initParams = {
@WebInitParam(name = "msg", value = "default servlet")
})
public clas... |
package uns.ac.rs.hostplatserver.controller;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.springframework.beans.factory.annotation.Autowire... |
package com.accenture.flowershop.fe.dto;
public class UserDTO {
private String login;
private String password;
private String name;
private String address;
private String phoneNumber;
private double score;
private int sale;
private String role;
public UserDTO(){
}
public U... |
package com.uzabase.schema;
import javax.xml.bind.annotation.*;
public class Item {
@XmlElement(name="title")
private String title;
@XmlElement(name="link")
private String link;
@XmlElement(name="description")
private String description;
@XmlElement(name="pubDate")
private String pubDate;
@... |
package task164;
import common.Watch;
import java.util.Arrays;
import java.util.HashMap;
/**
* @author Igor
*/
public class Main164 {
static final HashMap<Number, Long> counts = new HashMap<>();
public static void main(String[] args) {
Watch.start();
long count = 0;
... |
package org.houstondragonacademy.archer.services;
import org.hibernate.validator.internal.xml.mapping.MappingXmlParser;
import org.houstondragonacademy.archer.dao.CoursePeriodRepository;
import org.houstondragonacademy.archer.dao.CourseRepository;
import org.houstondragonacademy.archer.dao.SemesterRepository;
import o... |
package com.usecasepoint.model;
import lombok.Getter;
import lombok.Setter;
@Getter @Setter
public class AktorRequest {
private String nama;
private String kategori;
private String proyekId;
}
|
package com.cheforder;
import android.app.Application;
import android.content.Context;
import android.support.multidex.MultiDex;
import com.facebook.react.ReactApplication;
import com.github.kevinejohn.keyevent.KeyEventPackage;
import com.microsoft.codepush.react.CodePush;
import com.horcrux.svg.SvgPackage;
import co... |
package cn.chinaunicom.monitor.viewholders;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import cn.chinaunicom.monitor.R;
/**
* Created by yfYang on 2017/8/16.
*/
public class MainframeDetailViewHolder extends BaseViewHolder {
public TextView monitorItem;
public... |
package com.nta.lc_server.ui.discount;
import android.app.AlertDialog;
import android.app.DatePickerDialog;
import android.graphics.Color;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
im... |
package com.cnk.travelogix.core.livesupporti.client.dto;
import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonIgnore;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.annotate.JsonAutoDetec... |
package br.com.allerp.allbanks.entity.conta;
import java.util.Date;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
impo... |
package com.advpro2.basone.kongmalaew.pushservice;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Build;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
im... |
package lk.ijse.pos.dao;
import java.util.List;
public interface CrudDAO {
}
|
package cn.joyfollow.k21smartplayer;
import io.flutter.plugin.common.PluginRegistry.Registrar;
/**
* SmartplayerNativeViewPlugin
*/
public class SmartplayerNativeViewPlugin {
static {
System.loadLibrary("SmartPlayer");
}
/**
* Plugin registration.
*/
public static void registerWit... |
package com.tencent.mm.plugin.appbrand.jsapi.video;
import com.tencent.mm.plugin.appbrand.page.p;
import com.tencent.mm.plugin.appbrand.page.p$d;
import com.tencent.mm.plugin.appbrand.page.p.e;
import com.tencent.mm.plugin.appbrand.page.p.f;
import com.tencent.mm.sdk.platformtools.x;
class a$4 implements e {
fina... |
package com.tencent.mm.plugin.freewifi.b;
import com.tencent.mm.plugin.freewifi.m;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Map.Entry;
public final class a {
private boolean jjc;
private Map<String, b> jjd;
/* synthetic */ a(byte b) {
this();
}
private a() {... |
package dropbox;
import dropbox.GUI.FilesUI;
import static dropbox.GUI.FilesUI.contentArea;
import static dropbox.GUI.FilesUI.pathLabel;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.Fi... |
package example.nz.org.take.compiler.userv.generated;
import nz.org.take.rt.*;
/**
* Class generated by the take compiler.
* @version Mon Feb 11 13:49:17 NZDT 2008
*/
@SuppressWarnings("unchecked")
class KBFragement_not_contains_11 {
/**
* Method generated for query contains[in,in]
* @p... |
package repositorytests;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest;
import org.springframework.boot.test.autoconfigure.or... |
import java.util.Arrays;
/**
* 希尔排序也是一种插入排序,它是简单插入排序经过改进之后的一个更高效的版本,也称为缩小增量排序
*
* <p>同时该算法是冲破O(n2)的第一批算法之一
*
* <p>基本思想 希尔排序是把记录按下标的一定增量分组,对每组使用直接插入排序算法排序;随着增量逐渐减少,每组包含的关键词越来越多,当增量减至1时,整个文件恰被分成一组,算法便终止
*
* 在此我们选择增量gap=length/2,缩小增量继续以gap = gap/2的方式,这种增量选择我们可以用一个序列来表示,{n/2,(n/2)/2...1},称为增量序列
*/
public class She... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.