text stringlengths 10 2.72M |
|---|
package mb.tianxundai.com.toptoken.bean;
/**
* Created by daibin on 2018/10/29.
*/
public class AddressBIBean {
private String head;
public String getHead() {
return head;
}
public void setHead(String head) {
this.head = head;
}
public String getName() {
return nam... |
package com.example.newadapter;
import java.util.ArrayList;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
im... |
package sundayhomework;
public class DifferentStringClasses {
public static void main(String[] args) {
// TODO Auto-generated method stub
String strManupulation = new String();
strManupulation = "JavaTechnology:123";
String strManupulation2 ="Technology";
// Method Name ChatAt()
//R... |
package com.csalazar.formularioventas.activity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActiv... |
package com.sda.company.components;
import com.github.javafaker.Faker;
import com.sda.company.model.Company;
import java.util.ArrayList;
import java.util.List;
// aici se fac companiile fake pentru a popula baza de date
public class CustomFakerCompany {
public List<Company> createDummyCompanyList() {
Fa... |
package com.aliam3.polyvilleactive.stepdefs;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import java.util.ArrayList;
import o... |
package com.gsccs.sme.plat.site.service;
import java.util.List;
import java.util.UUID;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.gsccs.sme.plat.site.dao.LinkMapper;
import com.gsccs.sme.plat.si... |
package com.example.my.practice_bbb7;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Url;
/**
* Created by My on 2016/10/17.
*/
public interface MyretrofitApi {
@GET
Call<ResponseBody>getHttp();
@POST
Call<ResponseB... |
package lab2;
import java.text.DecimalFormat;
import java.util.*;
import java.util.function.Function;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import static java.util.Map.Entry.comparingByValue;
import static java.util.stream.Collectors.toMap;
public class lab2 {
// static int[]... |
package com.bofsoft.laio.customerservice.Activity.Money;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.EditText;
import com.alibaba.fastjson.JSON;
import com.bofsoft.laio.common... |
/*
* Created on 2006-1-19
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.aof.webapp.action.prm.payment;
import java.util.Date;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
im... |
package com.example.android.quantitanti.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.Recycl... |
/*
* 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... |
package cn.test.java8.java8LambadaException;
import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;
import java.util.Arrays;
import java.util.HashSet;
/**
* Created by xiaoni on 2019/8/22.
*/
@Slf4j
public class LambadaOutOfBoundsException {
public static void main(String[] args) {
BigBox... |
package Cars4x4;
import carInterface.IMotor;
import carInterface.IRelacionesDiferenciales;
import carInterface.ISuspension;
public class CarroDiesel extends Car{
private final IMotor motor;
private final IRelacionesDiferenciales relacion;
private final ISuspension suspension;
//Inyeccion de dependencia
pub... |
package com.project.android.app.kys.fragments;
import android.app.DialogFragment;
import android.app.Fragment;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.widget.CardView;
import android.s... |
package org.gatein.wcm.ui;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
public class BaseBean {
public String getLocale() {
return FacesContext.getCurrentInstance().getViewRoot().getLocale().getLanguage();
}
public void msg(String msg) {
FacesCont... |
package com.kingnode.gou.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
/**
* 商品目录组
*/
@Entity @Table(name="product_catalog") public class ProductCatalog extends BaseEntity{
private static final long serialVersionUID=27... |
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Deque;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import java.util.Stack;
public class Test {
private static final String NULL_NODE = "null";
private static final String LIST_SEPARATOR = ", ";
public vo... |
/**
* @Author: Mahmoud Abdelrahman
* Course Service class is where the code responsible for implementing the course controller methods
* implemented.
*/
package com.easylearn.easylearn.service;
import com.easylearn.easylearn.entity.Appointment;
import com.easylearn.easylearn.entity.Course;
import com.easylearn.eas... |
package com.yang.Dao;
import com.yang.Beans.Dish;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class DishDao extends Connector {
public DishDao(int id, String name, String info) {
setId(id);
setInfo(info);
setName(name);
}
public DishDao(String n... |
package pl.dkiszka.bank.handlers;
import pl.dkiszka.bank.events.UserRegisteredEvent;
import pl.dkiszka.bank.events.UserRemovedEvent;
import pl.dkiszka.bank.events.UserUpdatedEvent;
/**
* @author Dominik Kiszka {dominikk19}
* @project bank-application
* @date 21.04.2021
*/
public interface UserEventHandler {
v... |
package wyrazenia;
import java.util.HashMap;
public class Zmienna extends Wyrazenie {
int numer;
static HashMap<Integer, Zmienna> zmienne = new HashMap<>();
@Override
protected int precedence() {
return 0;
}
private Zmienna(int numer) {
this.numer = numer;
}
publ... |
package com.company;
public interface Equipment {
public void increaseDamage(int tamadoKocka, int sebzoKocka);
public void inceaseAC(int armor);
public void chooseWarriorEquipment(Karakter karakter);
public void chooseArcherEquipment();
public String toStringEquipment(Karakter kari);
}
|
/*
* 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.innovaciones.reporte.dao;
import com.innovaciones.reporte.model.DetalleReporteInstalacionNueva;
import com.innovaciones.re... |
/*
* 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 wholesalemarket_SMP;
import jade.core.AID;
import jade.core.Agent;
import jade.lang.acl.ACLMessage;
import java.io.File;
impor... |
package net.MindTree.spring.boot.example.controller;
import java.util.Arrays;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;... |
package Ex1;
public class Circulo extends Figura {
private double area;
private double perimetro;
protected double raio;
public Circulo (String nome, double raio) {
super(nome);
this.raio = raio;
this.area = (Math.PI) * (Math.pow(this.raio, 2));
this.perimetro = Math.PI * 2 * this.raio;
... |
/*
* 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.davivienda.sara.dto;
import com.davivienda.sara.entitys.Zona;
/**
*
* @author jmcastel
*/
public class ZonaDTO {
... |
package Lector9.Task9_2;
import Lector9.Task9_1.Pair;
public final class PairUtil {
private PairUtil(){}
public static <K, V> Pair <V, K> swap(Pair<K, V> ob) {
return new Pair<V, K>(ob.getName(), ob.getId());
}
}
|
package io.nekohasekai.tmicro.utils;
import com.sun.lwuit.html.HTMLComponent;
import com.sun.lwuit.html.HTMLElement;
import com.sun.lwuit.html.HTMLParser;
import java.io.ByteArrayInputStream;
import java.io.InputStreamReader;
public class HtmlUtil {
}
|
package com.apap.igd.rest;
import java.util.ArrayList;
import java.util.List;
import com.apap.igd.model.response.ObatListResponse;
import com.apap.igd.model.rest.ObatModel;
import org.springframework.web.client.RestTemplate;
public class ObatRest {
public static List<ObatModel> getAllObat() {
RestTemplat... |
package com.blackflagbin.kcommondemowithjava.ui.adapter.pageradapter;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.blackflagbin.kcommondemowithjava.ui.fragment.factory.F... |
package se.rtz.bindings.view;
import se.rtz.bindings.model.Property;
import se.rtz.bindings.model.SModel;
import se.rtz.bindings.model.SimpleProperty;
public class TestModel extends SModel {
private Property<String> textFieldModel = new SimpleProperty<String>("");
public Property<String> getTextFieldModel() {
... |
/*
* Copyright Daon.
*
* 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 writing, software... |
package com.github.angads25.nature.elements;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Path;
import android.graphics.Point;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import com.github.angads25.na... |
package vnfoss2010.smartshop.serverside.services.account;
import java.util.Map;
import vnfoss2010.smartshop.serverside.Global;
import vnfoss2010.smartshop.serverside.database.AccountServiceImpl;
import vnfoss2010.smartshop.serverside.database.ServiceResult;
import vnfoss2010.smartshop.serverside.database.entit... |
package com.emg.projectsmanage.common;
/**
* 操作类型
*
* @author zsen
*
*/
public enum DatabaseType {
/**
* 0-未知
*/
UNKNOW(0, "未知"),
/**
* 1, "MySQL"
*/
MYSQL(1, "MySQL"),
/**
* 2, "PostgreSQL"
*/
POSTGRESQL(2, "PostgreSQL");
private Integer value;
private String des;
... |
package GuiLayer;
/*
import Models;
import ControllerLayer;
*/
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JButton;
import java.util.*;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
public class Mai... |
package com.brainacademy.mvc;
public class Student {
private String name;
private String group;
private String school;
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setGroup(String group) {
this.gro... |
package com.Exam.Entity;
import java.util.Date;
import java.util.List;
import java.util.Set;
import javax.persistence.*;
import org.apache.lucene.analysis.core.KeywordAnalyzer;
import org.hibernate.search.annotations.*;
import org.hibernate.search.annotations.Index;
import org.hibernate.search.bridge.builtin.Integer... |
/**
* @auther lzy
* 实现功能:
* 将评论内容发送至前端
*/
package com.github.web.servlet;
import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.domain.User;
import com.github.domain.text2;
import com.github.service.impl.TextServiceImpl;
import javax.servlet.ServletException;
impo... |
package ovh.corail.recycler.container;
import java.util.List;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import ovh.corail.recycler.tileentity.TileEntityRecycler;
public class SlotRecycler extends Slot {
private TileEntityRecycler inve... |
import java.sql.*;
import sun.jdbc.odbc.*;
public class access {
public static void main(String args[])
{
try{
new JdbcOdbcDriver();
Connection can =DriverManager.getConnection("jdbc:odbc:FIRST");
System.out.println("connection success");
Statement s=can.createStatement();
ResultSet r... |
package com.proyectofinal.game.objects.trops;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.proyectofinal.game.helpers.AssetManager;
import com.proyectofinal.game.objects.road.Camino;
import com.proyectofinal.game.objects.towers.Torres;
import java.util.ArrayList;
/**... |
package com.example.acer.home;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.Senso... |
package github.tornaco.android.thanos.dashboard;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.RecyclerView;
import java.util.ArrayList;
import java.util.List;
import github.tornaco.andr... |
public class TestArrayClass {
public static void main(String[] args){
//int[] intArray = new int[10];
int[] intArray = new int[]{1,2,3,4,5,6,7,8,9,10};
intArray[0] = 1;
intArray[1] = 5;
intArray[2] = 7;
for(int i = 0; i < intArray.length; i++){
intArray[i] = i;
}
}
public ... |
package de.aoe.musicworld.base.adapter;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Properties;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import de.aoe.musicworld.utils.BaseFileUtils;
/**
* This class imple... |
package com.nfschina.aiot.entity;
import com.nfschina.aiot.constant.Constant;
/**
* 湿度实体
*
* @author xu
*
*/
public class HumidityEntity extends EnvironmentParameterEntity {
// 湿度实体的属性
private float mData;
private String mTime;
public HumidityEntity(float mData, String time) {
this.mD... |
/*
* 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.fastHotel.modeloTabla;
/**
*
* @author rudolf
*/
public class F_RegistroHuesped {
private String nomb... |
package com.edasaki.rpg.regions;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.player.PlayerMoveEvent;
import org.bu... |
package com.gen.serve;
import java.io.*;
import javax.servlet.*;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.*;
import javax.servlet.GenericServlet;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
@WebServlet(name... |
package pokergame;
/**
* 创建两名玩家 属性:ID,姓名,手牌(扑克牌的集合)
*/
import java.util.ArrayList;
import java.util.List;
public class Player {
private int id;
private String name;
public List<Poker> playerPockers;
public List<Poker> getPlayerPockers() {
return playerPockers;
}
public void setPlayerPocker... |
package com.romens.yjkgrab.table;
/**
* Created by myq on 15-12-12.
*/
public class RuntimeGrabingTable extends BaseTable {
public static final String RuntimeGrabing = "RuntimeGrabing";
public static final String grabdate = "grabdate";
public static final String installationId = "installationId";
pub... |
package heylichen.alg.graph.structure;
public interface Graph {
int getVertexCount();
int getEdgeCount();
void addEdge(int v, int w);
Iterable<Integer> getAdjacentVertices(int vertex);
}
|
package com.mitobit.camel.component.nexmo;
import org.apache.camel.Exchange;
import org.apache.camel.RuntimeCamelException;
import org.apache.camel.util.ObjectHelper;
import com.nexmo.messaging.sdk.messages.BinaryMessage;
import com.nexmo.messaging.sdk.messages.Message;
import com.nexmo.messaging.sdk.messages.TextMes... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
class rectarea{
int l,b;
rectarea(int x,int y){
l=x;
b=y;
}
int area() {
return l*b;
}
}
class rectvolume extends rectarea {
int h;
rectvolume(int x,... |
package domen;
import java.io.Serializable;
import java.lang.reflect.Constructor;
/**
* Predstavlja proizvod koji se prodaje u prodavnici. Objekte je moguce cuvati u
* fajlovima. {@link Serializable}
*
* @author Milos Cvetkovic
*
*/
@SuppressWarnings("serial")
public class Proizvod implements Seri... |
package zhuoxin.com.viewpagerdemo.activity;
import android.content.Intent;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import zhuoxin.com.viewpagerdemo.R;
import zhuoxin.com.viewpagerdemo.activity.base.BaseActivity;
import zhuoxin.co... |
package com.zantong.mobilecttx.utils.popwindow;
import android.content.Context;
import android.graphics.drawable.BitmapDrawable;
import android.view.Gravity;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AnimationUtils;
import android.widget.But... |
package com.test.array;
import com.test.base.ArrayGraph;
import com.test.base.ArraySolution;
/**
* DFS:递归方式
* .指定点开始搜索
* @author YLine
*
* 2019年2月22日 下午3:52:51
*/
public class SolutionDFS implements ArraySolution
{
private int startIndex = 0;
@Override
public Object[] traverse(ArrayGraph graph... |
package BinaryTrees;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Queue;
public class BottomViewOfBT {
static HashMap<Node, Integer > node_distance = new HashMap<>();
public void topView(Node root) {
if(root == null)
return ;
node_distance.put(root,0);
traverse(root,0);
... |
package com.misa.pool.dom;
import java.io.Serializable;
public class BaseForm implements Serializable
{
/**
*
*/
private static final long serialVersionUID = -6356809034255559137L;
}
|
package escolasis.modelo.xml;
import java.util.List;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.ParameterStyle;
import javax.jws.soap.SOAPBinding.Style;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation... |
/* HibernateSessionContextListener.java
Purpose:
Description:
History:
Tue Sep 11 12:55:11 2006, Created by henrichen
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... |
package Practice;
import java.util.Scanner;
public class NestedPractice {
public static String BMI() {
Scanner scanner = new Scanner(System.in);
System.out.println("身高(m):");
double height = scanner.nextDouble();
System.out.println("体重(kg):");
double weight = scanner.nex... |
package com.asm.persistance.node.client;
import com.asm.entities.Automobile;
import com.asm.entities.MockData;
import com.asm.entities.client.Client;
import com.asm.interactors.ClientPersistence;
import com.fasterxml.jackson.databind.*;
import com.sun.xml.internal.ws.policy.privateutil.PolicyUtils;
import java.io.*;
... |
package com.Hackerrank.algos.implementation;
import java.util.Scanner;
public class BiggerIsGreater {
public static void main(String[] args) {
/* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */
Scanner sc=new Scanner(System.in);
int t=sc.ne... |
/**
* 湖北安式软件有限公司
* Hubei Anssy Software Co., Ltd.
* FILENAME : DatadictEntity.java
* PACKAGE : com.anssy.venturebar.base.entity
* CREATE DATE : 2016-8-13
* AUTHOR : make it
* MODIFIED BY :
* DESCRIPTION :
*/
package com.anssy.venturebar.base.entity;
import com.anssy.webcore.core.entity.I... |
package br.com.webstore.repository;
import br.com.webstore.model.OrderProduct;
import br.com.webstore.model.OrderProductPK;
import org.springframework.data.repository.PagingAndSortingRepository;
/**
* @project: api-webstore
* @author: Lucas Kanô de Oliveira (lucaskano)
* @since: 23/04/2020
*/
public interface Ord... |
package ru.bookstore.domain;
import javax.persistence.*;
@Entity
@Table(name = "Address")
public class AddressEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id", updatable = false, nullable = false)
private Integer id;
@Column(name = "city", nullable = false)
... |
public class Main {
public static void main(String[] args) {
// write your code here
SplayRecordTree<String, String> srt = new SplayRecordTree<>();
srt.insert("www.youkneetee.com", "192.168.303.202");
srt.insert("www.sknapchap.com", "192.168.303.202");
srt.insert("www.instantgrammy... |
package ru.job4j.crud.models;
import java.util.concurrent.CopyOnWriteArrayList;
/**
* @author Sir-Hedgehog (mailto:quaresma_08@mail.ru)
* @version 1.0
* @since 18.02.2020
*/
public interface Store {
boolean add(User user);
boolean update(int id, User recent);
boolean delete(int id);
CopyOnWriteAr... |
import static org.junit.Assert.assertArrayEquals;
import model.Filter;
import org.junit.Test;
/**
* Testing class for the filter enumeration.
*/
public class FilterTest {
//tests that the getMatrix returns the correct matrix for the filter enumeration
@Test
public void testGetMatrix() {
double [][] matrix... |
package com.test.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind... |
package lego.mapper;
import java.util.List;
import lego.pojo.Sales;
public interface SalesMapper {
public List<Sales> findAllSales();
}
|
package org.sayesaman.app4;
import android.content.Context;
import android.graphics.Color;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import android.widget.Toast;
import org.sayesaman.R;
import org.say... |
package cn.gxh.faceattach.base;
import android.app.Application;
import com.bulong.rudeness.RudenessScreenHelper;
import com.lzy.okgo.OkGo;
import com.lzy.okgo.cache.CacheMode;
import java.util.concurrent.TimeUnit;
import cn.gxh.faceattach.bean.LoginInfo;
import cn.gxh.faceattach.util.SharePrefUtil;
import okhttp3.O... |
/*
* 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 main.java.com.javacore.io_nio.task3.view;
import static main.java.com.javacore.io_nio.task3.utils.ConsoleUtils.parseStringForId;
import static main.java.com.javacore.io_nio.task3.utils.ConsoleUtils.printSuccessMessage;
import static main.java.com.javacore.io_nio.task3.utils.ConsoleUtils.processDeleteRequest;
i... |
package net.kemitix.dependency.digraph.maven.plugin;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.util.ArrayDeque;
import java.util.Deque;
/**
* Manager for the creation and cleanup of temporary directories.
*
* @author pcampbell
*
* @deprecated see {@link org.junit.ru... |
package com.esum.wp.as2.pkistore.dao;
import java.util.List;
import com.esum.appframework.dao.IBaseDAO;
import com.esum.appframework.exception.ApplicationException;
public interface IPkiStoreDAO extends IBaseDAO {
List searchPkiAlias(Object object) throws ApplicationException;
List selectPkiStoreList(O... |
/*
* 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.tfar.beans;
/**
*
* @author hatem
*/
import java.io.Serializable;
import javax.faces.application.FacesMessage;
import j... |
package global.dao;
import global.model.Major;
import global.model.View_major;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
public class Viewmajoraccess {
public static ArrayList<View_major> getMajor(String o_id) {
// 生... |
package app.web.choi.vo;
public class BoardVO {
private String boardId;
private String title;
public String getBoardId() {
return boardId;
}
public void setBoardId(String boardId) {
this.boardId = boardId;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.... |
package com.worldchip.bbp.bbpawmanager.cn.json;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.annotation.SuppressLint;... |
/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2011 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... |
/** #kmp */
import java.util.Scanner;
class FileRecoverTesting {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
int k = sc.nextInt();
String s = sc.next();
if (k == -1 && s.equals("*")) break;
int result = 0;
int n = s.length();
... |
package ru.spb.itolia.redmine.ui;
import android.app.Activity;
public class IssueActivity extends Activity {
}
|
package ejercicio16;
import java.util.ArrayList;
import java.util.Scanner;
/**
*
* @author Javier
*/
public class Ejercicio16 {
// funciona hasta el 63
public static long factorial(long numero) {
long resultado = numero;
for (long i = numero-1; i > 1; i--) {
resultado = resultad... |
package com.ridvankabak.flickrgallery.Adapter;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Environment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import andr... |
package com.dbsys.rs.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.dbsys.rs.lib.DateUtil;
import com.dbsys.rs.lib.Kelas;
import com.dbsys.rs.lib.entity.Pasien;
impo... |
package pro.likada.service;
import pro.likada.model.TransportationHiredVehicleType;
import java.util.List;
/**
* Created by Yusupov on 3/17/2017.
*/
public interface TransportationHiredVehicleTypeService {
List<TransportationHiredVehicleType> getAllTransportationHiredVehicleTypes();
}
|
package org.typhon.client.service;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.modelmapper.ModelMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.hateoas.Link;
import org.sp... |
/*
* Copyright 2011 Cedric Priscal
*
* 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 t... |
package io.quarkuscoffeeshop.domain;
import io.quarkus.runtime.annotations.RegisterForReflection;
@RegisterForReflection
public abstract class WebUpdate {
public String orderId;
public String itemId;
public String name;
public Item item;
public OrderStatus status;
public WebUpdate() {
... |
package de.mvbonline.tools.restapidoc.model;
public class ApiBodyObjectDoc {
private String object;
public ApiBodyObjectDoc(String object) {
super();
this.object = object;
}
public String getObject() {
return object;
}
}
|
package model;
public class Plato {
private int Id;
private double precio;
private String decripcion;
/**
* @return the id
*/
public int getId() {
return Id;
}
/**
* @param id the id to set
*/
public void setId(int id) {
Id = id;
}
/**
* @return the precio
*/
public double getPrecio() {
... |
package cn.itcast.core.service;
import cn.itcast.core.pojo.entity.PageResult;
import cn.itcast.core.pojo.seller.Seller;
public interface SellerService {
public void add(Seller seller);
public PageResult findPage(Seller seller, Integer page, Integer rows);
public Seller findOne(String id);
public ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.