text stringlengths 10 2.72M |
|---|
package Commander_Keen.Mobs;
import Commander_Keen.commander_keen;
import Commander_Keen.Lib.NH_Settings;
import net.minecraft.entity.EntityLivingData;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
impor... |
package com.espendwise.manta.model.view;
// Generated by Hibernate Tools
import com.espendwise.manta.model.ValueObject;
/**
* CatalogView generated by hbm2java
*/
public class CatalogView extends ValueObject implements java.io.Serializable {
private static final long serialVersionUID = -1;
public static fi... |
package nl.quintor.studybits.studybitswallet.university;
import android.app.Application;
import android.arch.lifecycle.AndroidViewModel;
import android.arch.lifecycle.LiveData;
import android.support.annotation.NonNull;
import java.util.List;
import nl.quintor.studybits.studybitswallet.room.AppDatabase;
import nl.qu... |
package com.company.test;
import com.company.dao.StudentDao;
import com.company.dao.impl.StudentDaoImpl;
import com.company.pojo.Student;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* @Description:
* @Data:Created in 15:28
* @Modified By:
*/
public class StudentDaoTest {
priva... |
package com.example.Journal.provider;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.example.Journal.R;
import java.util.ArrayList;
/**
* Created with IntelliJ ... |
package Lab02.Zad3;
public class Artillery implements Weapon {
@Override
public void useWeapon() {
System.out.printf("Shooting with artillery");
}
}
|
package com.mediacom.service;
import java.util.List;
import com.mediacom.domain.Member;
//example of just the web service level - omitting transactional methods
public interface MemberServiceDao
{
public Member findById(int id);
public Member findByEmail(String email);
public List<Member> findAllOrdere... |
package com.sietecerouno.atlantetransportador.fragments;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.constraint.ConstraintLayout;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.view... |
package com.example.karan.instagramlogin.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import com.example.karan.instagramlogin.R;
import com.e... |
package ro.ase.cts.program;
import ro.ase.cts.clase.*;
public class Main {
public static void main(String[] args) {
Medicament medSpital01 = new Medicament ("Paracetamol");
//medSpital01.achizitioneazaMedicament();
MedicamentAdapter medFarmacie01 = new MedicamentAdapter(medSpital01);
medFarmacie01.vindeM... |
package instructable.server.controllers;
import instructable.server.backend.ExecutionStatus;
import instructable.server.hirarchy.CalendarEvent;
import instructable.server.hirarchy.ConceptContainer;
import instructable.server.hirarchy.GenericInstance;
import instructable.server.hirarchy.InstanceContainer;
import instru... |
package com.tencent.mm.plugin.appbrand;
import com.tencent.mm.plugin.appbrand.widget.c.h;
class g$12 implements Runnable {
final /* synthetic */ g fdd;
final /* synthetic */ h fdi;
g$12(g gVar, h hVar) {
this.fdd = gVar;
this.fdi = hVar;
}
public final void run() {
this.f... |
package com.bnj.indoormap;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v4.app.ListFragment;
import android.util.Log;
import android.uti... |
package uk.gov.hmcts.befta.util;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.... |
package com.youthchina.dao.tianjian;
import com.youthchina.domain.Qinghong.UserInfo;
import com.youthchina.domain.tianjian.PersonInfluence;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
/**
* Created by zhongyangwu on 11/10/18.
*/
@Mapper
@Component
public interface P... |
package org.eginez;
import java.util.*;
public class Set8 {
public static class Range {
int max;
int min;
public Range(int min, int max) {
this.max = max;
this.min = min;
}
public boolean overlaps(Range other) {
return min < other.max;
... |
package com.summary.java.web;
import com.google.common.base.Strings;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;
public class XssHttpServletRequestWrapper extends HttpServletRequestW... |
package essentials;
public class HelloWorld {
public static void main(String[] args) {
String i = "Programowanie";
String j = "czas zaczac";
for(int k = 0; k < 10 ; k++) {
for (int l = 0; l < 8; l++) {
System.out.print(i + " " + j + ", ");
}
... |
package com.ttianjun.controller;
import com.ttianjun.model.LoginLog;
public class LoginLogCtrl extends BaseController<LoginLog>{
public LoginLogCtrl() {
super(LoginLog.class);
}
}
|
package com.designPattern.creational.factory;
public class Client {
public static void main(String[] args) {
Car baleno = CarFactory.buildCar(CarType.HATCHBACK);
baleno.construct();
Car verna = CarFactory.buildCar(CarType.SEDAN);
verna.construct();
Car scorpio = CarFactory.buildCar(CarType.SUV);
scorpio... |
package name.kevinlocke.appveyor;
import java.io.IOException;
import java.lang.reflect.Type;
import com.google.gson.JsonParseException;
import com.google.gson.reflect.TypeToken;
import com.squareup.okhttp.Response;
/**
* AppVeyor API Client with enhancements not present in the generated
* {@link name.kevinlocke.ap... |
package fanli.selfcode.floyd;
import java.util.Arrays;
// 求出从每一个顶点到其他顶点的最短路径。
// 依次加入各个顶点作为中间结点来更新各结点间路径长度
public class Floyd_Algorithm {
public static void main(String[] args) {
char[] vertex = { 'A', 'B', 'C', 'D', 'E', 'F', 'G' };
int[][] matrix = new int[vertex.length][vertex.length];
... |
package com.sezayir.demo.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import... |
package com.wisefn.dls.dls_hyungjun.fragment;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView... |
package test.main;
import test.mypac.Remocon;
public class MainClass04 {
public static void main(String[] args) {
Remocon r1=new Remocon() {
@Override
public void up() {
System.out.println("볼륨을 올려요");
}
@Override
public void down() {
System.out.println("볼륨을 내려요");
}
};
//r1 지역변수에 담긴값을... |
package org.mlgb.dsps.executor;
import static org.junit.Assert.*;
import java.util.Collections;
import java.util.List;
import java.util.Properties;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.mlgb.dsps.monitor.Jones;
import org.mlgb.dsps.util.Consts;
im... |
abstract class A
{
abstract public void disp();
public void display()
{
System.out.println("Class A Display");
}
}
class B extends A
{
public void disp()
{
System.out.println("Class B Disp");
}
}
public class Abstract
{
public static void main(String args[])
{
B ob = new B();
ob.dis... |
package earth.eu.jtzipi.jbat.ui.tree;
import earth.eu.jtzipi.modules.io.IOUtils;
import javafx.scene.control.TreeCell;
import javafx.scene.image.ImageView;
import java.nio.file.Path;
public class ImagePathTreeCell extends TreeCell<Path> {
String text;
ImageView iconView;
ImagePathTreeCell() {
}
... |
package NingGimi;
import org.eclipse.swt.program.Program;
import org.eclipse.swt.widgets.Label;
public class SukerTray_Launcher {
private String launchOrder;
private Label statusLabel;
SukerTray_Launcher(Label l) {
statusLabel = l;
}
public void setLaunchOrder(String s) {
launchOrder = s;
... |
package com.qq149.zhibj149.base.impl.menu;
import com.jeremyfeinstein.slidingmenu.lib.SlidingMenu;
import com.lidroid.xutils.ViewUtils;
import com.lidroid.xutils.view.annotation.ViewInject;
import com.lidroid.xutils.view.annotation.event.OnClick;
import com.qq149.zhibj149.MainActivity;
import com.qq149.zhibj149.R;
imp... |
package wx.realware.grp.pt.pb.respority.service.impl;
import org.apache.commons.collections.ListUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.ann... |
package com.bignerdranch.android.bqtabs;
public class Special {
private int itemid;
public Special(int itemid){
this.itemid = itemid;
}
public int getItemid() {
return itemid;
}
}
|
/*
* Copyright (c) 1998-2006 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under th... |
package com.pe.server.taxiApp.service;
import java.util.List;
import org.springframework.stereotype.Service;
import com.pe.server.taxiApp.models.Cliente;
import com.pe.server.taxiApp.models.Paciente;
@Service
public interface PacienteService {
Paciente findById(Integer id);
Paciente findByNombreAndApellido(String... |
package melerospaw.deudapp.iu.adapters;
import android.content.Context;
import android.support.annotation.IntDef;
import android.support.annotation.NonNull;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.CardView;
import android.suppor... |
package com.huawei.esdk.csdemo.view.panel;
import java.awt.Rectangle;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JCompone... |
package gameview;
import game.GameController;
import javax.swing.*;
import java.awt.*;
public abstract class GameView extends JComponent {
private final GameController state;
public GameView(GameController state) {
this.state = state;
}
@Override
protected void paintComponent(Graphics g) {
super.paintComp... |
package com.meihf.mjoyblog.controller;
import java.io.IOException;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import... |
package com.payload.type;
public class AdhocConnectivityPayload extends Payload {
}
|
package com.snab.tachkit.dialogs;
import android.view.View;
import android.widget.TextView;
import com.snab.tachkit.R;
/**
* Created by Таня on 23.01.2015.
* Окошко, которое будет выводить сообщения об ошибках
*/
public class ErrorMessage extends SelectDialogFragment {
String text;
public void setTextMes... |
package br.senac.dsw.servlets;
import br.com.senac.dsw.dao.DAOCategoria;
import br.com.senac.dsw.dao.DAOProduto;
import br.com.senac.dsw.model.Produto;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servle... |
package com.example.demo.model;
public class BaseModel {
public static final class constants{
public constants(){}
public static int success=0;
public static int fail=-1;
public static String successMsg = "success";
public static String failMsg = "fail";
}
publ... |
/**
* Copyright 2010 Tobias Sarnowski
*
* 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 la... |
package com.github.swapnil.LabFolderProject.dao.impl;
import org.springframework.stereotype.Component;
import com.github.swapnil.LabFolderProject.dao.LabNotebookDao;
@Component
public class LabNotebookDaoImpl implements LabNotebookDao {
// private static final String TEST_DATA_1 = "Word Words Wor word";
private st... |
/**
*/
package nassishneiderman;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Action Block</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link nassishneiderman.ActionBlock#getActionName <em>Action Name</em>}</li>
* <li>{@... |
public class Tank extends ArmyCar {
private int calibr;
Tank(String name, int speed, int mass, int numberOfPassangers, int countOfWhils) {
super(name, speed, mass, numberOfPassangers, countOfWhils);
}
public int getCalibr() {
return calibr;
}
public void setCalibr(int calibr) {
this.cal... |
package com.tiandi.logistics.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tiandi.l... |
package org.tomat.agnostic;
/**
* Created by Kiuby88 on 18/10/14.
*/
//TODO when AgnosticElement will be migrated to AgnosticComponent
public interface Agnostic {
}
|
package day05;
public class BreakEx01 {
/*
* 무한반복문
* - 반복문의 횟수를 정확히 모를 때 주로 사용하고
* 자바에서는while(true) 문장을 많이 사용
*/
public static void main(String[] args) {
int i=1;
while(true) {
if(i==15)
break;
System.out.println(i);
i++;
}
}
}
|
package com.ibeiliao.pay.impl;
/**
* 功能:用户从哪个设备发起支付,比如APP、H5、PC
* 详细:
*
* @author linyi, 2016/11/15.
*/
public enum DeviceSource {
APP((short)1),
H5((short)2),
SMALL_PROGRAM((short)3), //微信小程序
SHIPINTONG_PUBLIC_ACCOUNT((short)4), //视频通微信公众账号
;
/**
* 来源
*/
private short so... |
package com.ybg.mq.dao;
import com.ybg.mq.domian.MQconsumer;
public interface MQconsumerDao {
MQconsumer getIsUse();
}
|
package vn.edu.techkids;
/* TODO packaage exanplation */
import vn.edu.techkids.controllers.BulletController;
import vn.edu.techkids.controllers.EnemyPlaneController;
import vn.edu.techkids.controllers.PlaneController;
import vn.edu.techkids.controllers.PlaneDirection;
import vn.edu.techkids.models.GameObject;
import... |
package com.DV.controller;
import com.DV.service.dataGraphService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import java.ut... |
package datastructure.graph;
/**
* @Author weimin
* @Date 2020/10/22 0022 16:54
*/
public class Graph1 {
}
|
package com.manage.salary.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class LoginController {
@GetMapping("/loginPage")
public String loginPage() {
return "login-p... |
package com.android.lvxin.videos;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Matrix;
import android.media.MediaMetadataRetriever;
import android.net.Uri;
import android.os.AsyncTask;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import a... |
package com.baizhi.service;
import java.util.List;
import com.baizhi.dao.OrderDao;
import com.baizhi.entity.Order;
import com.baizhi.utils.MyBatisUtil;
public class OrderServiceImpl implements OrderService {
@Override
public void add(Order order) {
// TODO Auto-generated method stub
OrderDao od=(OrderDao) MyB... |
package spacely.fireit;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Vector3;
/**
* Created by Workspace on 28/01/2017.
*/
public abstract class State {
protected OrthographicCamera camera;
protected Vector3 vector;
p... |
package com.hcp.objective.web.olingo;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframewor... |
/*
* Copyright 2011 JBoss 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 agreed to in wri... |
package com.yunhe.cargomanagement.controller;
import com.yunhe.basicdata.entity.CommodityList;
import com.yunhe.basicdata.service.ICommodityListService;
import com.yunhe.cargomanagement.entity.PurComm;
import com.yunhe.cargomanagement.entity.Warehouse;
import com.yunhe.cargomanagement.entity.WarehouseReceipt;
import c... |
package boj;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.StringTokenizer;
public class BOJ_2583_영역_구하기 {
private static int M;
private static int N;
private static int... |
class Main {
public static void main(String[] args) {
{}
}
}
class A {
public int f() {
return 1;
}
public boolean g() {
return true;
}
public int [ ] h() {
return new int[7];
}
public A i() {
return new A();
}
}
|
package chatroom.model;
import chatroom.server.room.Room;
import java.io.*;
import java.net.Socket;
/**
* This contains information about the client of an user related to the connection like sockets and if the user is logged in.
* It also contains an UserAccountInfo, which contains information about the user himse... |
package com.apps.sayantan.grandmintlogin;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.EditText;
import android.widget.ProgressBar;
import android.widget.Toas... |
package org.example.config;
public interface ProxyConfigurator {
Object replaceWithProxyIfNeeded(Object object, Class implClass);
}
|
package fr.maileva.siclv2.oauth2.registration;
import java.io.IOException;
import java.security.Principal;
import javax.servlet.ServletException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springfram... |
package collection.list.ex;
public class Student implements Comparable{
public String fname;
public String lname;
public double gpa;
public void setFname(String fname) {
this.fname = fname;
}
public void setLname(String lname) {
this.lname = lname;
}
public void setGpa(double gpa) {
this.gpa = gpa;
}
public Str... |
/*
* 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.mycompany.springwebapp.serviceimpl;
import com.mycompany.springwebapp.dao.UserDao;
import com.mycompany.springwebapp.model... |
package com.busstop.busstopclient;
import android.app.AlertDialog;
import android.app.Fragment;
import android.app.FragmentTransaction;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.util.Log;
import android.view.LayoutInflater;
import an... |
package com.kute.webflux.listener;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* created by kute on 2019/04/30 11:16
*/
public interface MyListener {
void onEvent(MyEvent myEvent);
void onError(Throwable throwable);
void onCompleted();
@Data
@Accessors(chain = true)
cla... |
package category.arraysandstring;
import java.util.Arrays;
import java.util.Comparator;
public class LargestNumber {
public static void main(String[] args) {
LargestNumber number = new LargestNumber();
System.out.println(number.largestNumber(new int[]{34, 346}));
System.out.println(number.largestNumber(new i... |
package com.testing.class7;
public class RegexTest {
public static void main(String[] args) {
String s="[1, 2, 5, 3, 4, 6, 9, 7, 8, 0]";
// s=s.replace("1","x");
// s=s.replace("2","x");
// for (int i=0;i<5;i++){
// s=s.replace(i+"","x");
// }
// for(int i=1;i... |
package com.komaxx.komaxx_gl.bound_meshes;
import com.komaxx.komaxx_gl.primitives.Vertex;
import com.komaxx.komaxx_gl.util.KoLog;
public abstract class ABoundMesh implements IBoundMesh {
protected Vbo boundVbo = null;
protected int bytesPerVertex = Vertex.TEXTURED_VERTEX_DATA_STRIDE_BYTES;
protected boolean visib... |
/*Copyright [2018] [Jurgen Emanuels]
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 writing, software
... |
/*
* Copyright (c) 2009 University of Tartu
*/
package org.jpmml.manager;
import java.util.*;
import org.dmg.pmml.*;
import static com.google.common.base.Preconditions.*;
public class RegressionModelManager extends ModelManager<RegressionModel> {
private RegressionModel regressionModel = null;
public Regress... |
package artbot.com.sistemainspector.view.fragment;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransa... |
package com.tencent.mm.ui.tools;
import android.content.Intent;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import com.tencent.mm.al.b.a;
class CountryCodeUI$7 implements OnItemClickListener {
final /* synthetic */ CountryCodeUI uvR;
Cou... |
package cn.itcase.demo2;
public class Person_Test {
/**
* @param args
*/
public static void main(String[] args) {
Person p = new Person();
p.setAge(24);
p.setName("Áγ¯êÍ");
p.speak();
System.out.println(p.getAge()+p.getName());
}
}
|
package com.jim.multipos.ui.reports.debts;
import com.jim.multipos.config.scope.PerFragment;
import dagger.Binds;
import dagger.Module;
/**
* Created by Sirojiddin on 20.01.2018.
*/
@Module
public abstract class DebtsReportPresenterModule {
@Binds
@PerFragment
abstract DebtsReportPresenter provideDebt... |
package com.example.SBNZ.api;
import com.example.SBNZ.dto.CEPInputDTO;
import com.example.SBNZ.dto.ExerciseDTO;
import com.example.SBNZ.dto.MealDTO;
import com.example.SBNZ.mappers.ExerciseMapper;
import com.example.SBNZ.model.training.Exercise;
import com.example.SBNZ.model.training.cep.CEPOutput;
import com.example.... |
package com.mes.old.meta;
// Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final
import java.math.BigDecimal;
/**
* BRoutineOperId generated by hbm2java
*/
public class BRoutineOperId implements java.io.Serializable {
private String routing;
private BigDecimal opuid;
private BigDecimal operationId;
priv... |
package com.fleet.motan.client.controller;
import com.fleet.motan.common.entity.User;
import com.fleet.motan.common.service.UserService;
import com.weibo.api.motan.config.springsupport.annotation.MotanReferer;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.Re... |
import java.util.*;
public class Run {
public static void main(String[] args) {
Random rand = new Random();
Scanner scan = new Scanner(System.in);
ChuiniuGame game = new ChuiniuGame(rand, scan);
game.play();
}
} |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int M = sc.nextInt(); //qtd Linhas
int N = sc.nextInt(); //qtd Colunas
int[][] matriz = new int[M][N];
//Salvando os dados na Matriz
for (int i = 0; i < M; i++) {//loop lin... |
package melerospaw.deudapp.data;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.util.Log;
import com.j256.ormlite.misc.TransactionManager;
import com.j256.ormlite.support.ConnectionSource;
import java.io.File;
import java.... |
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Map;
public class HashTable<K, V>implements KWHashMap<K, V>
{
private LinkedList<Entry<K,V>>[] table;
private int numKeys;
private static final int CAPACITY = 101;
private static final double LOAD_THRESHOLD = 3.0;
private static... |
package cloud.metaapi.sdk.clients.copy_factory.models;
/**
* CopyFactory account model
*/
public class CopyFactoryAccount extends CopyFactoryAccountUpdate {
/**
* Account unique identifier
*/
public String _id;
} |
/*
* Copyright (C), 2013-2014, 上海汽车集团股份有限公司
* FileName: URLUtil.java
* Author: wanglijun
* Date: 2014年8月26日 上午11:03:30
* Description: //模块目的、功能描述
* History: //修改记录
* <author> <time> <version> <desc>
* 修改人姓名 修改时间 版本号 描述
*/
package com.xjf.wemall.a... |
/*
* [y] hybris Platform
*
* Copyright (c) 2000-2016 SAP SE
* All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* Hybris ("Confidential Information"). You shall not disclose such
* Confidential Information and shall use it only in accordance with the
* terms of the l... |
package sample;
public class Leg {
public Float diameter;
public Foot foot;
public Float getDiameter() {
return diameter;
}
public void setDiameter(Float diameter) {
this.diameter = diameter;
}
public Foot getFoot() {
return foot;
}
public void setFoot(Foot foot) {
this.foot = f... |
package com.example.zealience.oneiromancy.ui;
import androidx.annotation.Nullable;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.zealience.oneiromancy.R;
import java.util.List;
/**
* @user steven
* @createDate 2019/2/25 09:39
* @des... |
package liquibase.diff;
import java.util.SortedSet;
import java.util.TreeSet;
public class DatabaseObjectDiff<Type> {
private SortedSet<Type> missing = new TreeSet<Type>();
private SortedSet<Type> unexpected = new TreeSet<Type>();
private SortedSet<Type> changed = new TreeSet<Type>();
publi... |
package com.baidu.tuke_demo.worker;
import android.util.Log;
import java.util.concurrent.Callable;
import java.util.concurrent.Future;
/**
* 工人任务基类 主要是子线程 callable任务
*
* @author tuke
*
* @param <T>
*/
public abstract class WorkerTask<T> implements Callable<T> {
private static final String TAG = WorkerTask.c... |
package com.tec2.pdm2.app;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android.... |
package twitterData;
import java.io.IOException;
import org.apache.commons.lang3.StringEscapeUtils;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.mapred.MapReduceBase;
import org.apache.hadoop.mapred.Mapper;
import org.apa... |
/*
* Copyright (c) 2008-2011 by Bjoern Kolbeck, Zuse Institute Berlin
*
* Licensed under the BSD License, see LICENSE file for details.
*
*/
package org.xtreemfs.test;
import java.io.File;
import java.io.IOException;
import java.net.BindException;
import java.net.InetSocketAddress;
import java.util.ArrayList;
im... |
package com.rsm.yuri.projecttaxilivre.chat;
import android.util.Log;
import com.rsm.yuri.projecttaxilivre.chat.entities.ChatMessage;
import com.rsm.yuri.projecttaxilivre.chat.events.ChatEvent;
import com.rsm.yuri.projecttaxilivre.chat.ui.ChatView;
import com.rsm.yuri.projecttaxilivre.historicchatslist.entities.User;
... |
package com.tencent.mm.plugin.aa.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.tencent.mm.plugin.aa.ui.AASelectContactUI.4;
import com.tencent.mm.plugin.report.service.h;
class AASelectContactUI$4$2 implements OnClickListener {
final /* synthetic */... |
package vegoo.newstock.core.utils;
public class StockUtil {
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.