text stringlengths 10 2.72M |
|---|
package com.example.dtps.dtpsforum;
import android.content.Intent;
import android.graphics.Paint;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.... |
package com.ranpeak.ProjectX.activity.lobby.forGuestUsers.fragments;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.s... |
package com.lenovohit.hcp.test.db.model;
import com.lenovohit.core.utils.StringUtils;
public class Column {
public Column(Object obj){
Object[] array = (Object[])obj;
this.setColumnName(array[0].toString());
this.setDataType(array[1].toString());
this.setColumnComment(array[2].toString());
}
public Column(... |
package com.xbang.bootdemo.controller;
import com.xbang.bootdemo.dao.entity.TMoney;
import com.xbang.bootdemo.service.face.ITMoneyService;
import com.xbang.bootdemo.utils.DistributedLockUtils;
import com.xbang.bootdemo.utils.TOOL;
import com.xbang.commons.exception.BaseException;
import com.xbang.commons.vo.result.Ba... |
package trunk.Model;
/**
* Created by sadaf345 on 4/14/2016.
*/
public interface WatchlistVisitor {
public void visit(Portfolio p);
}
|
package fmi;
public class Lamborghini implements Car {
@Override
public void create() {
System.out.println("Car: Lambo");
}
}
|
package fr.univsavoie.istoage.clienttri;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* ... |
/**
* Created with IntelliJ IDEA.
* User: dexctor
* Date: 12-11-26
* Time: 下午1:47
* To change this template use File | Settings | File Templates.
*/
public class p2_1_12 {
public static double time(String alg, Comparable[] a)
{
Stopwatch timer = new Stopwatch();
ShellSort.sort(a... |
package com.github.fierioziy.particlenativetest.command;
import com.github.fierioziy.particlenativeapi.api.ParticleNativeAPI;
import com.github.fierioziy.particlenativeapi.api.packet.ParticlePacket;
import com.github.fierioziy.particlenativetest.ParticleNativeTestPlugin;
import com.github.fierioziy.particlenativetest.... |
package com.example.narubibi.findate._Chat.ViewHolder;
import android.view.View;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.example.narubibi.findate.R;
import com.example.narubibi.findate._Chat.Message;
public class StickerHolder extends ChatObjectHolder {
ImageView stickerImg;
... |
package us.ihmc.euclid.referenceFrame.interfaces;
import us.ihmc.euclid.geometry.interfaces.BoundingBox3DBasics;
import us.ihmc.euclid.referenceFrame.FramePoint3D;
import us.ihmc.euclid.referenceFrame.ReferenceFrame;
import us.ihmc.euclid.referenceFrame.exceptions.ReferenceFrameMismatchException;
import us.ihmc.euclid... |
package co.company.spring;
import java.sql.Date;
import java.util.List;
import java.util.Map;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.jun... |
package io.twasyl.demo.fx.controllers;
import io.twasyl.demo.core.Generator;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.CheckBox;
import javafx.sc... |
package co.sblock.users;
import java.util.Set;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import co.sblock.Sblock;
import co.sblock.chat.Color;
import co.sblock.chat.Language;
import co.sblock.module.Module;
import co.sblock.utilities.CollectionConversions;
import com.google.common.cache.CacheBuild... |
package examples;
public class StackTest {
public static void main(String[] args) {
double[] doubleElements = {1.1, 2.2, 3.3, 4.4, 5.5};
int[] integerElements = {1, 2, 3, 4, 5};
Stack<Double> doubleStack = new Stack<Double>(5);
Stack<Integer> integerStack = new Stack<Integer>();
testPushDouble(double... |
package com.example.ryokun.helloandroid;
import java.util.ArrayList;
import java.util.List;
/**
* Created by taka on 2016/05/24.
*/
public class ImageidSlotReel extends SlotReel{
List<Integer> symbols;
public ImageidSlotReel(){
super(0);
symbols = new ArrayList<Integer>();
}
public... |
package com.cbs.edu.spring.decoupled_runtime;
public class HelloWorldDecoupledApp {
public static void main(String[] args) {
DecoupledMessageFactory messageFactory = DecoupledMessageFactory.getInstance();
MessageProvider messageProvider = messageFactory.getMessageProvider();
MessageRenderer... |
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import com.test.dubbo.ApiResponse;
import com.test.dubbo.DubboClient;
import com.test.dubbo.ParameterUtil;
import com.test.dubbo.SpringConfiguration;
/**
*
* @author wangpeihu
* @date 2017/10/13 10:30
*
*/
public class MainTest {
... |
package com.sample.controller;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validate... |
/*
* Copyright 2021 Vincenzo De Notaris
*
* 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 ag... |
/*
*
* This software is the confidential and proprietary information of
* shall not disclose such Confidential Information and shall use
* it only in accordance with the terms of the license agreement
*/
package com.sshfortress.common.util;
import java.lang.reflect.Field;
import org.apache.commons.lo... |
/*
* 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 aTPeopleCOS730;
import javax.persistence.*;
/**
* Defines an entity (any being with substance, such as a Person or Group)
*... |
package mistaomega.jahoot.lib;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
/**
* Configuration class for the program.
* Singleton pattern to allow only 1 instance of the class to exist.
*/
public class Config extends Properties {
private static Config instance = nul... |
package dev.fujioka.eltonleite.infrastructure.persistence.hibernate.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import dev.fujioka.eltonleite.domain.model.warehouse.Warehouse;
public interface WarehouseRepository extends JpaRepository<Warehouse, Long>{
}
|
/**
*
*/
package de.jaroso.example.cxf;
import java.util.HashMap;
import java.util.Map;
import org.apache.cxf.binding.BindingFactoryManager;
import org.apache.cxf.jaxrs.JAXRSBindingFactory;
import org.apache.cxf.jaxrs.JAXRSServerFactoryBean;
import org.apache.cxf.jaxrs.lifecycle.SingletonResourceProvider;
import o... |
package bookmanager.main;
import boookaager.database.DatabaseHandler;
import com.jfoenix.controls.JFXTextField;
import java.io.IOException;
import java.net.URL;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Optional;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import ... |
package commands;
import java.io.IOException;
import org.newdawn.slick.SlickException;
import actionEngines.ActionEngine;
public interface GenericCommand {
public void execute(ActionEngine actionEngine) throws SlickException, IOException;
}
|
/**Bootstrap server
*
* @author rushabhmehta
*/
import java.awt.*;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ArrayList;
public class Bootstrap extends Thr... |
package be.dpms.medwan.webapp.wl.servlets.filters;
/*
* (c) 2004, Kevin Chipalowsky (kevin@farwestsoftware.com) and
* Ivelin Ivanov (ivelin@apache.org)
*
* Released under terms of the Artistic License
* http://www.opensource.org/licenses/artistic-license.php
*/
import be.mxs.common.util.db.MedwanQuery;
import be... |
package com.gyorog.filepusher;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.conte... |
package negocio.beans;
import java.io.Serializable;
public class Habilidade implements Serializable {
/// Atributos
private String nome;
private String tipo;
private String categoria;
private String requisito;
private int mana;
private int dificuldade;
private String[] classes;
private String[] racas;
pri... |
package com.lsjr.callback;
import android.text.TextUtils;
import android.util.Log;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.lsjr.bean.ArrayResult;
import com.lsjr.bean.ObjectResult;
import com.lsjr.bean.Result;
import com.lsjr.exception.ApiException;
import java.lang.refle... |
package com.jgw.supercodeplatform.trace.service.tracefun;
import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.jgw.supercodeplatform.exception.SuperCodeException;
import com.jgw.supercodeplatform.pojo.cache.AccountCache;
... |
package sun.study.java;
import sun.study.java.tree.BinaryTree;
public class TreeTest {
public static void main(String[] args) {
BinaryTree.TreeNode<Integer> root= new BinaryTree.TreeNode<Integer>(1);
BinaryTree.TreeNode<Integer> l1= new BinaryTree.TreeNode<Integer>(2);
BinaryTree.TreeNode... |
package com.example.apprunner.Organizer.menu4_check_distance.Activity;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.cont... |
package utils;
import java.awt.Component;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.sql.Connection;
import java.util.Map;
import java.util.TreeMap;
import java.uti... |
package com.trannguyentanthuan2903.yourfoods.favorites.model;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import co... |
/* BindingNode.java
{{IS_NOTE
Purpose:
Description:
History:
Thu Feb 1 16:16:54 2007, Created by Henri
}}IS_NOTE
Copyright (C) 2006 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
}}IS_RIGHT
*/
package org.zkoss.zkplus.databind;
import java.util.Collection;
import java.util.HashSet;
import java.u... |
package mavenproject1.testng;
import org.testng.annotations.Test;
public class mavenTest {
@Test(priority=7)
public void Test1()
{
System.out.println("1st test");
}
@Test(priority=6)
public void Test2()
{
System.out.println("2nd test");
}
@Test(priority=5)
public void Test3()
{
System.out.pr... |
package com.sample.myapplication;
import android.app.Activity;
import android.content.DialogInterface;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.util.Log;
import android.view.KeyEvent;
impor... |
package ffm.slc.model.enums;
/**
* Specifies whether the course was defined by the SEA, LEA, School, or national organization.
*/
public enum CourseDefinedByType {
LEA("LEA"),
NATIONAL_ORGANIZATION("National Organization"),
SEA("SEA"),
SCHOOL("School");
private String prettyName;
CourseDefinedByType(String p... |
package models;
import javax.persistence.*;
import java.util.List;
@Entity
@Table(name = "owners_and_animals")
public class User {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
@Column
private String name;
@Column
private int age;
@OneToMany
... |
package com.wacai.springboot_demo.service;
import javax.servlet.http.HttpServletRequest;
public interface GetipService {
void getip(HttpServletRequest request);
}
|
package com.share.util;
import java.io.File;
import java.io.FileInputStream;
import org.apache.commons.io.IOUtils;
import org.apache.commons.net.ftp.FTPClient;
public class FtpUtil {
private String url;
private String username;
private String passwd;
private String workSpace;
public FtpUtil(String url, String... |
package com.brichri.howTiredAmI.ui;
import java.util.Date;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.text.format.DateFormat;
import android.util.Log;
import android.widget.TextView;
import com.actionbarsherlock.app.ActionBar;
import com.actionba... |
package com.siicanada.article.repository;
import com.siicanada.article.repository.entity.TagEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
/**
* Tag Repository.
*/
@Repository
public interface TagRepository extends JpaRepository<TagEntity, Int... |
package com.muhardin.endy.training;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
... |
package edu.neu.ccs.cs5010;
import java.util.ArrayList;
/**
* Created by xwenfei on 10/22/17.
*/
public class Mansion implements INeighborhood {
public ArrayList<Candy> candyList;
/**
* General mansion constructor.
* add all the candy from historical data
*/
public Mansion() {
ca... |
package com.clever.presenter.impl;
import com.clever.presenter.SplashPresenter;
import com.clever.ui.interf.SplashView;
/**
* @author liuhea
* @date 2016-12-29</p>
*/
public class SplashPresenterImpl implements SplashPresenter {
private SplashView mSplashView;
public SplashPresenterImpl(... |
/*
* 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 tugas2;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template... |
package blackjack;
public class Kortti {
String maa;
int arvo;
String kuvapolku;
public Kortti (String maa, int arvo, String kuvapolku) {
this.maa = maa;
this.arvo = arvo;
this.kuvapolku = kuvapolku;
}
public void setMaa(String maa) {
this.maa = ma... |
package edu.weber.edu.matchgame;
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.SceneAntialiasing;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.*;
import javafx.scene.p... |
/*
* 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 hdfcraft;
/**
*
* @author SchmitzP
*/
public class HeightFilter implements Filter {
public HeightFilter(int maxHeight, ... |
package com.encounterfitness.musicapp;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ListView;
import java.util.ArrayList;
public class Country extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate... |
package com.platform.interceptor;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.web.servlet.HandlerInterceptor;
import org.spri... |
package msip.go.kr.common.entity;
import java.io.Serializable;
@SuppressWarnings("serial")
public class CommonVO implements Serializable {
/** 검색조건 */
private String searchCondition = "";
/** 검색Keyword */
private String searchKeyword = "";
/** 검색사용여부 */
private String searchUseY... |
package modele.exceptions.ExceptionConnexion;
/**
* Created by alucard on 04/11/2016.
*/
public class ExceptionLoginDejaPris extends Exception {
}
|
package po;
import java.util.ArrayList;
import java.util.Iterator;
public class MatchTeamPO {
private MatchPlayerPO[] players;
private int[] scores;
private int totalScores;
private String name;
private int time;
public MatchTeamPO(MatchPlayerPO[] player,int [] sco... |
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class TestIoc {
public static void main(String[] args) {
ApplicationContext applicationContext =
new ClassPathXmlApplicationContext("applicationCont... |
package fj.swsk.cn.eqapp.main.Common;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;
import... |
package net.kkolyan.elements.engine.utils;
import net.kkolyan.elements.engine.core.ResourceManager;
import net.kkolyan.elements.engine.core.graphics.Drawable;
import net.kkolyan.elements.engine.core.templates.Sprite;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileNotFoundException;
impor... |
/**
*/
package iso20022;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Choice Component</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* re-usable Dictionary Item that is a building block ... |
package es.codeurjc.gameweb.controllers;
import java.security.Principal;
import java.util.HashMap;
import java.util.Optional;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui... |
/*
* Copyright 2019 WeBank
*
* 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 writi... |
package ai.cheap.petbot.tracking;
import org.opencv.core.Mat;
/**
* Created by GraOOu on 13/02/2016.
*/
public abstract class TrackingStrategy
{
protected TrackingContext _context = null;
public void Initialize ( TrackingContext context )
{
_context = context;
}
public abstract Mat Pr... |
package com.dbs.portal.ui.component.type;
public class LayoutPermissionType {
public static final String REPORT_SUBSCRIPTION = "REPORT";
}
|
package lib;
/**
* Implementation of the PRG described in problem 252
*/
public class PseudoRandomGenerator {
private long seed = 290797;
private long divisor = 50515093;
public PseudoRandomGenerator() {
this(290797, 50515093);
}
public PseudoRandomGenerator(long seed, long divisor) {
this.seed =... |
package com.cheese.radio.util;
import android.Manifest;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.pm.PackageManager;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.support.v4.app.ActivityCompat;
... |
package com.joaosakai.easybillings.enumerations;
public enum Sensation {
DRY("Seco"),
STICKY("Elástico"),
DAMP("Úmido"),
WET("Molhado"),
LUBRIFICATED("Lubrificado"),
SLIPPERY("Escorregadio");
private final String value;
Sensation(String value) {
this.value = value;
}
... |
package com.irfanstore.product.service;
import com.irfanstore.product.dto.ProductResponseDto;
import com.irfanstore.product.entity.Product;
import com.irfanstore.product.dto.ProductDto;
import com.irfanstore.product.repository.ProductRepository;
import org.modelmapper.ModelMapper;
import org.modelmapper.TypeToken;
imp... |
package com.example.api;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.view;
import org.junit.jupiter.api.Tes... |
package pipeline.messages;
public class SimpleMessage implements PipelineMessage
{
private String _message;
public SimpleMessage(String message)
{
_message = message;
}
public String getMessage()
{
return _message;
}
}
|
package com.example.user.javaolympics;
/**
* Created by user on 15/09/2017.
*/
public class Athlete extends Competitor{
String name;
int skill;
public Athlete(int goldMedalCount,
int silverMedalCount,
int bronzeMedalCount,
Enum<Country> country,... |
package com.spr.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* Created by Dan on 26.03.2017.
*/
@Entity
@Table(name = "user")
public class User {
@Id
@GeneratedValue
private Integer id;
private Stri... |
/**
* FileName: LoginDto
* Author: yangqinkuan
* Date: 2019-3-21 17:15
* Description:
*/
package com.ice.find.utils.enums.dto;
import java.io.Serializable;
/**
* 登录用实体
*/
public class LoginReqDto implements Serializable {
private static final long serialVersionUID = 702016414931860178L;
private ... |
package br.com.clean.arch.domain.usecase.multiply;
import br.com.clean.arch.domain.dto.GivenParamDTO;
import br.com.clean.arch.domain.entity.ResultHistoryEntity;
public interface MultiplyHundredToFifteenOnZeroGivenUseCase {
ResultHistoryEntity calculate(GivenParamDTO firstParam);
}
|
package com.lamdevops.annotation.maxlength;
import java.lang.annotation.*;
/**
* Created by lam.nm on 6/27/2017.
*/
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface MaxLength {
int maxLength();
}
|
package fr.cea.nabla.interpreter.nodes.instruction;
import com.oracle.truffle.api.Assumption;
import com.oracle.truffle.api.CompilerDirectives;
import com.oracle.truffle.api.Truffle;
import com.oracle.truffle.api.dsl.NodeChild;
import com.oracle.truffle.api.dsl.Specialization;
import com.oracle.truffle.api.frame.Virtu... |
package com.company;
import java.util.ArrayList;
/**
* Created by Casey on 8/12/16.
*/
public class Board {
int[] b;
int size;
// /* Reference:
// UP_LT | UP_CT | UP_RT
// CT_LT | | CT_RT
// DN_LT | DN_CT | DN_RT*/
// protected static final int UP_LT = 0;
// protected static final i... |
package ffm.slc.model.resources;
/**
* The public web site address (URL) for the educational organization.
*/
public class WebSite extends StringResource{}
|
package com.lesports.albatross.fragment;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.view.ViewPager;
import android.support.v4.view.ViewPager.OnPageChangeListener;
import android.view.LayoutInflater;
import android.view.View;
imp... |
package myProject.third;
public class speedMeterLevel2 {
public speedMeterLevel2() {
// TODO Auto-generated constructor stub
}
}
|
package com.corejava.java8;
public class Student implements Comparable<Student>{
private int studentNumber;
private String studentName;
private int age;
private String gender;
public Student(int studentNumber, String studentName, int age, String gender) {
super();
this.studentNumber = studentNumber;
this.... |
package com.iks.education.calculator.gui.buttons;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import com.iks.education.calculator.controller.CalculatorController;
@SuppressWarnings("serial")
public class CommaButton extends JButton {
public CommaButton() {
... |
package Datos;
import java.util.ArrayList;
import java.util.List;
import Negocio.Clase;
public class TestClasesManager implements ClasesManager {
private static TestClasesManager instance = new TestClasesManager();
public static TestClasesManager getInstance() {
return instance;
}
private ArrayList<Clase> c... |
package com.harshitJaiswal.Assignment4;
import java.util.Scanner;
public class HollowRhombusPatter {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int lines = n;
int nst = n;
int nsp = n-1;
for (int ... |
package com.github.dongchan.scheduler;
import java.time.Instant;
/**
* @author DongChan
* @date 2020/10/22
* @time 11:25 PM
*/
public interface Clock {
Instant now();
}
|
package sb.controller;
import java.io.IOException;
import java.util.List;
import java.util.Random;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
... |
package com.gmail.filoghost.holographicdisplays.nms.interfaces.entity;
import org.bukkit.inventory.ItemStack;
public interface NMSItem extends NMSEntityBase, NMSCanMount {
// Sets the bukkit ItemStack for this item.
public void setItemStackNMS(ItemStack stack);
// Sets if this item can be picked up by... |
package com.example.PesoLunar;
import android.os.Bundle;
import android.widget.TextView;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
public class DetailActivity extends AppCompatActivity {
private TextView PesoTextView;
private double Earth = 0;
private double Mo... |
package net.mapthinks.web.rest;
import net.mapthinks.domain.City;
import net.mapthinks.repository.CityRepository;
import net.mapthinks.repository.search.CitySearchRepository;
import net.mapthinks.web.rest.common.AbstractPageableResource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframewo... |
package com.avishai.MyShas;
import android.content.Intent;
import android.content.pm.ShortcutInfo;
import android.content.pm.ShortcutManager;
import android.graphics.drawable.Icon;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import andro... |
package BatailleNavale;
/**
* Created by fabie_000 on 01/05/2017.
*/
public class Coordonnee {
private int ligne;
private int colone;
public Coordonnee(int ligne, int colone) { // OUAIISS !!!
this.ligne = ligne;
this.colone = colone;
}
public int getLigne() {
... |
package org.juxtasoftware.dao;
import java.io.IOException;
import java.io.Reader;
import java.util.List;
import javax.xml.stream.XMLStreamException;
import org.juxtasoftware.model.ResourceInfo;
import org.juxtasoftware.model.Source;
import org.juxtasoftware.model.Usage;
import org.juxtasoftware.model.Workspace;
pub... |
package com.sha.springbootmongo.repository;
import com.sha.springbootmongo.model.User;
import com.sha.springbootmongo.projection.CountryAggregation;
import com.sha.springbootmongo.projection.UserAggregation;
import org.springframework.data.mongodb.repository.Aggregation;
import org.springframework.data.mongodb.reposit... |
package com.sshfortress.controller.system;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import ... |
package com.juancrud.miscontactos.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import andro... |
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.neuron.mytelkom;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bu... |
package com.example.NFEspring.entity;
import javax.persistence.*;
import javax.persistence.Entity;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
@Entity
@Table(name = "link")
public class Link implements Serializable {
@Id
@Column(name = "lk_id")
@GeneratedValue(strategy = Ge... |
package cardGames;
import java.util.Collections;
import java.util.EmptyStackException;
import java.util.Stack;
public class DeckStack<E> implements DeckADT<E>{
private Stack <E> cards;
private int items;
public DeckStack() {
cards = new Stack <E> ();
items = 0;
}
public DeckStack(Stack<E> ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.