text stringlengths 10 2.72M |
|---|
package io.meksula.persister.domain;
import lombok.*;
import javax.persistence.Column;
@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TransformerDto {
private TransformerTypes from;
private TransformerTypes to;
@Column(columnDefinition = "TEXT")
private String encodedDa... |
package com.examples.peoplemanager.service.mock;
import java.util.*;
import com.examples.peoplemanager.model.Person;
import com.examples.peoplemanager.service.ConfigService;
import com.examples.peoplemanager.service.PeopleService;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import org.joda.ti... |
package br.com.helpdev.quaklog.dataprovider.entity;
import lombok.Builder;
import lombok.Data;
@Data
@Builder
public class KillHistoryEntity {
private String gameTime;
private String killMode;
private int playerID;
private int modID;
}
|
package com.av.client.frames;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.b... |
package sample.artik.cloud.healthbook;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.v... |
package pingpong;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.util.Scanner;
import rmi.RMIException;
import rmi.Skeleton;
import rmi.*;
public class PingPongServer implements PingPongInterface{
public String ping(int idNumber) throws RMIException{
return "Pong " + idNumber;
... |
/**
* Where all the events and their handlers locate.
* <p>
* {@link org.alienideology.jcord.event.handler.EventHandler} are handlers that handle events fired by
* {@link org.alienideology.jcord.internal.gateway.GatewayAdaptor}, which are general events such as GuildUpdateEvent. The
* {@link org.alieni... |
package clientProfileApplication;
import javafx.scene.control.ComboBox;
import javafx.scene.control.DatePicker;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane;
public class ClientProfileBillFilter extends GridPane{
private ComboBox<String> itemCB ;
private TextField priceMinFld , priceM... |
package com.wenqiao.redisluttuce;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class RedisLuttuceApplication {
public static void main(String[] args) {
SpringApplication.run(RedisLuttuceApplication.cl... |
package definitions;
import com.GeneralMethods;
import io.cucumber.java.After;
import io.cucumber.java.Before;
import org.openqa.selenium.WebDriver;
public class Hooks {
@Before
public void beforeTest() {
GeneralMethods.createDriver();
}
@After
public void afterTest() {
WebDriver... |
package com.test;
public interface Event {
public void action();
}
|
package vlad.fp.services.synchronous.api;
import vlad.fp.services.model.EmailAddress;
import vlad.fp.services.model.ReportID;
public interface EmailService {
void sendReport(EmailAddress emailAddress, ReportID reportID);
}
|
import java.awt.Panel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPasswordField;
import j... |
class PalindromeNumber {
public static boolean isPalindrome1(int x) {
String original = String.valueOf(x);
String reversed = "";
for (int i=(original.length() - 1); i >= 0; i--) {
reversed = reversed + original.charAt(i);
}
return reversed.equals(original);
}
public static... |
package org.fhcrc.honeycomb.metapop.stop;
import org.fhcrc.honeycomb.metapop.World;
/**
* Doesn't stop.
*
* Created on 12 May, 2013
* @author Adam Waite
* @version $Rev: 2300 $, $Date: 2013-08-16 12:21:32 -0700 (Fri, 16 Aug 2013) $, $Author: ajwaite $
*
*/
public class NoStop extends StopCondition {
publi... |
package com.landa.datatypes;
import java.io.File;
public class PasteFile {
public PasteFile(File file, boolean status) {
this.file = file;
this.status = status;
}
public static final boolean STATUS_CUT = true;
public static final boolean STATUS_COPY = false;
File file;
public File getFile() {
... |
package visitors.design.pattern.example;
public interface RouterVisitor {
public void visit(BelkinRouter router);
public void visit(NetgearRouter router);
public void visit(CiscoRouter router);
}
|
package com.store.controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.store.pojo.SysPermission;... |
package net.minecraft.world.storage;
import java.io.File;
import javax.annotation.Nullable;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.MinecraftException;
import net.minecraft.world.WorldProvider;
import net.minecraft.world.chunk.storage.IChunkLoader;
import net.minecraft.world.gen.structure.t... |
package com.example.lkplaces.web.validation;
public interface ExistingG {
}
|
package collage;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.text.ParseException;
import java.util.Arrays;
public class RTSPRequestPacket extends RTSPPacket {
... |
package com.github.ovchingus.core;
public class Options {
private static int searchLimit = 30;
private static int foundResults;
private static boolean autoCorrect = false;
private static int cachedFiles = 50;
private static String cachePath = "src/main/java/com/github/ovchingus/cache/";
stati... |
package com.gepengjun.learn.service.role;
import com.gepengjun.learn.model.Role;
public interface RoleService {
Role findById(Long roleId);
}
|
package com.kingbbode.bot.common.base.api;
import com.kingbbode.bot.common.request.BrainRequest;
import com.kingbbode.bot.common.result.BrainResult;
/**
* Created by YG on 2017-01-26.
*/
public abstract class AbstractBotApi<T extends ApiData> implements BotApi<T> {
public BrainResult execute(BrainRequest b... |
package com.services.utils.collection;
import com.services.utils.object.FieldUtil;
import java.util.LinkedHashMap;
import java.util.Map;
public class MapUtil {
public static Map<String, Object> parseMap(Object obj) {
if (null == obj) {
return null;
}
Map<String, Object> map =... |
package com.tencent.mm.plugin.sns;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.g.a.hr;
import com.tencent.mm.g.a.ob;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.sns.model.af;
import com.tencent.mm.plugin.sns.model.aj;
import com.tencent.mm.plugin.sns.model.q;
import c... |
package com.zhongkk.spi.video.tencent.player;
import com.zhongkk.spi.video.player.VideoPlayer;
/**
* Description 腾讯播放器
*
* @author Created by 叶半仙 on 2019/7/3.
*/
public class TencentVideoPlayer implements VideoPlayer {
/**
* 播放
*
* @param url
* @return
*/
@Override
public Stri... |
package engines;
import bots.MotherBot;
import java.util.ArrayList;
public class Statistic {
private ArrayList<Game> gameList = new ArrayList<>();
private MotherBot[] botList;
private int[] nbWin = {0, 0, 0, 0};
private double[] ratio = {0, 0, 0, 0};
private double[] ecartType = {0 , 0, 0 ,0};
... |
package org.apache.commons.net.smtp;
import java.util.Enumeration;
import java.util.Vector;
public final class RelayPath {
Vector<String> _path;
String _emailAddress;
public RelayPath(String emailAddress) {
this._path = new Vector<>();
this._emailAddress = emailAddress;
}
public void addRel... |
/*
* 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... |
/*
* 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 producercustomer;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Inset... |
package com.koreait.dao;
import java.util.Map;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import com.koreait.dto.MemberDto;
import com.koreait.mybatis.config.DBService;
public class MDao {
// Field
private SqlSessionFactory factory = null;
/... |
package com.github.hippo.zipkin;
/**
* zipkin 通用工具类
*/
public class ZipkinUtils {
public static ZipkinResp zipkinRecordStart(ZipkinReq zipkinReq, ZipkinRecordService zipkinRecordService) {
if (zipkinRecordService == null) {
return null;
}
return zipkinRecordService.start(zipk... |
package com.lis2.math;
import java.util.ArrayList;
public class Lesson5_1 {
//已知有4中面额,求10元的组合
public static void main(String[] args) {
get(10,new ArrayList<Long>());
}
private static long[] reward = {1,2,5,10};
public static void get(long totalReward,ArrayList<Long> result) {
if (t... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package domain.enums;
public enum Shape {
CIRCLE, X;
}
|
/*
* 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 telusko1;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfi... |
package FFSSM;
import java.util.Calendar;
import java.util.LinkedList;
import java.util.List;
public class Plongeur extends Personne{
private List<Licence> licences = new LinkedList<>();
private int niveau = 0;
private GroupeSanguin groupe = GroupeSanguin.APLUS;
public Plongeur(String numeroINSEE, String n... |
package com.javasongkb.changgou.mapper;
import com.javasongkb.changgou.model.OauthClientDetails;
public interface OauthClientDetailsMapper {
int deleteByPrimaryKey(String clientId);
int insert(OauthClientDetails record);
int insertSelective(OauthClientDetails record);
OauthClientDetails selectByPri... |
package com.cg.hcs.service;
import java.util.List;
import com.cg.hcs.entity.DiagnosticCenter;
import com.cg.hcs.entity.Test;
import com.cg.hcs.exception.HCSException;
public interface IAdminService
{
public String addCenter(DiagnosticCenter center);
public List<DiagnosticCenter> viewAllCenters();
public St... |
package com.ibm.ive.tools.japt.obfuscation;
import java.util.*;
import com.ibm.jikesbt.*;
import com.ibm.ive.tools.japt.*;
/**
* @author sfoley
* <p>
* The following class produces sets of methods and fields which can all have the same name
* in order to maximize compression.
*
* Consider the fol... |
package collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.TreeSet;
public class Sets {
/*
* Sets do not allow object duplicates, in a set every object appears only once
* Relies on the equals() method to establish that objects are duplicates
*/... |
/*
* (C) Copyright 2014,2016 Hewlett Packard Enterprise Development LP
*
* 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... |
package com.duanxr.yith.easy;
/**
* @author 段然 2021/3/8
*/
public class DeleteDuplicateEmails {
/**
* Write a SQL query to delete all duplicate email entries in a table named Person, keeping only unique emails based on its smallest Id.
*
* +----+------------------+
* | Id | Email |
* +--... |
package solution.cs3330.hw3;
public class CreatureResponse {
private String response;
private boolean validAction;
public CreatureResponse (String response, boolean validAction) {
setResponse(response);
setValidAction(validAction);
}
public boolean getValidAction() {
return validAction;
}
public void ... |
import java.util.Scanner;
class ResultDeclaration{
public String declareResults( double subject1Marks, double subject2Marks, double subject3Marks) {
double x,y,z;
x=subject1Marks;
y=subject2Marks;
z=subject3Marks;
if(x>60||y>60||z>60){
return ("failed");
... |
package rontikeky.beraspakone.users;
import com.google.gson.annotations.SerializedName;
/**
* Created by Acer on 2/12/2018.
*/
public class AddressReq {
// Selama sama gausah make Serialiized Name
public String action;
public String id_user;
public int id_district;
public String address_name;... |
package com.fsoft.fa.interviewprocessmanagement.service;
import com.fsoft.fa.interviewprocessmanagement.model.Candidate;
import com.fsoft.fa.interviewprocessmanagement.repository.CandidateRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.acls.model.NotFoundE... |
/*
* 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 vasylts.blackjack.player.hand;
import java.util.Collections;
import java.util.List;
import org.junit.Test;
import static org.j... |
package rent.api.service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import rent.api.utils.Constants;
import rent.common.dtos.AccountCal... |
package kz.feekapo.model;
public class User {
private String id;
private String firstname;
private String lastname;
private String uri;
private String email;
private int statusid;
private String currenstatus;
private String prevstatus;
public User() {}
public User(String id) {
sup... |
package com.example.root.curriculum.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.TextInputLayout;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.wid... |
import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;
class BorderDemo extends JFrame
{
JButton b1,b2,b3,b4,b5,b6,b7,b8;
BorderDemo()
{
Container c=getContentPane();
c.setLayout(new FlowLayout());
b1=new JButton("Raised Bavel Border");
b2=new JButton("Lowered Bavel Border");
b3=new JButton(... |
package de.jmda.core.mproc.task;
import static java.lang.System.currentTimeMillis;
import static java.lang.System.lineSeparator;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.annotation.processing.Processor;
import javax.tools.JavaCompiler;
imp... |
package com.mayabot.nlp.segment.plugins.personname;
import com.mayabot.nlp.segment.pipeline.PipelineLexerBuilder;
import com.mayabot.nlp.segment.pipeline.PipelineLexerPlugin;
/**
* @author jimichan
*/
public class PersonNamePlugin implements PipelineLexerPlugin {
@Override
public void install(PipelineLexer... |
/*
* 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 test;
import uniud.trecevaloo.control.Minute;
import uniud.trecevaloo.control.Time;
import uniud.trecevaloo.control.TimeUnit;
... |
package model;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class AddToDataTest {
@Test
public void addToDataTest() {
DataChoices dataChoices = new DataChoices("", "", "", "");
ArrayList<DataChoices> list... |
package basic;
public class Exercise02 {
public int calSumDigitsOfANumber(int number) {
String num = "" + number;
int sum = 0;
for (int index = 0; index < num.length(); index++ ) {
sum += (num.charAt(index) - '0');
}
return sum;
}
}
|
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode(int x) { val = x; }
* }
*/
class Solution {
public boolean isPalindrome(ListNode head) {
ListNode temp = head;
int length=0;
String x="";
ListNode rev... |
package jbyco.optimization.common;
/**
* An interface for optimization action loader.
*/
public interface ActionLoader<T extends Action> {
/**
* Loads inner classes that implement actions of type T.
* @param libraries classes that contain actions
*/
void loadActions(Class<?> ...libraries);
... |
/**
*
*/
package com.cnk.travelogix.supplier.mappings.services;
import com.cnk.travelogix.supplier.mappings.exception.SupplierMappingException;
// TODO: Auto-generated Javadoc
/**
* The Interface SupplierMappingService.
*
* @author admin
* @param <SUPPLIER_MAPPING_MODEL>
* the generic type
*/
publi... |
import java.util.Random;
import javax.microedition.lcdui.Graphics;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author exstac
*/
public class UFOEntity extends Entity {
public static final double SMALL = 1, BIG = 1.5;
private int moveTimer;
... |
package edu.floridapoly.polycamsportal.schedule;
import java.util.List;
import java.util.Objects;
public class Course {
private String title;
private String department;
// This is a String because some courses numbers have X and C in them
private String number;
private String type;
private i... |
public class TestOpe04
{
public static void main(String[] args)
{
int a = 5;
a++;//相当于 a=a+1;
System.out.println(a);
a = 5;
++a;
System.out.println(a);
//++单独使用的时候,无论放在前还是后,都是加一操作
//将++参与到运算中:
a = 5;
int m = a++ + 7;
System.out.println(m);
System.out.println(a);
a = 5;
int n = ... |
package com.algaworks.ecommerce.model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.*;
import java.util.Date;
@Data
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
@Entity
@Table(name = "nota_fiscal")
public class NotaFiscal {
@EqualsAndHashCode.Include
@Id
@Column(nam... |
public class IteratorTest {
public static void main(String[] args){
PersonRepository p = new PersonRepository();
for(Iterator i = p.getIterator(); i.hasNext();){
String name = (String)i.next();
System.out.println(name);
}
}
}
|
package com.rc.portal.webapp.action;
import java.io.PrintWriter;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import java.util.regex.Pattern;
import com.rc.app.framework.webapp.action.BaseAction;
import com.rc.commons.mail.Mail;
import com.rc.dst.client.util.ClientSubm... |
package com.yixin.dsc.v1.service.capital.icbc;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.google.common.collect.Maps;
import com.yixin.dsc.common.exception.BzException;
import com.yixin.dsc.dto.DscCapitalDto;
import com.yixin.dsc.entity.order.DscSalesApplyFinancing;
import com... |
package lib.tales.lemon.file;
public class LmIndex {
public int iPos;
public int iSize;
public int iEtc;
public int iEx1;
public int iEx2;
public int iEx3;
public int iEx4;
public int iEx5;
public byte strName[];
} |
package com.tencent.mm.plugin.address.model;
import com.tencent.mm.a.o;
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.network.k;
import com.tencent.mm.network.q;
import com.tencent.mm.protocal.c.bew;
import com.tencent.mm.protoca... |
/* Copyright (c) 2001-2007, David A. Clunie DBA Pixelmed Publishing. All rights reserved. */
package edu.co.unal.bioing.jnukak3d.ImageUtil;
//import java.io.BufferedInputStream;
//import java.io.File;
//import java.io.FileInputStream;
//import java.io.IOException;
import java.awt.GraphicsEnvironment;
import java.awt... |
package test;
import static org.junit.Assert.*;
import junit.framework.Assert;
import model.ChemicalElement;
import model.Classification;
import model.SpectralLines;
import org.junit.Before;
import org.junit.Test;
public class SpectralLinesTest {
ChemicalElement hydrogen;
SpectralLines elementLines;
@Before
... |
package net.sssanma.mc.data.user.itembox;
import net.sssanma.mc.data.user.User;
import net.sssanma.mc.data.user.UserLoadException;
import net.sssanma.mc.data.user.rank.UserFunctionLimitedException;
import java.io.File;
import java.io.FileFilter;
import java.io.FileNotFoundException;
import java.util.HashMap;
import j... |
package com.benz.event.receiver.util;
import java.util.HashMap;
import java.util.Map;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
/**
* The Class EventReceiverUtil.
*/
@Component
@Ena... |
package com.tencent.mm.plugin.appbrand.jsapi;
import com.tencent.mm.plugin.appbrand.config.a$e;
import com.tencent.mm.plugin.appbrand.l;
import com.tencent.mm.plugin.appbrand.page.e;
import org.json.JSONObject;
public final class bm extends a {
public static final int CTRL_INDEX = -2;
public static final Stri... |
package com.qswy.app.utils;
import android.content.Context;
import android.widget.Toast;
/**
* Created by ryl on 2016/10/31.
*/
public class ToastUtils {
private static Toast toast;
public static void show(Context context,String content){
if (toast==null){
toast = Toast.makeText(context... |
package com.newsblur.activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import com.newsblur.R;
import com.newsblur.domain.SocialFeed;
import com.newsblur.util.UIUtils;
public class SocialFeedItemsList extends ItemsList {
public static final Stri... |
package com.dragon.design.pattern.visitor;
import java.util.Collection;
public interface Visitor {
public void visitString(StringElement stringE);
public void visitFloat(FloatElement floatE);
public void visitCollection(Collection<Visitable> collection);
} |
package DomFaryna.FiveGuysOneRobot.Controls;
import com.pi4j.io.gpio.*;
import com.pi4j.io.gpio.event.GpioPinListenerDigital;
// Button is used to wait until a button pressed before going on
public class StartButton {
private final Pin dPin = RaspiBcmPin.GPIO_19;
//private final Pin dPin = RaspiPin.GPIO_24;
... |
package com.weijuju.iag.wxoauth.util;/**
* Created by zhangyin on 2017/1/5.
*/
import org.apache.http.conn.ssl.TrustStrategy;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
/**
* @author zhangyin
* @create 2017-01-05
*/
public class AnyTrustStrategy implements TrustS... |
package com.tencent.mm.plugin.wallet.balance.ui;
import android.content.Intent;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import com.tencent.mm.bg.d;
import com.tencent.mm.model.q;
import com.tencent.mm.wallet_core.ui.e;
class WalletBalanceManagerUI$4 implements OnMenuItemCli... |
package assignment.easyaccount.activity;
import android.app.AlertDialog;
import android.app.TabActivity;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TabHost;
import android.widge... |
package com.linkedbook.dto.comment;
import lombok.Getter;
import lombok.NoArgsConstructor;
@NoArgsConstructor
@Getter
public class CommentInput {
private String isbn;
private double score;
private String content;
private int[] categories;
}
|
package Stack;
public class MTSTACK<X> implements ISTACK<X> {
public MTSTACK() {};
public ISTACK<X> pop() throws Exception{
throw new Exception("Method pop applied to an empty stack");}
public ISTACK<X> push (X v){return new NMTSTACK<X>(v, this);}
public X top() throws Exception{
throw new Exce... |
package recycle_bin.camera2;
import android.annotation.TargetApi;
import android.hardware.camera2.CameraAccessException;
import android.hardware.camera2.CameraCharacteristics;
import android.hardware.camera2.CameraDevice;
import android.hardware.camera2.CameraManager;
import android.hardware.camera2.CaptureRequ... |
package it.polimi.ingsw.GC_21.VIEW;
import java.util.Scanner;
import it.polimi.ingsw.GC_21.CLIENT.ChooseActionMessage;
import it.polimi.ingsw.GC_21.PLAYER.FamilyMemberColor;
public class PlacementInput extends ActionInput{
protected ActionInput actionInput;
protected FamilyMemberColor familyMemberColor;
protecte... |
package bnorm.virtual;
import bnorm.utils.Trig;
public class VectorWave extends Wave implements IVectorWave {
private IVector vector;
public VectorWave(double x, double y, double velocity, double heading, long time) {
super(x, y, velocity, time);
this.vector = new Vector(0, 0, heading, velocity);
... |
package com.hangarww.vaccination;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.hangarww.vaccination.model.AadharCard;
import com.hangarww.vaccination.model.VaccinatedPerson;
import com.hangarww.vaccination.model.VaccinationCentre;
import com.hangarww.vaccination.model.Vaccine;
import com.hangarww.va... |
package com.tencent.mm.g.a;
import com.tencent.mm.sdk.b.b;
public final class nz extends b {
public a bYU;
public b bYV;
public nz() {
this((byte) 0);
}
private nz(byte b) {
this.bYU = new a();
this.bYV = new b();
this.sFm = false;
this.bJX = null;
}
}... |
package com.zhouyi.business.controller;
import com.zhouyi.business.core.model.LedenCollectLooks;
import com.zhouyi.business.core.model.Response;
import com.zhouyi.business.core.service.BaseService;
import com.zhouyi.business.core.vo.LedenCollectLooksVo;
import io.swagger.annotations.Api;
import org.springframework.bea... |
package com.basis.cg.xtarefas.domain;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable... |
package org.alienideology.jcord.util;
import org.alienideology.jcord.JCord;
import org.alienideology.jcord.util.log.LogLevel;
import org.apache.commons.codec.binary.StringUtils;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import ... |
package gbernat.flashlight;
import android.app.Application;
import android.content.Context;
import android.hardware.Camera;
public class Utils extends Application {
private static Context context;
public static Camera cam;
public static boolean isRunning;
public void onCreate(){
super.o... |
package com.vilio.nlbs.dynamicdatasource.service.impl;
import com.vilio.nlbs.dynamicdatasource.CustomerContextHolder;
import com.vilio.nlbs.dynamicdatasource.dao.BPSTestDao;
import com.vilio.nlbs.dynamicdatasource.pojo.TestCity;
import com.vilio.nlbs.dynamicdatasource.service.TestService;
import org.springframework.st... |
package br.ufjf.dcc171;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.swing.JFrame;
public class Trabalho1Lab3 {
public static void main(String[] args) {
Janela j = new Janela(getSampleData());
j.setSize(800, 350);
j.setDefaultCloseOper... |
/**
* Created by Nicu Osan on 29.03.2017.
*/
public class Problema3 {
/*3. Se citesc numere naturale pânã când se introduce numãrul 0.
Afisati suma obtinutã prin adunarea doar a numerelor mai mari decat 4 si mai mici decat 11.*/
public static void main(String[] args) {
int numere = 0;
i... |
package com.tencent.mm.plugin.webview.ui.tools.widget.input;
public interface WebViewInputFooter$b {
void aSX();
void aSY();
}
|
package oops;
public class ExParameterizedConstructor {
int stuId;
String stuName;
char gender;
String color;
ExParameterizedConstructor(int stuId,String stuName,char gender,String color){
this.stuId = stuId;
this.stuName = stuName;
this.gender = gender;
this.color = color;
}
public static vo... |
package org.browsexml.timesheetjob.model;
import java.util.Date;
public class CheckPayPeriodItem {
private String lastName;
private String firstName;
private String peopleId;
private Date punched;
private Job job;
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
... |
package org.motechproject.server.omod.web.model;
import org.apache.velocity.app.VelocityEngine;
import org.motechproject.server.model.MailTemplate;
import org.springframework.ui.velocity.VelocityEngineUtils;
import java.util.Map;
public class SupportCaseMailTemplate implements MailTemplate {
private VelocityEng... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.