text stringlengths 10 2.72M |
|---|
package com.example.girlswhocode.test;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.content.Intent;
import android.view.View;
import android.widget.*;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedIn... |
package com.espendwise.manta.util.parser;
import com.espendwise.manta.i18n.I18nUtil;
import com.espendwise.manta.util.Utility;
import com.espendwise.manta.util.alert.AppLocale;
import java.math.BigDecimal;
import java.util.Date;
public class Parse {
public static Integer parseInt(String value) {
return... |
package jp.co.disney.spplogin.helper;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.SpringApplicationConfigura... |
package mk.petrovski.weathergurumvp.ui.welcome;
import mk.petrovski.weathergurumvp.ui.base.BaseMvpView;
/**
* Created by Nikola Petrovski on 2/14/2017.
*/
public interface WelcomeMvpView extends BaseMvpView {
void showMainScreen();
void startInit();
}
|
package prueba.servicios;
import java.util.List;
public interface Servicio {
public String traerInverso(String txt);
public List<String> traerPermutacion(String txt);
}
|
public interface Index {
public void IndexStart();
}
|
package id.ac.ub.ptiik.papps.base;
public class JadwalMengajar {
public Matakuliah matakuliah;
public Karyawan dosen;
public String kelas;
public String hari;
public String ruang;
public String prodi;
public String jam_mulai;
public String jam_selesai;
public static final int DOSEN = 1;
public static fina... |
/*
* @project: (Sh)ower (R)econstructing (A)pplication for (M)obile (P)hones
* @version: ShRAMP v0.0
*
* @objective: To detect extensive air shower radiation using smartphones
* for the scientific study of ultra-high energy cosmic rays
*
* @institution: University of California, Irvine
* @de... |
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.util.HashMap;
import java.util.Map;
public class Main {
public static void main (String[] args) throws Exception {
File file = new File(args[0]);
BufferedReader reader = new BufferedReader(new FileReader(file... |
package com.tencent.mm.plugin.account.model;
import android.content.Context;
import android.os.Looper;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.f;
import com.tencent.mm.ab.l;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.account.a.j;
import com.tencent.mm.sdk.platformtools.ag;
import com.ten... |
package com.tencent.mm.ui.chatting.gallery;
import android.view.View;
import com.tencent.mm.ak.e;
import com.tencent.mm.ak.o;
import com.tencent.mm.model.au;
import com.tencent.mm.model.c;
import com.tencent.mm.sdk.platformtools.ag;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;... |
/*
* Copyright 2010 Henry Coles
*
* 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 w... |
package co.com.devco.certificacion.task;
import net.serenitybdd.screenplay.Actor;
import net.serenitybdd.screenplay.Task;
import net.serenitybdd.screenplay.Tasks;
import net.serenitybdd.screenplay.actions.Click;
import net.serenitybdd.screenplay.conditions.Check;
import net.serenitybdd.screenplay.waits.WaitUntil;
imp... |
package com.zhuangjinxin.demo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import com.zhuangjinxin.demo.activemq.StartActiveMQ;
@Sp... |
public class BankClient{
public static void main(String[] args) {
Address address=new Address("228", "H-block dharam colony", "gurugram", 12345);
Savingaccount s1= new Savingaccount(AccountType.SALARIED_ACCOUNT,20000, address);
System.out.print(s1.withdraw(200));
}
} |
package com.nosuchteam.service.serviceImpl;
import com.nosuchteam.bean.RequestList;
import com.nosuchteam.bean.Work;
import com.nosuchteam.mapper.WorkMapper;
import com.nosuchteam.service.WorkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ... |
package wang.lanchun.view;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import wang.lanchun.dao.UserDao;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.... |
package it.unical.asd.group6.computerSparePartsCompany.core.services;
import it.unical.asd.group6.computerSparePartsCompany.data.dto.ReviewDTO;
import it.unical.asd.group6.computerSparePartsCompany.data.entities.Customer;
import it.unical.asd.group6.computerSparePartsCompany.data.entities.Review;
import java.util.Lis... |
package com.ysyt.constants;
public class YSYTConstants {
public static final String INSTAMOJO_STATUS_SUCCESS = "completed";
public static final String INSTAMOJO_STATUS_PENDING = "pending";
public static final String SECURITY_DEPOSIT ="SecurityDeposit";
public static final Long ACCOMODATION_IMAGES_ATTRIB... |
package classes;
import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
import world.Engine;
import world.GameLevel;
import world.SampleLevel;
import eg.edu.alexu.csd.oop.game.GameEngine;
import eg.edu.alexu.csd.oop.game.GameObject;
import factory.ObjectFactory;
public class main1 {
public stati... |
package com.tencent.mm.plugin.talkroom.model;
import com.tencent.mm.ab.d.a;
import com.tencent.mm.ab.d.b;
import com.tencent.mm.model.au;
import com.tencent.mm.model.c;
import com.tencent.mm.model.q;
import com.tencent.mm.platformtools.ab;
import com.tencent.mm.protocal.c.bsm;
import com.tencent.mm.protocal.c.by;
impo... |
package com.union.design.generator;
import lombok.Builder;
import lombok.Data;
@Builder
@Data
public class TableColumn {
/**
* 列名
*/
private String columnName;
/**
* 类型名称
*/
private String typeName;
/**
* 列大小
*/
private Integer columnSize;
/**
* 列可空性
... |
package bank;
public abstract class Client {
private double paymentAccount;
public double getPaymentAccount() {
return paymentAccount;
}
void setPaymentAccount(double paymentAccount) {
this.paymentAccount = paymentAccount;
}
public void withdrawal(double withdrawal) {
... |
package com.sharpower.dao.impl;
import com.sharpower.entity.ReportDayRecode;
public class ReportDayRecodeDaoImpl extends BaseDaoImpl<ReportDayRecode>{
}
|
/*
* Copyright 2007 Bastian Schenke 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 com.tencent.mm.ui.conversation;
import com.tencent.mm.ui.r.a;
class BizConversationUI$a$13 implements a {
final /* synthetic */ BizConversationUI.a unz;
BizConversationUI$a$13(BizConversationUI.a aVar) {
this.unz = aVar;
}
public final void Xb() {
BizConversationUI.a.a(this.u... |
package com.kerbii.undersiege;
import javax.microedition.khronos.opengles.GL10;
public class Castle extends GameObject {
public final static int[] TEXTUREARRAY = {
R.drawable.wall100,
R.drawable.wall80,
R.drawable.wall65,
R.drawable.wall51,
R.drawable.wall50p,
R.drawable.wall41,
R.drawable.wall40p,
... |
package com.lr.util;
import java.io.Serializable;
public class testPaperUtil implements Serializable {
private static final long serialVersionUID = -35583434405129L;
private Integer id;
private String testpaperId;
private Integer subjectId;
private String subjectName;
private Integer score;
... |
package com.tencent.mm.plugin.appbrand.jsapi.f.a;
import com.tencent.mm.plugin.appbrand.compat.a.b.f;
class d$1 implements f {
final /* synthetic */ double dSw;
final /* synthetic */ double dSx;
final /* synthetic */ d fTX;
d$1(d dVar, double d, double d2) {
this.fTX = dVar;
this.dSw ... |
package de.zarncke.lib.jna;
import java.io.File;
import java.io.IOException;
import java.util.List;
import com.sun.jna.Structure;
import com.sun.jna.platform.win32.Win32Exception;
import com.sun.jna.platform.win32.WinBase;
import com.sun.jna.platform.win32.WinNT;
import com.sun.jna.platform.win32.WinNT.HAND... |
package com.yiki.blog.jwtAuth;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
@Service
public class AuthService {
@Autowired
private AuthUserMapper authUserMapper;
@Auto... |
package step._09_Basic_Math_02;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
/* date : 2021-07-30 (금)
* author : develiberta
* number : 04948
*
* [단계]
* 09. 기본 수학 2
* 소수와 기하를 다뤄 봅시다.
* [제목]
* 05. ... |
package com.zzidc.web.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
... |
/*
* FileName: IWorkPlanService.java
* Description:
* Company: 南宁超创信息工程有限公司
* Copyright: ChaoChuang (c) 2005
* History: 2013-12-11 (hl) Create
*/
package com.spower.business.examitem.service;
import java.util.Date;
import com.spower.basesystem.attach.valueobject.SysAttach;
import com... |
package ac.iie.nnts.Stream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.LinkedList;
import java.util.Random;
public class Stream0 {
public LinkedList<Data> streams;
public Stream0() {
... |
package Array;
public class RotateImage {
public void rotate(int[][] matrix) {
// reverse the matrix
int lenOfMatrix = matrix.length;
for(int row=0; row<lenOfMatrix/2; row++) {
int[] tempRow = matrix[row];
matrix[row] = matrix[lenOfMatrix-row-1];
... |
/*
* 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 hospital_bd;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.sql.Connection;
import java.sql... |
package com.snab.tachkit.databaseRealm.structureTableDatabase;
import io.realm.RealmObject;
/**
* Created by Таня on 13.03.2015.
* Таблица связей кпп и категорий
*/
public class LinkKpp extends RealmObject {
private int id_link_advert_kpp_type;
private int link_advert_type_id;
private int link_kpp_type... |
package lab8;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class carApp {
public static void main(String[] args) throws IOException {
Engine e = new Engine();
e.setEngSize(2500);
e.setHorsePower(150);
//create car object
... |
package com.alonemusk.medicalapp.ui.EnterAdress;
import androidx.lifecycle.ViewModelProviders;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.navigation.NavController;
import androidx.navigation.Navigation;
im... |
package com.klocek.lowrez;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.utils.Disposable;
/**
* Created by Konrad on 2016-04-11.
*/
public class Bar implements Disposable {
private Texture barTexture;
privat... |
package com.tencent.mm.plugin.location.ui;
import com.tencent.mm.sdk.platformtools.al.a;
import com.tencent.mm.sdk.platformtools.x;
class k$2 implements a {
final /* synthetic */ k kGI;
k$2(k kVar) {
this.kGI = kVar;
}
public final boolean vD() {
x.i("MicroMsg.TalkMgr", "seizeMicTime... |
package com.example.healthmanage.bean.recyclerview;
public class GetPointRecyclerView {
public int src, point;
public String title, description, tip, jumpTxt;
public GetPointRecyclerView(int src, String title, String description, int point, String tip,
String jumpTxt) {
... |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.json.JSONObject;
public class JSON2Text
{
public static void main(String [] args) throws Exception
{
String line;
BufferedReader br = new... |
package cn.chuanyun.utils;
/**
* @author 1207263
*
*/
public class GenericUtil {
/**
* @param <T>
* @param argument
* @return boolean
*/
public static <T> boolean isNull(T argument) {
return (argument == null);
}
/**
* @param <T>
* @param argument
* @return boolean
*/
... |
package mini.market.minimarket.service;
import mini.market.minimarket.exception.ProductNotFoundException;
import mini.market.minimarket.model.minimarket;
import mini.market.minimarket.repo.MinimarketRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
imp... |
package com.authenticationservice.core.service;
import com.authenticationservice.db.entity.UserEntity;
import com.authenticationservice.dto.Right;
import com.authenticationservice.dto.User;
import java.util.List;
public interface RightService {
List<Right> getAll();
Right getOne(Long rightId);
... |
package com.example.gprslocation;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import android.Manifest;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.... |
package models;
import java.security.Timestamp;
import java.sql.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import play.db.jpa.Model;
@Entity
public class Permit extends Model{
@ManyToOne
@JoinColumn(name = "id_pr... |
package baekjoon;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Scanner;
import java.util.StringTokenizer;
public class Mathematics {
static int answer = 0;
public static void main(String[] ar... |
package zystudio.demo.ipc;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.support.annotation.Nullable;
import zystudio.mylib.utils.LogUtil;
/**
* Created by zylab on 2017/12/12.
*/
public class RemoteAIDLService extends Service {
... |
package net.dk.webService.entity;
import javax.persistence.*;
import java.util.Date;
/**
* Created by enbiya on 21.02.2017.
*/
@Entity
@Table(name = "t_logs")
public class Logs {
@Id
@Column(name = "executionid")
private String executionId;
@Column(name = "senderserialno")
private String sende... |
package com.takshine.wxcrm.service;
import java.util.List;
import com.takshine.wxcrm.base.services.EntityService;
import com.takshine.wxcrm.domain.cache.CacheSchedule;
import com.takshine.wxcrm.message.sugar.ScheduleAdd;
import com.takshine.wxcrm.message.sugar.ScheduleComplete;
/**
* 日程前端缓存
* @author liulin
*
*/... |
package com.github.arsentiy67.usereditor.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persiste... |
package BASE;
/*
* UCF COP3330 Summer 2021 Assignment 1 Solution
* Copyright 2021 Miguel Nobrega
*/
/*
Exercise 14 - Tax Calculator
You don’t always need a complex control structure to solve simple problems. Sometimes a program requires an extra step in one case, but in all other cases there’s nothing to do.
Wr... |
package com.spring.shopping.product;
import java.util.ArrayList;
import java.util.List;
import com.spring.shopping.qna.QNAVO;
import com.spring.shopping.review.ReviewVO;
public interface ProductService {
public void addProduct(ProductVO productVO) throws Exception;
public void delProduct(int num) throws ... |
package com.guozaiss.news.fragment.reptile;
import android.widget.ImageView;
import android.widget.ListView;
import com.guozaiss.news.R;
import com.guozaiss.news.adapters.PicAdapter;
import com.guozaiss.news.core.base.view.BaseFragment;
import com.guozaiss.news.reptile.BaseReptile;
import com.guozaiss.news.reptile.Pi... |
package com.sky.contract.util.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created by shiqm on 2018/9/15.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @... |
package com.example.jinliyu.shoppingapp_1.activity;
import android.content.ContentValues;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.sqlite.SQLiteDatabase;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
im... |
package fragments;
import android.support.v4.app.Fragment;
public class HomeFragment1 extends Fragment{
}
|
package com.google.android.exoplayer2.c.c;
import com.google.android.exoplayer2.Format;
import com.google.android.exoplayer2.c.c.u.d;
import com.google.android.exoplayer2.c.f;
import com.google.android.exoplayer2.c.i;
import com.google.android.exoplayer2.c.k;
import com.google.android.exoplayer2.i.j;
import com.tencen... |
package logger.sink;
public interface ISink {
void write(String message);
}
|
package com.tingke.admin.entity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
/**
* ... |
package x.java;
import org.apache.commons.lang3.StringUtils;
public class IndentService {
private final String singleIndent;
private int indent;
IndentService(String singleIndent) {
indent = 0;
this.singleIndent = singleIndent;
}
public String getCurrentIndent() {
return... |
package com.takshine.wxcrm.service;
import java.util.Map;
import net.sf.json.JSONObject;
import com.takshine.wxcrm.base.services.EntityService;
import com.takshine.wxcrm.message.tplmsg.ValColor;
/**
* 模板消息服务
* @author liulin
*
*/
public interface TemplateMsgService extends EntityService{
/**
* 发送日程模板消息
*... |
package com.NLPProject;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.r... |
package util;
public class NumberUtil {
public static Double toDouble(Object val){
Double res=null;
if(val instanceof Integer){
res=new Double(""+val);
}
else
if(val instanceof Double){
res=(Double) val;
}
else{
res=(Double) val;
}
return res;
}
}
|
package com.edu.miusched.service.impl;
import com.edu.miusched.dao.SectionDao;
import com.edu.miusched.domain.Section;
import com.edu.miusched.service.SectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public c... |
// W.P. Iverson code for testing text Exercises
// mystery methods from Chapter 13
// Building Java Programs
//
// copyleft October 2016
package cs211ch13exercises;
import java.util.*;
public class Cs211ch13exercises {
public static void main(String[] args) {
List<Integer> list = new LinkedList<>();
Rand... |
package com.tencent.mm.plugin.account.ui;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
class RegByMobileVoiceVerifyUI$2 implements OnClickListener {
final /* synthetic */ RegByMobileVoiceVerifyUI eVO;
RegByMobileVoiceVerifyUI$2(RegByMobileVoiceVerifyUI re... |
package com.qd.mystudy.jartest;
import org.slf4j.ILoggerFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Method;
import java.net.URL;
/**
* Created by liqingdong911 on 2015/1/5.
*/
public class ClientLogger {
private static Logger log;
static {
... |
package welcome;
import java.util.Scanner;
public class ArrayDelete {
public static void main(String[] args)
{
int arr[]={2,3,4,6,34,63,53};
int size=arr.length;
Scanner sc=new Scanner(System.in);
System.out.println("enter the position you want to delete element");
int pos=sc.nextInt();
int i=0;... |
package eu.europeana.api2.web.controller;
import java.util.TreeMap;
import javax.annotation.Resource;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.oauth2.provider.AuthorizationRequest;
import org.springframework.securit... |
package com.koreait.mvc17.command;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.ibatis.session.SqlSession;
import org.springframework.ui.Model;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
import com.korea.mvc17.dao.BoardDao;
public cla... |
package Sudoku;
public class Sudoku {
public static int[][] board;
static boolean[][][] posvalues;
Sudoku() {
board = new int[9][9]; // initializing board
posvalues = new boolean[9][9][9]; // initializing options for each cell
for (int i = 0; i < 9; i++) {
for (int j = 0; j < 9; j++) {
for (int ii = 0... |
package questions.RotateImage_0048;
/*
* https://leetcode-cn.com/problems/rotate-image/
* */
public class Solution {
// 先转置在翻转
public static void rotate(int[][] matrix) {
int L = matrix.length;
for (int i = 0; i < L/2; i++) {
int start = i;
int end = L - i - 1;
... |
package com.saptakdas.misc.MatrixCalculator;
import com.saptakdas.util.Menu;
public class MatrixProgram {
public static void main(String[] args) throws MatrixError {
//Ask whether to access calculator or solver
int choice= Menu.choice("---Matrix Program---\n1: Matrix Calculator\n2: Matrix S... |
package com.cg.mvc.a2;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;
@Contr... |
package org.vow.actos.domain.activity;
import com.google.schemaorg.JsonLdSerializer;
import com.google.schemaorg.JsonLdSyntaxException;
import com.google.schemaorg.core.*;
import org.junit.Test;
public class SpikteTest {
@Test
public void name() throws JsonLdSyntaxException {
JsonLdSerializer seriali... |
package com.nuuedscore.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.nuuedscore.domain.LearningPersonality;
/**
* LearningPersonality Repository
*
* @author PATavares
* @since Feb 2021
*
*/
public interface LearningPersonalityRepository extends JpaRepository<LearningPer... |
package rnmkrs.springframework.sambrewery.services;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import rnmkrs.springframework.sambrewery.web.model.CustomerDto;
import java.util.UUID;
@Slf4j
@Service
public class CustomerServiceImpl implements CustomerService {
@Override
... |
public class Transactions implements Constants {
public float price, profit;
public int qty, numberOfTransactions, TransactionID;
public String companyName, InvestorName;
public boolean isSelling;
public int companyNumber;
public Transactions()
{
InvestorName = "";
companyName = "";
price = 0;
qty = ... |
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.Label;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import javax.swing.JButton;
import javax.sw... |
package net.julisapp.riesenkrabbe;
import android.app.Application;
import com.jakewharton.threetenabp.AndroidThreeTen;
/**
* Created by antonio on 30.03.17.
*/
public class RiesenkrabbeApp extends Application {
@Override
public void onCreate() {
super.onCreate();
AndroidThreeTen.init(thi... |
package fr.doranco.ecommerce.entity.dto;
public class CommentaireDto {
private String id;
private String texte;
private String note ;
private String article;
private String utilisateur;
public CommentaireDto() {
super();
// TODO Auto-generated constructor stub
}
public CommentaireDto(String id, Str... |
package alketon.kadastr.repos;
/*
import alketon.kadastr.models.Service;
import org.springframework.data.jpa.repository.JpaRepository;
public interface ServiceRepo extends JpaRepository<Service, Long> {
}*/
|
/*
* 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 controller.user;
import entity.Banners;
import entity.Brands;
import entity.Catagories;
import entity.CatagoryDetail;
import e... |
@Capsule(exportKeyword = OrderAPI.class, friends = { "assemAssist.model.factoryline.assemblyLine",
"assemAssist.model.scheduler", "assemAssist.model.order.singleTaskOrder",
"assemAssist.model.order.vehicleOrder", "assemAssist" })
package assemAssist.model.order.order;
import capsules.Capsule;
|
package ru.android.messenger.view.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.TabLayout;
import android.support.v4.view.ViewPager;
import android.view.View;
import ru.android.messenger.R;
import ru.android.messenger.view.adapters.FriendsFragmentPagerAdapter;... |
/*
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
import java.io.IOException;
import org.jsoup.Jsoup;
import org.jsoup.select.Elements;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.StringReader;
import java.net.HttpURLConnection;
import java.net.URL;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserCo... |
// Sun Certified Java Programmer
// Chapter 1, P43
// Declarations and Access Control
public class Mini extends Car {
public void goUpHill() {
// Mini-specific going uphill code
}
}
|
package com.utknl.katas;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* https://www.codewars.com/kata/550554fd08b86f84fe000a58/train/java
* <p>
* Given two arrays of strings a1 and a2 return a sorted array r in lexicographical order of the strings of... |
package graphs;
public class CreateAdjacencyMatrix {
public static void main(String[] args) {
CreateAdjacencyMatrix adjacencyMatrix = new CreateAdjacencyMatrix();
int[][] createdAdjacencyMatrix = adjacencyMatrix.createAdjacencyMatrix(new int[][] {{1,0}, {2,0}, {3,1}, {3,2}}, 4);
for (int[]... |
public class BankAccount{
private String cbu;
private float balance;
public BankAccount(String cbu, float balance){
this.cbu = cbu;
this.balance = balance;
}
public void deposit(float amount){
if(amount > 0){
setBalance(getBalance() + amount);
} else {
System.out.println("Invalid amount, yo... |
package com.tencent.mm.plugin.sns.ui;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.tencent.mm.a.g;
import com.tencent.mm.compatible.util.Exif;
import com.tencent.mm.modelsfs.FileOp;
import com.tencent.mm.modelsns.b;
import com.tencent.... |
package org.milvus.regex.fst;
import java.util.ArrayDeque;
import java.util.HashSet;
import java.util.List;
import java.util.Queue;
import java.util.Set;
import org.milvus.util.TransitiveClosure;
public abstract class NFA2DFA {
public static void eliminateEpsilonTransitions(NFA nfa) {
fixStateIndex(nfa);
... |
package com.lingnet.vocs.service.customer;
import com.lingnet.common.service.BaseService;
import com.lingnet.util.Pager;
import com.lingnet.vocs.entity.Customer;
public interface CustomerService extends BaseService<Customer, String> {
/**
* 保存或编辑VOCS客户
* @Title: saveOrUpdate
* @parm
... |
package annotation;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component("mg")
public class Manager {
@Value("#{config.pagesize}")
private String pageSize;
@Value("»¨Ç§¹Ç")
private String name;
@Override
public String toString() {
return "Man... |
package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.component;
import android.content.Intent;
import android.text.TextUtils;
import com.tencent.mm.bg.d;
import com.tencent.mm.plugin.sns.model.AdLandingPagesProxy.a;
import com.tencent.mm.protocal.c.mv;
import com.tencent.mm.sdk.platfo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.