text stringlengths 10 2.72M |
|---|
package info.cmn.meuapp;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import an... |
package com.example.BankOperation.controller;
import com.example.BankOperation.model.Credit;
import com.example.BankOperation.model.Payment;
import com.example.BankOperation.service.CardService;
import com.example.BankOperation.service.CreditService;
import com.example.BankOperation.service.PaymentService;
import org.... |
package com.example.lemonimagelibrary.config;
import android.content.Context;
import android.graphics.Bitmap;
import android.support.annotation.DrawableRes;
import android.util.Log;
import android.widget.ImageView;
import com.example.lemonimagelibrary.cache.BitmapCache;
import com.example.lemonimagelibrary.cache.Cach... |
package msip.go.kr.share.entity;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.Arr... |
/*
* Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.saml.idp.preferences;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import pl.edu.icm.unity.saml.idp.preferences.SamlPreferences.SPSet... |
package com.zauberlabs.bigdata.lambdaoa.realtime.spouts;
import java.util.Date;
import java.util.Map;
import org.apache.commons.lang.time.DateUtils;
import backtype.storm.spout.SpoutOutputCollector;
import backtype.storm.task.TopologyContext;
import backtype.storm.topology.OutputFieldsDeclarer;
import backtype.storm... |
package com.cg.go.greatoutdoor.service;
import java.time.LocalDate;
import java.util.List;
import java.util.Optional;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.cg.go.greatoutdoor.entity.OrderEntity... |
package org.dongbin.naver;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import com.dongbin.Billboard.Billboard;
public cl... |
/******************************************************************************
* __ *
* <-----/@@\-----> *
* <-< < \\// > >-> *
... |
package org.reactome.web.nursa.client.details.tabs.dataset.widgets;
import java.util.Arrays;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Map;
import java.util.function.Function;
import org.reactome.nursa.model.DataPoint;
import org.reactome.nursa.model.DisplayableDataPoint;
import org.reac... |
package com.what.yunbao.setting;
import com.what.yunbao.R;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClic... |
package roombook.reservation;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
impor... |
package org.point85.domain.dto;
import java.util.List;
/**
* Data Transfer Object (DTO) for a data source id HTTP response
*/
public class SourceIdResponseDto {
private List<String> sourceIds;
public SourceIdResponseDto(List<String> sourceIds) {
this.sourceIds = sourceIds;
}
public List<String> getSourceIds... |
/**
* https://www.hackerearth.com/practice/data-structures/trees/heapspriority-queues/practice-problems/algorithm/monk-and-multiplication/
* #heap #priority-queue each 3 elements will create to a heap. 0 1 2 3 4 1 6 5 4 3
*
* <p>1 /. ` 3. 5 /. ` 4 6
*
* <p>-1 -1 30 120 120
*
* <p>1 6 5 6 5 4 6 5 4
*/
import ja... |
/**
*
*/
package com.cassandra.TrialWithIText;
import javafx.scene.input.KeyEvent;
import javafx.scene.input.MouseEvent;
/**
* @author Cassandra Mae
*
*/
public interface HandleingEvents {
/**
*
* @param mouseEvent the event to be handled when mouse clicked or dragged
* or released or pressed.
*/
void... |
package interfase;
import date.*;
import task.*;
import utils.*;
import java.io.*;
import java.util.*;
import java.text.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.event.*;
public class ConnectSettings extends JFrame {
private static final long serialVersionUID = 1L;
... |
package com.company;
public class Part implements Comparable<Part> {
private String color;
private String type;
private Board.Unit currentUnit;
private Board.Unit previousUnit;
public Board.Unit getCurrentUnit() {
return currentUnit;
}
public Board.Unit getPreviousUnit() {
... |
package com.bnrc.busapp;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Timer;
import java... |
package com.example.myapplication22;
public class Lesson {
public String name;
public String no;
public String teacher;
public String classroom;
public Time time=new Time();
public String credit;
public String note;
}
class Time{
public int[] during=new int[2]; //起始周,终止周
public int... |
/*
* Copyright (c) 2013-2014, Neuro4j.org
*
* 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 applicab... |
/*
* 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 games.Board;
import games.Interfaces.IPiece;
/**
*
* @author gpalomox
*/
public class BoardPosition {
int x;
int y... |
package org.foolip.mushup;
public class WikipediaException extends Exception {
WikipediaException() {}
WikipediaException(String message) {super(message);}
WikipediaException(Throwable cause) {super(cause);}
}
|
package cn.codecoach.irest.impl;
import cn.codecoach.irest.IRestAction;
import cn.codecoach.irest.impl.action.IRestActionParamDefault;
/**
* 默认action分类<br>
* 含义参数和返回结果
*
* @author yanchangyou@gmail.com
*
*/
public class IRestActionDefault implements IRestAction {
IRestActionParamDefault iRestA... |
package com.nisum.webflux.controller;
import com.nisum.webflux.model.Fruit;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient;
import org.springframework.boot.... |
package com.ag.service;
import com.ag.dto.Data;
import com.ag.entity.ProductInfo;
import javax.servlet.http.HttpSession;
import java.util.List;
public interface ProductServcie {
List<Data> queryProduct11(Integer id, HttpSession session);
//根据id查
ProductInfo queryByIdProduct(String id);
//根据id修改库存
... |
/*
Owner: Nidhi Agrawal
Problem Statement:
Given an array of integers nums.
A pair (i,j) is called good if nums[i] == nums[j] and i < j.
Return the number of good pairs.
Example 1:
Input: nums = [1,2,3,1,1,3]
Output: 4
Explanation: There are 4 good pairs (0,3), (0,4), (3,4), (2,5) 0-indexed.
Constraints:
1 <= nums.le... |
/*
* Zachary Snydar
* 10/11/16
* Subsets.java
* This file converts data files of employees to teams
*/
package edu.greenriver.it.subset;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Scanner;
import edu.greenriver.it.employee.Employee;
/**
* A class wit... |
/**
* A type of RuntimeException which occurs when a file is not shared. Possible
* scenarios include a peer which does not exist or a peer which exists but
* is not sharing a given file.
*
* @author Oloff Biermann
*/
package org.biermann.tme3.p2pindex.exception;
public class FileNotSharedException e... |
package macro;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.*;
public class macro2 {
public static void main(String[] args) throws IOException {
MNT[] mntab = new MNT[2];
mntab[0] = new MNT("M1",2,2,1,0);
m... |
package org.shazhi.businessEnglishMicroCourse.service;
import org.shazhi.businessEnglishMicroCourse.entity.CommentEntity;
import org.shazhi.businessEnglishMicroCourse.util.Result;
import java.util.List;
public interface CommentService {
Result mark(CommentEntity comment);
List<CommentEntity> load(CommentEnt... |
package com.hellofresh.challenge.tests;
import com.hellofresh.challenge.pages.pageObjects.*;
import com.hellofresh.challenge.utils.TestDataProvider;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.assertj.core.api.SoftAssertions;
import org.testng.annotations.Test;
impor... |
/*
* 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.ut.healthelink.model;
import com.ut.healthelink.validator.NoHtml;
import java.util.Date;
import javax.persistence.Column;... |
package com.gestion.service.impression;
import java.io.ByteArrayOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Set;
import javax.servlet.Ser... |
/*
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package data.concretes;
import java.util.ArrayList;
import java.util.List;
import data.abstracts.UserDao;
import entities.concretes.User;
public class HibernateUserDao implements UserDao {
List<User> users;
public HibernateUserDao() {
users=new ArrayList<User>();
}
@Override
public void Add(User user) {
... |
package DAO;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
class ClienteDAO extends AbstractDAO<Cliente>{
private Connection connection;
public ClienteDAO() {
this.connection = Conexao.getConexao();
}
@Override
p... |
package com.flyue.xiaomy.forward.initializer;
import com.flyue.xiaomy.forward.handler.ForwardChannelHandler;
import com.flyue.xiaomy.starter.BaseClientStarter;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.socket.SocketChannel;
/**
* @Author: Liu Yuefei
... |
/*
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.Scanner;
public class Main {
static Scanner in = new Scanner(System.in);
static PrintWriter out = new PrintWriter(System.out);
public static void main(String[] args) {
int n = in.nextInt();
in.nextLine();
fo... |
package com.example.onenprofessor.activity;
import java.lang.reflect.Constructor;
import com.example.onenprofessor.ConstantValue;
import com.example.onenprofessor.R;
import com.example.onenprofessor.adapter.MyClientDrawListAdapter;
import com.example.onenprofessor.adapter.MyServerClientInfoListAdapter;
import com.exa... |
package com.example.iglsmac.login.test;
import android.app.Activity;
import android.content.Intent;
import android.support.test.espresso.matcher.ViewMatchers;
import android.support.test.rule.ActivityTestRule;
import android.widget.EditText;
import android.widget.TextView;
import com.example.iglsmac.login.MainActivit... |
public class BubbleSort {
public static void bubble(int[]array)
{
int i,k,j,n=array.length;
for(int m=n;m>=0;m--)
{
for(i=0;i<n-1;i++)
{
k=i+1;
if(array[i]>array[k])
{
swap(i,k,array);
... |
package mobi.app.redis.transcoders;
/**
* User: thor
* Date: 12-12-21
* Time: 下午3:40
*/
public class LongTranscoder implements Transcoder<Long>{
@Override
public byte[] encode(Long v) {
return String.valueOf(v).getBytes();
}
@Override
public Long decode(byte[] v) {
if(v == null... |
package com.github.bot.curiosone.core.refinement;
public class Sentence {
private ClauseMain main;
private SentenceType type;
/**
* Sentence constructor.
* @param type type of sentence
* @param main main clause
*/
public Sentence(SentenceType type, ClauseMain main) {
this.type = type;
t... |
package com.mabang.android.okhttp.loadimg;
import android.graphics.Bitmap;
import android.util.LruCache;
/**
* Created by walke.Z on 2018/3/12.
*/
public class BitmapCache {
private LruCache<String, Bitmap> bitmapLruCache;
private static BitmapCache instance;
private BitmapCache() {
int maxM... |
package com.example.ips.model;
import java.util.Date;
public class ServerplanIDealNew {
private Integer id;
private String serverApplication;
private String dev;
private String st1;
private String st2;
private String st3;
private String st4;
private String uat1;
private Str... |
package com.thoughtworks.a70mm;
import android.content.Context;
import android.support.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ListAdapter;
import android.widget.TextView;
import java.uti... |
/*
* Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.o... |
package app.akeorcist.deviceinformation.utility;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Log;
import app.akeorcist.deviceinformation.constants.Constants;
/**
* Created by Ake on 2/25/2015.
*/
public class AppPreferences {
privat... |
package com.facade.common.example;
public class ClassA {
public void doSomethingA() {
System.out.println("业务逻辑A");
}
}
|
package pl.basistam.soa.parkometr.dto;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
impor... |
package org.itst.service;
import java.util.List;
import org.itst.domain.ClubActivity;
public interface ClubActivityService {
public ClubActivity getClubActivityById(String id);
public String getClubActivitiesJsonByPage(int pageSize ,int pageNow);
public int getClubActivitiesCount();
public int getKeySearchCou... |
/*
* 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 dto;
import java.util.Date;
import java.util.List;
/**
*
* @author hienl
*/
public class QuizDTO {
private String sub... |
package com.teaboot.context.entity;
import java.lang.reflect.Method;
import com.teaboot.context.beans.BeansType;
public class MethodType{
public MethodType() {
}
Method method;
String dataType;
BeansType beansType;
public Method getMethod() {
return method;
}
public void setMethod(Method me... |
package es.mithrandircraft.disablesuffocation;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.entity.EntityType;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.plugin.java.Java... |
/* ComponentDefinitionMap.java
Purpose:
Description:
History:
Mon Sep 4 20:20:36 2006, Created by tomyeh
Copyright (C) 2006 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
This program is distributed under LGPL Version 2.1 in the hope that
it will be useful, but WITHOUT ANY WARRANTY.
}}IS_RIGHT
... |
package de.cuuky.varo.team;
import java.util.ArrayList;
import de.cuuky.varo.Main;
import de.cuuky.varo.config.config.ConfigEntry;
import de.cuuky.varo.logger.logger.EventLogger.LogType;
import de.cuuky.varo.player.VaroPlayer;
import de.cuuky.varo.player.stats.stat.PlayerState;
import de.cuuky.varo.player.st... |
package br.com.microservices.payment.processor.service;
import org.springframework.kafka.annotation.KafkaListener;
import java.io.IOException;
public interface PaymentService {
@KafkaListener(topics = "requested-payments", groupId = "ticket-group-id")
void requestedPaymentsListener(String message) throws IOE... |
package com.teste.southsystem.person.model.DTO;
import lombok.*;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Builder
public class PersonDTO {
private Long personId;
private String name;
private String type;
private String document;
private int score;
}
|
package com.sha.springbootmongo.model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
/**
* @author sa
* @date 1/9/21
* @time 10:34 PM
*/
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Address
{
private String city;
private int postCode;
}
|
package com.trump.auction.account.enums;
/**
* Created by dingxp on 2017-12-27 0027.
* 开心币状态
*/
public enum EnumBuyCoinStatus {
STATUS_UNUSED(1, "未使用"), STATUS_SUR_USED(2, "部分使用"), STATUS_ALL_USED(3, "已使用"), STATUS_OVER(4, "已过期"),
STATUS_DELETE(-1, "已删除"),//开心币多次使用,当执行取消订单时,删除最新开心币记录
BUY_COIN_USING(5, ... |
package com.cjkj.insurance.mapper;
import com.cjkj.insurance.entity.InsureSupplys;
import java.util.List;
public interface InsureSupplysMapper {
/**
*
* @mbggenerated
*/
int deleteByPrimaryKey(Integer insureSupplysId);
/**
*
* @mbggenerated
*/
int insert(InsureSupplys r... |
import java.io.*;
public class CopyModifile {
public void copyModifile(File modiFile, String position) {
//读取数据时需要的数组
byte[] bytes = new byte[1024];
int count = 0;
//只要能进来就创建文件夹
String oldName = modiFile.getAbsolutePath();
String newName = position + "\\" + ... |
import p1.report;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
class hair_dressing extends JFrame implements ActionListener
{
JCheckBox cb1,cb2,cb3,cb4,cb5;
JRadioButton rb1,rb2;
JLabel l1,l2;
JTextField tf1,tf2;
JButton b1,b2,b3;
ButtonGroup bg;
Container c;
... |
package com.letscrawl.base.db.mongodb;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.List;
import java.util.UUID;
import org.bson.types.ObjectId;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewor... |
package view;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextPane;
public class Contenedor {
private JFrame frame;
private JPanel actualPanel;
public Contenedor() {
initialize();
}
private void initialize() {
frame = new JFrame();
frame.setBounds(100, 100, 721, 540);
f... |
package com.zooma.plugins.cameraoverlay;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import android.app.Activity... |
//
// Decompiled by Procyon v0.5.36
//
package com.davivienda.sara.tablas.binentidad.session;
import javax.annotation.PostConstruct;
import com.davivienda.sara.tablas.binentidad.servicio.BinEntidadServicio;
import javax.persistence.PersistenceContext;
import javax.persistence.EntityManager;
import javax.ejb.Statele... |
import java.util.LinkedList;
import java.util.Queue;
class BinaryTree {
static class Node {
int key;
Node left, right;
Node(int item){
this.key = item;
left = right = null;
}
}
static Node root;
static Node current = root;
static void inorder(Node current) {
if (current == null)
return;... |
package com.hwy.study01.aop;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
//@Aspect
//@Order(-1)
@... |
package slimeknights.tconstruct.plugin.jei;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import mezz.jei.api.IGuiHelper;
import mezz.jei... |
package com.example.api.erro;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.http.converter.HttpMessageNotReadableException;
import org.springframework.transaction.TransactionSystemException;
import org... |
package com.wrathOfLoD.Models.Skill;
/**
* Created by luluding on 4/7/16.
*/
public class SummonerSkillManager extends SkillManager {
private Skill enchantment;
private Skill boon;
private Skill bane;
private Skill staff;
public SummonerSkillManager(){
super();
enchantment = new... |
package com.stk123.entity;
import javax.persistence.*;
import java.sql.Time;
import java.util.Objects;
//@Entity
@Table(name = "STK_LABEL_TEXT")
public class StkLabelTextEntity {
private long id;
private Long labelId;
private Long textId;
private Time insertTime;
private Time updateTime;
priva... |
package com.example.jaya.itday;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.CardView;
import android.view.View;
import java.util.ArrayList;
public class Main7Activity extends AppCompatActivity {
CardView c,d;
//Str... |
package net.mv.grub;
public interface Food {
public void getEaten();
public void rot();
public void tasteDelicious();
public void setPlate();
public void printSize();
}
|
package com.cyx.dbtools.dbhelper.table;
import com.cyx.dbtools.bean.TableField;
import java.util.List;
public interface ITableDescribe {
List<TableField> getTableDescribe(String tableName);
String getTableFields(String tableName);
}
|
import android.app.Activity;
import android.os.Bundle;
/**
* Created with IntelliJ IDEA.
* User: mrcc
* Date: 10/2/14
* Time: 12:06 PM
* To change this template use File | Settings | File Templates.
*/
public class MainActivity extends Activity {
public void onCreate(Bundle savedInstanceState) {
supe... |
package eight.person;
import eight.animal.Animal;
import eight.animal.Snake;
public class PersonTester {
public static void main(String[] args) {
Person p1 = new Student();
p1.setName("Amar");
p1.setSurname("Šabić");
p1.printNameOfAnimal();
Animal snake = new Snake("Zmijica... |
package WebApi;
import DBApi.ChatMessage;
import DBApi.PrivateMessage;
import managers.ServiceManager;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import java.util.Date;
import java.util.List;
@Path("/messages/{userId : \\d+}")
public class MessageService {
@PathPar... |
/**
*
*/
package PLAZA;
/**
* @author sreekanth
*
*/
public final class PlazaC {
public static final String siteURL="https://facebook.com";
//public String ChromeDriverLocation="";
//public String FirefoxDriverLocation="";
// public String IeDriverLocation="";
}
|
package resourcehierarchy;
import java.util.ListResourceBundle;
public class Hierarchy_fr_FR extends ListResourceBundle {
@Override
protected Object[][] getContents() {
return new Object[][] {
{"x", "Class Hierarchy_fr_FR"}
};
}
}
|
package com.example.zack.retro;
import java.util.Locale;
public class DadJoke {
public String id;
public String joke;
public int status;
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
return String.format(Locale.getDefault(), "id: %s\njoke:%s\ns... |
package oops;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Input1
{
public static void main(String[] args) {
Scanner sc=new Scanner((System.in));
System.out.println("enter first value:");
Float i=sc.nextFloat();
System.out.println("enter second value:");
Integer j=sc.nextInt(... |
package pl.dms.dmsbackend.controllers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import ... |
package com.zaiou.datamodel.redis.subscribe;
import com.zaiou.common.redis.constant.RedisKey;
import com.zaiou.common.redis.service.JedisService;
import com.zaiou.datamodel.redis.listener.RequestMsgListener;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.spr... |
package at.fhv.teama.easyticket.server.program;
import org.springframework.stereotype.Service;
import javax.annotation.security.RolesAllowed;
import javax.persistence.EntityManager;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.StreamSupport;
@Service
public class ProgramService ... |
/**
* All rights Reserved, Designed By www.tydic.com
* @Title: TestFtp.java
* @Package com.taotao.test
* @Description: TODO(用一句话描述该文件做什么)
* @author: axin
* @date: 2018年12月5日 下午11:35:45
* @version V1.0
* @Copyright: 2018 www.hao456.top Inc. All rights reserved.
*/
package co... |
package org.xplan.manager.web.shared;
import java.io.Serializable;
public class Plan implements Serializable, Comparable<Plan> {
/**
*
*/
private static final long serialVersionUID = 573099017461370301L;
private String name;
private String id;
private String type;
private Boolean loa... |
/*
* Created by Angel Leon (@gubatron), Alden Torres (aldenml)
* Copyright (c) 2011-2014, FrostWire(R). All rights reserved.
*
* 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 versio... |
package com.niko.restbooks;
import com.niko.restbooks.dto.FilterRequestDto;
import com.niko.restbooks.dto.BooksResponseDto;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.spr... |
package com.pawelpiechowiak.library;
import com.google.gson.Gson;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.*;
@RestController
public class BookController {
private BookDeserializer bookDeserializer = new BookDeserializer();
private BookProvider book = new Book... |
package ru.mcfr.oxygen.framework.filters;
import org.apache.log4j.Logger;
import ro.sync.ecss.extensions.api.*;
import ro.sync.ecss.extensions.api.node.AttrValue;
import ro.sync.ecss.extensions.api.node.AuthorDocumentFragment;
import ro.sync.ecss.extensions.api.node.AuthorElement;
import ro.sync.ecss.extensions.api.no... |
package me.libme.baidu.mapdata.searchindex.keyword;
import me.libme.baidu.mapdata.searchindex.point.Point;
import me.libme.kernel._c.pubsub.Produce;
import me.libme.kernel._c.pubsub.Publisher;
import me.libme.xstream.Compositer;
import me.libme.xstream.ConsumerMeta;
import me.libme.xstream.EntryTupe;
import me.libme.x... |
package com.mhframework.gameplay.tilemap.io;
import com.mhframework.gameplay.actor.MHActor;
/********************************************************************
* This interface is to be implemented by the class in your game that
* is responsible for taking a tile ID and returning a special
* non-static actor.
... |
package cagen.project.repositories;
import org.springframework.data.repository.CrudRepository;
import cagen.project.security.Role;
public interface RoleRepository extends CrudRepository<Role, Integer> {
}
|
/**
*
*/
package com.imooc.security.filter;
import javax.servlet.http.HttpServletRequest;
import org.springframework.cloud.netflix.zuul.filters.Route;
import org.springframework.stereotype.Component;
import com.marcosbarbero.cloud.autoconfigure.zuul.ratelimit.config.RateLimitUtils;
import com.marcosbarbero.cloud.... |
/*
* Copyright (c) 2016 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.webadmin.tprofile;
import pl.edu.icm.unity.Constants;
import pl.edu.icm.unity.server.utils.UnityMessageSource;
import pl.edu.icm.unity.types.I18nString;
import pl.edu... |
package com.target.interview.poc.commentmoderator.data.dboperations;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.UUID;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOr... |
package com.gaoshin.coupon.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import com.gaoshin.coupon.dao.impl.CommonDaoImpl;
import com.gaoshin.coupon.service.ServiceBase;
public class ServiceBaseImpl implements ServiceBase {
@Autowired private CommonDaoImpl dao;
@Override
p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.