text stringlengths 10 2.72M |
|---|
package leetCode;
/**
* Created by gengyu.bi on 2014/12/31.
*/
public class LinkedListCycleII {
public ListNode detectCycle(ListNode head) {
if (head == null)
return null;
ListNode fast = head;
ListNode slow = head;
while (true) {
if (fast.next == null)
return null;
fast = fast.next;
if (fas... |
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.ArrayList;
public class MathClass {
public static void main(String[] args) {
int max = Math.max(1,2);
int min = Math.min(1,2);
var sqrt = Math.sqrt(64);
var abs = Math.abs(-10);
... |
package org.hpin.webservice.bean;
import java.util.Date;
/**
*
* @description: erp_customer_receive表;
* create by henry.xu 2016年12月2日
*/
public class ErpCustomerReceive {
private String id; //主键ID
private String batchNo;//批次号(年月日时分秒,此接口被调用一次,不管接口有多少人,此批次号都是一样的)
private String serviceCode;//条形码
private String... |
/**
* @author dp0470
*
*/
package com.codigo.smartstore.timeline.range; |
package com.trump.auction.back.sys.dao.read;
import java.util.HashMap;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.trump.auction.back.sys.model.Role;
import com.trump.auction.back.sys.model.ZTree;
@Repository
public interface RoleRe... |
package com.gjm.file_cloud.service;
import org.springframework.security.authentication.AnonymousAuthenticationToken;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Service;
@Service
public class Aut... |
package com.cqut.util;
import java.util.HashMap;
import java.util.Map;
import org.apache.xmlbeans.impl.xb.xsdschema.impl.PublicImpl;
/**
* 系统常量
* @author zzk
* */
public class SystemConstants {
/**
* 回拨IP
* */
public static final String CALLBACKIP="118.178.143.5";
/**
* 回拨流量代理ID
* */
//public stati... |
package Printer;
import Logic.Game;
import Utils.MyStringUtils;
public class ReleasePrinter extends BoardPrinter{
private void encodeGame(Game game) {
board = new String[dimX][dimY];
for(int i = 0; i < dimX; i++) {
for(int j = 0; j < dimY; j++) {
board[i][j] = space;
board[i][j]... |
package com.corejava.basic;
public class MethodLocalOuterClass {
public void outerMethod() {
int x=10;
//final int x=10;
//Method Local Inner class
class Inner{
void innerMethod() {
System.out.println("Inside Inner Method..");
//in jdk 1.8 possible,upto jdk 1.7 error
System.out.pri... |
package com.mpowa.android.powapos.apps.powatools.util;
import java.io.UnsupportedEncodingException;
/**
* Created by Powa on 11/4/15.
*/
public class StringUtil {
public static String byteArrayToHexString(byte[] data){
StringBuilder sb = new StringBuilder();
for(byte b : data){
Stri... |
package kr.co.ehr.user.web;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.w... |
// package com.document.feed;
//
// import com.document.feed.model.Article;
// import com.document.feed.service.NewsService;
// import com.fasterxml.jackson.annotation.JsonInclude.Include;
// import com.fasterxml.jackson.core.JsonProcessingException;
// import com.fasterxml.jackson.databind.ObjectMapper;
// import com.... |
package com.myvodafone.android.front.usage;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;
import com.... |
package com.example.asus.taskapp.AccountUtils;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
imp... |
package me.draimgoose.draimmenu.commandtags;
public enum PaywallOutput {
Blocked,
Passed,
NotApplicable
}
|
package org.eclipse.wb.swt;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import java.util.Scanner;
import javax.swing.JOptionPane;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JButton;
impo... |
package dogs;
public class Newfoundland implements DogCharacteristics {
@Override
public String breedPurpose(){
return("Working, Rescue");
}
@Override
public String coat() {
return("Thick");
}
@Override
public String size() {
return("Large");
}
@Override
public String description() {
return("As the ... |
package com.zxt.compplatform.formengine.service;
import java.util.List;
import org.jdom.Document;
import org.jdom.Element;
import com.zxt.compplatform.datasource.entity.DataSource;
import com.zxt.compplatform.formengine.entity.dataset.FieldDefVO;
import com.zxt.compplatform.formengine.entity.dataset.TableVO;
import ... |
package a50;
import java.util.*;
/**
* @author 方康华
* @title FourSum
* @projectName leetcode
* @description No.18 Medium
* @date 2019/7/29 22:15
*/
// 与前面的2Sum,3Sum不同,这里采用Set对结果去重
public class FourSum {
private Set<List<Integer>> set = new HashSet<>();
private List<List<Integer>> result = new ArrayList<>... |
/*
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.privilege.app.models.controller;
public class DescripcionRestController {
}
|
package gluglu;
public class InfoPribadi {
private String nama;
private String nomor;
private String email;
private String alamat;
private String jeniskelamin;
public InfoPribadi(String nama, String nomor, String email, String alamat, String jeniskelamin){
setNama(nama);
setNomo... |
package BrazilCenter.models;
/***
* Taks type, new file or failed file,
* NewTask: It's the first time we deal with it;
* LocalFailedTask: the error records that stored in errRecords directory.
* RemoteTask: the task that generated by the reupload service.
* @author Fuli Ma
*
*/
public enum TASKTYPE... |
package com.zserg.dao;
import java.sql.Timestamp;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.zserg.model.Car;
@Repository
public class CarDAOImpl... |
package pocketserver.packets;
import java.net.DatagramPacket;
import java.nio.ByteBuffer;
import pocketserver.PacketHandler;
public class Packet84LoginStatusPacket {
private int unknown;
Packet84LoginStatusPacket(byte[] data) {
ByteBuffer bb = ByteBuffer.wrap(data);
bb.get(unknown);
}
pub... |
package sudoku13.interfaces;
import java.util.List;
import sudoku13.*;
public interface Subject {
void attach(Observer observer);
void detach(Observer observer);
void notifyObservers();
List<Integer> getState();
} |
package delegation;
import com.danube.scrumworks.api2.client.ScrumWorksAPIService;
/**
* This class will be responsible for getting
* and returning all data associated with
* the User Activity requests.
*
* @author James Manes (JAM38220)
*/
public class KanbanActivityDelegate {
private ScrumWorksAPIService ap... |
/*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.cg.test.repository;
import com.cg.test.model.Country;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface ICountryRepository extends JpaRepository<Country, Long> {
}
|
/* $Id$ */
package djudge.utils.xmlrpc;
import java.net.URL;
import org.apache.xmlrpc.client.XmlRpcClient;
import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
import org.apache.xmlrpc.client.XmlRpcCommonsTransportFactory;
public class RPCClientFactory
{
final static int defaultConnectionTimeout = 100... |
package com.google.android.libraries.photoeditor.filterparameters;
public class UPointParameter extends FilterParameter {
private static final int[] UPOINT_PARAM_TYPE = new int[]{0, 1, 2, 501, 502, 4, 201, 202, 203};
protected int[] getAutoParams() {
return UPOINT_PARAM_TYPE;
}
public int get... |
package br.com.rca.apkRevista.bancoDeDados.beans;
import java.io.File;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax... |
package com.example.dam.recetario;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import andr... |
package sr.hakrinbank.intranet.api.service;
import sr.hakrinbank.intranet.api.model.NewsPv;
import java.util.List;
/**
* Created by clint on 8/3/17.
*/
public interface NewsPvService {
List<NewsPv> findAllNewsPv();
NewsPv findById(long id);
void updateNewsPv(NewsPv module);
List<NewsPv> findAll... |
package io.gtrain.router;
import io.gtrain.handler.EmailVerificationHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.reactive.function.server.RouterFunction;
import org.springframework.web.reactive.function.server.R... |
package com.toda.consultant;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import com.amap.api.maps2d.AMap;
import com.amap.api.maps2d.CameraUpdateFactory;
import com.amap.api.maps2d.MapView;
import com.amap.api.maps2d.model.BitmapDescriptorFactory;
import com.amap.api.maps2d.model.LatLng;
import c... |
package com.clouway.task2;
public class TreeNode {
private Object data = null;
private TreeNode parent = null;
private TreeNode [] children = {null, null};
/**
* Constructor setting a parent
* @param parent
*/
public TreeNode(TreeNode parent){
this.parent = parent;
}
... |
import java.util.Vector;
public class triangolo extends poligono{
private static double numeroFisso = 0.289;
public triangolo(int i , Vector<punto> p){
super(i,p);
}
public triangolo() {
super(0);
}
public double getfisso(){
return numeroFisso;
}
public double perimetro(){
return (pt.get(0)).dista... |
package org.dajlab.mondialrelayapi.soap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Classe Java pour ret_WSI2_AdressePointRelais complex type.
*
* <p>
* Le f... |
package com.git.cloud.policy.model.po;
import com.git.cloud.common.model.base.BaseBO;
/**
* @Title RmVmRulesPo.java
* @Package com.git.cloud.policy.model.po
* @author yangzhenhai
* @date 2014-9-11 下午4:29:58
* @version 1.0.0
* @Description
*
*/
public class RmVmRulesPo extends BaseBO ... |
package com.kueblearn.user_service.service;
import com.kueblearn.user_service.domain.Role;
import com.kueblearn.user_service.domain.User;
import com.kueblearn.user_service.model.UserDTO;
import com.kueblearn.user_service.repos.RoleRepository;
import com.kueblearn.user_service.repos.UserRepository;
import java.util.Lis... |
package com.ws.serlvet;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpS... |
package com.krish.thread;
public class DeadLockTest {
public static void main(String[] args) {
Thread t1 = new Thread(new Runnable() {
public void run() {
try {
firstThread();
} catch (InterruptedException e) {
// TODO Au... |
package heylichen.sort.pq;
public interface PriorityComparator<T> {
/**
* compare the priority of a to b
* @param a
* @param b
* @return true if priority of a is higher than b,
* false if priority of a is less than or equal to b
*/
boolean higherThan(T a, T b);
} |
package vazkii.morphtool;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Nullable;
import net.minecraft.block.BlockState;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemUseContext;
impo... |
package com.jd.ipc.mapreduce.r;
import java.io.IOException;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.log4j.Logger;
import org.rosuda.REngine.RList;
import org.rosuda.REngine.Rserve.RConnection;
import com.jd.ipc.mapreduce... |
import java.util.*;
import java.io.*;
import java.lang.*;
public class QuestionNo1
{
public static int maxActivities(int start[], int end[], int total)
{
int count;
if(total>0){
Arrays.sort(end);
int i=0, j;
count = 1;
for (j = 1; j < total; j++)
{
... |
package Iterators;
public class NumberPyramid3 {
public static void main(String[] args) {
for(int count = 1; count<=5;count++) {
for(int count2 = 5; count2>=count; count2--) {
System.out.print("*");
}
for(int count3 = 1; count3 <= count; count3++) {
System.out.print(count - count3 + 1);
}
... |
package se.avelon.daidalos.fragments;
import android.content.Context;
import android.hardware.Camera;
import android.hardware.display.DisplayManager;
import android.hardware.display.VirtualDisplay;
import android.media.MediaCodec;
import android.media.MediaCodecInfo;
import android.media.MediaCodecList;
impor... |
package org.tempuri;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>Th... |
package com.gsccs.sme.plat.svg.dao;
import com.gsccs.sme.plat.svg.model.SitemT;
import com.gsccs.sme.plat.svg.model.SitemTExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SitemTMapper {
int countByExample(SitemTExample example);
int deleteByExample(SitemTExample ex... |
/**
* The classes in this package represent the JPA implementation
* of ContainerBank's persistence layer.
*/
package org.hackathon.packapp.containerbank.repository.jpa;
|
package com.metoo.foundation.dao;
import org.springframework.stereotype.Repository;
import com.metoo.core.base.GenericDAO;
import com.metoo.foundation.domain.LuckyDraw;
@Repository("luckyDrawDAO")
public class LuckyDrawDAO extends GenericDAO<LuckyDraw>{
}
|
package com.konew.musicapp.model.response;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import java.util.Date;
import java.util.List;
@Builder
@Getter
@Setter
public class TrackResponse
{
private Long id;
private String title;
private String artist;
private int deezerRanking;
... |
package com.factory.factorydeletedetails;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class FactoryDeleteDetailsApplication {
public static void main(String[] args) {
SpringApplication.run(FactoryDel... |
package com.worldchip.bbpaw.bootsetting.util;
import java.util.List;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiConfiguration.KeyMgmt;
import android.util.Log;
import com.worldchip.bbpaw.bootsetting.R;
public class WifiUtils {
public static final in... |
package com.cht.training.Lab11;
public abstract class Employee {
public int getSalary(){
return 0;
}
abstract void working(); //若 class下有方法被宣告為abstract,calss也必須為abstract
}
|
package threadtest;
public class ThreadYieldDemo {
public static void main( String[] args )
{
MyThreadYield t = new MyThreadYield();
t.start();
for( int i = 0; i<10; i++)
{
System.out.println("Main thread");
}
}
}
class MyThreadYield ex... |
/*
* Written by Erhan Sezerer
* Contact <erhansezerer@iyte.edu.tr> for comments and bug reports
*
* Copyright (C) 2014 Erhan Sezerer
*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, ... |
package by.orion.onlinertasks.di.modules.presentation;
import dagger.Module;
@Module
public class TasksPresenterModule {
}
|
package top.ysccx.myfirstapp;
import android.content.ContentValues;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class DataBaseHelper extends SQLiteOpenHelper {
public DataBaseHelper(Context context, String name, SQLiteData... |
package com.wipro.arrays;
public class Ex13 {
public static void main(String[] args) {
// TODO Auto-generated method stub
int[][] a=new int[2][2];
int[][] b=new int[2][2];
int k=0;
if(args.length!=4)
System.out.println("Please enter 4 integer numbers");
else
{
System.out.println("The given array ... |
/*
* Copyright 1999-2017 Alibaba Group Holding Ltd.
*
* 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 applica... |
package functions;
/*
* Created by pavel on 04.10.16.
*/
public class Ackey1 implements IFunction
{
public float getLimit() { return 500; }
public float getValue(int D, float[] values)
{
float sum = 0;
for (int i = 0; i < D - 1; i++)
{
float x0 = value... |
package practica4;
/**
*
* @author FranBarbosa
*/
public class Practica4 {
public static void main(String[] args) {
ManejaExperto me = new ManejaExperto();
me.obtenCasos();
}
}
|
package com.kingnode.gou.dao;
import java.util.List;
import com.kingnode.gou.entity.ActivityProduct;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
@SuppressWarnings("A... |
package com.zhongyp.advanced.pattern.bridge;
/**
* project: demo
* author: zhongyp
* date: 2018/3/27
* mail: zhongyp001@163.com
*/
public class Test {
public static void main(String[] args){
Shape shape = new Circular();
Color color = new Red();
shape.draw(color);
Shape shape1... |
package org.maple.jdk8.stream;
import java.util.Arrays;
import java.util.List;
/**
* @Author Mapleins
* @Date 2019-04-07 11:41
* @Description
*/
public class Test12 {
public static void main(String[] args) {
List<String> list = Arrays.asList("hello", "world", "hello world");
// 找出列表中长度为5的单词... |
package algorithms.fundamentals.sub2_dataabs.exercises;
import edu.princeton.cs.algs4.Interval1D;
import edu.princeton.cs.algs4.StdOut;
import edu.princeton.cs.algs4.StdRandom;
import org.apache.commons.lang3.tuple.Pair;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Chen Li on 2017/... |
package br.com.zolp.estudozolp.bean;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;
/**
* Classe responsável pelas informacoes de UnidadePesquisa.
*
* @author mamede
* @version 0.0.1-SNAPSHOT
*/
@JsonIn... |
package com.zl.mapper;
import com.zl.pojo.LogDO;
import com.zl.pojo.logDOExample;
import java.util.List;
import com.zl.util.AjaxPutPage;
import org.apache.ibatis.annotations.Param;
public interface LogMapper {
int countByExample(logDOExample example);
int deleteByExample(logDOExample example);
int dele... |
/*--------------------------------
* Author: Jeremy Dalcin
* Class: Creates a linked list that can be traversed in both directions
*/
public class MyLink {
public String familyMember; // value variable
public int age; // value variable
public MyLink forward; // reference variable goes forward in list
public ... |
package com.weightgraph;
/*
* 用于图中两个节点之间添加连接(包含了稀疏图和稠密图)
*/
public interface Graph<W> {
public void addEdge(int v, int w,W weight);
public void show();
public int getN();
public int getM();
public GraphIterator<W> getIterator(int v);
}
|
package web.id.azammukhtar.subico.Utils;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Log;
public class SessionManager {
private static final String TAG = "SessionManager";
private SharedPreferences pref;
private SharedPreferences.Editor editor;
priva... |
package com.seedo.ligerui.action.dining.diningstatistics;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URLDecoder;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util... |
package com.skrebtsov.xxtedixx.aprofitalibrary;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.os.AsyncTask;
import android.provider.Settings;
import android.sup... |
package com.tt.rendezvous.core.graph.facade.impl;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import com.tt.rendezvous.core.beans.Relation;
public class FuzzyRelation extends Relation {
@Override
public byte[] getKey() {
byte[]... |
package com.buddybank.mdw.dataobject.domain;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
public class Attributes implements Serializable {
private static final long serialVersionUID = 8741076501760554366L;
private final Map<String, Serializable> attributes = new HashMap<String, Ser... |
/*
* 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.pmm.sdgc.ws.model;
import com.pmm.sdgc.model.PortariaRelacao;
import java.time.LocalDate;
import java.time.LocalDateTime;
... |
import android.Manifest;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.IntentSender;
import android.content.SharedPreferences;
import and... |
package se.avelon.daidalos;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
import java.util.ArrayList;
public class Utilities {
public static String float2String(float[] floats) {
String msg = "";
for(float f : floats) {
msg ... |
/**
*
*/
package com.PIM.persistence;
import com.PIM.API.fields.FieldType;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
/**
* @author Henrik Lundin
*
*/
public class FieldTypePer... |
package com.liuyufei.bmc_android.admin;
import android.database.Cursor;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.github.mikephil.charting.components.AxisBase;
import com.github.mikephil.ch... |
/**
* Main package for mbogo-java-getopt.
*
* @author Mike Bogochow
* @version 1.0.0, Feb 9, 2015
*/
package mbogo.getopt; |
package Problem_7569;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.LinkedList;
import java.util.Queue;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new ... |
package Herencia;
public class Practicante extends Persona {
// tipo se refiere a profesional o no//
private String tipo;
public Practicante(String nombre, int edad, float sueldo, String tipo) {
super(nombre, edad, sueldo);
this.tipo = tipo;
}
public void sueldopracticante() {
if (getTipo()=="... |
package cs455.overlay.wireformats;
import java.io.*;
public class RegistryRequestsTrafficSummary extends Event {
public byte getType() {
return Protocol.REGISTRY_REQUESTS_TRAFFIC_SUMMARY;
}
public byte[] getBytes() throws IOException {
ByteArrayOutputStream baOutputStrea... |
package cn.vaf714.servlet;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import cn.vaf714.entity.CartList;
import cn.vaf714.entity.GeneralUse... |
package main.java.commands;
/**
* Created by Allin on 5/25/2016.
*/
import main.java.GeneralCommands;
import main.java.ICommand;
import sx.blah.discord.Discord4J;
import sx.blah.discord.handle.obj.IMessage;
import sx.blah.discord.util.DiscordException;
import sx.blah.discord.util.HTTP429Exception;
import sx.blah.di... |
package ua.siemens.dbtool.service;
import ua.siemens.dbtool.model.entities.ProjectManager;
import java.util.Collection;
/**
* Service interface for {@link ProjectManager}
*
* @author Perevoznyk Pavlo
* creation date 30 August 2017
* @version 1.0
*/
public interface ProjectManagerService {
void sav... |
/*
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/**
* @developer: WangY
* @时间:2016年10月14日 下午8:52:15
* @项目名:platformData
* 高弗特 goFirst
*/
package cn.com.hy.service;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.ut... |
package serve.serveup.utils.adapters;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutI... |
package net.maizegenetics.analysis.clustering;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import net.maizegenetics.dna.snp.NucleotideAlignmentConstants;
/**
* HaplotypeClusterer clusters haplotypes... |
package io.cde.account.service.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.bson.types.ObjectId;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
i... |
package team21.pylonconstructor;
import android.app.Activity;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import andro... |
/**
* This is a class that calculates compound interest rates.
* @author Jake Petroules
* @version 1.0 final
*/
public class Account
{
private int initialBalance;
private float interestRate;
/**
* Creates an account with given initial balance and interest rate.
* @param initialBalance The starting balance.... |
import javax.swing.JFrame;
/**
* Created by Гамзат on 04.06.2017.
*
* Урок 53 - GUI - JFrame, JOptionPane, JTextField, JPasswordField (часть 3)
*/
public class Bender {
public static void main(String[] args) {
Fry okno = new Fry();
okno.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
ok... |
package com.gxjtkyy.standardcloud.common.aop;
import com.alibaba.fastjson.JSON;
import com.gxjtkyy.standardcloud.common.annotation.LogAction;
import com.gxjtkyy.standardcloud.common.domain.vo.RequestVO;
import io.jsonwebtoken.Claims;
import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
import... |
package com.github.bartimaeusnek.bettervoidworlds.common.tileentities;
import net.minecraft.entity.Entity;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.Teleporter;
import net.minecraft.world.World;
import net.minecraft.world.WorldServer;
import net.minecraftforge.common.DimensionManager;
impo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.