text stringlengths 10 2.72M |
|---|
package com.espendwise.manta.web.controllers;
import com.espendwise.manta.service.GroupService;
import com.espendwise.manta.spi.AutoClean;
import com.espendwise.manta.util.Utility;
import com.espendwise.manta.web.forms.GroupForm;
import com.espendwise.manta.web.util.IdPathKey;
import com.espendwise.manta.web.util.Sess... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Distributions;
/**
*
* @author Will_and_Sara
*/
public class ContinuousDistributionError {
private String _ErrorMessage... |
package com.tencent.mm.plugin.wenote.model;
import android.content.Context;
import android.content.Intent;
import com.tencent.mm.R;
import com.tencent.mm.bg.d;
import com.tencent.mm.g.a.mw;
import com.tencent.mm.model.au;
import com.tencent.mm.model.r;
import com.tencent.mm.plugin.wenote.model.a.l;
import com.tencent.... |
package com.rofour.baseball.dao.order.bean;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class OrderManagerBeanExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table tb_order
*
* @mbggenerated Mon Oct 10... |
package com.tencent.mm.plugin.wallet.bind.ui;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.wallet_core.ui.e;
class WalletBankcardManageUI$4 implements OnClickListener {
final /* synthetic */ WalletBankcardManageUI pdm;
... |
package cracking.structure;
import java.util.ArrayList;
import java.util.List;
public class Vertex {
private String label;
private List<String> neighbors;
public List<Integer> getNeighbors(int v){
List<Integer> neighbors = new ArrayList<Integer>();
return neighbors;
}
/**
* @return the label
*/
publ... |
package com.rs.game.player.dialogues;
import java.text.DecimalFormat;
//import com.rs.cache.loaders.NPCDefinitions;
import com.rs.game.Animation;
import com.rs.game.ForceMovement;
import com.rs.game.ForceTalk;
import com.rs.game.Graphics;
//import com.rs.game.World;
import com.rs.game.WorldTile;
//import com.rs.game.... |
import com.sun.javafx.text.TextLine;
import javafx.beans.Observable;
import javafx.collections.ObservableList;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.sce... |
package com.mes.old.meta;
// Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final
import java.math.BigDecimal;
import java.util.Date;
/**
* TTaskPart generated by hbm2java
*/
public class TTaskPart implements java.io.Serializable {
private TTaskPartId id;
private TTasks TTasks;
private BigDecimal qtyreq;
... |
package MasterClass.Models;
public abstract class Character implements ICharacter {
int pv = 0;
int attack = 0;
int attackBonus = 0;
int vel = 0;
int defense = 0;
float dash = 0;
int level = 0;
int exp = 0;
String name = "";
public Character(int pv, int attack, int attackBonus... |
package com.example.behavioral.iterator;
/**
* Copyright (C), 2020
* FileName: Iterator
*
* @author: xieyufeng
* @date: 2020/11/23 17:06
* @description:
*/
public interface Iterator {
boolean hasNext();
Object next();
}
|
package com.tencent.mm.plugin.game.gamewebview.jsapi.biz;
import android.content.Intent;
import com.samsung.android.sdk.look.smartclip.SlookSmartClipMetaTag;
import com.tencent.mm.plugin.game.gamewebview.jsapi.a;
import com.tencent.mm.plugin.game.gamewebview.ui.GameWebViewUI;
import com.tencent.mm.plugin.game.gamewebv... |
package com.template.di.module;
import android.app.Application;
import android.support.annotation.NonNull;
import android.util.Log;
import com.template.BuildConfig;
import com.template.data.remote.ApiService;
import com.template.data.remote.BaseIntercepter;
import com.template.data.remote.DataSourceInterface;
import ... |
package com.zznode.opentnms.isearch.otnRouteService.api;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
import javax.xml.ws.ResponseWrapper;
import org.springframework.stereotyp... |
package br.com.globallabs.java.bootcamp.desenvolvimento.avancado.interfaces.funcionais;
import java.util.function.Predicate;
//recebe um parametro e retorna um boolean
public class Predicado {
public static void main(String[] args) {
Predicate<String> igualAKarine = valor -> valor.equals("Karine");
... |
package com.example.natgarse_upv.androidmysql;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.android.volley.Request;
import com.android... |
package com.wanglu.movcat.model;
//计数
public class Count {
private Integer commentCount;
private Integer praiseCount;
private Integer shareCount;
private Integer totalBrowsingCount;
private Integer todayBrowsingCount;
public Count() {
}
public Count(Integer commentCount, Integer ... |
package 반복문;
import javax.swing.JOptionPane;
public class 반복문1 {
public static void main(String[] args) {
while (true) { // 무한루프
System.out.println("계속돈다");
String q = JOptionPane.showInputDialog("중단하십니까? x");
if (q.equals("x")) {
//break;
System.exit(0); //뭐가됬든 그만
}
}
}
... |
package com.tencent.mm.plugin.fav.ui.d;
import com.tencent.mm.plugin.fav.a.b;
import com.tencent.mm.plugin.fav.a.g;
class k$1 implements Runnable {
final /* synthetic */ g iVs;
final /* synthetic */ k jeX;
k$1(k kVar, g gVar) {
this.jeX = kVar;
this.iVs = gVar;
}
public final voi... |
package br.com.nozinho.dao.impl;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.TypedQuery;
import br.com.nozinho.dao.PermissaoDAO;
import br.com.nozinho.ejb.dao.impl.GenericDAOImpl;
import br.com.nozinho.model.Permissao;
@Stateless
public class PermissaoDAOImpl extends GenericDAOImpl<P... |
package moe.vergo.seasonalseiyuuapi.adapter.in.web.cache;
public interface CacheManager<T> {
public CacheService<T> initialiseCache(String cacheName);
} |
package ex3;
import java.util.Calendar;
public class Persoana {
private String nume;
private String CNP;
public Persoana(String nume, String CNP) throws CNPEronat
{
if (CNP.length() != 13) {
throw new CNPEronat("\n\nEroare! => CNP -ul trebuie sa aiba strict 13 caractere!", CNP);
}
else if(isCifra... |
package com.appdear.client.model;
import android.content.ComponentName;
import android.content.Intent;
import android.graphics.drawable.Drawable;
public class OyysShareApplicationInfo {
public CharSequence title;
public Intent intent;
public Drawable icon;
public boolean filtered;
public... |
package com.slort.struts.form.security;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import com.slort.model.Opcionmenu;
import com.slort.struts.action.ActionForm;
public class Pe... |
package com.example.mobilebooks;
import android.os.Bundle;
import android.os.Handler;
import android.app.Activity;
import android.content.Intent;
import android.widget.VideoView;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInsta... |
package roart;
public class Main {
public static void main(String[] argv) {
if (argv[0] == null || argv.length == 0) {
System.out.println("No number");
return;
}
try {
Integer number = Integer.valueOf(argv[0]);
if (number < 0) {
... |
package com.emn.member.model;
import java.sql.SQLException;
import org.apache.log4j.Logger;
import com.emn.common.SqlMapConfig;
public class UserDao2 {
// 싱글톤 방식으로 처리하기 위해 static으로 처리함.
private static UserDao2 instance = new UserDao2();
//for logging
public static final Logger log = Logger.getLog... |
package de.lgohlke.pebuild.config;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.function.Executable;
import org.yaml.snakeyaml.error.MarkedYAMLException;
import static org.junit.jupiter.api.Assertions.assertThrows;
class BuildConfigReaderTest {
@Test
v... |
package codechef;
import java.util.*;
/**
* Given a set of closed intervals, find the
* smallest set that covers all the intervals.
*
* Elements of Programming Interviews, p331
*/
public final class CoverIntervals {
public static final class Interval {
public final int start;
public final in... |
package Sem1.HomeWork.GUI2.Circles;
import javax.swing.*;
public class Splat {
public static void main (String[] args) {
JFrame frame = new JFrame ("Splat");
frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
frame.getContentPane().add(new SplatPanel());
frame.pack();
... |
package com.yjjyjy.yjj.entity;
/****
* Description: 性别枚举类<br/>
* Copyright: Copyright (c) 2018-2028 <br/>
*
*/
public enum Sex {
MALE("男"),
FEMALE("女"),
UNKNOW("保密");//记住要用分号结束
private String value;//中文描述
/**
* 私有构造,防止被外部调用
* @param desc
*/
private Sex(String value){
this... |
import core.Coordinate;
import core.Person;
import core.UpdatingFunctions;
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.la... |
package corgi.hub.core.mqtt.listener.impl;
import corgi.hub.core.mqtt.bean.MqttStoreMessage;
import corgi.hub.core.mqtt.bean.Subscription;
import corgi.hub.core.mqtt.common.HubContext;
import corgi.hub.core.mqtt.common.JedisConnectionManager;
import corgi.hub.core.mqtt.common.MqttConstants;
import corgi.hub.core.mqtt.... |
package br.com.GamesPlat.api.controller.dto;
import java.util.Optional;
import br.com.GamesPlat.api.models.Usuario;
public class UsuarioDto {
private String login;
private String username;
private String email;
public UsuarioDto(Optional<Usuario> user) {
this.login = user.get().getLogin();
this.username ... |
package factorioMain;
import org.newdawn.slick.Animation;
public class HighAssemblyMachine extends AssemblyMachine{
private boolean item3;
private String itemthree;
private Entity entity3;
public HighAssemblyMachine(Animation animation, String name, Entity produced, Entity item1, Entity item2,Entity item3... |
package com.tencent.mm.plugin.qqmail.ui;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.CheckBox;
import android.widget.Filter;
import android.widget.Filterable;
import android.widget.TextView;
import com.tencent.mm.R;
i... |
package org.apache.commons.net.ftp;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.Reader;
import java.net.InetAddress;
import java.net.SocketException;
import java.net.SocketTimeoutException;... |
package com.example.demo.category;
import com.sun.istack.NotNull;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.validation.constrain... |
package codeOrchestra.colt.updater;
import java.io.*;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
import java.nio.channels.FileChannel;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.prefs.Preferences;
/**
* @author Dima Kr... |
/*
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package com.fpl.statistics.fpls.player;
import com.fpl.statistics.fpls.postion.Position;
import com.fpl.statistics.fpls.postion.PositionService;
import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Service;
import org.springframework.web.server.ServerWebInputException;
import java.util.A... |
package misc;
/**
* @author huangyongkang, created 2020-04-07
*/
public class TryCatchFinally {
public static void main(String[] args) {
System.out.println(getDoubleValue(4));
}
private static int getDoubleValue(int value) {
try {
// 执行了 exit 将不会再执行 finally 语句块
System.exit(0);
ret... |
package com.utility.test;
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import com.mainmethod.test.BusinessMethod;
import com.stepdefinition.test.StepDefinition;
public cl... |
package com.eigen.controller;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Calendar;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.text.ParseException;
import java.util.ArrayList;
import javax.... |
package com.example.testo.onAppDestroyed;
import android.app.Activity;
import android.app.Application;
import android.os.Bundle;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.database.DataSnap... |
package com.tencent.mm.g.a;
import com.tencent.mm.sdk.b.b;
public final class mt extends b {
public a bXJ;
public mt() {
this((byte) 0);
}
private mt(byte b) {
this.bXJ = new a();
this.sFm = false;
this.bJX = null;
}
}
|
package com.squidtech.nodechan;
import java.util.Random;
import java.util.ArrayList;
/**
*
* An entity that represents a single collection of posts or "conversation" on
* NodeChan.
* Despite the unfortunate name, this class has nothing to do with
* multithreading. It's only a collection of posts.
*
* This clas... |
package Ex1.SymbolTables;
import ast.*;
import java.util.HashMap;
public class SymbolTable {
private String type; //"class" or "method"
private HashMap<String, MethodEntry> methods;
private HashMap<String, VarEntry> variables;
private SymbolTable parent;
private AstNode astNodeInProgram;
pub... |
package com.ittr.main;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import com.ittr.data.Invoice.Invoice;
import com.ittr.data.Order.PurchaseOrder;
import com.ittr.services.InvoiceFilterOData;
import com.ittr.services.PurchaseOrderManager;
public class Main {
@Suppres... |
package day50_Abstraction;
public class WarmUpRequirements {
/*
* WarmUp:
create an Animal abstract class
data/attributes: gender, age, color, name
create one constructor that can set the gender, name, color and age
Actions: Speak(), Eat(), Sleep(), Drink();
create su... |
/*
* MIT License
*
* Copyright (c) 2018 Alen Turkovic
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mo... |
package com.example.testhub.Tools;
import com.example.testhub.domain.MathQuestion;
import com.example.testhub.service.MathService;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class TestTools {
public static List<String> delimeter(String answers) {
List<String> list... |
package com.tencent.mm.ar;
import android.os.Looper;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.b.a;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.ab.n;
import com.tencent.mm.g.a.lu;
import com.tencent.mm.g.a.sg;
import com.tencent.mm.k.c;
import com.tencent.mm.kernel.g;
impor... |
package cn.shadow.controller;
import javax.servlet.http.HttpServletRequest;
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;
impor... |
class Book {
//title, author, publish(출판사), price
//생성자
//sell(), buy() 4번 방법으로
//setAuhor()
//setTitle()
//getAuthor()
//getTitle()
public static void main(String ar[]) {
Book b1=new Book("A","a","aa",100);
Book b2=new Book("B","bb",200);
Book b3=new Book("C",300);
Book b4=new Book();
b4.setAuthor... |
package chatbox;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JScrol... |
package com.example.demo;
import java.util.ArrayList;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class SpringBootCrmApplicationTes... |
package com.example.parcial_v2.Data;
public class Music {
public String title;
public String autor;
public String duration;
public Music(String title, String autor, String duration){
this.autor = autor;
this.title = title;
this.duration = duration;
}
}
|
/**
* This class contains the start point of the program.
* It also contains a static method called from main to get the input string and return the desired result.
*/
public class RoverControl {
public static void main(String[] args) {
String nasaInstructions = "5 5 1 2 N LMLMLMLMM 3 3 E MMRMMRMRRM";
... |
package nl.jtosti.hermes.image;
import nl.jtosti.hermes.config.ImagePathConfiguration;
import nl.jtosti.hermes.image.exception.FileStoreException;
import org.springframework.core.io.Resource;
import org.springframework.core.io.UrlResource;
import org.springframework.stereotype.Service;
import org.springframework.util.... |
/**
* Write a description of class Part2 here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Part2
{
public String findSimpleGene(String dna, String startCodon, String stopCodon)
{
// put your code here
String gene = "";
int startIndex= dna.indexO... |
package com.example.demo.domain.exception;
public class EntidadeNaoEncontradoException extends NeogocioException {
public EntidadeNaoEncontradoException(String message) {
super(message);
// TODO Auto-generated constructor stub
}
}
|
package ngordnet;
import java.util.TreeSet;
import java.util.TreeMap;
import java.util.Collection;
import java.util.NavigableSet;
import java.util.ArrayList;
public class TimeSeries<T extends Number> extends TreeMap<Integer, T> {
/** Constructs a new empty TimeSeries. */
public TimeSeries() {}
/** Re... |
package com.lingnet.vocs.action.workorder;
import java.util.HashMap;
import com.lingnet.common.action.BaseAction;
public class MaterielOutlayAction extends BaseAction {
private static final long serialVersionUID = -8646430481288770180L;
private HashMap<String, String> materiel;
public String list()... |
//package falconrobotics.scoutingprogram;
//
///**
// * Created by Rodrigo on 3/11/2016.
// */
//import android.bluetooth.*;
//import android.util.Log;
//
//
//
//
//import java.io.IOException;
//import java.io.ObjectInputStream;
//import java.io.ObjectOutputStream;
//import java.util.UUID;
//
//
//public class ServerT... |
package com.filiereticsa.arc.augmentepf.localization;
import java.util.ArrayList;
/**
* Created by anthony on 09/05/2017.
*/
public interface BeaconDetectorInterface {
void rangedBeacons(ArrayList<GABeacon> beacons);
}
|
package com.zznode.opentnms.isearch.otnRouteService.db.mapper;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.beans.BeanUtils;
import org.springframework.cglib.beans.BeanCopier;
import org.springframework.jdbc.core.RowMapper;
import com.zznode.opentnms.isearch.otnRouteService.db.... |
package com.company.function;
public class loopFunctions {
public int[] whileFunc(int val, int fact) {
int[] result = new int[2];
result[0] = val;
result[1] = fact;
while (val > 1) {
fact = fact * val;
val--;
System.out.println("inside while l... |
package com.example.meditracker;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
i... |
/*
* This software is licensed under the MIT License
* https://github.com/GStefanowich/MC-Server-Protection
*
* Copyright (c) 2019 Gregory Stefanowich
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... |
package VSMSerialization;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
/**
* The class is used to read the the serialized object from the file and return
* the count map object
*
* @author sameerkhurana10
*
*/
public class VSMReadSerialTreeCountObj {
public s... |
package com.zilker.taxi.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.zilker.taxi.bean.CabModel;
import com.zilker.taxi.constant.SQLConstants;
import com.zilker.ta... |
package com.tencent.mm.plugin.appbrand.widget.input;
import android.text.NoCopySpan;
import android.text.Spannable;
import android.widget.TextView;
final class ae {
private static class a implements NoCopySpan {
public float Yr;
public float Ys;
public int gJn;
public int gJo;
... |
import java.util.Scanner;
/*
* 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.
*/
/**
*
* @author DELL
*/
public class newCar
{
public static void main (String args[])
{
int yea... |
package com.drzewo97.ballotbox.committeepanel.controller.root;
import com.drzewo97.ballotbox.core.service.committee.CommitteeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Controller;
... |
package com.example.wanghong.criminalintent;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import com.example.wanghong.database.*;
import com.example.wanghong.database.CrimeDBschema.CrimeTable;
import java.util.Arr... |
package arenaworker.abilities;
import org.json.JSONObject;
import arenaworker.Player;
public class Resurrection extends Ability {
boolean isInvisible = false;
long duration = 100L;
long start;
public Resurrection(Player player, int abilityNum) {
super(player, abilityNum);
cooldo... |
package cqu.shy.client;
import java.awt.BasicStroke;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import ja... |
/**
* Copyright 2013-present febit.org (support@febit.org)
*
* 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 a... |
package cn.rongcloud.im.utils.googleApi;
import android.util.Log;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import io.rong.imlib.model.Message;
import io.rong.message.TextMessage;
/**
* Created by DELL on 2017/5/26.
*/
public class TransGoogleApi {
private static final String TR... |
import java.awt.Color;
import java.util.ArrayList;
import java.util.Collections;
public class Board {
ArrayList<Tile> tiles;
int height, width;
int fullHeight;
ArrayList<Piece> next = new ArrayList<Piece>();
Piece activePiece;
Piece held;
int linesCleared;
int points;
Boolean a... |
//This file is part of JPACS.
//
// JPACS 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, either version 3 of the License, or
// (at your option) any later version.
//
// JPACS is distributed ... |
package com.isen.regardecommeilfaitbeau;
import com.isen.regardecommeilfaitbeau.api.Prevision;
import com.isen.regardecommeilfaitbeau.api.meteo.Alert;
import com.isen.regardecommeilfaitbeau.api.meteo.Currently;
import com.isen.regardecommeilfaitbeau.api.meteo.MeteoDay;
import com.isen.regardecommeilfaitbeau.api.meteo.... |
package webmail.managers.emailManagers;
import webmail.managers.Manager;
import webmail.pages.InboxPage;
import webmail.pages.SentPage;
import webmail.pages.TrashPage;
import webmail.pages.UserFolderPage;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOExc... |
package com.smartwerkz.bytecode.vm.methods;
import com.smartwerkz.bytecode.primitives.JavaObject;
import com.smartwerkz.bytecode.vm.Frame;
import com.smartwerkz.bytecode.vm.OperandStack;
import com.smartwerkz.bytecode.vm.RuntimeDataArea;
public class ClassClone implements NativeMethod {
@Override
public void execu... |
package com.jim.multipos.ui.mainpospage.presenter;
import com.jim.multipos.core.Presenter;
import com.jim.multipos.data.db.model.customer.Customer;
import com.jim.multipos.data.db.model.customer.Debt;
import com.jim.multipos.data.db.model.order.Order;
import com.jim.multipos.data.db.model.order.PayedPartitions;
impor... |
package com.ua.serg.alex.buy.any.things.services.impl;
import com.ua.serg.alex.buy.any.things.dao.ShoppingCartDao;
import com.ua.serg.alex.buy.any.things.model.User;
import com.ua.serg.alex.buy.any.things.model.ShoppingCart;
import com.ua.serg.alex.buy.any.things.model.ShoppingCartDetail;
import com.ua.serg.alex.buy.a... |
package sample;
import javafx.animation.Timeline;
import javafx.scene.Group;
import java.io.Serializable;
public abstract class Obstacle implements Serializable {
protected Ball ball;
protected Game g;
protected double pos;
protected transient Group grp;
protected transient Timeline timeline;
... |
package parser;
import java.util.regex.MatchResult;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RegexParser implements Parser<MatchResult> {
private final Pattern pattern;
public RegexParser(Pattern pattern) {
this.pattern = pattern;
}
public ParseResult<MatchResult> par... |
package org.springframework.data.rest.webmvc.u2ware.multipart;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.Arrays;
import java.uti... |
package com.example.shivam.erpsystem.Fragment;
import android.app.Activity;
import android.app.Dialog;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.app.Fragment;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayout... |
package com.tencent.mm.plugin.search.b.a.a;
import android.content.Context;
import android.content.Intent;
import com.tencent.mm.bg.d;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.appbrand.n.e;
import com.tencent.mm.plugin.fts.a.d.a.b;
import com.tencent.mm.plugin.fts.a.n;
import com.tencent.mm.plugin.... |
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.PrintWriter;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ArrayList;
import java.util.Base64;
import java.util.Date;
import java.util.HashMap;
impo... |
package jc.sugar.JiaHui.entity;
import org.apache.jmeter.samplers.SampleResult;
import java.util.Date;
import java.util.concurrent.ConcurrentLinkedDeque;
/**
* @Code 谢良基 2021/7/2
*/
public class SugarReport {
private Integer id;
private String name;
private Integer testPlanId;
private Date s... |
package com.moon.institution.serviceimpl;
import org.junit.Test;
import org.junit.Before;
import org.junit.After;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
/**
* Copyright (c) by www.leya... |
package com.spbsu.flamestream.runtime.master.acker.api.commit;
import com.spbsu.flamestream.core.data.meta.GlobalTime;
public class Prepare {
private final GlobalTime globalTime;
public Prepare(GlobalTime globalTime) {
this.globalTime = globalTime;
}
public GlobalTime globalTime() {
return globalTim... |
package com.itheima.redbaby.ui;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.Context;
import android.content.DialogInterface;
import android.opengl.Visibility;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.RelativeLayout;
imp... |
package com.chenyou.noveleditor.data;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import androidx.annotation.Nullable;
public class BookDatabase extends SQLiteOpenHelper {
public static final String TABLE_NAME = "books";//用书籍名称作... |
package com.tencent.mm.plugin.webview.fts;
import android.os.Bundle;
import android.os.RemoteException;
import com.tencent.mm.plugin.webview.ui.tools.jsapi.g;
import com.tencent.mm.plugin.webview.ui.tools.jsapi.h;
import com.tencent.mm.sdk.platformtools.x;
import java.util.ArrayList;
class d$2 implements Runnable {
... |
package org.jboss.perf.test.client.monitor;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.log4j.Logger;
import org.jboss.perf.test.client.communicator.Communicator;
import org.jboss.perf.test.client.communicator.Method;
import org.jboss.perf.test.client.config.BaseConfig;
import com.goo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.