text stringlengths 10 2.72M |
|---|
public class linearsearch {
public int Search(int arr[],int data)
{
int length=arr.length;
if(arr.length!=0){
for(int i=0;i<length;i++){
if(arr[i]==data){
return i;
}
}
}
return -1;
}
public static v... |
/**
* encapTest1
*/
public class encapTest1 {
public static void main(String[] args) {
encapDemo1 encap = new encapDemo1();
encap.setName("Dobleh");
encap.setAge(19);
System.out.println("Name : "+encap.getName());
System.out.println("Age : "+encap.getAg... |
package designer.ui.properties.renderer;
import specification.Properties;
import javax.swing.*;
import javax.swing.table.DefaultTableCellRenderer;
import java.awt.*;
/**
* Created by Tomas Hanus on 4/15/2015.
*/
public class PropertiesCellRenderer extends DefaultTableCellRenderer {
public PropertiesCellRender... |
package chc;
import shared.GetEnv;
import shared.Inducer;
import java.util.StringTokenizer;
public class Population {
private static Inducer inducer;
private static FitnessMachine machine;
private Hypothesis[] population = new Hypothesis[0];
private Hypothesis[] parents = new Hypothesis[0];
private Hypoth... |
package net.unicornbox.fastuniqueinfolders;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;
public class PageImageDimension {
private final Map<Integer, Integer> pageImageSize = new ConcurrentHashM... |
package com.tencent.mm.plugin.sns.ui;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.an.c;
import com.tencent.mm.bg.d;
import com.tencent.mm.g.a.gk;
import ... |
package org.study.core.collections;
import java.util.HashSet;
import java.util.Set;
/*
HashMap, HashSet may used objects without overridden equals()
However one will not be able to find item by other than initial object
*/
public class ClassWithoutEqualsInMap {
private final String name;
public Clas... |
package huang.da.fb.db;
import java.net.UnknownHostException;
import com.mongodb.BasicDBObject;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.MongoClient;
public class MongoAccessor {
MongoClient mongoClient;
DB db;
DBCollection collection;
public DB getDb() {
return db;
}
pub... |
package edu.uci.ics.sdcl.firefly.util.mturk;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import edu.uci.ics.sdcl.firefly.Microtask;
import edu.uci.ics.sdcl.f... |
package com.tencent.mm.plugin.music.model.e;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnCompletionListener;
import com.tencent.mm.sdk.platformtools.x;
class b$1 implements OnCompletionListener {
final /* synthetic */ b lzt;
b$1(b bVar) {
this.lzt = bVar;
}
public fi... |
package com.emn.member.action;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import com.emn.common.EmnAction;
import com.emn.common.SqlMapConfig;
import com.emn.common.SqlMapUsableObj;
import com.emn.member.model.Member;
public class UserFinderAction extends EmnActio... |
package com.rx.rxmvvmlib.ui.binding.viewadapter.recyclerview;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import androidx.annotation.IntDef;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerv... |
package com.example.funnybirds;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import java.util.ArrayList;
import java.util.List;
public class Sprite {
private List<Rect> frames;
private double x;
private double y;
private ... |
/*
* Copyright (C) 2015 P100 OG, Inc.
*
* 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 agr... |
package com.pangpang6.books.offer.chapter2;
import org.junit.Test;
public class P39_DuplicationInArrayTest {
int[] data = {2, 3, 1, 0, 2, 5, 3};
int[] data2 = {2, 3, 5, 4, 3, 2, 6, 6};
@Test
public void getDuplication5Test() {
int r = P39_DuplicationInArray.getDuplication5(data2);
Sys... |
package br.uff.ic.provmonitor.dao.impl.javadb;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import br.uff.ic.provmonitor.connection.ConnectionManager;
import br.uff.ic.provmonitor.dao.ExecutionStatusDAO;
import br.... |
package io.github.tamashii.mineRPG.listeners;
import io.github.tamashii.mineRPG.Configs;
import io.github.tamashii.mineRPG.StringTable;
import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.pl... |
package ch.ubx.startlist.shared;
import java.io.Serializable;
import java.util.Calendar;
import javax.persistence.Id;
import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Entity;
@Cached
@Entity
public abstract class Job implements Serializable {
private stat... |
/*
* 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 gob.igm.ec;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Basic;
import javax.p... |
package com.tyss.cg.filehandling;
import java.io.FileReader;
public class FileReaderExample {
public static void main(String[] args) {
try(FileReader fileReader=new FileReader("newFile.txt");){
int charUnicode;
while ((charUnicode = fileReader.read())!= -1) {
System.out.println((char)charUnicode);
}
... |
package com.imwj.tmall.interceptor;
import org.apache.commons.lang.StringUtils;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
... |
package project.timesheetWebapp.dto;
import java.util.Date;
public class TimesheetTaskDTO {
private String name ;
private String details ;
private float hours ;
private Date date ;
private String task ;
private String employeeId ;
public String getEmployeeId() {
return employeeId;
}
public void set... |
public static IntStream createFilteringStream(IntStream evenStream, IntStream oddStream) {
return // write your stream here
IntStream.concat(evenStream, oddStream).filter(x -> x % 3 == 0 && x % 5 == 0).sorted().skip(2);
} |
package fiuba.algo3.modelo;
public class PublicacionCochera extends Publicacion {
public PublicacionCochera(String barrio, int precio, String moneda,
String inmobiliaria, Fecha fecha,
IdentificadorPublicacion nroPublicacion) {
Moneda monedaNueva = new Moneda(moneda);
this.agregarDatos(barrio, precio, moned... |
package com.lti.controller;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import com.lti.entity.Student;
import com.lti.service.Student... |
package com.rest.jwtdemo.Service;
import com.rest.jwtdemo.Model.Document;
import com.rest.jwtdemo.Model.Folder;
import com.rest.jwtdemo.Repository.AuthorityRepository;
import com.rest.jwtdemo.Repository.DocumentAuthorityRepository;
import com.rest.jwtdemo.Repository.DocumentRepository;
import com.rest.jwtdemo.Reposito... |
/****************************************************
* $Project: DinoAge $
* $Date:: Jan 27, 2008 2:14:06 AM $
* $Revision: $
* $Author:: khoanguyen $
* $Comment:: $
****************************************... |
package com.plapp.entities.messaging;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import com.plapp.entities.greenhouse.Plant;
import java.io.Serializable;
import java.util.Date;
public class ScheduleActionMQDTO implements Serializable {
@JsonUnwrapped
private Plant plant;
private String action... |
/**
* 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... |
package com.peng.pp_app_sdk.common;
import android.os.Environment;
/**
* Created on 2015/12/10 0010.
* Author wangpengpeng
* Email 1678173987@qq.com
* Description 专门用来定义常量
*/
public class Constants {
public static final int handler_base = 0x100;
public static final String ACTION_PUSH_DATA = "fm.data.pu... |
package com.lcz.register.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import com.lcz.register.entity.User;
import com.lcz.register.utils.DbUtils;
public class UserDaoImpl implements UserDao{
public void register(User user) {
//注册用户的操... |
package com.company;
import java.io.*;
/**
* 创建文件的规则是在 BufferWriter.java的package的父目录 也就是 com 文件夹的父目录(src 下面)
*/
public class BufferWriter {
public static void main(String[] args) throws IOException {
// write your code here
File file = new File("test.txt");
//file.mkdirs();
Buffered... |
package sort.shell;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
/*
* description:
* author: W W
* date:2019-07-02 14:30
* */
public class ShellSort {
public static void main(String[] args) {
int[] array={5, 4, 3, 1,... |
package com.komaxx.komaxx_gl;
/**
* Important interface to process interaction.
*
* @author Matthias Schicker
*/
public interface ICameraInfoProvider {
/**
* Translates a point on the screen to world coordinates on the z==0 plane.
*
* @param result the result in world coordinates ([x,y,0]).
* <b>MUST N... |
package MiniNet;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class DataBase {
/**
* @param args
*/
public DataBase(){
try {
//加载HSQLDB数据... |
package com.zzh.user.po;
import com.zzh.common.model.BaseModel;
/**
* @author ZengZhiHang
* @create 2019-04-22-16:41
*/
public class UserBean extends BaseModel {
private String mobile;
private String password;
public String getMoblie() {
return mobile;
}
public void setMoblie(String ... |
package dominio;
/**
* establece los personajes no manejables por el jugador (NPCs) y sus
* estadisticas y atributos
*
*/
public class NonPlayableCharacter extends Character implements Peleable {
private static final int DIFICULTADALEATORIA = -1;
private static final double EVITARATAQUE = 0.15;
private static ... |
class hello.java
{
}
|
package com.app.firefighter;
import android.app.AlertDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
impo... |
package com.yoeki.kalpnay.hrporatal.Survey;
public class QuestionModel{
String question;
String question1;
String questionunread;
String questioncount;
String answeredquestin;
String question2;
public String getQuestioncount() {
return questioncount;
}
public void setQues... |
package com.cloudogu.smeagol;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Strings;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpSession;
import org.apereo.cas.client.authentication.Att... |
package com.zpjr.cunguan.presenter.impl.investment;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.view.View;
import android.webkit.WebChromeClient;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.widget.Lin... |
package model;
public class Donor {
private String User_email;
private String Name;
private String Address;
private String Mobile_Number;
public Donor(String user_email, String name, String address, String mobile_Number) {
super();
User_email = user_email;
Name = name;
Address = address;
Mobile_Numbe... |
package com.bluemingo.bluemingo.persistence;
import org.springframework.stereotype.Repository;
import com.bluemingo.bluemingo.domain.AdvVO;
import com.bluemingo.bluemingo.domain.Ref_listVO;
import com.bluemingo.bluemingo.generic.GenericDAOImpl;
/** Last Edit 2017-02-12
* RefListVO - RefListDAO - RefListService - Re... |
package bank;
class Friend{
public static void main(String[] args){
Account acc=new Account();
//System.out.println("친구의 조작 전 잔고는 "+acc.balance);
//acc.balance=acc.balance+8000;
//변수에 대한, 직접 접근을 하지말고, 메서드 호출로 데이터를 변경해보자!
acc.setBalance(150000);
System.out.println("친구의 조작 후 잔고는 "+acc.getBalance())... |
package com.tencent.mm.ui.base.preference;
import android.view.View;
import android.view.View.OnClickListener;
class InputPreference$1 implements OnClickListener {
final /* synthetic */ InputPreference tCy;
InputPreference$1(InputPreference inputPreference) {
this.tCy = inputPreference;
}
pu... |
package helloworld.lifeline.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.Req... |
package iks;
import java.util.ArrayList;
import java.util.List;
/**
* Created by kiiv0317 on 19.12.2017.
*/
public class Application {
public static void main(String[] args) {
List lst = new ArrayList<>();
lst.add("sdfdf");
lst.add("sqwedf");
}
}
|
package com.tencent.d.a.c;
import junit.framework.Assert;
public final class c {
private static b vlw = new a((byte) 0);
public static void a(b bVar) {
Assert.assertTrue(bVar != null);
vlw = bVar;
}
public static void v(String str, String str2, Object... objArr) {
vlw.v(str, ... |
package com.kunsoftware.service;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.T... |
package com.cisco.jwt_spring_boot.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.UNAUTHORIZED)
public class CredentialsException extends RuntimeException {
public CredentialsException(String msg) {
super(msg)... |
package cbde.labs.hbase_mapreduce.reader;
public class MyHBaseReader_VerticalPartitioning extends MyHBaseReader {
protected String[] scanFamilies() {
String[] families = {"fam_1","fam_2"};
return families;
}
}
|
package co.th.aten.network.web;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.annotation.PostConstruct;
import javax.faces.bean.ViewScoped;
import javax.faces.context.FacesContext;
import javax.inject.Inject;
import javax.inject.Named;
import javax.persistence.EntityMan... |
package me.zakeer.justchat.database;
import java.util.ArrayList;
import java.util.List;
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;
public... |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Ge... |
/**
* 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... |
/**
* Control de paquetes general
*/
package com.jbsistemas;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintWriter;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Esta clase captura los mensajes del proceso de envío de ... |
package day61_exceptions_collections.checked_exceptions;
public class CheckedExceptionDemo {
public static void main(String[] args) throws InterruptedException {
System.out.println("About to sleep for 5 seconds");
//Thread.sleep(1000); causes/ throwa an InterruptedException , which is a checked exception
... |
package com.example.mna.mishnapals;
import android.content.Intent;
import androidx.annotation.NonNull;
//import android.support.v7.app.AppCompatActivity;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
i... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.joget.valuprosys.products;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.joget.apps.app.se... |
package com.tencent.mm.plugin.freewifi.model;
import com.tencent.mm.g.a.gf;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
class j$2 extends c<gf> {
final /* synthetic */ j jkt;
j$2(j jVar) {
this.jkt = jVar;
this.sFo = gf.class.getName().hashCode();
}
public final /* ... |
package com.example.appfootball;
import java.util.ArrayList;
import java.util.List;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.support.v7.app.ActionBarActivity;
import android.view.MenuItem;
import android.widget.ImageView;
public class ImageViewPager extends ActionBarActivity... |
package com.runningphotos.ui;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
/**
* Created by Tensa on 06.02.2016.
*/
@Controller
public class BuyPhotosController {
@RequestMapping(value = "/bu... |
package entities;
import java.sql.Date;
public class RoomRequest {
private int id;
private boolean isOpened;
private Room room;
private Client client;
private Admin admin;
private Date checkInDate;
private Date checkOutDate;
private Invoice invoice;
private int peopleNum;
priva... |
package com.wire.bots.sdk.exceptions;
import java.io.IOException;
import java.util.UUID;
public class MissingStateException extends IOException {
public MissingStateException(UUID botId) {
super("Unknown botId: " + botId);
}
}
|
// represents a list of Person's buddies
class ConsLoBuddy implements ILoBuddy {
Person first;
ILoBuddy rest;
ConsLoBuddy(Person first, ILoBuddy rest) {
this.first = first;
this.rest = rest;
}
/*TEMPLATE
* FIELDS
* ...this.first... -- Person
* ...this.rest... ... |
package com.puti.pachong.util;
import lombok.SneakyThrows;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.List;
import java.util.function.Function;
/**
* @author yaotianchi
* @date 2019/10/14
*/
public class FileUtil {
@... |
package com.tao.dao;
import java.sql.ResultSet;
import com.tao.model.Auction;
import com.tao.model.Collection;
import com.tao.model.Commodity;
import com.tao.model.Order;
import com.tao.utils.DataProcess;
public class AuctionDao extends Dao {
public AuctionDao(DataProcess dataProcess){
super(dataProcess);
}
pub... |
package com.tencent.mm.g.a;
import com.tencent.mm.sdk.b.b;
public final class hp extends b {
public a bQV;
public b bQW;
public hp() {
this((byte) 0);
}
private hp(byte b) {
this.bQV = new a();
this.bQW = new b();
this.sFm = false;
this.bJX = null;
}
}... |
package by.tc.task01.enumeration;
public enum OperatingSystem {
WINDOWS, LINUX, OSX
}
|
package com.ehootu.park.service;
import com.ehootu.park.model.EnterprisePlatformWorkEntity;
import com.ehootu.park.model.PublicInformationEntity;
import java.util.List;
import java.util.Map;
/**
*
*
* @author yinyujun
* @email
* @date 2017-09-21 10:21:37
*/
public interface EnterprisePlatformWorkService {
... |
/*
Document : SME_Lending
Created on : August 21, 2015, 11:56:42 AM
Author : Anuj Verma
*/
package com.spring.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persisten... |
package net.dragberry.taglibrary.tags;
import java.io.IOException;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.BodyContent;
import javax.servlet.jsp.tagext.BodyTagSupport;
public class Paragraph extends BodyTagSupport{
private static final long serialV... |
package com.ss.android.ugc.aweme.miniapp.g;
public final class ab {
private static volatile aa a;
public static aa a() {
// Byte code:
// 0: ldc com/ss/android/ugc/aweme/miniapp/g/ab
// 2: monitorenter
// 3: getstatic com/ss/android/ugc/aweme/miniapp/g/ab.a : Lcom/ss/android/ugc/a... |
package com.chuxin.family.accounting;
import java.util.Calendar;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import andro... |
package com.farm.report;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.farm.monitor.R;
import com.farm.monitor.R.color;
import com.farm.monitor.R.dimen;
import android.app.Activity;
import android.database.Cursor;
import android.graphics.Typeface;
import ... |
package com.demo.modules.sys.entity;
import org.springframework.data.annotation.Id;
import java.io.Serializable;
import java.sql.Timestamp;
/**
* 系统日志
*
* @author Centling Techonlogies
* @email xxx@demo.com
* @url www.demo.com
* @date 2017年8月14日 下午8:05:17
*/
public class SysLogEntity implements Serializable ... |
package com.mycompany.tripler_merge;
/**
* Created by Vidya Prabhu on 21-07-2017.
*/
import android.app.Application;
import android.content.Intent;
/**
* Created by Vidya Prabhu on 17-07-2017.
*/
import android.app.Application;
import android.content.Intent;
public class App extends Application {
@Override
... |
package com.tencent.mm.plugin.account.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.tencent.mm.ab.l;
import com.tencent.mm.kernel.g;
import com.tencent.mm.modelfriend.a;
class o$13 implements OnClickListener {
final /* synthetic */ l bFp;
final ... |
package com.weigs.BridgePattern;
/**
* @author weigs
* @date 2017/7/3 0003
*/
public class RedCircle implements DrawAPI{
@Override
public void drawCircle(int radius, int x, int y) {
System.out.println("Drawing Circle[ color:red, radius:"
+radius+",x:"+x+",y:"+y+"]");
}
}
|
package modul3.bruchrechnung;
public class Fraction {
private int numerator;
private int denominator;
private int wholeNumber;
public Fraction(int numerator, int denominator) {
this.numerator = numerator;
this.denominator = denominator;
}
public Fraction(int wholeNumber, int n... |
package com.mes.cep.meta.ProcessSegmentModel;
/**
* @author Stephen·Wen
* @email 872003894@qq.com
* @date 2017年4月18日
* @Chinesename 材料段规格
*/
public class MaterialSegmentSpecification {
}
|
package com.sdk4.boot.bo;
import com.alibaba.fastjson.JSON;
import com.sdk4.boot.enums.UserTypeEnum;
import com.sdk4.common.util.JWTUtils;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang.StringUtils;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.u... |
package com.travix.medusa.busyflights.domain.busyflights;
import java.time.LocalDate;
public class BusyFlightsRequest {
private String origin;
private String destination;
private LocalDate departureDate;
private LocalDate returnDate;
private int numberOfPassengers;
public BusyFlightsRequest(String origin, String d... |
/*
* 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 project;
/**
*
* @author ASUS
*/
public class SinhVien {
private String maSV;
private String tenSV;
private Str... |
package lists;
import java.util.Comparator;
import entities.Invoice;
public class TotalComparator<E> implements Comparator<E>{
//Returns a value greater than 0 if the first argument has a larger grand total than the second argument
//Returns a value less than 0 if the second argument has a larger grand t... |
package com.tencent.mm.pluginsdk.model;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.os.AsyncTask;
import com.tencent.mm.pluginsdk.model.h.a;
import java.util.ArrayList;
class h$1 extends AsyncTask<Void, Void, Cursor> {
final /* synthetic */ String[] qyN;
... |
/*
* 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.beweb.lunel.programmation.exosEnVrac.algo;
/**
*
* @author lowas
*/
public class Exercice7 {
public static void lau... |
package ex1;
/*
@luizASSilveira
*/
import java.util.ArrayList;
public class Monitor {
private ArrayList<String> buffer = new ArrayList<>();
private int sizeBuffer;
private int contConsumidor = 0;
private int contPublicador = 0;
private boolean empty = true;
public Monitor(int sizeBuffer) {
... |
package com.facebook.react.common;
import java.util.HashMap;
import java.util.Map;
public class MapBuilder {
public static <K, V> Builder<K, V> builder() {
return new Builder<K, V>();
}
public static <K, V> HashMap<K, V> newHashMap() {
return new HashMap<K, V>();
}
public static ... |
package com.example.nkalchos19.aim1;
/**
* Created by Nkalchos19 on 2/4/2019.
*/
public class Contact {
public int contactID;
public String firstName;
public String lastName;
public String phone;
public String email;
public String contactType;
public Contact (int contact... |
package com.tencent.mm.aa;
import android.annotation.SuppressLint;
import com.tencent.mm.a.o;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.modelsfs.FileOp;
import com.tencent.mm.network.u;
import com.tencent.mm.sdk.platformtools.ad;
import com.tencent.mm.sdk.platformtools.ao;
import co... |
package repls04;
import java.util.*;
public class UniqueNum {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int size = scan.nextInt();
int[] nums = new int[size];
for (int i = 0; i < size; i++) {
nums[i] = scan.nextInt();
}
... |
/*
* created 12.12.2005
*
* $Id:ForeignKeyEditPart.java 2 2005-11-02 03:04:20Z csell $
*/
package com.byterefinery.rmbench.util;
import org.eclipse.draw2d.Cursors;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.gef.ConnectionEditPart;
import org.eclipse.gef.EditPart;
import org.eclipse.gef.Request;
... |
package util.media;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.nio.channels.WritableByteChannel;
import com.coremedia.iso.boxes.Container;
im... |
package view;
import java.util.Scanner;
import entity.Account;
public class AccountView {
private Account account;
private int accId;
private double money;
private String password;
public Account getAccount() {
return account;
}
public void setAccount(Account account) {
this.account = account;
}
public d... |
package com.example.spring04.modelVO;
public class Criteria {
private int atPage;
private int perPagePost;
private int startPost;
private int endPost;
public Criteria() {
this.atPage = 1;
this.perPagePost = 10;
}
public void setAtPage(int atPage) {
if(atPage <= 0) {
this.atPage = 1;
... |
package org.alienideology.jcord.event.handler;
import org.alienideology.jcord.event.guild.member.GuildMemberLeaveEvent;
import org.alienideology.jcord.internal.object.IdentityImpl;
import org.alienideology.jcord.internal.object.guild.Guild;
import org.alienideology.jcord.internal.object.guild.Member;
import org.json.J... |
package ru.learn2code.yrank.service;
import ru.learn2code.yrank.model.User;
public interface UserService {
User save(User user);
User findByUsername(String username);
User getCurrentUser();
User findByEmail(String email);
void saveDefaultSettings();
}
|
/**
*
*/
package com.dev.jdbc;
/**
* @author Tejas Chaudhary
*
*/
public class Comments {
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.