text stringlengths 10 2.72M |
|---|
package com.tencent.mm.app;
import android.os.Bundle;
import com.tencent.mm.splash.SplashFallbackActivity;
public class WeChatSplashFallbackActivity extends SplashFallbackActivity {
protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(2130905065);
}
}
|
import java.util.Scanner;
public class ConstructPyramid {
public static void main(String[] args) {
Scanner scanner=new Scanner(System.in);
System.out.print("Give Pyramid Level:");
Integer input=scanner.nextInt();
Integer n=2,num;
for (int i=0;i<input;i++){
Syst... |
package device.linux.instamsg;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import common.instamsg.driver.DataLogger;
import common.instamsg.driver.FileUtils;
import common.instamsg.driver.Log;
import config.DeviceCons... |
import java.util.TreeMap;
public class bai_2 {
public static void main(String[] args) {
TreeMap<Integer, Integer> tree = new TreeMap<>();
System.out.println(order(tree, 2, 0, 0));
System.out.println(order(tree, 1, 20, 14));
System.out.println(order(tree, 1, 30, 3));
System.o... |
package com.smartwerkz.bytecode.classfile;
import java.io.DataInputStream;
import java.io.IOException;
/**
* <pre>
* CONSTANT_Fieldref_info {
* u1 tag;
* u2 class_index;
* u2 name_and_type_index;
* }
* </pre>
*
* @author mhaller
*/
public class ConstantMethodrefInfo {
private int classI... |
package stopThatFire.gameComponents;
import java.awt.Graphics2D;
import java.awt.geom.AffineTransform;
import java.util.ArrayList;
import stopThatFire.game.GameGUI;
import stopThatFire.game.GameGUI.Graphic;
import stopThatFire.utils.Pos;
import stopThatFire.utils.Size;
public class Drawable extends Box2D
{
public f... |
package com.FCI.SWE.Services;
import static org.testng.Assert.assertEquals;
import javax.ws.rs.FormParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import org.testng.annotations.Test;
i... |
package com.facebook.react.flat;
import com.facebook.react.uimanager.LayoutShadowNode;
import com.facebook.react.uimanager.ReactShadowNode;
import com.facebook.react.views.textinput.ReactTextInputManager;
public class RCTTextInputManager extends ReactTextInputManager {
public RCTTextInput createShadowNodeIns... |
/*
* Have worker as food running away from you and they will sence you when you are
5 tiles away from them, they will also drop bombs on a random generated number from 1- 50
every tile they travel and if the number maches with the set number they will drop it, and
the bomb will go after 3 seconds and does nothing ... |
/**
* Copyright (c) 2013 Johannes Dillmann, Zuse Institute Berlin
*
* Licensed under the BSD License, see LICENSE file for details.
*
*/
package org.xtreemfs.dir;
import java.io.IOException;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.Map.Entry;
import jav... |
package com.jasoftsolutions.mikhuna.model;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
/**
* Created by pc07 on 03/04/2014.
*/
public class AbstractModel implements Serializable {
@SerializedName("__id__")
private Long id;
@SerializedName("id")
p... |
package com.tencent.mm.plugin.aa.ui;
import android.text.Editable;
import android.text.TextWatcher;
import com.tencent.mm.sdk.platformtools.bi;
protected class LaunchAAByPersonAmountSelectUI$c implements TextWatcher {
final /* synthetic */ LaunchAAByPersonAmountSelectUI eDf;
String username;
public Launc... |
import java.util.Scanner;
public class SixteenIntegers {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int[] integers = new int[51];
int num;
for (int i = 0; i < 16; i++) {
System.out.print("Enter a number between 0 and 50: ");
num = input.nextInt();
integers... |
package annotations;
import java.lang.reflect.Method;
public class AnnotationTest
{
public static void main(String[] args) throws ClassNotFoundException
{
@SuppressWarnings("unchecked")
Class<AnnotationTest> clazz=(Class<AnnotationTest>) Class.forName("annotations.AnnotationTest");
for(Method method : cl... |
package com.github.jerrysearch.tns.server.cluster;
import java.util.LinkedList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.github.jerrysearch.tns.protocol.rpc.State;
import com.github.jerrysearch.tns.protocol.rpc.TCNode;
import com.github.jerrysearch.tns.protocol.rpc.T... |
package com.company;
import java.util.Arrays;
public class ArrayTest {
public static void main(String[] args) {
int[] array = {3, 1300, 700, 67};
int rightIndex = 1;
System.out.println("Input array = " + Arrays.toString(array));
if (Array.getMaxArrayIndex(array) == right... |
package com.toshevski.android.shows.activities;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ExpandableListView;
import android.widget.ImageView;
import android.widget.TextView;
import... |
/*
* Toda Classe herda da classe Object do pacote java.lang
* Por padrão, o método toString do Object retorna o nome da classe @ um número de identidade:
*/
package java.lang.object.tostring;
class Pessoa {
private String nome;
@Override
public String toString() {
return "Nome: " + this.nom... |
package pe.ccruz.trabajoseguroapp.dto;
public class BitacoraDto {
private String nombreEmpleado;
private String detalleIncidencia;
private String codIncidencia;
public BitacoraDto(){
}
public BitacoraDto(String nombreEmpleado, String detalleIncidencia, String codIncidencia) {
... |
package com.dil.firstproj;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.spr... |
public class Position {
double x;
double y;
Position(double x,double y){
this.x=x;
this.y=y;
}
double getx() {
return x;
}
double gety() {
return y;
}
}
|
package com.supconit.kqfx.web.analysis.controllers;
import hc.base.domains.AjaxMessage;
import hc.base.domains.Pageable;
import hc.base.domains.Pagination;
import hc.business.dic.services.DataDictionaryService;
import hc.mvc.annotations.FormBean;
import hc.safety.manager.SafetyManager;
import java.io.OutputStream;
im... |
package hearthstone;
import java.util.ArrayList;
public class Mirror extends Puzzles {
public Mirror(ArrayList<Card> d, ArrayList<Card> ed, Card[] h, Card[] eh, Card[] fc, Card[] efc, int cp, int sm, int cm, Hero aHero, Hero eHero) {
super(d, ed, h, eh, fc, efc, cp, sm, cm, aHero, eHero);
}
publ... |
package com.tencent.mm.plugin.bottle.ui;
import com.tencent.mm.plugin.bottle.ui.ThrowBottleAnimUI.a;
class ThrowBottleUI$4 implements a {
final /* synthetic */ ThrowBottleUI hnD;
ThrowBottleUI$4(ThrowBottleUI throwBottleUI) {
this.hnD = throwBottleUI;
}
public final void auA() {
Thro... |
package com.ziroom.service;
import com.ziroom.dao.UserDAO;
import com.ziroom.entity.UserEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.... |
/**
*
*/
package com.yougou.merchant.api.monitor.vo;
import java.io.Serializable;
import java.util.List;
/**
* Api监控预警
*
* @author huang.tao
*
*/
public class MonitorEarlyWarning implements Serializable {
private static final long serialVersionUID = -5693969468095820607L;
private String id;
//appKey... |
package com.aciton;
import com.entity.UsersEntity;
import com.service.UserService;
import org.apache.struts2.ServletActionContext;
import javax.servlet.http.HttpServletRequest;
import java.util.Vector;
/**
* Created by 滩涂上的芦苇 on 2016/6/7.
*/
public class QueryUserAction {
public static final long ... |
package com.everis.eCine.model;
import java.util.Date;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import javax.persistence.Man... |
package com.example.todolistapp.Business;
import android.content.Context;
import com.example.todolistapp.DataAccess.ToDoDal;
import com.example.todolistapp.Entities.ToDo;
import java.util.List;
public class ToDoManager {
ToDoDal toDoDal;
public ToDoManager(Context context) {
toDoDal = new ToDoDal(... |
package model;
import java.util.HashMap;
import java.util.List;
import java.util.Random;
/**
* InsanityHauntState is a GameState
* Occurs after a player has triggered X amount of events
* InsanityHauntState makes a player haunted, giving the haunted player the ability to attack other players.
* The winCondition f... |
package com.tencent.mm.plugin.wenote.ui.nativenote.voiceview;
interface a$a {
void Sw(String str);
void cba();
}
|
#include<stdio.h>
int main()
{
int n,i=1,t,x,sum=0;
scanf("%d",&n);
while(i<n)
{
if(n%i==0)
sum=sum+i;
i++;
}
if(n==sum)
printf("Not Abundant Number");
else
printf("Abundant Number");
return 0;
} |
package com.tencent.mm.plugin.product.ui;
import com.tencent.mm.plugin.product.ui.g.a;
class MallGalleryUI$2 implements a {
final /* synthetic */ MallGalleryUI lSt;
MallGalleryUI$2(MallGalleryUI mallGalleryUI) {
this.lSt = mallGalleryUI;
}
public final void bnd() {
MallGalleryUI.c(th... |
package com.happybudui.springbase.exception;
//CopyRight © 2018-2018 Happybudui All Rights Reserved.
//Written by Happybudui
public class SpringBaseException extends RuntimeException{
private int errorcode;
private String message;
public SpringBaseException(){
super();
}
public SpringB... |
package instructable.server.dal;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.List;
/**
* Created by Amos Azaria on 13-Aug-15.
*
* static class meant to record what user said, what the system replied and the logical form
*/
public class InteractionR... |
package enthu_l;
public class e_1245 {
public static void main(String[] args){
for (int i = 0; i < 10; i++) System.out.print(i + " "); //1
for (int i = 10; i > 0; i--) System.out.print(i + " "); //2
int i = 20; //3
System.out.print(i + " "); //4
}
}
|
package com.yunhe.billmanagement.entity;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Eq... |
package com.gzpy.remark.service;
import org.springframework.data.domain.Page;
import com.gzpy.remark.entity.Remark;
public interface RemarkService {
public Page findRemark(int currentpage, int size);
public Remark findRemarkById(String remarkId);
public Remark updateRemark(Remark remark);
public Page f... |
package task3;
import java.util.*;
import java.util.HashMap;
public class HashExmp {
public static void main(String[] args){
// TODO Auto-generated method stub
HashMap<String,Integer> obj=new HashMap<String,Integer>();
HashMap<String,Integer> obj1=new HashMap<String,Integer>();
obj.put("one",1);
... |
package com.flightbooking.tests;
import com.flightbooking.pages.FlightBookingPage;
import org.testng.Assert;
import org.testng.annotations.Test;
public class FlightBookingTest extends FlightBookingPage {
@Test
public void verifyThatResultsAppearForAOneWayJourney() {
String source = "Bangalore";
... |
package primitivedatatypes.src;
public class byteDataType {
public static void main(String[] args) {
byte minByteval = Byte.MIN_VALUE;
byte maxByteVal = Byte.MAX_VALUE;
System.out.println("Byte min value = " + minByteval);
System.out.println("Byte max value = " + maxByteVal);
}
}
|
package net.minecraft.network.play.client;
import java.io.IOException;
import net.minecraft.network.INetHandler;
import net.minecraft.network.Packet;
import net.minecraft.network.PacketBuffer;
import net.minecraft.network.play.INetHandlerPlayServer;
import net.minecraft.util.EnumHand;
public class CPacketAnimation im... |
/*
* 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 hr.softwarecity.osijek.controllers;
import hr.softwarecity.osijek.model.Zone;
import hr.softwarecity.osijek.repositories.ZoneRe... |
package com.qtrj.simpleframework.ssh.service;
import java.util.HashMap;
import java.util.Map;
public class ServiceFactory {
private static Map serviceMap = new HashMap<>();
public static <T> T getInstance(Class<T> clazz) {
Object o = serviceMap.get(clazz);
if (null == o) {
o = (new CglibProxy()).... |
package com.example.service;
import java.nio.file.Path;
import java.util.stream.Stream;
import org.springframework.core.io.Resource;
import org.springframework.web.multipart.MultipartFile;
public interface StorageService {
void store (int id, MultipartFile file);
Stream<Path> loadAll(int id);
Resourc... |
package com.tencent.mm.plugin.t;
import com.tencent.mm.bt.h;
import com.tencent.mm.kernel.api.bucket.d;
import com.tencent.mm.kernel.g;
import com.tencent.mm.storage.bc;
import java.util.HashMap;
public final class a implements com.tencent.mm.kernel.api.bucket.a, d, com.tencent.mm.plugin.t.a.a {
private bc lby;
... |
import org.apache.commons.io.FileUtils;
import org.apache.lucene.document.Field;
import org.apache.lucene.index.IndexWriter;
import org.apache.lucene.index.IndexWriterConfig;
import org.apache.lucene.store.Directory;
import org.apache.lucene.store.FSDirectory;
import org.junit.Test;
import java.awt.*;
import java.io.... |
package Pages;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class NewAccountPage {
@FindBy(linkText = "New Account")
public WebElement NewAccountField;
@FindBy(name = "cusid")
public WebElement CustomerIdField;
@FindBy(name = "selaccount")
public WebEle... |
// Notificable.java
package inmobiliarias;
public interface Notificable {
String getNombre();
String getEmail();
void avisarCambioPrecio(Inmueble x, int nuevoPrecio);
void avisarReserva(Inmueble x);
void avisarVenta(Inmueble x);
}
|
package things.entity;
import things.GameMain;
import things.Player;
import things.SpaceInvadersGUI;
import things.entity.singleton.FiredBullets;
import things.entity.strategy.movement.MovementModified;
import javax.swing.*;
import java.awt.*;
/**
* This is an instantiable class called Tank for creating a Tank enti... |
package ars.ramsey.interviewhelper.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.LayoutInf... |
import interviewbit.array.NobleInteger;
import interviewbit.binarysearch.Matrix_Search;
import interviewbit.hashing.Fraction;
import interviewbit.linkedlist.ListNode;
import interviewbit.string.LongestCommonPrefix;
import java.util.ArrayList;
import java.util.Arrays;
public class Index {
public static void main(Stri... |
package com.bingo.code.example.design.adapter.adapterlog;
import java.util.List;
/**
* ��־�ļ������ӿ�
*/
public interface LogFileOperateApi {
public List<LogModel> readLogFile();
public void writeLogFile(List<LogModel> list);
}
|
package loginYGestionDeUsuarios;
/**
* Alberga las variables globales del sistema.
*
* @author Usuario
*/
public class VariablesDelSistema {
/**
* Identifica al usuario que inició sesión.
* Es su id de empleado y de usuario en la base de datos. La clave principal en la tabla usuario es idEmplea... |
package com.mx.profuturo.bolsa.model.graphics.vo;
import com.mx.profuturo.bolsa.model.graphics.vo.elements.StackedChartValue;
public class StackedChartWidgetVO extends WidgetBase {
private String size;
private String labelX;
private String labelY;
private StackedChartValue value;
public String getSize() {
... |
package com.flutterwave.raveandroid.rave_presentation.account;
import android.webkit.WebResourceRequest;
import android.webkit.WebView;
import androidx.annotation.Nullable;
import com.flutterwave.raveandroid.rave_core.models.Bank;
import java.util.List;
public interface AccountPaymentCallback {
/**
* Pass... |
package com.klapeks.colinker.bungee;
import java.util.HashMap;
import java.util.List;
import com.klapeks.colinker.Functions;
import com.klapeks.coserver.aConfig;
import com.klapeks.coserver.dCoserver;
import com.klapeks.funcs.dRSA;
import com.klapeks.funcs.uArrayMap;
import net.md_5.bungee.Util;
import n... |
package pl.edu.amu.datasupplier.repository;
import org.bson.types.ObjectId;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import pl.edu.amu.datasupplier.model.TestCaseTemplate;
import java.util.List;
... |
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.ChoiceDialog;
import javafx.scene.layout.GridPane;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
public cla... |
package com.boniu.ad.aes;
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
public class AESUtil {
public static String encrypt(String data, String key) {
// return data;
try {
SecretKeySpec spec = new SecretKeySpec(key.getByt... |
package com.jx.sleep_dg.ui;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import com.jx.sleep_dg.R;... |
package com.nmovie.springboot.crudapp.service;
import java.util.List;
import com.nmovie.springboot.crudapp.entity.MovieList;
public interface MovieService {
public List<MovieList> fineAll();
public MovieList findById(int theId);
public void save(MovieList theMovie);
public void deleteBy... |
package com.example.accounting_app.function;
import android.view.View;
import com.bigkoo.pickerview.builder.TimePickerBuilder;
import com.bigkoo.pickerview.listener.OnTimeSelectListener;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* @Creator cetwag yuebanquan
* @Version V2.0.0
* @Time 2019.6.28... |
package eg.edu.alexu.csd.oop.db;
import java.util.ArrayList;
public interface Column {
public void addNewRecord(Object values);
public String getColumnName();
public ArrayList<Object> getRows();
public String getDataType();
public void setColumnName(String columnName);
public String getTableName... |
package chess.pkg2;
public class Rook extends Piece{
int[] rookOffset = {-8,-1,1,8};
public final static int[] whiteRookEvaluator = {
0, 0, 0, 0, 0, 0, 0, 0,
5,20,20,20,20,20,20, 5,
-5, 0, 0, 0, 0, 0, 0,-5,
-5, 0, 0, 0, 0, 0, 0,-5,
-5, 0, 0, 0, 0, 0, 0,-5,
... |
package com.city.beijing.dao.impl;
import com.city.beijing.dao.UserBaseDao;
import com.city.beijing.dao.mapper.UserBaseMapper;
import com.city.beijing.model.UserBase;
import com.city.beijing.model.UserBaseExample;
import com.city.beijing.utils.Utility;
import org.springframework.beans.factory.annotation.Autowired;
imp... |
/**
* MOTECH PLATFORM OPENSOURCE LICENSE AGREEMENT
*
* Copyright (c) 2010-11 The Trustees of Columbia University in the City of
* New York and Grameen Foundation USA. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that th... |
package com.utils.tools.upload.service;
import com.utils.tools.upload.pojo.SysFileVo;
import org.springframework.web.multipart.MultipartFile;
public interface SysFileService {
String[] IMG_TYPES = {".png", ".jpg", ".jpeg", ".gif", ".bmp"};
SysFileVo fileUpload(MultipartFile file);
}
|
package com.vilio.mps.common.pojo;
/**
* 类名: App<br>
* 功能:应用实体<br>
* 版本: 1.0<br>
* 日期: 2017年8月10日<br>
* 作者: wangxf<br>
* 版权:vilio<br>
* 说明:<br>
*/
public class App {
private Integer id;
private String appCode;
private String appName;
private String appType;
private String appKey;
priva... |
package 二叉树的最大路径和;
class TreeNode{
int val;
TreeNode left;
TreeNode right;
TreeNode(int val){
this.val = val;
}
}
public class MaxPath {
int max = Integer.MIN_VALUE;
public int maxPathSum(TreeNode root) {
helper(root);
return max;
}
private int helper(TreeNod... |
package com.sinata.rwxchina.basiclib.entity;
import java.util.List;
/**
* @author HRR
* @datetime 2017/11/29
* @describe 商铺基本信息实体类
* @modifyRecord
*/
public class BaseShopInfo {
/**
* shopid : 1827
* shop_name : 瑜捷鸿汽车服务有限公司
* shop_type : 1
* shop_zh_type : 汽车服务
* shop_logo : /Uplo... |
package com.book.proxy;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
/**
* @author weigs
* @date 2017/10/5 0005
*/
public class DynamicProxy implements InvocationHandler {
Person student;
public DynamicProxy(Person person) {
this.student = person;
}
@Overri... |
/*
* Copyright 1999-2011 Alibaba Group.
*
* 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... |
package com.penzias.dao;
import com.penzias.core.interfaces.BasicMapper;
import com.penzias.entity.HomocysteineExamInfo;
import com.penzias.entity.HomocysteineExamInfoExample;
public interface HomocysteineExamInfoMapper extends BasicMapper<HomocysteineExamInfoExample, HomocysteineExamInfo>{
} |
package pl.calko.productlistapp.storeapp;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ListView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import com.google.firebase.auth.Fireba... |
package com.xjf.wemall.api.util;
import org.apache.commons.lang3.StringUtils;
import sun.misc.BASE64Decoder;
/**
* Base64加密/解密
*
* @version 1.0.0
*/
@SuppressWarnings("restriction")
public class Base64Operate {
/**
* base64加密
*
* @param String
* str
* @return String
*/
@SuppressWarning... |
package com.fengniao.lightmusic.playmusic;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.ServiceConnection;
import android.database.C... |
package kh.cocoa.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import kh.cocoa.dto.DepartmentsDTO;
@Mapper
public interface DepartmentsDAO {
public String getDeptName();
public DepartmentsDTO getDeptNameByCode(int code);
public List<DepartmentsDTO> getDeptList();
publi... |
package com.neo.bharat.spring.entity;
import lombok.Data;
import javax.persistence.*;
@Entity
@Table(name = "project")
@Data
public class Project {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long projectId;
@Column(name = "projectName")
private String projectName;
@Column(... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package discountstrategylab2;
/**
*
* @author Spark
*/
public class Product {
private DiscountStrategy discountStrategy;
private String productID;
private String description;
private dou... |
package org.sero.cash.superzk.crypto.ecc;
import java.math.BigInteger;
import org.junit.Test;
import org.sero.cash.superzk.util.Arrays;
import org.sero.cash.superzk.util.HexUtils;
public class TestEddsa {
@Test
public void test() {
Group base0 = new Group("5dfbb35a38ffdcab".getBytes(), 1, 256, 8);
... |
class Subtraction
{
int num1;
int num2;
int res1;
int res2;
int res3;
int res4;
public void Perform() {
res1=num1*num2;
res2=num1-num2;
res3=num1%num2;
res4=num1/num2;
}
}
public class ClassSubDemo {
public static void main(String[] args) {
// TODO Auto-generated method stub
... |
package com.mahendra.library.models;
import java.io.Serializable;
public class Member implements Serializable {
private Integer id;
private String firstName;
private String lastName;
private char status;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String g... |
package com.jim.multipos.ui.vendor_item_managment;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import com.jim.mpviews.MpToolbar;
import com.jim.multipos.core.SimpleActivity;
import com.jim.multipos.ui.billing_vendor.BillingOperationsAc... |
package randomBlockPartition;
import java.io.IOException;
import org.apache.hadoop.io.*;
import org.apache.hadoop.mapreduce.*;
public class randomBlockPartition_map extends Mapper<LongWritable, Text, Text, Text>{
public static final int[] blocks = {0,10328,20373,30629,40645,50462,60841,70591,80118,90497,100501,110... |
/*
* Copyright (c) 2017. Universidad Politecnica de Madrid
*
* @author Badenes Olmedo, Carlos <cbadenes@fi.upm.es>
*
*/
package org.librairy.modeler.lda.tasks;
import com.google.common.base.Strings;
import com.google.common.collect.ImmutableMap;
import com.google.common.primitives.Doubles;
import org.apache.spar... |
/*
* 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 com.pybeta.ui.widget;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
public class CustomDialog extends Dialog {
private int mLayout;
public CustomDialog(Context context, int layout,int style) {
super(context, style);
this.mLayout = layout;
}
public... |
package com.vilio.nlbs.commonMapper.dao;
import com.vilio.nlbs.commonMapper.pojo.NlbsRecordersDistributor;
import java.util.List;
/**
* Created by dell on 2017/6/29.
*/
public interface NlbsRecordersDistributorMapper {
List<NlbsRecordersDistributor> selectRecordersDistributorByUserNo(String userNo);
}
|
package tim.prune.undo;
import tim.prune.I18nManager;
import tim.prune.data.DataPoint;
import tim.prune.data.Photo;
import tim.prune.data.TrackInfo;
/**
* Operation to undo an auto-correlation of photos with points
*/
public class UndoCorrelatePhotos implements UndoOperation
{
private DataPoint[] _contents = null;... |
package com.facebook.react.flat;
final class FlatRootShadowNode extends FlatShadowNode {
FlatRootShadowNode() {
forceMountToView();
signalBackingViewIsCreated();
}
}
/* Location: C:\Users\august\Desktop\tik\df_rn_kit\classes.jar.jar!\com\facebook\react\flat\FlatRootShadowNode.class... |
import java.text.DecimalFormat;
public class Index{
public String word;
public int number_of_apps;
public float frequency;
public Index(String word, int nr){
this.word = word;
this.number_of_apps = nr;
this.frequency = 0;
}
@Override
public String toS... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import javax.jws.WebService;
import Conexion.Co... |
package main;
import gui.LoginPage;
import javax.swing.JOptionPane;
public class Main {
public static void main(String arg[])
{
try
{
LoginPage frame=new LoginPage();
frame.setSize(300,100);
frame.setVisible(true);
frame.setDefaultCloseOperation(javax.swing.
WindowCo... |
package com.mahii.flavoursdemo;
/**
* @author i_m_mahii, mahi05
*/
public class Constants {
public static final String BaseUrl = "https://api.myjson.com/bins/4evqi";
}
|
package net.doepner.ws.model.de;
import net.doepner.ws.model.Categories.Numerus;
import net.doepner.ws.model.Categories.Person;
/**
* TODO
*/
public abstract class Hilfsverb extends DeutschesVerb {
public Hilfsverb(String infinitiv,
String praeteritumStamm,
String par... |
import javax.xml.crypto.Data;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Scanner;
public class Resub {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String website = "ftp.dlptest.com";
Socket soc... |
package com.example.demo.product;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
import java.util.List;
import java.util... |
package com.tencent.mm.sdk.e;
import android.content.ContentValues;
import android.database.Cursor;
import com.tencent.mm.sdk.e.c.a;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
... |
package com.mantouland.atool;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.widget.ImageView;
import com.mantouland.atool.cachestrate... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.