text stringlengths 10 2.72M |
|---|
package br.com.fiap.bean;
import java.util.Calendar;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.context.FacesContext;
import br.com.fiap.entity.Aluno;... |
package com.example.placement.services;
import org.springframework.data.jpa.repository.JpaRepository;
import com.example.placement.dao.Placement;
public interface PlacementRepository extends JpaRepository<Placement, Long> {
} |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package wrapper;
/**
*
* @author jayzeegp
*/
public class Board {
private native void JBoard();
private native void JsaveToFile(String sfile);
private native void JreadFromFile(String sfile);
pri... |
package com.zxt.compplatform.indexset.dao.impl;
import com.zxt.compplatform.indexset.dao.IndexModelDao;
import com.zxt.framework.common.dao.DAOSupport;
public class IndexModelDaoImpl extends DAOSupport implements IndexModelDao {
}
|
package swea_d2;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Solution_1284_수도요금경쟁 {
public static void main(String[] args) throws Exception {
System.setIn(new FileInputStream("input.txt"));
BufferedReader br = ne... |
package com.jalsalabs.ticklemyphonefull;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
public class AntiTheftBootStartActivity extends Activity {
public void onCreate(Bundle savedInstance... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.vishal.si.ui;
import com.vishal.si.main.ImageRenderer;
import com.vishal.si.main.ReadSDF;
import com.vishal.si.main.Utility;
import com.vishal.si.struct.Drug;
import com.vishal.si.struct.Scaffold;
import jav... |
package com.LambdaExpressions;
import java.util.ArrayList;
public class assignment4 {
public static void main(String[] args)
{
ArrayList <String> list=new ArrayList<String>();
list.add("a");
list.add("aa");
list.add("aaa");
list.add("aaaa");
list.add("aaaaa");
list.add("aaaaaa");
list.add("aaaaaa... |
package com.findide.util;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class LogUtil {
public static void writeLog(String msg) {
List<String> logList = new ArrayList<String>();
logList.add(msg);
write... |
package Topic26FileText;
public class ArraysCopyExample {
public static void main(String[] args) {
int[] numbers1 = {1, 2, 3, 4, 5, 6, 7, 8, 9};
int[] numbers2 = new int[(numbers1.length*2)];
System.arraycopy(numbers1, 0, numbers2, 0, numbers1.length);
for(int num: numbers2) {
... |
package com.cn.ouyjs.utils;
/**
* @author ouyjs
* @date 2019/7/4 14:04
*/
//当Test的父类TestUtils 只有private的构造函数,test不能继承TestUtils
public class Test extends TestUtils {
public Test(){
super(1);
}
}
|
package edu.upenn.cis350.androidapp.DataInteraction.Management.MessageManagement;
import edu.upenn.cis350.androidapp.AccessWebTask;
import java.net.URL;
import org.json.simple.JSONObject;
import org.json.simple.JSONArray;
import org.json.simple.parser.JSONParser;
import java.text.ParseException;
import java.text.Sim... |
import javafx.beans.property.SimpleStringProperty;
public class BlockPalletDataHolder {
private final SimpleStringProperty palletId;
private final SimpleStringProperty productName;
private final SimpleStringProperty productionDate;
private final SimpleStringProperty blocked;
public BlockPalletData... |
package ru.forpda.example.an21utools;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Adapter;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
imp... |
package com.example.worldpopulation.model;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public class Country implements Serializable {
@Id
@GeneratedValue
private Long id;
private String countryName;
pri... |
package com.metoo.foundation.domain;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Transient;
import org.hibernate.annotations.Cache;
import org.hibern... |
package edu.upenn.cis455.project;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.sql.SparkSession;
impor... |
package code;
import java.util.HashMap;
import java.util.Map;
/**
* 给定一个整数数组和一个整数 k,你需要找到该数组中和为 k 的连续的子数组的个数。
* <p>
* 示例 :
* <p>
* 输入:nums = [1,1,1], k = 2
* 输出: 2 , [1,1] 与 [1,1] 为两种不同的情况。
* <p>
*
* @author liyuke
* @date 2021-06-20 14:21
*/
public class SumEqualK {
//解法1 前缀和+暴力枚举
public int subar... |
package ua.training.model.dao.mapper;
import lombok.extern.log4j.Log4j2;
import ua.training.constant.Attributes;
import ua.training.constant.Mess;
import ua.training.controller.commands.exception.DataHttpException;
import ua.training.model.entity.DayRation;
import ua.training.model.entity.User;
import javax.servlet.h... |
package service;
import dao.*;
import model.Event;
import model.Person;
import model.User;
import response.ErrorResponse;
import response.FillResponse;
import response.Response;
import javax.xml.crypto.Data;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Queue;
import java.util.UUID;
/**
*... |
package com.logicbig.example.implicitconstructorinjection;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class OrderServiceClient {
private OrderService orderService;
//@Autowired is no longer required in Spring 4.3 and late... |
package com.safframework.bytekit.utils;
import java.nio.ByteBuffer;
/**
* Created by tony on 2018-12-19.
*/
public class Utils {
public static int parse(char c) {
if (c >= 'a')
return (c - 'a' + 10) & 0x0f;
if (c >= 'A')
return (c - 'A' + 10) & 0x0f;
return (c - ... |
/*
* Copyright 2014 Soichiro Kashima
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/*
* Copyright 2014. AppDynamics LLC and its affiliates.
* All Rights Reserved.
* This is unpublished proprietary source code of AppDynamics LLC and its affiliates.
* The copyright notice above does not evidence any actual or intended publication of such source code.
*/
package com.appdynamics.monitors.iPlanet.be... |
package com.hcl.cms.data.session;
import java.io.IOException;
import java.security.GeneralSecurityException;
import java.util.Iterator;
import java.util.Vector;
import com.filenet.api.collection.ObjectStoreSet;
import com.filenet.api.core.Connection;
import com.filenet.api.core.Domain;
import com.filenet.api.core.Fac... |
package com.iblogstreet.titlebarchangecolor;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewTreeObserver;
import android.view.Window;
import android.widge... |
package com.project.universitystudentassistant.utils;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
public class AppConstants {
public static final String USERS = "users";
public static final String DUMMY_EMAIL = "dummy@email.com";
public static final String DUMMY_PASSWO... |
package com.napier.sem;
import com.mongodb.MongoClient;
import com.mongodb.client.MongoDatabase;
import com.mongodb.client.MongoCollection;
import org.bson.Document;
/**
*
*/
public class App
{
public static void main(String[] args)
{
// Connect to MongoDB on local system - we're using port 27000
... |
package com.bakerystudios.game.questions;
import java.util.List;
public class State {
private String name;
private List<Question> questions;
public State(String name, List<Question> questions) {
this.name = name;
this.questions = questions;
}
public String getName() {return name;}
public ... |
package ziegler.philosophers;
public class Fork {
private boolean inUse;
private int forkNum;
private String name;
public Fork(int forkNum){
this.forkNum = forkNum;
name = String.valueOf(forkNum);
}
public void pickUp(){
inUse = true;
}
public void putDown(){
inUse = false;
}
public boolean in... |
package GBN;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.... |
package com.practice.java8.newfeatures.lambda;
import java.util.Objects;
public class Student {
private String name;
private String grade;
private String total;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
publi... |
/*******************************************************************************
* Copyright (c) 2000, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution... |
package fr.lteconsulting.pomexplorer;
/**
* Identifies a section in the pom.xml
*
* @author Arnaud
*/
public enum PomSection
{
PROJECT,
PARENT,
DEPENDENCY_MNGT,
DEPENDENCY,
PLUGIN_MNGT,
PLUGIN;
} |
package model.match;
public enum MatchState {
Fixture, Result, Toss, InningsOneInProgress, InningsBreak, InningsTwoInProgress
} |
package com.alibaba.druid.bvt.sql.sqlserver.grants;
import org.junit.Assert;
import com.alibaba.druid.sql.SQLUtils;
import com.alibaba.druid.sql.ast.SQLStatement;
import com.alibaba.druid.sql.dialect.sqlserver.parser.SQLServerStatementParser;
import com.alibaba.druid.sql.dialect.sqlserver.visitor.SQLServerSchemaStatV... |
package com.beike.service.diancai;
import java.util.List;
import java.util.Map;
import com.beike.entity.catlog.RegionCatlog;
import com.beike.entity.onlineorder.AbstractEngine;
import com.beike.entity.onlineorder.BookingGoods;
import com.beike.entity.onlineorder.BranchInfo;
import com.beike.entity.onlineorde... |
package com.itmayiedu.service;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
@Service
public class MemberService {
//添加用户的时候会发送邮件
@Async //相当于这个方法开辟了单独现场进... |
package 设计模式.建造者模式.improve;
//抽象的建造者
public abstract class HouseBuilder {
protected House house=new House();
//将建造的流程写好,抽象的方法
public abstract void buildBasic();
public abstract void buildBWalls();
public abstract void roofed();
//建造房子好,将产品返回
public House buildHouse(){
return house;
... |
package com.ferreusveritas.growingtrees.entities;
import net.minecraft.client.particle.EntityAuraFX;
import net.minecraft.world.World;
public class EntityParticleLeaf extends EntityAuraFX {
public EntityParticleLeaf(World world, double x, double y, double z, double velx, double vely, double velz) {
super(world, x... |
package softagi.urdecision.Models;
public class UserModel
{
private String name,gender;
public UserModel() {
}
public UserModel(String name, String gender) {
this.name = name;
this.gender = gender;
}
public String getName() {
return name;
}
public void setNam... |
/*
* Copyright 2020 WeBank
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... |
package asktechforum.repositorio;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import asktechforum.dominio.Pergunta;
import asktechforum.dominio.Resposta;
import asktechforum.dominio.Usuario;
import asktechforum.int... |
/*
* Conexion.java
*
* Programa de prueba para conexión a una base de datos de MySQL.
* Presupone que el servidor de base de datos está arrancado, disponible,
* en el puerto por defecto.
* El usuario y password de conexión con la base de datos debe cambiarse.
* En la base de datos se supone que hay una base de d... |
package com.tecsup.cps.lab02b_git;
public class Modelo {
}
|
package com.example.hemil.papa_johns;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.AdapterView;
import android.widget.GridView;
import android.widget.Toast;
import com.example.hemil.papa_johns.AbstractFactory.... |
package ggboy.study.java.springBeanReq.info;
import java.io.Serializable;
public class RespInfo implements Serializable {
private static final long serialVersionUID = 1L;
private String code;
private String result;
public String getCode() {
return code;
}
public void setCode(String code) {
th... |
package bin;
import control.ControlAuthentification;
import control.ControlChangerConfiguration;
import control.ControlChangerMdp;
import control.ControlEffacerHistorique;
import control.ControlEnregistrerDansHistorique;
import control.ControlLancerIndexation;
import control.ControlLancerRecherche;
import control.Cont... |
package TicketOrder;
// Generated Oct 30, 2016 10:49:21 PM by Hibernate Tools 4.3.1
/**
* Timetrain generated by hbm2java
*/
public class Timetrain implements java.io.Serializable {
private int timeId;
private int trainId;
private int price;
private String provice;
private String dateTr... |
package boletin77;
/**
*
* @author agomezcastro
*/
public class Cadrado {
private double lado;
public Cadrado(double lado){
this.lado=lado;
}
public double calcularArea(){
double area;
area= lado*lado;
return area;
}
}
|
package saga.controllers;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import saga.entities.*;
import saga.repositories.ClienteRepositorio;
import saga.repositories.FornecedorRepositorio;
import static org.junit.jupiter.api.Assertions.*;
class ContaControllerTest {
private ContaCo... |
package com.example.zhenqiangli.customview.customized;
import android.view.MotionEvent;
import java.util.LinkedList;
import static android.view.MotionEvent.ACTION_CANCEL;
import static android.view.MotionEvent.ACTION_DOWN;
import static android.view.MotionEvent.ACTION_MOVE;
import static android.view.MotionEvent.ACT... |
package cn.test.annotation;
import javax.annotation.processing.*;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.Element;
import java.util.Set;
import cn.test.annotation.NameChecker;
/**
* Created by xiaoni on 2018/11/6.
*/
//*表示支持所有的Annotations
... |
package network.nerve.swap.cache.impl;
import io.nuls.base.basic.AddressTool;
import io.nuls.core.core.annotation.Autowired;
import io.nuls.core.core.annotation.Component;
import io.nuls.core.model.StringUtils;
import network.nerve.swap.cache.SwapPairCache;
import network.nerve.swap.manager.ChainManager;
import networ... |
package videoshop.model;
import java.math.RoundingMode;
import javax.persistence.Entity;
import videoshop.controller.BossController;
import org.joda.money.Money;
import org.salespointframework.order.Order;
import org.salespointframework.payment.PaymentMethod;
import org.salespointframework.useraccount.UserAccount;
... |
package com.cs.game;
import com.cs.bonus.PlayerBonus;
import com.cs.payment.Currency;
import com.cs.payment.Money;
import com.cs.player.Player;
import org.springframework.data.domain.Page;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.math.BigInteger;
import java.util.Date;
import ja... |
package com.example.cantri.doctoronline;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
/**
* Created by cantri on 27/04/2017.... |
package commands.server.ingame;
import java.util.LinkedList;
import java.util.Queue;
import cards.Card;
import cards.specials.instant.Brotherhood;
import core.player.PlayerCompleteServer;
import core.server.game.GameInternal;
import core.server.game.controllers.GameController;
import core.server.game.controllers.spec... |
package com.project.daicuongbachkhoa.model;
public class Chapter {
private String chapterCode,chapterName,chapterContent;
public Chapter() {
}
public Chapter(String chapterCode, String chapterName, String chapterContent) {
this.chapterCode = chapterCode;
this.chapterName = chapterName;
... |
/*
* Copyright 2002-2020 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... |
/*
Write a complete program that demonstrates these classes
by asking the user to enter the amounts
of deposits and
withdrawals
for a savings account and checking account.
The program should display statistics for the month,
including beginning balance,
total amount of deposits,
total amount of withdrawals,
s... |
package def;
import java.awt.image.BufferedImage;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import javax.imageio.ImageIO;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.core.MatOfByt... |
package com.lti.Algorithms.Codility.PrefixSum;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
public class GenomicRangeQuery {
public static void main(String[] args) {
int[] p={2,5,0};
int[] q={4,5,6};
String s="CAGCCTA";
System.out.println(Arrays.toStrin... |
package com.zks.server;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService
public class WeatherInterfaceImpl implements IWeatherInterface {
@WebMethod
@Override
public String queryWeather(String cityName) {
System.out.println(cityName);
return cityName;
}
}
|
/*
* Copyright (C) 2011 Marvell International Ltd., All Rights Reserved
*
* MARVELL CONFIDENTIAL
* The source code contained or described herein and all documents related to
* the source code ("Material") are owned by Marvell International Ltd or its
* suppliers or licensors. Title to the Material remains with Ma... |
// SPDX-License-Identifier: BSD-3-Clause
package org.xbill.DNS.lookup;
import static java.lang.String.format;
import static java.util.Arrays.asList;
import static java.util.Collections.emptyList;
import static java.util.Collections.singletonList;
import static org.junit.jupiter.api.Assertions.assertEquals;
import stat... |
package Stream;
import java.io.*;
import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;
public class Main_Stream {
public static void main(String[] args) throws IOException, DoublePatientException {
Scanner scanner = new Scanner(System.in);
Set<Patient> patientOne = new HashSet... |
/*
* 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 applicable law or... |
package com.daikit.graphql.meta.custommethod;
import java.util.List;
import com.daikit.graphql.custommethod.GQLCustomMethod;
/**
* GraphQL dynamic method returning a {@link List} of entities meta data
*
* @author Thibaut Caselli
*/
public class GQLMethodListScalarMetaData extends GQLAbstractMethodMetaData {
pr... |
package edu.mit.cci.simulation.util;
import org.junit.Assert;
import org.junit.Before;
import org.junit.runner.RunWith;
import org.springframework.context.ApplicationContext;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.mock.web.MockHttpServletResponse;
import org.springframew... |
package fr.skytasul.quests.gui.templates;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.function.Consumer;
import java.util.function.Function;
import org.apache.commons.lang.Validate;
import org.bukkit.Bukkit;
import org.bukkit.DyeColor;
import org.bukkit.Ma... |
package com.infosys.androidbarchartassignment.retrofit.data;
import java.util.ArrayList;
public class GraphResponse {
// list of graph values
public ArrayList<Graph> graph;
}
|
package pro.likada.service;
import pro.likada.model.Product;
import pro.likada.model.ProductPrice;
import java.util.List;
/**
* Created by bumur on 13.02.2017.
*/
public interface ProductPriceService {
void save(ProductPrice productPrice);
ProductPrice getProductActualPrice(List<ProductPrice> productPric... |
package crescendo.sheetmusic;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
public class AdviceFrameTest
{
private AdviceFrame af;
@Before
public void setup()
{
this.af=new AdviceFrame(null,null);
JFrame frame=new JFrame("A... |
package com.noturaun.posapp.repository;
import com.noturaun.posapp.entity.Customer;
import com.zaxxer.hikari.HikariDataSource;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
import static com.noturaun.posapp.util.Helper.isExist;
public class CustomerRepositoryImpl implements CustomerRepository... |
package com.beike.model.lucene;
import java.util.List;
import org.apache.lucene.document.Document;
/**
* 查询结果
* @author ye.tian
*
*/
public class QueryResult {
private int recordCount; //记录总数
private List<Document> recordList; //搜索记录列表
private List<QueryParam> queryParamList;//查询结果参数
... |
package com.example.selenge;
import java.util.ArrayList;
import com.example.selenge.adapter.InfoListViewAdapter;
import com.example.selenge.model.InfoModel;
import android.app.AlertDialog;
import android.app.Fragment;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
imp... |
package com.easytoolsoft.commons.lang.tree;
import java.util.ArrayList;
import java.util.List;
/**
* dhtmxTree(http://dhtmlx.com/docs/products/dhtmlxTree/)控件的树结点数据模型类
* http://docs.dhtmlx.com/tree__syntax_templates.html#jsonformattemplate
*
* @author zhiwei.deng
*/
public class DhtmlXTreeNode {
private final... |
package collections.demo;
public class VecSalary {
VecEmploye emp;
double salary;
public VecEmploye getEmp() {
return emp;
}
public void setEmp(VecEmploye emp) {
this.emp = emp;
}
public double getSalary() {
return salary;
}
public void setSalary(double salary) {
this.salary = salary;
... |
package com.lmz.javabase;
public class While {
public static void main(String[] args) {
//循环语句就是让计算机根据条件做循环计算,在条件满足时继续循环,条件不满足时退出循环。
//while循环在每次循环开始前,首先判断条件是否成立。如果计算结果为true,就把循环体内的语句执行一遍,如果计算结果为false,那就直接跳到while循环的末尾,继续往下执行。
//注意到while循环是先判断循环条件,再循环,因此,有可能一次循环都不做。
int sum = 0;
... |
package org.lfy.admin;
import de.codecentric.boot.admin.server.config.EnableAdminServer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
/**
* ... |
public class Solution {
public String compress(String input) {
// Write your solution here
if (input == null || input.length() == 0) {
return input;
}
char[] array = input.toCharArray();
int slow = 0;
int fast = 0;
int globalCounter = 0;
wh... |
package com.ssa.startmeetingwidget.screens;
import android.Manifest;
import android.content.Intent;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import com.ssa.startmeetingwidget.R;
import com.ssa.startmeetingwidget.common.BasePermissionActivity;
import com.ssa.startme... |
package settings;
public class Settings {
public static String username="kamrul1157024";
public static String password="falsepassword";
public static String gitFolderLink="/home/kamrul/Desktop/kamrul1157024.github.io/";
public static String code_adding_path="Solutions/";
public static String htm... |
package revolt.backend.dto;
import lombok.*;
import lombok.experimental.FieldDefaults;
import java.util.List;
@Builder
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
public class BrandDto {
Long id;
String name;
List<Long> accessoriesIds;
List<Long>... |
package com.syntax.class06;
import java.util.Scanner;
public class LargestNuber1 {
public static void main(String[] args) {
;
Scanner input;
int number1;
int number2;
int number3;
int max;
System.out.println("Please enter three different numbers:");
input = new Scanner(System... |
package br.com.poli.application;
import br.com.poli.repositorio.Repositorio;
import br.com.poli.view.Layout;
import br.com.poli.view.Tela;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.stage.Stage;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.image.Im... |
package com.soldevelo.vmi.logging.utils;
import com.soldevelo.vmi.logging.entities.Location;
import com.soldevelo.vmi.logging.entities.Request;
import com.soldevelo.vmi.packets.TestLocation;
import org.hibernate.Query;
import org.hibernate.classic.Session;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
impo... |
package evolutionYoutube;
import com.vaadin.navigator.View;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.UI;
import database.BD_general;
public class Recordar_Contrasenia extends Recordar_Contrasenia_ventana implements View {
/**
*
*/
private static final long seri... |
package top.docstorm.documentstormcommon.service.impl;
import lombok.Cleanup;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.text.PDFTextStripper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import top.docstorm.documentstormcommon.servi... |
package com.git.cloud.resmgt.compute.model.vo;
public class CloudServiceVoByRmHost {
private String cloudServiceName;
private String cloudServiceId;
public String getCloudServiceName() {
return cloudServiceName;
}
public void setCloudServiceName(String cloudServiceName) {
this.cloudServiceName = cl... |
package com.lenovohit.ssm.treat.model;
/**
* 预存记录
*
*/
public class DepositRecord {
private String requestNo; //请求流水号
private String cardNo; //卡号
private String paymentWay; //支付类型
private String outTradeNo; //订单号
private String amount; //金额
private String userId; //用户i... |
package controller.member.sell;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.mybatis.spring.support.SqlSessionDaoSupport;
import model.Menu_DTO;
import model.Sell_DTO;
public class Member_Sell_DAO extends SqlSessionDaoSupport {
public List<Menu_DTO> getMen... |
package org.apache.commons.dbcp;
import com.alibaba.druid.pool.DruidDataSourceMBean;
public interface BasicDataSourceMBean extends DruidDataSourceMBean {
}
|
/* Test 54:
*
* Istruzione continue.
*/
package gimnasium;
class s1 {
void pippo()
{
double i,j;
boolean t;
int a;
for (;;)
if (i>j)
continue;
while (i>j)
{
if (t)
continue;
}
do {
if (t)
continue;
} while (i>j);
continue; // errore!!! continue deve ... |
package br.com.gestor.database.modelo;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
@Entity
public class Dev extends Usuario implements Serializable {
/**
*
*/
private static final long serialVersionUID = -1841117084413... |
package com.bogdanovpd.spring.webapp.spring.webapp.client.config;
import com.bogdanovpd.spring.webapp.spring.webapp.client.model.User;
import com.bogdanovpd.spring.webapp.spring.webapp.client.service.RoleRestService;
import com.bogdanovpd.spring.webapp.spring.webapp.client.service.UserRestService;
import com.bogdanovp... |
package asset_code;
public class VerticalShot {
}
|
package com.caiyi.ui;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Canvas;
import android.os.Build.VERSION;
import android.util.AttributeSet;
import android.view.GestureDetector;
import android.view.GestureDetector.OnDoubleTapListener;
import android.view.GestureDetec... |
import java.util.Scanner;
/**
* @author joshua.s.george@stonybrook.edu
* ID: 112839378
* <p>
* This class acts as main method for executing the terminal
*/
public class BashTerminal {
/**
* This is the main method of the class. Runs the Bash Terminal
* @param args Command line args
*/
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.