text stringlengths 10 2.72M |
|---|
package it.univaq.rtv.Model.StatoGiocatore;
import it.univaq.rtv.Model.Giocatore;
public class Gioca implements IStato_Giocatore {
/**
* @param g
*/
@Override
public void ruolo(Giocatore g){
g.setState(this);
}
}
|
package com.example.bhakt.payment_module;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.RadioGroup;
import android.widget.Toast;
public class payment_modes ... |
import java.util.*;
import java.io.*;
public class NickProb {
public static void main(String[] args) throws IOException {
Scanner nya = new Scanner(System.in);
int cats = Integer.parseInt(nya.nextLine());
while(cats-->0){
TreeMap<String, String> meow = new TreeMap<>(new Comparat... |
package SMS;
import android.telephony.SmsManager;
public class sendSMS {
//private String msgTxt,numTxt;
public sendSMS(String numTxt,String msgTxt){
SmsManager sms=SmsManager.getDefault();
sms.sendTextMessage(numTxt, null, msgTxt, null, null);
}
}
|
package org.mge.ds;
import java.util.Arrays;
public class StackWithArray {
private int[] data;
private int top = -1;
private int size = 0;
public static void main(String[] args) {
StackWithArray s = new StackWithArray(2);
System.out.println(s.isEmpty());
System.out.println(s.capaity());
s.push(1);
s.p... |
public class Solution {
int id_sol ;
String texte_sol ;
int id_user ;
int id_prob ;
String nom_user;
String prenom_user;
public int getId_sol() {
return id_sol;
}
public void setId_sol(int id_sol) {
this.id_sol = id_sol;
}
public String getTexte_sol() {
return texte_sol;
... |
package com.translator.application.test.doubles;
import com.translator.domain.model.credits.Credits;
import com.translator.domain.model.material.MaterialFactory;
import com.translator.domain.model.material.Material;
import com.translator.domain.model.numeral.RomanNumeral;
import java.util.ArrayList;
import java.util.... |
package com.tencent.mm.plugin.radar.b;
import com.tencent.mm.storage.ab;
final class c$k implements Runnable {
final /* synthetic */ ab mjM;
final /* synthetic */ c mjy;
c$k(c cVar, ab abVar) {
this.mjy = cVar;
this.mjM = abVar;
}
public final void run() {
this.mjy.mjt.L(... |
//package com.emp.rest.controllers;
//
//import java.net.URI;
//import java.util.ArrayList;
//import java.util.Collection;
//import java.util.Date;
//import java.util.HashMap;
//import java.util.LinkedHashMap;
//import java.util.List;
//import java.util.Map;
//import java.util.logging.Logger;
//
//import ja... |
package data.daos;
import static org.junit.Assert.*;
import java.util.Calendar;
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.junit4... |
package com.workorder.ticket.persistence.dto;
import com.workorder.ticket.persistence.entity.User;
/**
* 用户信息详情
*
* @author wzdong
* @Date 2019年3月5日
* @version 1.0
*/
public class UserInfoDto extends User {
private String groupName;
private Long userId;
public String getGroupName() {
return groupName;
}... |
/**
*/
package contain;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
/**
* <!-- begin-user-doc -->
* The <b>Package</b> for the model.
* It contains accessors for the meta objects to represent
* <ul>
... |
package com.Lab;
import java.util.Scanner;
//INTIALIZATION
public class BakingData {
private static int eggsAmount;
private int eggsMin = 1;
private static int milkAmount;
private int milkMin = 200; // milliliter
private static int flourAmount;
private int flourMin = 100; // grams
// INTRODUCTION... |
package Java_LinkedList;
import java.util.LinkedList;
public class LinkedListtest1 {
public static void main(String[] args) {
Duilei d = new Duilei();
d.myAdd("java1");
d.myAdd("java2");
d.myAdd("java3");
d.myAdd("java4");
while(!d.isNull()){
System.out.println(d.m... |
package ticketApi;
public interface TicketSink {
// Insert a ticket into the sink
void addTicket(Ticket ticket);
}
|
package com.spbsu.flamestream.example.bl.index.model;
import java.util.Objects;
/**
* User: Artem
* Date: 10.07.2017
*/
public class WordIndexRemove implements WordBase {
private final String word;
private final long start;
private final int range;
public WordIndexRemove(String word,
... |
package server;
/**
* A server that can receive GET, PUT, and DELETE
* commands for key-value pairs to store in a map. This class
* is thread-safe with respect to reads/writes to the map.
* @author lscholte
*
*/
public interface Server {
/**
* Starts the server and awaits requests from a client.
*/
... |
/*
* 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 ma... |
package p9.platforms;
import java.awt.BorderLayout;
import java.awt.Canvas;
import java.awt.Dimension;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import com.badlogic.gdx.ApplicationListener;
impo... |
package com.tencent.mm.plugin.account.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.tencent.mm.plugin.c.a;
class RegByEmailUI$2 implements OnClickListener {
final /* synthetic */ RegByEmailUI eUG;
RegByEmailUI$2(RegByEmailUI regByEmailUI) {
... |
package com.dimple.common.exception;
/**
* @className DemoModeException
* @description 演示模式异常
* @auther Dimple
* @date 2019/3/13
* @Version 1.0
*/
public class DemoModeException extends RuntimeException {
private static final long serialVersionUID = 1L;
public DemoModeException() {
}
}
|
package net.h2.web.mob.file.profile;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import net.h2.web.core.base.server.entity.BaseEntity;
@Entity
@Table(name = "MOB_PROFILE_FILE")
public class... |
package com.jayqqaa12.abase.util;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import com.jayqqaa12.abase.core.AbaseUtil;
/**
* 提供各种 系统 广播的 动态 注册
*
* @author jayqqaa12
* @date 2013-5-15
*/
public class ReceiverUtil... |
package com.tencent.mm.plugin.profile.ui;
import android.os.Message;
import com.tencent.mm.aq.l;
import com.tencent.mm.model.au;
import com.tencent.mm.model.c;
import com.tencent.mm.model.q;
import com.tencent.mm.plugin.account.b;
import com.tencent.mm.sdk.platformtools.ag;
import com.tencent.mm.ui.r;
class f$2 exten... |
/**
* ファイル名 : VSM11010XController.java
* 作成者 : nv-manh
* 作成日時 : 2018/05/31
* Copyright © 2017-2018 TAU Corporation. All Rights Reserved.
*/
package jp.co.tau.web7.admin.supplier.controllers;
import java.awt.TrayIcon.MessageType;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import j... |
package com.duanxr.yith.easy;
/**
* @author 段然 2021/9/23
*/
public class PowerOfThree {
/**
* Given an integer n, return true if it is a power of three. Otherwise, return false.
*
* An integer n is a power of three, if there exists an integer x such that n == 3x.
*
*
*
* Example 1:
*
... |
package cn.canlnac.onlinecourse.domain;
/**
* 登录.
*/
public class Login {
private int id;
private String userStatus;
private String nickname;
private String gender;
private String iconUrl;
private long lockDate;
private long lockEndDate;
private String jwt;
public int get... |
package com.company.SamouczekTasks;
public class StringTest {
public static void main(String[] args) {
/* String aaa = "Coś trzeba napisać i już";
String kawa = new StringBuilder(aaa).append("Charlie").substring(10).substring(15, 20).concat("gizmo").toString();
System.out.println(kawa);
... |
package com.example.todolist.AddGroups;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.ProgressBa... |
/*
* Copyright 2017 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
package sample;
import javafx.fxml.FXML;
import javafx.geometry.HPos;
import javafx.geometry.Insets;
import javafx.geometry.VPos;
import javafx.scene.control.Button;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.HBox;
import java.... |
package android.spvct.itu.dk.awphoneapp.Sensors;
import android.util.Log;
import org.altbeacon.beacon.MonitorNotifier;
import org.altbeacon.beacon.Region;
public class BeaconMonitorListener implements MonitorNotifier {
protected static final String TAG = "test";
@Override
public void didEnterRegion(Reg... |
package com.mysql.cj.protocol.a.authentication;
import com.mysql.cj.Messages;
import com.mysql.cj.conf.PropertyKey;
import com.mysql.cj.conf.PropertySet;
import com.mysql.cj.conf.RuntimeProperty;
import com.mysql.cj.exceptions.CJException;
import com.mysql.cj.exceptions.ExceptionFactory;
import com.mysql.cj.exceptions... |
package com.packers.movers.commons.contracts;
import java.time.Instant;
public class TimestampContract extends ContractBase {
private String timestamp;
public TimestampContract() {
this.timestamp = Instant.now().toString();
}
public TimestampContract(Instant timestamp) {
this.timesta... |
package org.terasoluna.gfw.examples.pagination.app;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.springframework.format.annotation.DateTimeFormat;
import org.terasoluna.gfw.common.codelist.ExistInCodeList;
publi... |
package com.rxc.service;
import com.rxc.dao.UserRepository;
import com.rxc.domain.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
@Service("userService")
public class UserService {
@Autowir... |
package com.ryl.framework.base;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseB... |
package com.example.tris_meneghetti;
import android.view.View;
public interface IplayerVS {
int onButtonClick(View view, Design[][] grigliaPulsanti, boolean turnoX, String[][] griglia, int pareggio);
}
|
package com.gtfs.dao.impl;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import org.apache.log4j.Logger;
import org.hibernate.Criteria;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.cri... |
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.AbstractAction;
import javax.swing.ImageIcon;
import javax.swing.JOptionPane;
/**
* Our "Copy" action.
*/
public class CopyAction extends AbstractAction {
public CopyAction(String name, ImageIcon icon, String shortDescription,
... |
package me.jessepayne.pad4j.visualizer.swing.theme;
import java.awt.*;
import java.util.ArrayList;
import java.util.TimerTask;
public class ThemeChangeTask extends TimerTask {
private ThemeManager themeManager;
private LPTheme startTheme;
private LPTheme endTheme;
private ArrayList<LPTheme> steps;
... |
package com.stark.netty.section_2.charpter_2_3;
import com.stark.netty.section_2.charpter_2_1.TimeServerHandler;
/**
* Created by Stark on 2018/3/1.
* NIO时间服务器客户端
*/
public class TimeClient {
public static void main(String[] args) {
int port = 8080;
new Thread(new TimeClientHandler(port)).start... |
package br.com.alura.livrariaAPI.dto;
import br.com.alura.livrariaAPI.modelo.Autor;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class LivroDto {
private String titulo;
private AutorDto autor;
private int numeroDePaginas;
}
|
package com.appc.report.service;
import com.appc.report.model.CommonRegion;
/**
* CommonRegionService
*
* @version : Ver 1.0
* @author : panda
* @date : 2017-9-14
*/
public interface CommonRegionService extends CommonService<CommonRegion>{
void save(CommonRegion commonRegion);
}
|
/*
* 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 classes;
import javax.swing.JOptionPane;
/**
*
* @author Mateus Bernini
*/
public abstract class ContaBancaria {
prot... |
package com.example.Journal.UI;
import android.app.Activity;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.database.Cursor;
import android.os.Bundle;
import android.view.View;
import android.widget.*;
import com.example.Journal.R;
import com.example.Journal.db.DBAdapter;
import com.exa... |
package com.tencent.tencentmap.mapsdk.a;
public final class rj {
private final qx a;
private final int b;
private final qw c;
private final qw d;
private final qw e;
private final qw f;
protected rj(int i, qw qwVar, qw qwVar2, qw qwVar3, qw qwVar4, qx qxVar) {
this.b = i;
t... |
package com.iw4.iwnet.ipserver;
import java.net.SocketAddress;
public class IPResponsePacket {
public SocketAddress source;
public short sequence;
public boolean natOpen;
public boolean blockGame;
public IPResponsePacket(SocketAddress source, short sequence, boolean natOpen, boolean blockGame) {... |
package org.dummy.jdbc.utils;
import org.dummy.jdbc.annotation.Col;
import java.lang.reflect.Field;
import java.sql.ResultSet;
import java.sql.SQLException;
import static org.dummy.jdbc.utils.EntityUtils.*;
public final class RowMapperUtils {
private RowMapperUtils() {
//Utility
}
private stat... |
package genscript.defaultops.math;
import genscript.defaultops.InfixOperation;
import genscript.execution.ExecuterTreeNodeEager;
import genscript.parse.IndexReader;
import scriptinterface.defaulttypes.GBoolean;
import scriptinterface.defaulttypes.GFloat;
import scriptinterface.defaulttypes.GInteger;
import scr... |
package org.surkovp.pythonliterals;
import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.stream.Stream;
import static org.junit.jupiter.api.Assertions.assertEquals;
class UtilTests {
@Test
void getLiteralsEmptyStringTest() {
... |
package web.inttest.objects.login;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
public class LoginPage
{
private WebDriver driver;
private WebElement email;
private WebElement password;
private WebElement logginButton;
private WebEleme... |
/*
* Created on Dec 10, 2004
*
* To change the template for this generated file go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
package com.ibm.ive.tools.japt.reduction;
import java.io.PrintStream;
import com.ibm.ive.tools.japt.InternalClassesInterface;
import com.ibm.ive.... |
package client;
import javax.swing.*;
import java.awt.*;
public class MessageArea extends JPanel
{
private static final String BTN_TXT = " Send Message ";
JTextField textField;
JButton btn;
public MessageArea() throws HeadlessException {
super();
this.setLayout(new BorderLayout());
... |
package sandbox.cdi;
import static org.hamcrest.Matchers.notNullValue;
import static org.junit.Assert.assertThat;
import javax.enterprise.inject.Instance;
import javax.enterprise.inject.se.SeContainer;
import javax.enterprise.inject.se.SeContainerInitializer;
import javax.enterprise.inject.spi.CDI;
import ja... |
package org.foobarspam.cotxox.conductores;
import java.util.ArrayList;
import java.util.concurrent.ThreadLocalRandom;
public class PoolConductores {
// Atributos
private ArrayList<Conductor> poolConductores = new ArrayList<Conductor>();
// Getters y setters
public ArrayList<Conductor> getPoolConductores() {
r... |
package com.example.myapplication.app;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import android.os.IBinder;
import android.os.Message;
import com.example.myapplication.model.PersonalSmsGateway;
import com.exa... |
package com.facebook.yoga;
public enum YogaExperimentalFeature {
WEB_FLEX_BASIS(0);
private final int mIntValue;
static {
$VALUES = new YogaExperimentalFeature[] { WEB_FLEX_BASIS };
}
YogaExperimentalFeature(int paramInt1) {
this.mIntValue = paramInt1;
}
public static Y... |
import java.io.IOException;
import java.util.List;
import model.VEHBrand;
import model.VEHDetail;
import model.VEHEngine;
import model.VEHFamily;
import model.VEHGearbox;
import model.VEHGroup;
import model.VEHInfo;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.... |
package com.tencent.mm.aq;
import com.tencent.mm.plugin.messenger.foundation.a.a.h.b;
import com.tencent.mm.protocal.c.bhz;
import com.tencent.mm.protocal.c.rd;
import com.tencent.mm.sdk.platformtools.bi;
@Deprecated
public final class d extends b {
private rd ecd = new rd();
public d(String str, long j) {
... |
package com.tamimattafi.mydebts.model.database.dao;
import android.database.Cursor;
import androidx.room.EntityDeletionOrUpdateAdapter;
import androidx.room.EntityInsertionAdapter;
import androidx.room.RoomDatabase;
import androidx.room.RxRoom;
import androidx.room.util.DBUtil;
import androidx.sqlite.db.SupportSQLiteQ... |
/*
* Collin Tod
* C2N1P1JavaRules
*/
package C2N1P1JavaRules;
public class C2N1P1JavaRules {
public static void main(String[] args) {
//Output
System.out.println("Java Rules.");
}
}
/*
*Java Rules.
*/
|
package com.example.cj.perfectj.service;
import java.math.BigDecimal;
/**
* Created on 2020-04-19
*/
public interface ProductService {
long addProduct(String name, int stock, BigDecimal price);
}
|
package assemAssist.model.clock.clock;
import org.joda.time.DateTime;
import assemAssist.model.clock.event.Event;
/**
* An unmodifiable view for the {@link ModifiableClock}. The time of this clock
* equals the time of the {@link ModifiableClock}, with which this clock has
* been initialised. To adjust the time,... |
package vanadis.extrt;
import vanadis.ext.Inject;
import vanadis.osgi.Reference;
import vanadis.osgi.ServiceProperties;
public class ReferenceInjectee {
private Reference<TestService> propertiedTestServiceRef;
private TestService testService;
private ServiceProperties<TestService> properties;
priv... |
package main.java.com.loss;
/*
* Interface for loss function
*
* Author: Dylan Lasher
*/
import main.java.com.deepNeuralNetwork.Matrix;
public interface LossFunction
{
double computeCost(Matrix Y, Matrix AL);
Matrix computeCostGradient(Matrix Y, Matrix AL);
}
|
package org.automator.core;
import java.io.File;
import java.util.Properties;
import org.automator.config.ApplicationProperties;
import org.automator.config.ApplicationPropertiesKeys;
import org.automator.config.DriverConfiguration;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;... |
package net.d4rk.inventorychef.inventory.expandablelistview.roomembedded.model;
public class PositionMapping {
private int mGroupIndex;
private int mChildIndex;
public PositionMapping(int groupIndex, int childIndex) {
mGroupIndex = groupIndex;
mChildIndex = childIndex;
}
public i... |
package leetcode;
/*
* Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
k is a positive integer and is less than or equal to the length of the linked list. If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is.
Example:
G... |
package com.tencent.mm.plugin.appbrand.b;
import android.os.Message;
import com.tencent.mm.plugin.appbrand.g;
final class c$a extends f {
final /* synthetic */ c fjx;
c$a(c cVar, h hVar, g gVar) {
this.fjx = cVar;
super(hVar, gVar);
}
public final String getName() {
return th... |
package com.adms.web.bean.nav;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
@ManagedBean
@RequestScoped
public class NavigatorBean {
private final String REDIRECT_PARAM = "?faces-redirect=true";
//Main Page URL
private final String TO_MAIN_PAGE = "/main";
private fi... |
package com.clean.flyjiang.cleanbaseapp.callback;
import android.app.Activity;
import android.app.Dialog;
import com.clean.flyjiang.cleanbaseapp.okgomodel.CommonReturnData;
import com.clean.flyjiang.cleanbaseapp.okgomodel.SimpleResponse;
import com.clean.flyjiang.cleanbaseapp.utils.Convert;
import com.google.gson.stre... |
package com.orca.web;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springfram... |
package CompaniesInterview.amazon.skillinefficiency;
import java.util.ArrayList;
import java.util.Collections;
public class Solution {
// review https://leetcode.com/problems/find-k-th-smallest-pair-distance/solutions/127408/find-k-th-smallest-pair-distance/
public static void main(String[] args) {
v... |
package com.prashanth.sunvalley.mapper;
import com.prashanth.sunvalley.Model.LocationDTO;
import com.prashanth.sunvalley.domain.Location;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
@Mapper
public interface LocationMapper {
LocationMapper INSTANCE = Mappers.getMapper(LocationMapper.class);
... |
package edu.pdx.cs410J.mckean;
import edu.pdx.cs410J.web.HttpRequestHelper;
import java.io.IOException;
/**
* A helper class for accessing the rest client. Note that this class provides
* an example of how to make gets and posts to a URL. You'll need to change it
* to do something other than just send key/value... |
package fr.umlv.escape.editor;
import fr.umlv.escape.R;
import android.app.Activity;
import android.content.Context;
import android.database.DataSetObserver;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import an... |
package com.tt.miniapp.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintStream;
import java.util.List;
public class CommandUtil {
public static List<String> executeShellCommand(String paramString) {
// Byte code:
// 0: aconst_null
// 1: astore #5
/... |
package com.sinotao.web.util;
public class UploadConfig {
/**
* 上传文件保存地址基本路径
*/
private String basePath;
/**
* “x光”上传文件保存地址相对路径
*/
private String xRayFolder;
/**
* “心电图”上传文件保存地址相对路径
*/
private String heartFolder;
/**
* “B超”上传文件保存地址相对路径
*/
private String bUtraFolder;
/**
* “阴道镜”上传文件保存... |
package com.huawei.esdk.platform.professional.local.impl.service;
import javax.xml.ws.Holder;
import org.apache.log4j.Logger;
import com.huawei.esdk.platform.professional.local.bean.SDKResponse;
import com.huawei.esdk.platform.professional.local.impl.autogen.PlatformKeyMgr;
import com.huawei.esdk.platform.profession... |
package moderate;
/* Sample code to read in test cases:*/
import java.io.*;
import java.util.*;
import java.lang.*;
public class DetectingCycles {
public static void main (String[] args) throws IOException {
File file = new File("/Users/Priyatham/Git/CodeEval/bin/text.txt");
BufferedReader buffer = ... |
package bnorm.base;
import bnorm.robots.IRobotSnapshot;
import bnorm.utils.Trig;
import bnorm.utils.Utils;
import robocode.AdvancedRobot;
import robocode.Robot;
/**
* An abstract representation of a {@link AdvancedRobot}. This class allows the the robot to perform
* some basic moving and turning by utilizing some c... |
package com.example.adminjs.jiaosheng11004;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
/**
* Created by Adminjs on 2017/11/4.
*/
public class MactActivity extends AppCompatActivity{
private Bu... |
package com.jasoftsolutions.mikhuna.activity.fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import com.jasoftsolutions... |
package br.inf.ufg.mddsm.controller.policy.repository;
public class Decision {
private String param;
private String operation;
private String value;
public Decision(String par, String anOperaiton, String val)
{
param=par;
operation= anOperaiton;
value=val;
}
public String getParam()
{... |
package com.fleet.easyexcel.entity;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.alibaba.excel.converters.string.StringImageConverter;
im... |
package com.example.dao;
import com.example.entities.Order;
import com.example.entities.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* Created by Andros on 28.02.2017.
*/
@Repository
public interface OrderDao extend... |
package com.cpe.mysql.webblog.repository;
import com.cpe.mysql.webblog.entity.Tag;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import org.springframework.stereotype.Repository;
import java.util.Optional;
@Reposito... |
package com.tencent.mm.plugin.music.model.e;
import android.widget.Toast;
import com.tencent.mm.plugin.music.b.e;
import com.tencent.mm.plugin.music.model.e.e.2;
import com.tencent.mm.sdk.platformtools.ad;
class e$2$2 implements Runnable {
final /* synthetic */ 2 lzQ;
e$2$2(2 2) {
this.lzQ = 2;
}... |
package SeliniumSessions;
import java.util.ArrayList;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium... |
package com.paleimitations.schoolsofmagic.common.containers;
import com.paleimitations.schoolsofmagic.common.registries.ContainerRegistry;
import com.paleimitations.schoolsofmagic.common.tileentities.MortarTileEntity;
import com.paleimitations.schoolsofmagic.common.tileentities.TeapotTileEntity;
import net.minecraft.e... |
package com.espendwise.manta.util.arguments.resolvers;
import com.espendwise.manta.util.Constants;
import com.espendwise.manta.util.alert.AppLocale;
import com.espendwise.manta.util.arguments.ArgumentResolver;
public class ObjectI18nResolver implements ArgumentResolver<Object> {
@Override
public String reso... |
package kodlamaio.hrms.business.abstracts;
import java.util.List;
import kodlamaio.hrms.core.utilities.results.DataResult;
import kodlamaio.hrms.core.utilities.results.Result;
import kodlamaio.hrms.entities.concreates.VerificationCode;
public interface VerificationCodeService {
Result add(VerificationCode verifica... |
package member.msite;
import cucumber.api.CucumberOptions;
/**
* Created by admin.son.ton on 1/17/18.
*
*
*/
@CucumberOptions(
features = {"src/test/java/member/msite/features"},
tags = {"@17480537"},
glue = {"member.msite.step_definitions"})
public class MsiteRunner extends _base.TestRun... |
package com.sinata.rwxchina.component_home.adapter;
import android.content.Context;
import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;
import android.widget.ImageView;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
impo... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the ter... |
/* */ package datechooser.beans.editor.descriptor;
/* */
/* */ import datechooser.beans.locale.LocaleUtils;
/* */ import java.awt.Font;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class FontDescriptor
/* */ extends Class... |
package lesson18.Ex2;
public class Ex2_Autumobile extends Ex2_Transport {
private int numberOfWheel; //số bánh xe
private String engineType; //loại động cơ
private String name; //tên xe
private String color; //màu xe
private Owner owner; //chủ sở hữu
//constructors
public Ex2_Autumobile... |
package cz.kojotak.udemy.vertx.stockBroker;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import cz.kojotak.udemy.vertx.stockBroker.cfg.ConfigLoader;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Promise;
public class VersionInfoVerticle extends AbstractVerticle {
private static final Log... |
package com.org.c2y2.serv.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.org.c2y2.base.AbstractService;
import com.org.c2y2.entity.PptpdAdmin;
import com.org.c2y2.mapper.PptpdAdminMapper;
import com.org.c2y2.serv.IPptpdAdminService;
@Ser... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.