text stringlengths 10 2.72M |
|---|
package com.espendwise.manta.web.controllers;
import com.espendwise.manta.model.view.GroupReportListView;
import com.espendwise.manta.service.GroupService;
import com.espendwise.manta.spi.AutoClean;
import com.espendwise.manta.spi.SuccessMessage;
import com.espendwise.manta.util.AppComparator;
import com.espendwise.ma... |
package com.filiereticsa.arc.augmentepf.models;
import android.support.annotation.NonNull;
import android.support.design.widget.BaseTransientBottomBar;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import and... |
package uk.gov.companieshouse.reconciliation.company;
import org.apache.camel.builder.RouteBuilder;
import org.springframework.stereotype.Component;
/**
* Trigger a comparison of corporate body counts in Oracle and MongoDB.
*/
@Component
public class CompanyCountTrigger extends RouteBuilder {
@Override
pub... |
package com.oocl.ita.yapo.day3.exercise6;
public class Tank {
public static String state = "";
public Tank() {
// TODO Auto-generated constructor stub
}
public void fillTheTank(Tank tank) {
System.out.println("Fill: The tank has been filled up!");
state = "Filled";
}
public void empty... |
package com.app.gnometown.View.Splash;
/**
* Created by andreinasarda on 17/4/16.
*
* Interface to hable SplashActivity View
*/
public interface SplashView {
void showLoader();
void hideLoader();
void showMessage(String message);
void goToMain();
}
|
package ro.ase.cts.tests.mocks;
import org.junit.experimental.categories.Categories;
import org.junit.runner.RunWith;
import ro.ase.cts.tests.*;
import ro.ase.cts.tests.categorii.GetPromovabilitateCategory;
@RunWith(Categories.class)
@Suite.SuiteClasses({TestGrupaMock.class, TestGrupa.class,TestGrupaSeparat.class})
... |
package newgame;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.layout.*;
import javafx.stage.Stage;
import matches.BracketMatchOpponents;
import matches.MatchOpponents;
import java.io.FileInputStream;
public class Bu... |
package netease_music_test;
import javazoom.jl.decoder.JavaLayerException;
import javazoom.jl.player.Player;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
/**
* Description:
*
* @author Baltan
* @date 2019-11-27 15:07
*/
pub... |
/**
* Class MyJava2 extends Homework2 and implements Processing
*
* @author C. Thurston
* @version 5/7/2014
*/
public class MyJava2 extends Homework2 implements Processing
{
MyJava2()
{
}
public void createAssignment(int pages)
{
setPagesRead(pages);
setTypeHomework("Java");
}
public void doReading(... |
package net.optifine.entity.model;
import net.minecraft.client.model.ModelBase;
public class CustomEntityModel extends ModelBase {}
/* Location: C:\Users\BSV\AppData\Local\Temp\Rar$DRa6216.20396\Preview\Preview.jar!\net\optifine\entity\model\CustomEntityModel.class
* Java compiler version: 8 (52.0)
*... |
package com.note.databasehandler;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import com.note.model.Notes;
import java.util.ArrayList;
/*... |
import lejos.nxt.Button;
import lejos.nxt.Motor;
public class MoveForward
{
public static void main(String[] args)
{
System.out.println("Program 1");
Button.waitForAnyPress();
Motor.B.forward();
Motor.C.forward();
Button.waitForAnyPress();
Motor.B.stop();
... |
package com.plumnix.cloud.config;
import org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest;
import org.springframework.boot.actuate.context.ShutdownEndpoint;
import org.springframework.boot.actuate.health.HealthEndpoint;
import org.springframework.boot.actuate.info.InfoEndpoint;
import or... |
package in.swapnilsingh;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
ArrayList<Integer> integerArrayList = new ArrayList<Integer>();
// Here we can't use primitive types like int, double, float, char in the diamond operator
// We need to supply ... |
package cn.itcast.demo03;
import java.util.ArrayList;
public class ArrayListPersonDemo {
public static void main(String[] args) {
ArrayList<Person> arr = new ArrayList<Person>();
arr.add(new Person("zhangsan","20"));
arr.add(new Person("lisi","22"));
arr.add(new Person("wangwu","25"));
for(int i = 0;... |
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools ... |
package com.springstory.controller;
import java.util.Locale;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMappin... |
package net.asurovenko.netexam.events;
import net.asurovenko.netexam.network.models.Exam;
public class OpenExamResultEvent {
private Exam exam;
public OpenExamResultEvent(Exam exam) {
this.exam = exam;
}
public Exam getExam() {
return exam;
}
}
|
package member.desktop.pages.account;
import base.PageObject;
import global.Global;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class Member_Forget_Pass_PC_Page extends PageObject {
public static String page_url = Global.getConfig().getString("member.url") + "/user/fo... |
/*
* Copyright (C) 2019-2023 Hedera Hashgraph, LLC
*
* 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... |
package com.aprendoz_test.data.output;
import java.util.Date;
/**
* Generated for query "last_accessHQL" on 01/19/2015 07:59:26
*
*/
public class Last_accessHQLRtnType {
private String date;
private Date timeLoged;
public String getDate() {
return date;
}
public void setDate(Strin... |
package jp.co.tau.web7.admin.supplier.mappers;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.SelectProvider;
import jp.co.tau.web7.admin.supplier.dto.SelectItemDTO;
import jp.co.tau.web7.... |
package interfaz;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Vector;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.JTable;
import javax.swing.border.EmptyBorder;
import javax.swing.tabl... |
package com.youthchina.dto;
/**
* Created by zhongyangwu on 12/2/18.
*/
public interface HasStatus {
}
|
package org.movilforum.net.media;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
public abstract class StreamManager {
protected String basePath;
protected String remotePort;
protected DatagramSocket socket;... |
package pacman.ghost;
/**
* GhostType contains all the valid ghosts;
* the current list of ghosts are:
* "BLINKY", "CLYDE", "INKY", "PINKY".
*/
public enum GhostType {
BLINKY,
CLYDE,
INKY,
PINKY;
}
|
package org.mge.ds.arrays;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class PairsWithSumClosestToZero {
public static void main(String[] args) {
int[] arr = {-3, -4, -1, -2};
printResult(getPairs(arr));
}
public static void printResult(List<Pair> pairs){
for(Pair pai... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE
* file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
* to You under the Apache License, Version 2.0 (the "License"); you may not use... |
package com.imwj.tmall.comparator;
import com.imwj.tmall.pojo.Product;
import java.util.Comparator;
/**
* @author langao_q
* @create 2019-12-14 11:55
* 销量排序(高 > 低)销量
*/
public class ProductSaleCountComparator implements Comparator<Product> {
@Override
public int compare(Product p1, Product p2) {
... |
package com.sporsimdi.action.home;
import java.io.Serializable;
import java.lang.reflect.ParameterizedType;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import javax.ejb.EJB;
import javax.faces.application.FacesMessage;
import javax.faces.bean.Manag... |
package com.shared.RTPpaket;
import java.io.Serializable;
import java.nio.charset.StandardCharsets;
import java.util.Base64;
public class RTPPacket implements Serializable {
int sequence;
int totalseq;
String data;
long timestamp;
String dataName;
private static final long serialVersionUID = 0656... |
package com.lyx.pattern.factory.abstractfactory;
public class ChangChengZhongQi implements IZhongQi {
}
|
package com.fnsvalue.skillshare.boimpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.fnsvalue.skillshare.bo.ReportNotifyBO;
import com.fnsvalue.skillshare.dao.ReportNotifyDAO;
@Service
public class ReportNotifyBOImpl implements ReportNotifyBO... |
package com.goldgov.dygl.module.jijianinfo.service.impl;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.sql.Data... |
package edu.cmu.lti.oaqa.openqa.test.team10.passage;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.solr.client.solrj.SolrServerException;
import org.jsoup.Jsoup;
import com.google.co... |
package com.goodhealth.comm.util.encrypt;
import java.security.MessageDigest;
/**
* @ClassName MD5Util
* @Description 使用MessageDigest 计算MD5摘要 摘要算法是不可逆的
* @Author WDH
* @Date 2019/8/14 11:10
* @Version 1.0
**/
public class MD5Util {
public static void main(String[] args){
String origin = "123456... |
package com.qa.demo.ex5;
import org.junit.runner.RunWith;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
@RunWith(Cucumber.class)
@CucumberOptions(features = "src/test/resources/TeaTesting.feature")
public class Task5Test {
}
|
package edu.illinois.finalproject.PlayerProfile;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.squareup.picasso.Pica... |
package com.quiz.projectWilayah.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.quiz.projectWilayah.dto.ProvinsiDto;
import com.quiz.projectWilayah... |
/*
* FileName: SpringSerialNumberService.java
* Description:
* Company: 南宁超创信息工程有限公司
* Copyright: ChaoChuang (c) 2006
* History: 2006-12-16 (Jyb) 1.0 Create
*/
package com.spower.basesystem.serialnumber.service.spring;
import java.util.List;
import com.spower.basesystem.serialnumber.ser... |
package chatroom.client.gui;
import chatroom.client.Client;
import chatroom.model.message.LoginResponses;
import javafx.application.Platform;
import java.util.ArrayList;
public class Bridge {
Client model;
ClientGuiMain gui;
public Bridge(Client client, ClientGuiMain clientGuiMain) {
this.model ... |
package wyf.wpf;
import static wyf.wpf.ConstantUtil.SERVER_ADDRESS;
import static wyf.wpf.ConstantUtil.SERVER_PORT;
import java.util.ArrayList;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import ... |
package com.mygdx.game.components;
import com.scs.awt.RectF;
public class PositionComponent {
public RectF rect; // Note that this is NOT the screen co-ords!
public RectF prevPos;
public static PositionComponent ByBottomLeft(float x, float y, float w, float h) {
PositionComponent pos = new PositionComponent()... |
/*
* 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 problem_solve.dynamic_programming.baekjoon;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class BaekJoon1463 {
static int[] min = new int[1000001];
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedR... |
package com.ebanking.master;
import java.net.URL;
import org.openqa.selenium.Platform;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.support.PageFactory;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;... |
package fr.laas.knxsimulator.view;
/**
*
* @author Guillaume Garzone
*
* Interface for the controler to print messages on the main view
*
*/
public interface PrintOnWindow {
public void printOutput(String message);
public void printIntput(String message);
}
|
package animatronics.client.gui;
import animatronics.api.energy.ITEHasEntropy;
import animatronics.client.gui.element.ElementEntropyStorage;
import net.minecraft.inventory.Container;
import net.minecraft.tileentity.TileEntity;
public class GuiEntropyCrusher extends GuiBase {
public GuiEntropyCrusher(Container conta... |
package com.openkm.servlet.frontend;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import... |
package com.scf.skyware.mobile.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
public class NoticeM
{
private int noticeNo;
private int rownum;
private String noticeTitle;
private String noticeBody;
private String noticeWriterId... |
package br.ufrgs.rmpestano.intrabundle.model.enums;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
/**
* Created by rmpestano on 1/26/14.
*/
public enum LocaleEnum {
PT("pt"), EN("en");
private final String value;
LocaleEnum(String value) {
this.value = value;
... |
package com.itbank.food;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;
@Component
public class StoryDAO {
@Autowired
JdbcTemplate jdbc;
public List<StoryDTO> selectAll() {
... |
package com.codegym.province.repository;
import com.codegym.province.model.Customer;
import org.springframework.data.repository.PagingAndSortingRepository;
public interface CustomerRepository extends PagingAndSortingRepository {
} |
package info.kpumuk.erka;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
public class FlushMemcachedTask extends Task {
private static final List<String> LOCALHOST;
static {
ArrayList<String> l = new ... |
package com.kobotan.android.Vshkole.activities;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.app.NavUtils;
import android.support.v4.view.ViewPager;
import android.view.Menu;
import... |
package com.laoji.cloud;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
* SSO上传服务 云上传
* @author: laoji
* @date:2020/4/8 18:04
*/
@SpringBootApplication
@EnableDisco... |
/*
* 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 RMI.Client;
import RMI.Interface.OK;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
/**
*
* @... |
package com.tencent.tencentmap.mapsdk.a;
public interface mk {
bb a(int i, int i2);
boolean a(int i);
}
|
package com.mes.old.meta;
// Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final
import java.math.BigDecimal;
/**
* BvPrepareRoutineId generated by hbm2java
*/
public class BvPrepareRoutineId implements java.io.Serializable {
private String routing;
private String routingName;
private String routingType;... |
package ch.fhnw.edu.cpib.errors;
public class AlreadyGloballyDeclaredError extends Exception {
private static final long serialVersionUID = 1L;
public AlreadyGloballyDeclaredError() {
}
public AlreadyGloballyDeclaredError(String errorMessage) {
super(setupMessage(errorMessage));
}
p... |
package com.app.sapient.grade.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
impor... |
package com.app.innerclasses;
public class Test1 {
int x =10;
static int y=20;
public void methodOne()
{
class Inner
{
public void methodTwo()
{
System.out.println(x);
System.out.println(y);
}
}
Inner i = new Inner();
i.methodTwo();
}
public static void main(String[] args) {
new Tes... |
package com.javarush.task.task31.task3102;
import java.io.*;
import java.util.*;
/*
Находим все файлы
*/
public class Solution {
public static List<String> getFileTree(String root) throws IOException {
File pass = new File(root);
List<String> arr = new ArrayList();
Queue<File> queue = new... |
package com.example.liuyuhua.cainiaonews.utils;
/**
* “发现” 数据接口地址
* Created by liuyuhua on 2017/4/27.
*/
public class FindDataUtils {
public static String sHeadAdUrl = "http://rong.36kr.com/api/p/sc/images?type=6";
public static String sActivityUrl = "http://chuang.36kr.com/api/actapply?page=1&pageSize=12... |
package com.droidworker.droidweather.Bean.Impl;
import com.droidworker.droidweather.Bean.IBaseBean;
/**
* @author DroidWorkerLYF
*/
public class WeatherBean implements IBaseBean {
}
|
package be.spring.app.service;
import be.spring.app.controller.exceptions.ObjectNotFoundException;
import be.spring.app.form.CreateAndUpdateTeamForm;
import be.spring.app.model.Account;
import be.spring.app.dto.ActionWrapperDTO;
import be.spring.app.model.Address;
import be.spring.app.model.Team;
import be.spring.app.... |
package com.github.manage.common.enums.biz;
import com.github.manage.common.enums.result.BizResultEnumBase;
import com.github.manage.common.enums.result.BizResultEnumObject;
/**
* @ProjectName: spring-cloud-examples
* @Package: com.github.manage.common.enums.biz
* @Description: 用户相关提示信息
* @Author: Vayne.Luo
* @d... |
package tv.toby.spring.week02.omw;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.core.ParameterizedTypeReference;
import tv.toby.spring.week02.a.typetoken.SimpleTypeSafeMap;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.Arrays;
import java... |
/*
* [y] hybris Platform
*
* Copyright (c) 2000-2016 SAP SE
* All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* Hybris ("Confidential Information"). You shall not disclose such
* Confidential Information and shall use it only in accordance with the
* terms of the l... |
package com.mes.old.meta;
// Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final
/**
* SfEcoDetailId generated by hbm2java
*/
public class SfEcoDetailId implements java.io.Serializable {
private String changeuid;
private String seq;
public SfEcoDetailId() {
}
public SfEcoDetailId(String changeuid, Str... |
package com.espendwise.manta.web.forms;
import com.espendwise.manta.model.view.SiteHeaderView;
import com.espendwise.manta.spi.Initializable;
import com.espendwise.manta.util.Utility;
import com.espendwise.manta.util.parser.Parse;
import com.espendwise.manta.util.validation.Validation;
import com.espendwise.manta.web... |
package de.fatoak.engine.actor.components;
import android.util.Log;
import de.fatoak.beerfish.game.GameApp;
import de.fatoak.engine.actor.Actor;
import de.fatoak.engine.event.EventData;
import de.fatoak.engine.event.EventDataNotFoundException;
import de.fatoak.engine.event.IEventCallback;
import de.fatoak.engine.math... |
package com.tencent.mm.plugin.profile.ui;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.util.AttributeSet;
import android.view.View;
import android.widget.Button;
import android.widget.Te... |
package Dominio;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import Persistencia.EmpleadoPers;
// Esta es la clase del usuario que vaya a acceder al menú de los vehículos
// Declaración de variables, que tiene la clase Empleado,
public class Empleado {
private int codigoAcceso;
private Strin... |
package view;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import service.UserService;
import entity.UserInfo;
/**
* 用户信息添加面板
* @author 张丹
*
*/
public class AddUserInfoView extends JPanel implements ActionListener {
private JLabel jLabel;
p... |
package exercicios;
import java.util.Scanner;
public class Ex02 {
public void executa() {
// Cria o scanner para leitura dos dados
Scanner sc = new Scanner(System.in);
// Recebe o primeiro double
System.out.println("Informe o 1o double:");
double ... |
package com.arkinem.libraryfeedbackservice.model;
import java.util.List;
import java.util.UUID;
import javax.validation.constraints.NotBlank;
public class QuestionDto {
private final UUID id;
@NotBlank
private final String body;
private final List<Answer> answers;
private final boolean isDeleted;
publi... |
package com.danielnamur.javaexamsimulator.controllers;
import java.util.List;
import javax.servlet.http.HttpSession;
import javax.validation.Valid;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springfr... |
package mybatis.bean;
/**
* Õ½Ú
* @author gongxb
*
* 2017Äê11ÔÂ22ÈÕ
*/
public class Chapter {
private String name;
private String id;
private String bookId;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getId() {
ret... |
package fr.doranco.ecommerce.vue;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.SessionScoped;
import fr.doranco.ecommerce.entity.pojo.Article;
import fr.doranco.ecommerce.entity.po... |
package pfe.bouygues.construction;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.Writer;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.channels.Channels;
import java.nio.channels.WritableByteChannel;
import java.n... |
package com.base.crm.product.service;
import java.util.List;
import com.base.crm.product.entity.Product;
public interface ProductService {
int deleteByPrimaryKey(Long productId);
int insertSelective(Product record);
Product selectByPrimaryKey(Long productId);
int updateByPrimaryKeySel... |
package com.tencent.mm.plugin.freewifi.ui;
import android.net.wifi.WifiInfo;
import android.os.Build.VERSION;
import com.tencent.mm.R;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.plugin.freewifi.d.a;
import com.tencent.mm.plugin.freewifi.d.i;
import com.tencent.mm.plugin.freewifi.k;
i... |
package com.rkrzmail.absensi.Activity;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import ... |
package cn.gzcc.feibao.security;
import cn.gzcc.feibao.dao.UserJpa;
import cn.gzcc.feibao.entity.User;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.GrantedAuthority;
import or... |
package MusicManager;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
public class M3UReader {
private static final String FILE_NOT_EXISTS = "\tFile not exists.";
public File m3uFile;
public List<String> m3uContent = new ArrayList<>();
public List<File> mp3FileList = new ArrayList... |
package com.vilio.fms.commonMapper.dao;
import com.vilio.fms.commonMapper.pojo.FmsFileLoad;
import java.util.List;
/**
* Created by dell on 2017/5/17.
*/
public interface FmsFileLoadMapper {
FmsFileLoad selectByPrimaryKey(Integer id);
FmsFileLoad queryBySerialNo(String serialNo);
int saveFileLoad(Fms... |
package com.liangtengyu.version2;
import java.util.ArrayList;
import java.util.List;
/**
* @Author: lty
* @Date: 2021/2/25 09:52
*/
public class HandlerChainForCard {
List<Handler> handlers = new ArrayList<>();
public void setHandler(Handler handler) {
handlers.add(handler);
}
public void... |
package zm.gov.moh.core.repository.database.dao.derived;
import java.util.List;
import androidx.lifecycle.LiveData;
import androidx.room.Dao;
import androidx.room.Query;
import zm.gov.moh.core.repository.database.entity.derived.ConceptAnswerName;
@Dao
public interface ConceptAnswerNameDao {
//get by concept id
... |
/*
* 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 dao;
import factory.ConnectionFactory;
import gui.Main;
import model.Cliente;
import java.sql.Connection;
import ja... |
package Naveen;
import java.util.Scanner;
public class Feedback {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner read = new Scanner(System.in);
int n = read.nextInt();
double total=0;
Customer Cust[] = new Customer[n];
for(int i=0; i<n; ++i)
{
Cust[i... |
package interviewbit.linkedlist;
public class Add2NumberList {
public ListNode addTwoNumbers(ListNode a, ListNode b) {
if (a == null)
return b;
if (b == null)
return a;
int carry = 0;
ListNode sum = null, sumhead = null, temp = null, ahead = a, bhead = b;
int s = ahead.val + bhead.val + carry;
carr... |
package com.douane.controler;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.anno... |
package com.yixin.kepler.common.enums;
/**
* 微众银行产品结构枚举类
* @author YixinCapital -- chenjiacheng
* 2018年07月09日 17:19
**/
public enum WBPsCodeEnum {
NEW_CAR_DISCOUNT("PS000801","新车贴息"),
NEW_CAR_NOT_DICOUNT("PS000802","新车不贴息"),
USED_CAR_NOT_DISCOUNT("PS000803","二手车不贴息")
;
private String value;
priv... |
public class recursiveFunction {
public static void main (String[] args) {
counter(10);
System.out.println("//////////");
System.out.println(factor(5));
}
public static void counter (int n) {
System.out.println(n);
if (n - 1 >= 0) {
counter(n - 1);
}
}
public static int factor(int n) {
if (n == 1) {
ret... |
package com.phone4s.www.service;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
import com.phone4s.www.model.RepairBu... |
package org.choco;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
@SpringBoo... |
package Lab11.Zad3;
public class StateFailedAuthorization implements State{
private Authorization authorization;
public StateFailedAuthorization(Authorization authorization){
this.authorization = authorization;
}
@Override
public void checkAuthorization(String login, String password) {
... |
package exam.app.vo;
/**
* @author PC-01
* DB 테이블에 있는 컬럼을 기준으로 데이터를 객체화한 클래스
* <p>
* DB테이블의 컬럼이 이 클래스의 멤버 변수가 된다.<br>
* DB테이블의 컬럼과 클래스의 멤버변수를 매핑하는 역할을 수행한다. <br>
* </p>
*/
public class AppVO {
private String name;
private int Kor;
private int Math;
private int Eng;
public AppVO() {
super();
}
... |
package Tomas;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//Write a program that prompts the user to enter two points (x1, y1) and (x2, y2) and displays the
//distance between them. The formula for computing the distance is √(x2 − x1)2 + (y2 − y... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.