text stringlengths 10 2.72M |
|---|
package com.oneteam.graduationproject;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.AsyncTaskLoader;
import android.support.v4.content.Loader;
import android.support.v7.app.AppCompatActivity;
i... |
package interviews.offerup;
import java.util.Arrays;
public class Onsite {
// 1. what is queue and stack, and how to implements them, how to implement
// queue with stack?
// 2. parking lot design, what does the interaction like when the API used
// by other developer?
// if else judgment, throw exception and d... |
package push;
import java.io.IOException;
import java.util.List;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.google.android.gcm.server.Constants;
import com.google.android.gcm.server.Message;
import com.google.android.... |
/*
* 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 src;
/**
*
* @author pller
*/
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JLabel;
import jav... |
package LessonsJavaCore_8.Local.Eng;
public enum MonthEng {
JANUARY(31,"WINTER"),
FEBRUARY(28,"WINTER"),
MARCH(31,"SPRING"),
APRIL(30,"SPRING"),
MAY(31,"SPRING"),
JUNE(30,"SUMMER"),
JULY(31,"SUMMER"),
AUGUST(31,"SUMMER"),
SEPTEMBER(30,"AUTUMN"),
OCTOBER(31,"AUTUMN"),... |
package model;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
public class Client {
private String username;
private final ObjectInputStream objectInputStream;
private final ObjectOutputStream objectOutputStream;
public Client(... |
package br.com.mbreno.banco;
public class Endereco {
String rua;
int numero;
int cep;
String bairro;
}
|
package com.example.walkerym.wym_ui_demo;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageVi... |
/*
* 2012-3 Red Hat Inc. and/or its affiliates and other contributors.
*
* 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 requi... |
package com.stickyblob.chords.utils;
/**
* Created by thisi on 5/24/2017.
*/
public class Chord {
private double mSopranoNote;
private double mAltoNote;
private double mTenorNote;
private double mBassNote;
private int mIncrementInt;
public Chord(double sopranoNote, double altoNote, double... |
package com.penzias.service.impl;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.penzias.core.BasicServiceImpl;
import com.penzias.core.interfaces.BasicMapper;
import com.penzias.dao.ElectrocardiogramExamInfoMapper;
import com.penzias.entity.ElectrocardiogramExam... |
package kz.halyqteam.service;
import edu.cmu.sphinx.api.Configuration;
import edu.cmu.sphinx.api.SpeechResult;
import edu.cmu.sphinx.api.StreamSpeechRecognizer;
import edu.cmu.sphinx.decoder.adaptation.Stats;
import edu.cmu.sphinx.decoder.adaptation.Transform;
import edu.cmu.sphinx.result.WordResult;
import java.io.F... |
package com.khaale.bigdatarampup.mapreduce.shared;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapreduce.Mapper;
import java.nio.file.Path;
public class ConfigurableFilePathProvider implements FilePathProvider {
private final FilePathProvider localImpl;
private final FilePathProvid... |
package eu.clarin.cmdi.rasa.filters;
import java.sql.Timestamp;
public interface Filter<T>{
public T setUrlIs(String url);
public T setUrlIn(String... urls);
public T setSourceIs(String source);
public T setProviderGroupIs(String providerGroup);
public T setRecordIs(String record);
public T setIngest... |
package com.diozero.devices.sandpit.motor;
/*
* #%L
* Organisation: diozero
* Project: diozero - Core
* Filename: StepperMotorInterface.java
*
* This file is part of the diozero project. More information about this project
* can be found at https://www.diozero.com/.
* %%
* Copyright (C) 2016 - 2023 d... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Methods {
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringBuffer sb=new StringBuffer();
String sn="Koshti";
String... |
package org.jasig.cas.me.dao.csswAccount;
import org.jasig.cas.me.po.CsswAccount;
public interface ICsswAccountDao {
CsswAccount getAccountByNameAndPassword(String accountName,String accountPwd);
CsswAccount getAccountByUid(String uid);
CsswAccount getAccountByUid(Integer uid);
}
|
package samples.jsr305.nullness;
import java.io.IOException;
import de.ruedigermoeller.heapoff.FSTCompressed;
import de.ruedigermoeller.serialization.FSTConfiguration;
public class UnannotatedExtendingLibClass extends FSTCompressed<String> {
@Override
public void set(String object) throws IOException {
super.s... |
package com.vilio.plms.pojo;
import java.io.Serializable;
import java.util.Date;
/**
* 公司表
*/
public class PlmsCompany implements Serializable{
private int id;
private String code;
private String companyName;
private String abbrName;
private String companyType;
private String status;
pri... |
package com.tencent.mm.plugin.sns.abtest;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.AbsoluteLayout;
import com.tencent.mm.plugin.sns.abtest.NotInterestMenu.c;
import com.tencent.mm.plugin.sns.i.a;
import com.tencent.mm.sd... |
package hello.hellospring.controller;
import hello.hellospring.damain.Member;
import hello.hellospring.service.MemberService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframe... |
package com.zhangyu.lock;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
public class LockTest {
public static void main(String[] args) {
Ticket ticket = new Ticket();
new Thread(new Runnable() {
@Override
public void run() {
... |
package co.edu.banco.echo;
import java.io.IOException;
import java.net.Socket;
public class EchoTCPClient {
public static final int PORT = 12676;
public static final String SERVER = "6.tcp.ngrok.io";
private Socket clientSideSocket;
private EchoTCPClientProtocol clientProtocol;
public EchoTCPClient() throws Ex... |
package service;
import java.util.HashMap;
/**
* Created by xheart on 2016/8/14.
*/
public interface RoleService {
/**
* 列出角色
* @return 角色列表
*/
HashMap<String, Object> list(int pageNumber, int pageSize);
}
|
/*
* Copyright (C) 2015 Miquel Sas
*
* This program 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 3 of the License, or (at your option) any later
* version.
*
* This program is dis... |
package 笔试代码.list;
import 笔试代码.list.ListNode;
import java.util.List;
public class 删除排序链表中的重复元素lee_83 {
public void deleteDupNum(int[] num) {
int slow = 0;
int fast = 1;
while (fast < num.length) {
if (num[fast] != num[slow]) {
num[++slow] = num[fast];
... |
package codeclan.com.raymusicshop;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Created by user on 03/11/2017.
*/
public class MusicSheetTest {
MusicSheet musicsheet;
@Before
public void before() {
musicsheet = new MusicSheet(6, 3, "Living on a prayer... |
package com.neo.solr;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.solr.client.solrj.SolrQuery;
import org.apache.solr.client.solrj.SolrQuery.ORDER;
import org.apache.solr.client.solrj.SolrQuery.SortClause;
import org.apache.solr.client.solrj.impl.HttpSolrServer;
... |
/**
* @Copyright CopperMobile 2014.
* */
package com.atn.app.component;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.Button;
import com.atn.app.R;
import com.atn.app.utils.TypefaceUtils;
//custom button handle different type of type ... |
package com.tencent.mm.plugin.mmsight.segment;
import android.media.MediaCodec;
import android.media.MediaCodec.BufferInfo;
import android.media.MediaExtractor;
import android.media.MediaFormat;
import android.os.HandlerThread;
import com.tencent.mm.modelcontrol.VideoTransPara;
import com.tencent.mm.sdk.platformtools.... |
package com.spring.util;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class SlopeInterceptor {
private static Logger logger = LoggerFactory.getLogger(SlopeInterceptor.class);
// private data fields of slope and intercept to be used throughout
// the clas... |
package com.example.mvpdemo0602.ui.splash;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.Text... |
package thread.synchronize;/**
* Created by jiajia on 2018/9/12.
*/
import java.util.ArrayList;
import java.util.List;
/**
* @author jiajia
* @version V1.0
* @Description: synchronize 版生产者消费者
* @date 2018/9/12 22:44
*/
public class Queue {
private int size = 2;
private List<Integer> queues = new ArrayL... |
/**
* MOTECH PLATFORM OPENSOURCE LICENSE AGREEMENT
*
* Copyright (c) 2010-11 The Trustees of Columbia University in the City of
* New York and Grameen Foundation USA. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that th... |
package com.tuitaking.dp;
/**
* 给定一个整数数组 nums,找到一个具有最大和的连续子数组(子数组最少包含一个元素),返回其最大和。
*
* 示例:
*
* 输入: [-2,1,-3,4,-1,2,1,-5,4],
* 输出: 6
* 解释:连续子数组[4,-1,2,1] 的和最大,为6。
* 进阶:
*
* 如果你已经实现复杂度为 O(n) 的解法,尝试使用更为精妙的分治法求解。
*
* 来源:力扣(LeetCode)
* 链接:https://leetcode-cn.com/problems/maximum-subarray
* 著作权归领扣网络所有。商业转载请联系官... |
package elaundry.domain;
import java.io.Serializable;
public class ItemDummy implements Serializable {
private int orderId;
private int itemId;
private int laundryItemId;
private int serviceId;
private String serviceName;
private String itemName;
private int quantity;
private double price;
private double tot... |
package com.hqb.patshop.app.home.domain;
import com.hqb.patshop.app.home.pojo.BidSalePOJO;
import com.hqb.patshop.mbg.model.BidResultModel;
import java.util.List;
public class BidSaleResult {
List<BidSalePOJO> bidResultList;
public List<BidSalePOJO> getBidResultList() {
return bidResultList;
}
... |
package Shapes;
import util.Input;
public class CircleApp {
public static void main(String[] args) {
boolean response = true;
System.out.println("Please enter the circle radius.");
Circle userCircle = new Circle();
}
}
//code continues to run and has to be manually ... |
package com.guru.mplayer.helper;
import android.content.Context;
import android.database.Cursor;
import android.provider.MediaStore;
import android.util.Log;
import com.guru.mplayer.data_model.MusicData;
import java.util.ArrayList;
/**
* Created by Guru on 09-03-2018.
*/
public class MediaDataHelper {
Curso... |
package com.example.lara.sing;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ListView;
import com.facebook.login.Logi... |
import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.ProbeBuilder;
import org.ops4j.pax.exam.TestProbeBuilder;
import org.ops4j.pax.exam.options.MavenArtifactProvisionOption;
import org.ops4j.pax.exam.options.UrlProvisionOption;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
import or... |
package com.utknl.katas;
/**
* https://www.codewars.com/kata/56269eb78ad2e4ced1000013/train/java
* <p>
* You might know some pretty large perfect squares. But what about the NEXT one?
* <p>
* Complete the findNextSquare method that finds the next integral perfect square after the one passed as a parameter.
* Rec... |
package model;
import utilities.Coord;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Random;
/**
* Class representing a floor in the haunted house. Holds a number of tiles which can be likened to rooms.
*/
public class Floor {
private final int mapSize;
priv... |
package parse.standalone;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;
import java.util.Map;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.GridData;
i... |
/*
* UniTime 3.5 (University Timetabling Application)
* Copyright (C) 2013, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* This program 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 Soft... |
package include.linguistics.english;
import include.Tuple2;
import include.linguistics.Word;
import english.pos.ETag;
public final class WordETag extends Tuple2<Word, ETag> {
public WordETag() {
super();
}
public WordETag(final WordETag word_tag) {
super(word_tag.m_object1, word_tag.m_object2);
... |
package it.unibz.testhunter;
import it.unibz.testhunter.action.ActionAddProject;
import it.unibz.testhunter.action.ActionCheckProject;
import it.unibz.testhunter.action.ActionCommandHelp;
import it.unibz.testhunter.action.ActionCreateTestSequence;
import it.unibz.testhunter.action.ActionHelp;
import it.unibz.testhunte... |
package com.example.fileupload;
import org.springframework.core.io.FileSystemResource;
import org.springframework.core.io.Resource;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import ... |
package main;
public class Main {
public static void main(String[] args) {
Thread thread = new Thread(new BlackJackTCPClient("localhost", 3002));
thread.start();
}
}
|
package com.mcf.base.dao;
import com.mcf.base.common.dao.IBaseMapperDao;
import com.mcf.base.exception.BaseException;
import com.mcf.base.pojo.AdminUser;
/**
* Title. <br>
* Description.
* <p>
* Copyright: Copyright (c) 2016年12月17日 下午2:34:10
* <p>
* Author: 10003/sunaiqiang saq691@126.com
* <p>
* Version: 1.0... |
import java.util.Scanner;
public class App {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
System.out.println("Please enter the file name ");
String fileName = s.nextLine();
char[][] grid = FileReader.readFile(fileName);
System.out.println("Co... |
package temakereso.helper;
import com.fasterxml.jackson.annotation.JsonFormat;
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum TopicType {
BSC_THESIS("Bsc. szakdolgozat"),
MSC_THESIS("Msc. diplomamunka"),
PHD_THESIS("PhD. disszertáció"),
RESEARCH_TOPIC("Kutatási téma, TDK");
private Str... |
package Home_Work;
public class HomeWork_1 {
// Типы целочисленные
byte myNameByte = 25;
short myNmeShort = 32000;
int myNameint = 99999999;
long myNamelong = 1000000;
//Типы плавающей точкой
float myNmamefloat = 130.0F;
double myNamedouble = 140.0;
//Логический тип
boolean my... |
package com.tencent.mm.ui.chatting.gallery;
import android.animation.TimeInterpolator;
import android.os.Build.VERSION;
import android.view.View;
class ImageGalleryGridUI$7 implements Runnable {
final /* synthetic */ ImageGalleryGridUI tUJ;
final /* synthetic */ View tUM;
final /* synthetic */ TimeInterpo... |
package pe.egcc.cartesiano.dto;
public class CartesianoDto {
// Input
private int puntoX1;
private int puntoY1;
private int puntoX2;
private int puntoY2;
// Output
private String cuadrante1;
private String cuadrante2;
private Double distancia;
public Cartesia... |
package car.adroid.service;
import android.Manifest;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.location.Criteria;
import android.location.Location;
import android.location.LocationListener;
import android.location... |
package example;
import beans.Mocode;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import mapper.MoCodeMapper;
import org.apache.commons.configuration2.Configuration;
import org.apache.commons.configuration2.builder.fluent.Configurations;
import org.apache.ibatis.jdbc.SQL;
import org.apa... |
package com.tencent.mm.plugin.account.security.ui;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.kernel.g;
import com.tencent.mm.modelfriend.a;
import com.tencent.mm.plugin.account.a.j;
import com.tencent.mm.sdk.platformtools.... |
package com.tencent.mm.plugin.emoji.ui;
import android.graphics.Bitmap;
import com.tencent.mm.a.e;
import com.tencent.mm.ak.a.c.l;
import com.tencent.mm.plugin.gif.g;
class EmojiCustomUI$16 implements l {
final /* synthetic */ EmojiCustomUI ilG;
EmojiCustomUI$16(EmojiCustomUI emojiCustomUI) {
this.il... |
package main;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.*;
import javax.swing.table.DefaultTableModel;
import BreezySwing.*;
public class AddDlg extends GBDialog {
JLabel nameLbl = addLabel("Name", 1,1,1,1);
JTextField name = addTextField("", 2,1,1,1);
JLabel testLbl = a... |
package de.zarncke.lib.test;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import junit.framework.Assert;
import junit.framework.Test;
import junit.framewor... |
package com.mx.profuturo.bolsa.service.common;
public abstract class OpenHrServiceBase implements OpenHrService {
}
|
package com.example.carwash;
import androidx.annotation.Dimension;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
public class SummaryActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.... |
package com.example.radio.Adapter;
import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import c... |
package ro.redeul.google.go.lang.parser;
import java.io.File;
import java.io.IOException;
import java.util.List;
import com.intellij.openapi.application.PluginPathManager;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.psi.PsiFile;
import com.intellij.psi.impl.DebugUtil;
import com.intellij.testFra... |
/*
* FileTest.java
*
* Created on 2016年3月26日, 下午9:16
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package view;
import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.Label;
import java.awt.Menu;
import java.awt.MenuBar;
import java.awt.Menu... |
package pack1;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org... |
package jp.personal.server.domain.entity;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
... |
package com.netcracker.financeapp.mapping;
public class Agent implements java.io.Serializable {
private int idAgent;
private String accountNumber;
private String name;
public Agent() {
}
public Agent(int idAgent) {
this.idAgent = idAgent;
}
public Agent(int idAgent, String a... |
import java.util.Collections;
import java.util.Hashtable;
import java.util.Map;
import java.util.stream.Collectors;
public class readonlymap {
public static void main(String[] args) {
Hashtable<String,Integer> ha = new Hashtable<>();
ha.put("p", 79);
ha.put("o", 78);
ha.put("t", 77)... |
/*
* Purpose:-Read .a List of Numbers from a file and arrange it
* ascending Order in a Linked List. Take user input for a number,
* if found then pop the number out of the list else insert
* the number in appropriate position
*
*@Author:-Arpana Kumari
*Version:-1.0
*@Since:-25 April,20... |
package net.trejj.talk.activities;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import and... |
package multipath;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.InputStreamReader;
/***************************************************************************************************************... |
package com.rc.utils.notification;
import com.rc.panels.NotificationPopup;
import javax.swing.*;
import java.awt.*;
import java.util.*;
/**
* @author song
* @date 19-9-29 09:25
* @description
* @since
*/
public class NotificationUtil
{
private static Stack<NotificationPopup> idles = new Stack<>();
priv... |
package com.servlet;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServle... |
package advance;
import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;
public class Map01 {
// Map
/* Mapとは、「キー」と「値」の組み合わせで要素を管理するコレクションです。Mapは、1つの「キー」に対して、1つの「値」が存在します。そのため、「キー」は重複して保持することができません。「値」は、重複して保持することができます。追加した要素の順番は保証されません。MapもList同様にインターフェースのため、HashMapやTreeMapなどのMapを実装したクラスを使用する必要... |
package com.mta.vengage.leisuretime;
import android.app.LoaderManager;
import android.content.CursorLoader;
import android.content.Intent;
import android.content.Loader;
import android.database.Cursor;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.widget.ImageView;
import an... |
package edu.wayne.cs.severe.redress2.entity.refactoring.formulas.puf;
import edu.wayne.cs.severe.redress2.controller.metric.LOCMetric;
import edu.wayne.cs.severe.redress2.entity.TypeDeclaration;
import edu.wayne.cs.severe.redress2.entity.refactoring.RefactoringOperation;
import java.util.HashMap;
import java.util.Lin... |
package server.models;
import at.rennweg.htl.sew.autoconfig.UserInfo;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.Set;
@Entity
public class Person extends Persistent implements UserInfo {
@Column(unique = true)
private String username;
private String displa... |
package br.inf.ufg.mddsm.broker.manager.actions;
import java.util.Collection;
import java.util.Map;
import br.inf.ufg.mddsm.broker.expression.ContextProviderParams;
import br.inf.ufg.mddsm.broker.expression.ValueEvaluator;
import br.inf.ufg.mddsm.broker.manager.ManagerContext;
public class SequenceActionIns... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the ter... |
package com.wuyr.rippleanimationtest;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.view.Wind... |
package com.kute.webflux.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.commons.lang3.RandomUtils;
import org.springframework.data.annotation.Id;
import org.springf... |
package org.team3128.compbot.autonomous;
import edu.wpi.first.wpilibj.command.CommandGroup;
import org.team3128.common.utility.math.Pose2D;
import org.team3128.common.utility.math.Rotation2D;
import org.team3128.common.drive.Drive;
import org.team3128.common.hardware.limelight.Limelight;
import org.team3128.common.dr... |
package com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.builder;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.ArbeitsvorgangKorrekturListeType;
import java.io.StringWriter;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.JAXBException;
import javax.xml.namespace.QName;
public class Ar... |
package com.tencent.mm.g.a;
public final class tc$a {
public String ceD;
}
|
package org.jcarvajal.webapp.server.impl;
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
import java.io.IOException;
import org.junit.Before;
import org.junit.Test;
public class HttpServerFacadeTest {
private static int PORT = 100;
private HttpServerFacade serverFacade;
private boolean ... |
package com.mango.leo.zsproject.industrialservice.createrequirements.carditems.bean;
import java.util.List;
/**
* Created by admin on 2018/5/16.
*/
public class CardNinthItemBean {
private String moshi;
private String money;
private List<String> why;
private List<String> type;
private String qi... |
package wx.realware.grp.pt.pb.start.job;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
imp... |
package com.ibeiliao.pay.web.open.notify;
import com.ibeiliao.pay.api.ApiResultBase;
import com.ibeiliao.pay.api.dto.request.PaymentNotifyRequest;
import com.ibeiliao.pay.api.dto.response.PaymentNotifyResponse;
import com.ibeiliao.pay.api.provider.PaymentNotifyProvider;
import com.ibeiliao.pay.common.utils.IpAddressUt... |
package clasearchivo;
import java.util.Date;
import java.util.GregorianCalendar;
public class ClaseArchivo {
//Atributos
private String nombre;
private String tipo;
private Date fecha_creacion;
private String contenido;
//Constructor 1
public ClaseArchivo(String nombre, ... |
package com.sunteam.library.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.ArrayList;
import java.util.List;
import org.wlf.filedownloader.DownloadFileInfo;
import org.wlf.filedownloader.FileDow... |
package com.nazmul.dp.designpattern.prototype;
public class AppDemoShape {
public static void main(String[] args) {
ShapeCache.loadData();
Shape newShape = (Shape)ShapeCache.getShape("1");
newShape.draw();
Shape newShape2 = (Shape)ShapeCache.getShape("2");
newShape2.draw();
}
}
... |
package com.guevara.crud.conf;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.core.env.Environment;
i... |
package api.longpoll.bots.model.objects.additional.buttons;
import com.google.gson.JsonElement;
import com.google.gson.annotations.SerializedName;
/**
* A button to open VK App.
*/
public class VKAppsButton extends Button {
public VKAppsButton(Action action) {
super(action);
}
/**
* Descri... |
package com.lanltn.homestay.modules.tabbar;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.design.widget.TabLayout;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.ImageView;
import... |
package com.cimcssc.chaojilanling.entity.user;
/**
* Created by cimcssc on 2017/2/15.
*/
public class SendSMSResultVo {
private boolean result;
private String message;
public SendSMSResultVo(){
}
public SendSMSResultVo(boolean result, String message) {
this.result = result;
t... |
package nelsys.modelo;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
public class Funcao {
@Id
private String idfuncao;
private String cdchamada;
private String nmfuncao;
private String tpfuncao;
private String cdclassificacao;
public void setCdclassificacao(String cdclassificacao) {... |
package com.karlnosworthy.examples.daggerv1.activity;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import com.karlnosworthy.examples.daggerv1.ApplicationImpl;
import com.karlnosworthy.examples.daggerv1.R;
import com.karlnosworthy.examples.daggerv1.reporting.ActivityEntryRepor... |
package ctci.LinkedList;
import java.util.HashSet;
/**
* Created by joetomjob on 7/15/17.
*/
public class removeDuplicate {
public void removeDuplicate(List newList) {
HashSet<Integer> h = new HashSet<>();
Node n = newList.head;
Node prev = n;
while (n != null) {
if ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.