text stringlengths 10 2.72M |
|---|
package com.ibeiliao.trade.api.dto;
import java.io.Serializable;
import java.util.Date;
import com.ibeiliao.trade.api.enums.ItemType;
/**
* 订单项详细信息VO类
* @author jingyesi
* @date 2016年7月15日 下午3:51:17
*
*/
public class OrderItemVO implements Serializable{
/**
*
*/
private static final long serialVersion... |
package org.bokontep.wavesynth;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.View;
public class WaveDisplay extends View {
public WaveDisplay(Context context, AttributeSet attrs) ... |
package JavaSE.OO.IO;
import java.io.FileNotFoundException;
import java.io.*;
/*
* 文件复制,只能复制纯文本文件
*/
public class copy02 {
public static void main(String[] args) throws Exception {
FileReader fr=new FileReader("E:\\test03.txt");
FileWriter fw=new FileWriter("D:\\test03.txt");
char[] chars=new... |
package sbnz.integracija.example.models;
import java.util.ArrayList;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.AllArgsConstructor;
impo... |
/*
* 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 Modelos;
/**
*
* @author Administrator
*/
public class CategoriaTipoCalzados {
private int id_categoriatipocalzado;
... |
package com.github.limboc.refresh;
public interface SwipeRefreshTrigger {
void onRefresh();
}
|
package saif.com.vaadin.ui.GridPanel;
import java.util.Map;
/**
*
* @author Saiful Islam<saifislam2167@gmail.com>
*/
public interface NotificationMsgProvider {
public static final String KEY_EXPORT_MSG="ui.msg.export";
public static final String KEY_REFRESH_MSG="ui.msg.refresh";
public static final S... |
package edu.sit.erro.venda;
public enum EErrosVenda {
BUSCA_LISTA_PRODUTO("Erro ao buscar os produtos "),
BUSCA_LISTA_CLIENTE("Erro ao buscar os clientes");
private String mensagem;
public String getMensagem() {
return mensagem;
}
private EErrosVenda(String mensagem) {
this.mensagem = mens... |
/*
* 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.printcalculator.enums;
/**
*
* @author LiH
*/
public enum PrintJobName {
Unknown("Unknown"),
A4SingleSide("A4 ... |
package com.xu.easyweb.util.annotation;
/**
* 在从属对象(表)中标识主对象(表)的set函数
* User: zht
* Date: 12-8-30
* Time: 上午8:26
* To change this template use File | Settings | File Templates.
*/
@java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD})
@java.lang.annotation.Retention(java.lang.annotation.Retentio... |
package com.tencent.mm.plugin.nearby.ui;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import com.tencent.mm.R;
import com.tencent.mm.ui.MMActivity;
import com.tencent.mm.ui.widget.a.c;
public class NearbyFriendsIntroUI extends MMActivity {
priva... |
package prototype.design.pattern.example;
public interface Animal extends Cloneable{
Animal createClone();
}
|
package removeadjcent;
public class Solutiontest {
public static void main(String [] args){
Solution s = new Solution();
System.out.println(s.deDup("abc"));
}
}
|
package ru.aahzbrut.reciperestapi.dto.responses.note;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;
import static ru.aahzbrut.reciperestapi.utils.Constants.ISO_DATE... |
import java.util.Scanner;
public class Example2_10
{
public static void main(String[] args)// calculating energy
{
//create a scanner object
Scanner input = new Scanner(System.in);
//prompt to enter the amount of water in kilograms
System.out.print(" Enter the amount of water in kilograms: ");
// m is the weight o... |
package com.liu.Class;
import java.io.Serializable;
public class joinresponse implements Serializable{
private Boolean status;
private Boolean changeheading;
private String formationid;
private String prevehid;//前车的id
private String behvehid;//后车的ID
private int membernum;
public ... |
package com.cnk.travelogix.custom.zif.erp.ws.opportunity;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.X... |
/**
*
*/
package presentacion.controlador.command.CommandLibro;
import negocio.factorias.FactorySA;
import negocio.libro.SALibro;
import presentacion.contexto.Contexto;
import presentacion.controlador.command.Command;
import presentacion.eventos.EventosLibro;
/**
* The Class BajaLibro.
*/
public class BajaLibro i... |
package Tree.BinaryTree.Traversal.BFS;
public class Traversal {
static class Node {
int key;
Node left;
Node right;
Node(int key) {
this.key = key;
this.left = this.right = null;
}
}
static class BinaryTree {
Node root;
Bin... |
package kyle.game.besiege;
public interface Value {
public float getValue();
}
|
package com.e6soft.bpm.dao.impl;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import com.e6soft.core.mybatis.BaseEntityDao;
import com.e6soft.bpm.dao.FlowAgencyWorkflowDao;
import com.e6soft.bpm.model.FlowAgencyWorkflow;
@Transactional
@Repositor... |
package application;
import java.util.ArrayList;
import java.util.HashMap;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
public class LEDHandler {
private ArrayList<LED> leds;
public LEDHandler() {
this.leds = new ArrayList<LED>();
}
public void addLED(String label, Color cond1C... |
package com.brd.brdtools.parser;
import com.brd.brdtools.SqlBaseListener;
import com.brd.brdtools.SqlParser;
import com.brd.brdtools.model.sql.Column;
import com.brd.brdtools.model.sql.Database;
import com.brd.brdtools.model.sql.ForeignKey;
import com.brd.brdtools.model.sql.Table;
import com.brd.brdtools.SqlParser.Alt... |
import java.util.*;
import java.io.*;
import java.io.FileNotFoundException;
public class Naloga6 {
public static PrintWriter izhod;
public static Scanner in;
public static ArrayList<String> fst = new ArrayList<String>();
public static ArrayList<String> scnd = new ArrayList<String>();
public stati... |
package com.designPattern.com.imooc.strategy;
/**
* @Author : Admin
* @Description :
* @Date : 2018/6/28 11:18
*/
/*
* 策略接口,实现鸭子的飞行行为
*/
public interface FlyingStragety {
void performFly();
}
|
package page;
import java.util.Random;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.Select;
public class BasePage {
public void dropdown(WebElement element, String abc)
{ Select sel= new Select (element);
sel.selectByVisibleText(abc);
}
public int randomnumber (int boundary... |
package com.movieapi.movieapi.exception;
public class MissingServletRequestParameterException extends Exception {
public MissingServletRequestParameterException(String msg) {
super(msg);
}
}
|
public class logInService {
// line1 added
// added god words to Login Service
}
|
package com.uinsk.mobileppkapps;
public class LoginViewModel {
}
|
package com.yourtravel.entity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import javax.persistence.*;
@Entity
@Data
@Table(name = "CITY")
@ToString(exclude = {"country"})
@EqualsAndHashCode(exclude = {"country"})
public class City {
@Id
@GeneratedValue(strategy = Generati... |
package com.noteshare.solr.utils;
import java.util.HashMap;
import org.apache.solr.client.solrj.impl.HttpSolrClient;
import com.noteshare.common.utils.resources.Configuration;
public class SolrUtil {
private static HashMap<String, HttpSolrClient> solrMap = new HashMap<String, HttpSolrClient>();
/**
* @Title ... |
package exceleg.controller;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import exceleg.repository.ExcelRepository;
import excele... |
package net.sf.ardengine.renderer.opengl.modern;
import java.awt.image.BufferedImage;
import java.io.InputStream;
import java.nio.FloatBuffer;
import javafx.scene.paint.Color;
import net.sf.ardengine.ASprite;
import net.sf.ardengine.renderer.opengl.lib.textures.Texture;
import net.sf.ardengine.renderer.opengl.lib.tex... |
package Behaviors;
import Entities.Person;
import java.util.ArrayList;
public class PersonManagement {
ArrayList<Person> personArrayList = new ArrayList<>();
public void addPerson(Person person){
personArrayList.add(person);
}
public void updatePerson(Person person){
for (Person ePer... |
/**
*
*/
package org.rebioma.client.services;
import java.util.List;
import org.rebioma.client.OccurrenceQuery;
import org.rebioma.client.bean.SearchFieldNameValuePair;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.Rem... |
package ru.otus.l111.dataset;
/*
* Created by VSkurikhin at winter 2018.
*/
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
@Entity
public class UserDataSet extends DataSet {
@Column(name = "name")
... |
package com.vilio.custom.service;
import com.vilio.comm.exception.ErrorException;
import com.vilio.comm.service.BaseService;
import com.vilio.custom.dao.CustomUserDao;
import com.vilio.custom.pojo.CustomUser;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.log4j.Logger;
import org.springframework.stereo... |
package com.ibm.ive.tools.japt.reduction.xta;
import com.ibm.ive.tools.japt.JaptRepository;
import com.ibm.ive.tools.japt.reduction.ClassSet;
import com.ibm.ive.tools.japt.reduction.EntryPointLister;
import com.ibm.jikesbt.BT_Class;
import com.ibm.jikesbt.BT_ClassReferenceSiteVector;
import com.ibm.jikesbt.BT_C... |
package com.szcinda.express.controller;
import com.szcinda.express.controller.dto.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;
@RestControllerAdvice
@Slf4j
public class GlobalExceptionAdv... |
package br.com.fiap.singleton;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
public class EntityManagerFactorySingleton {
//1- atributo estático que sera unico
private static EntityManagerFactory factory;
//2- construtror vazio e privado
private EntityManagerFactory... |
package com.tencent.mm.plugin.appbrand.widget.input.autofill;
import android.database.DataSetObserver;
class AutoFillListPopupWindowBase$c extends DataSetObserver {
final /* synthetic */ AutoFillListPopupWindowBase gKu;
private AutoFillListPopupWindowBase$c(AutoFillListPopupWindowBase autoFillListPopupWindow... |
package com.woncheol.restapi.model;
public class Company {
int companyNo;
String companyName;
String address;
//String endDate;
//List <Department> departmentList;
public int getCompanyNo() {
return companyNo;
}
public void setCompanyNo(int companyNo) {
this.companyNo = ... |
package com.tencent.mm.plugin.location.ui;
import com.tencent.mm.sdk.platformtools.x;
class h$2 implements Runnable {
final /* synthetic */ h kFD;
final /* synthetic */ int kFE;
h$2(h hVar, int i) {
this.kFD = hVar;
this.kFE = i;
}
public final void run() {
x.d("MicroMsg.... |
package com.github.sixro.minihabits.core;
import java.util.Date;
import com.badlogic.gdx.*;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.badlogic.gdx.utils.*;
import com.badlogic.gdx.utils.Json.Serializer;
import com.github.sixro.minihabits.core.domain.*;
import com.github.sixro.minihabits.core... |
package com.tree.binary;
public class TreeDiameter {
int diameter;
public static void main(String[] args) {
TreeDiameter treeDiameter = new TreeDiameter();
BinaryTree tree = BinaryTree.buildTestTree();
tree.levelOrder();
treeDiameter.diameter(tree.getRoot(), treeDiameter);
... |
package com.cdeid.io;
import java.io.File;
import java.io.IOException;
import java.util.Collection;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.filefilter.TrueFileFilter;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.util.PDFTextStripper;
import gate.creole.ResourceIn... |
public class LinkedListNode {
Object element;
LinkedListNode next;
public LinkedListNode(Object o) {
element = o;
}
}
|
package Concrete;
import Entities.Campaign;
import Entities.Game;
public class CampaignCalculatorHelper
{
public static double calculate(Game game, Campaign campaign)
{
var result = (game.getPrice() * campaign.getDiscountAmount()) / 100;
return game.getPrice() - result;
};
}
|
/*
* Copyright 2011 frdfsnlght <frdfsnlght@gmail.com>.
*
* 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 appl... |
import java.util.PriorityQueue;
public class MinimumMovesForStringConversion {
static int [][] dp;
static String src;
static String dest;
public static void main(String[] args) {
src = args[0];
dest = args[1];
int n = src.length();
dp = new int [n][n];
for(int m=0;m<n;m++){
for(int i=0;i<n-m;i++){... |
package jpabook.jpashop.api;
import com.fasterxml.jackson.annotation.JsonIgnore;
import jpabook.jpashop.domain.Member;
import jpabook.jpashop.service.MemberService;
import lombok.*;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
import java.util.List;
import java.util.stream.Collecto... |
// Will Westrich and Seth Hunter
class AdaptableBinarySearchTree extends BinarySearchTree{
public AdaptableBinarySearchTree(){
super();
}
public KeyedItem retrieve(Comparable searchKey){
try{
return (KeyedItem)retrieveItemAdapt(getRootNode(), searchKey);
}catch(TreeExc... |
package edu.mum.cs.cs544.exercises.a;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
@... |
/*
* 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 jwscert.rest.services;
import java.util.HashSet;
import java.util.Set;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
import jwscert.rest.services.annotations.HelloWorld;
import jwscert.rest.services.annotations.PathAnnotation;
import jwscert.rest.services.annotations.QueryParamAnno... |
package com.tencent.mm.pluginsdk.ui;
import android.text.Editable;
import android.text.TextWatcher;
class MultiSelectContactView$1 implements TextWatcher {
final /* synthetic */ MultiSelectContactView qGe;
MultiSelectContactView$1(MultiSelectContactView multiSelectContactView) {
this.qGe = multiSelec... |
package com.dais.mapper;
import com.dais.model.WalletUnlockInfo;
import com.dais.model.WalletUnlockInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface WalletUnlockInfoMapper {
int countByExample(WalletUnlockInfoExample example);
int deleteByExample(WalletUnlockInf... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the ter... |
package com.tencent.tencentmap.mapsdk.a;
public interface ac$i {
void a();
}
|
package com.nju.cyt.handler;
import com.nju.cyt.server.ReSendServer;
import com.nju.cyt.util.AddressParser;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import org.apache.log4j.Logger;
/**
* @author Cyt
*
* Created on 2017年12月2... |
package com.tencent.mm.plugin.sns.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.tencent.mm.plugin.sns.ui.SnsUploadBrowseUI.3;
class SnsUploadBrowseUI$3$2 implements OnClickListener {
final /* synthetic */ 3 ogq;
SnsUploadBrowseUI$3$2(3 3) {
... |
package entities;
import java.sql.Date;
import java.util.ArrayList;
import java.util.Collection;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import j... |
public class Pants extends Cloths{
public Pants(String color, double size, double price, boolean isOnSale) {
super(color, size, price, isOnSale);
}
public void printInfo(Cloths item) {
if(item.isOnSale()== true){
System.out.println("The "+item.getColor()+" pant size "+item.getSize()+" is on sale. The origi... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.insat.gl5.crm_pfa.service.security;
import com.insat.gl5.crm_pfa.model.Contact;
import com.insat.gl5.crm_pfa.model.BackendUser;
import com.insat.gl5.crm_pfa.model.security.IdentityObject;
import com.insat.gl... |
package com.zhowin.miyou.recommend.callback;
/**
* author : zho
* date :2020/10/26
* desc :房间设置
*/
public interface OnLiveRoomSettingItemListener {
void onLiveRoomItemClick(int itemID,String itemText);
}
|
package com.tencent.mm.wallet_core.ui;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
class WalletBaseUI$3 implements OnMenuItemClickListener {
final /* synthetic */ WalletBaseUI uYT;
WalletBaseUI$3(WalletBaseUI walletBaseUI) {
this.uYT = walletBaseUI;
}
... |
package com.tencent.mm.plugin.game;
import com.tencent.mm.bt.h.d;
import com.tencent.mm.plugin.game.wepkg.a.b;
class e$6 implements d {
final /* synthetic */ e jFV;
e$6(e eVar) {
this.jFV = eVar;
}
public final String[] xb() {
return b.diD;
}
}
|
package com.agenin.report.Model.API;
import com.agenin.report.Model.MyOrderItemModel;
import com.agenin.report.Model.NotaItemModel;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class OrderDetailsModel {
@SerializedName("message")
private MyOrderItemModel message;
@Seri... |
package com.hqhcn.android.service;
import com.hqh.android.entity.Log;
import com.hqh.android.entity.LogExample;
import com.hqh.android.tool.LogType;
import java.util.List;
public interface LogService {
void add(Log entity) throws Exception;
List<Log> query(LogExample example);
/**
* 添加到操作日志记录
... |
package com.example.a51700.demo;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.ImageFormat;
import android.graphics.Matrix;
import android.hardware.Camera;
import android.os.Build;
import android.os.Environment;
import android.s... |
package com.pangpang6.hadoop.flink.apps;
import com.pangpang6.hadoop.flink.source.TradeSource;
import org.apache.flink.api.common.functions.FoldFunction;
import org.apache.flink.api.java.functions.KeySelector;
import org.apache.flink.api.java.tuple.Tuple;
import org.apache.flink.api.java.tuple.Tuple2;
import org.apach... |
//city-be átpakolva Person-t Car-t megváltozik az osztály neve
//city.Person city.Car VAGY import city.Car; import city.Person;
import city.*;
class Main {
public static void main(String[] args) {
//Person p = new Person("Roger", "Federer", 1980);
//Person q = new Person("Rafael", "Nadal", 1980);
Person p = ... |
package com.tencent.mm.pluginsdk.f;
final class b {
b() {
}
}
|
package rontikeky.beraspakone.cart;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by Acer on 2/16/2018.
*/
public class ListCart {
@SerializedName("cart")
@Expose
private List<CartRes> cartList = null;
public Lis... |
package com.example.restauth.domain;
import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;
import java.util.UUID;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* Domain Service to manage the authenticatio... |
package com.twitter.graphjet.demo;
import SprESRepo.HashTag;
import SprESRepo.Message;
import SprESRepo.ProfileUser;
import com.google.gson.reflect.TypeToken;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.BufferedRead... |
/* Michael Cisternino
* PS#2
* September 16, 2015
*/
package mainPackage;
// class MyInteger contains all methods, objects, and constructors for MyInteger
public class MyInteger {
public static void main(String[] args) {
// created this class to test MyInteger class and methods
char[] numbers = { '1', '2', ... |
import java.util.LinkedHashMap;
import java.util.Map;
public class uniquevalues {
public static void main(String[] args) {
String s="civic";
char[] ch = s.toCharArray();
Map<Character,Integer> lhm = new LinkedHashMap<>();
for(char c:ch)
{
if(lhm.containsKey(c))
... |
package cmm04.array;
public class No02_StringArrayDemo {
public static void main(String[] args) {
new No02_StringArrayVO().execute();
}
}
|
package com.ling.mybatis.begin.bean.common;
import io.swagger.annotations.ApiModel;
@ApiModel(description = "请求参数(无额外参数)")
public class DglgRequest extends DglgRequestBase {
}
|
package graph.upload.storage;
import java.nio.file.Path;
import java.util.stream.Stream;
import org.springframework.core.io.Resource;
import org.springframework.web.multipart.MultipartFile;
/**
* ControllerからStorageにアクセスするためのインターフェース
*
*/
public interface StorageService {
/**
* Storageの初期化を行います。
*/... |
package com.github.emailtohl.integration.core.auth;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.List;
import java.util.Random;
import javax.inject.Inject;
import org.junit.After;
import org.junit.Bef... |
/*
* 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 Distributions.MethodOfMoments;
import Distributions.ContinuousDistribution;
import Distributions.ContinuousDistributionError;
... |
package com.example.demo.dao;
import com.example.demo.entity.Customer;
import com.example.demo.utils.GenericDaoHibernateImpl;
import com.example.demo.utils.SearchCriteria;
import org.hibernate.query.Query;
import org.springframework.stereotype.Repository;
import java.io.Serializable;
import java.util.List;
@Reposito... |
package com.previred.lost.periods.utils;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Date;
/**
* Set of operations to manipulate and format Strings.
*
* @author Carlos Izquierdo
* @author izqunited@gmail.com
*
*/
public final class StringFormatUtils {
privat... |
package com.example.ty_en.ires;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
i... |
package com.netease.course;
import java.util.List;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
/**
* @author menglanyingfei
* @date 2017-8-27
*/
public interface MybatisDao {
@Update("UPDATE UserBalance SET balance=balance+#{param2} WHERE userId=#{param1} ")
pub... |
/*
* To change this li @Override
public int getWidth(ImageObserver observer) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
@Override
public int getHeight(ImageObserver observer) {
throw new Unsuppo... |
package com.outofmemory.entertainment.dissemination.engine;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
public class CollisionDetector {
private final GameObjectRegistry gameObjectRegistry;
private final Canvas canvas;
public CollisionDetecto... |
/*
* *********************************************************
* Copyright (c) 2019 @alxgcrz All rights reserved.
* This code is licensed under the MIT license.
* Images, graphics, audio and the rest of the assets be
* outside this license and are copyrighted.
* ***************************************************... |
package cn.edu.zucc.music.service;
import cn.edu.zucc.music.model.DynamicComment;
import java.util.List;
public interface DynamicCommentService {
int addDynamicComment(DynamicComment comment);
int deleteDynamicComment(DynamicComment comment);
int updateDynamicComment(DynamicComment comment);
Dynamic... |
package piefarmer.immunology.gui;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import org.bouncycastle.jcajce.provider.symmetric.Grain128;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods... |
package com.zipcodewilmington.person;
import org.junit.Assert;
import org.junit.Test;
/**
* Created by leon on 2/12/18.
*/
public class TestPerson {
@Test
public void testDefaultConstructor() {
// Given
String expectedName = "";
Integer expectedAge = Integer.MAX_VALUE;
// Wh... |
package com.cxjd.nvwabao.adapter;
import android.app.ActivityOptions;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.transition.TransitionInflater;
import android.view.View;
import android.widget.Image... |
package com.quiz.projectWilayah.dto;
import lombok.Data;
@Data
public class DesaDto {
private Integer id;
private String desaCode;
private String desaName;
private String kecamatanCode;
private String kabupatenCode;
private String provinsiCode;
}
|
package com.tt.option.ad;
public enum c {
APP_BANNER("banner"),
APP_EXCITING_VIDEO("banner"),
APP_FEED("banner"),
APP_VIDEO_PATCH_AD_POST("banner"),
APP_VIDEO_PATCH_AD_PRE("banner"),
GAME_BANNER("banner"),
GAME_EXCITING_VIDEO("banner"),
GAME_INTERSTITIAL("banner");
private String a;
... |
package com.ys.service;
import org.springframework.stereotype.Service;
import java.util.Random;
/**
* Created by yushi on 2017/3/20.
*/
@Service
public class RunnableServiceImpl implements RunnableService, Runnable {
@Override
public void getthread() {
Thread t1 = new Thread(new ThreadServiceImpl... |
package com.example.ahmed.octopusmart.RecyclerAdapter;
/**
* Created by sotra on 12/25/2017.
*/
public interface ChangePriceCallback {
void update();
}
|
public class Geometric extends AbstractSeries {
//instance variables
public int i = 1;
public double count = 0;
public int count2 =0;
//returns the next partial sum where it is the series like 1 + 1/2 + 1/4 + 1/8...
public double next() {
if(count2==0){ //the first time the method is ... |
/*
* 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 obstacles;
import data.Entity;
import data.GameData;
import data.World;
import entityparts.LifePart;
import entityparts.Positi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.