text stringlengths 10 2.72M |
|---|
import java.util.Random;
public class Cidadao extends Personagem {
private Personagem alvo;
private int lin, col;
public Cidadao(int linInicial, int colInicial) {
super(10, "Cidadao", linInicial, colInicial);
}
private Personagem defineAlvo(){
//System.out.println("Pr... |
package br.com.ecommerce.tests.retaguarda.cadastros;
import org.junit.Test;
import br.com.ecommerce.config.BaseTest;
import br.com.ecommerce.pages.retaguarda.cadastros.unidades.PageEditarUnidade;
import br.com.ecommerce.pages.retaguarda.cadastros.unidades.PageIncluirUnidade;
import br.com.ecommerce.pages.retaguarda.c... |
package com.tencent.wecall.talkroom.model;
import com.tencent.pb.talkroom.sdk.MultiTalkGroup;
import com.tencent.wecall.talkroom.model.g.a;
class g$21 implements Runnable {
final /* synthetic */ int esz;
final /* synthetic */ MultiTalkGroup ltO;
final /* synthetic */ g vyO;
g$21(g gVar, int i, MultiT... |
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
public class SpaceShip extends JPanel implements Runnable {
double width, height;
double x = width / 2, y = height / 2, dx = 1.618034 * 3, dy = 3; ... |
package cn.ouyangnengda.dubbo.DemoService;
import org.apache.dubbo.config.annotation.Reference;
/**
* @Description:
* @Author: 欧阳能达
* @Created: 2019年09月08日 15:22:00
**/
public class DemoServiceImpl {
@Reference
private DemoService demoService;
public String sayHello(String s) {
return demoS... |
package com.tencent.mm.plugin.webview.ui.tools;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
class SDKOAuthUI$1 implements OnMenuItemClickListener {
final /* synthetic */ SDKOAuthUI pWs;
SDKOAuthUI$1(SDKOAuthUI sDKOAuthUI) {
this.pWs = sDKOAuthUI;
}
pub... |
package br.com.utfpr.eventos.controller;
import java.util.List;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.WebDataBinder;
impor... |
package com.tencent.mm.pluginsdk;
public interface s {
Object cbm();
Object cbn();
}
|
package org.dmonix.util;
/**
* <p>
* Class for getting System parameters.
* </p>
* The class includes convenient methods for extracting System properties.
* <p>
* Copyright: Copyright (c) 2003
* </p>
* <p>
* Company: dmonix.org
* </p>
*
* @author Peter Nerg
* @since 1.0
*/
public abstra... |
package toolkit;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.table.JTableHeader;
import java.sql.ResultSet;
import java.util.Vector;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
/**
* Tabel table = new Tabel(resultset)
* table.jt
* table.jsp1
* table.columnNa... |
package scriptinterface.defaulttypes;
import graphloaders.FileFormat;
import scriptinterface.ScriptType;
import scriptinterface.execution.returnvalues.ExecutionResult;
import java.io.File;
/**
* Script type wrapper for File.
*/
public class GFile extends ExecutionResult<File> implements TextHolder {
... |
package level1;
import java.util.*;
// https://school.programmers.co.kr/learn/courses/30/lessons/12906
public class 같은_숫자는_싫어 {
public class Solution {
public int[] solution(int[] arr) {
// HashSet<Integer> set = new HashSet<>();
// Arrays.stream(arr).forEach(it -> set.add(it));
// ... |
package br.com.isidrocorp.pibank.model;
public class ContaEspecial extends Conta{
private double limite;
public ContaEspecial(int numConta, String titular, String cpf, double saldo, double limite) {
super(numConta, titular, cpf, saldo);
this.limite = limite;
}
@Override
public boolean debitar(double valo... |
package info.czajkowska.spring.implemantation;
import info.czajkowska.spring.api.Logger;
import info.czajkowska.spring.api.UsersRepository;
import info.czajkowska.spring.domain.User;
public class UsersRepositoryImpl implements UsersRepository {
private Logger logger;// zmienna przechowująca loggera
public User cre... |
package com.bytedance.platform.godzilla.d;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.Looper;
import com.bytedance.platform.godzilla.e.f;
import java.lang.reflect.Field;
import java.util.HashMap;
public final class d {
private static volatile Handler a = new Handler(Loop... |
package com.duanxr.yith.easy;
import com.duanxr.yith.define.listNode.ListNode;
import java.util.ArrayList;
import java.util.List;
/**
* @author 段然 2021/3/16
*/
public class PalindromeLinkedListLCCI {
/**
* Implement a function to check if a linked list is a palindrome.
*
* Example 1:
*
* Input: 1... |
package email;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.mail.DefaultAuthenticator;
import org.apache.commons.mail.EmailException;
import org.apache.commons.mail.SimpleEmail;
public class Teste{
public Teste() {
}
public void enviarEmail(String de,... |
package fel_1;
import java.util.Random;
public class Main {
public static void main(String[] args) {
Bank otp = new Bank("OTP");
otp.addCustomer(new Customer("Hank", "Green"));
otp.addCustomer(new Customer("John", "Green"));
otp.getCustomer(1).addAccount(new CheckingAccount(500));
... |
package com.service;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.dao.DirectionDao;
import com.entity.Curriculum;
import com.entity.Direction;
@Service
@Transactional... |
package com.rhysnguyen.casestudyjavaweb.dao;
import com.rhysnguyen.casestudyjavaweb.entity.Position;
import org.springframework.data.jpa.repository.JpaRepository;
public interface PositionRepository extends JpaRepository<Position, Long > {
}
|
package htw_berlin.de.totoro_client.Model;
import java.util.List;
/**
* Created by tim on 26.07.16.
*/
public class Tournament {
int id;
String name;
String modus;
int set_count;
List<Team> teams;
int parent;
int max_phase;
boolean over;
String url;
public int getId() {
... |
/**
* 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"... |
import java.net.*;
import java.io.*;
import java.util.*;
import javax.swing.*;
import java.awt.BorderLayout;
class ClientServer extends Thread {
public static int contorClient = 0;
private Socket clientSocket = null;
public static int Rrandom (){
return (int)Math.floor(Math.random()*10... |
/**
* Copyright (c) 2012, Ben Fortuna
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* o Redistributions of source code must retain the above copyright
* notice, this list of condit... |
package com.woting.appengine.accusation.service;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import com.spiritdata.framework.core... |
package cn.bs.zjzc.model.impl;
import cn.bs.zjzc.App;
import cn.bs.zjzc.model.IWithdrawDetailModel;
import cn.bs.zjzc.model.callback.HttpTaskCallback;
import cn.bs.zjzc.model.response.WithdrawDetailResponse;
import cn.bs.zjzc.net.GsonCallback;
import cn.bs.zjzc.net.PostHttpTask;
import cn.bs.zjzc.net.RequestUrl;
/**
... |
package views.screen.history;
import java.io.IOException;
import java.net.URL;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.ResourceBundle;
import controller.HomeController;
import entity.account.Account;
import entity.invoice.Invoice;
import javafx.fxml.FXML;
impo... |
import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServlet;
import java.io.IOException;
import java.io.PrintWriter;
public class NewServlet extends HttpServlet {
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.se... |
package OCP;
/**
* @Author:Jack
* @Date: 2021/8/22 - 1:24
* @Description: OCP
* @Version: 1.0
*/
public class OffNovelBooks extends NovelBooks{
public OffNovelBooks(String bName, double bPrice, String bAuthor) {
super(bName, bPrice, bAuthor);
}
@Override
public double getPrice() {
... |
package net.minecraft.client.gui;
import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.I18n;
public class GuiListButton extends GuiButton {
private boolean value;
private final String localizationStr;
private final GuiPageButtonList.GuiResponder guiResponder;
public GuiListBut... |
/*
* 2012-3 Red Hat Inc. and/or its affiliates and other contributors.
*
* 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 requi... |
package snd;
import java.nio.ByteBuffer;
import helper.Logger;
public class SProtocol extends Protocol {
static int id = 102;
String msg;
public SProtocol(String m)
{
msg = m;
}
@Override
public RawData toRawData() {
ByteBuffer bf = ByteBuffer.allocate(4+msg.length());
bf.putInt(id);
bf.put(msg.ge... |
class InsertionSort{
private int[] data;
public int[] sorting(int[] d){
data = d;
int length = data.length;
for(int i=1; i<length; i++){
int tmp = data[i];
for(int j=i; j<0; j--){
if(data[j-1] > tmp){
data[j] = data[j-1]; // keep scanning down the array till re... |
package com.cloudera.CachingTest;
import java.io.UnsupportedEncodingException;
import org.apache.commons.codec.binary.Hex;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class Person implements CachedObject {
private final String firstName;
private final String la... |
/* Generated SBE (Simple Binary Encoding) message codec */
package sbe.msg.marketData;
import uk.co.real_logic.sbe.codec.java.CodecUtil;
import uk.co.real_logic.agrona.DirectBuffer;
@SuppressWarnings("all")
public class BestBidOfferDecoder
{
public static final int BLOCK_LENGTH = 29;
public static final int T... |
package com.project.hadar.AcadeMovie.Activity;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AlertDialog;
import android.util.Log;
import andr... |
package OrientacaoObjetos;
public class Player {
//por ser uma classe apenas de funções, não é necessário um void main
public void IniciarJogador() {
System.out.println("Jogador Iniciado!");
}
public static void main(String[]args) {
System.out.println("Entrou no main Player");
}
}
|
package net.crunchdroid.dao;
import net.crunchdroid.model.Abonne;
import net.crunchdroid.model.Abonnement;
import net.crunchdroid.model.AbonnementFacture;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interfac... |
package com.worker.framework.internalapi;
import java.util.List;
import com.worker.shared.WorkMessage;
public interface Worker {
public boolean supportsTask(String taskName);
public List<WorkMessage> execute(WorkMessage input) throws Exception;
}
|
package com.elvarg.world.model;
import com.elvarg.world.entity.Entity;
public class GroundItem extends Entity {
public GroundItem(Item item, Position pos, String owner, boolean isGlobal, int showDelay, boolean goGlobal, int globalTimer) {
super(pos);
this.setItem(item);
this.owner = owner;
this.fromIP = "... |
package com.podarbetweenus.Activities;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import and... |
package com.example.ahmed.octopusmart.Model.ServiceModels.Home;
import com.example.ahmed.octopusmart.Model.ServiceModels.ProductModel;
import java.io.Serializable;
import java.util.ArrayList;
/**
* Created by sotra on 12/19/2017.
*/
public class HomeSortingProducts extends HomeBase implements Serializable{
A... |
package com.mycompany.app;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Map;
import org.apache.storm.spout.SpoutOutputCollector;
import org.apache.storm.task.TopologyContext;
import org.apache.storm.topology.OutputFieldsDe... |
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of the Liferay Enterprise
* Subscription License ("License"). You may not use this file except in
* compliance with the License. You can obtain a copy of the License by
* contacting Liferay, Inc... |
package com.wallet.buddyWallet;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.... |
package com.csmugene.gridpagerview.view;
import android.content.Context;
import android.support.v4.app.FragmentManager;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.View;
import com.csmugene.gridpagerview.listener.OnItemClickListener;
import com.csmugene.gridpagervie... |
package virtualpetsamok;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class OrganicPetTest {
@Test
public void shouldGetHunger() {
OrganicPet underTest = new OrganicPet("", "", 1, 1);
int result = underTest.getHunger();
assertEquals(1, result);
}
@Test
public void shouldGet... |
package com.espendwise.manta.service;
import com.espendwise.manta.model.data.BusEntityData;
import com.espendwise.manta.model.data.PropertyData;
import com.espendwise.manta.model.entity.StoreListEntity;
import com.espendwise.manta.model.data.StoreProfileData;
import com.espendwise.manta.model.view.StoreIdentView;
imp... |
package com.xncoding.pos.controller;
import cn.hutool.core.date.DateUtil;
import net.coobird.thumbnailator.Thumbnails;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.io.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.... |
package com.geekbrains.gwt.client.register;
import com.geekbrains.gwt.client.Tabs;
import com.geekbrains.gwt.client.api.AuthClient;
import com.geekbrains.gwt.client.login.LoginForm;
import com.geekbrains.gwt.client.tasks.TasksTableWidget;
import com.geekbrains.gwt.client.utils.ErrorUtil;
import com.geekbrains.g... |
package de.jmda.app.uml.shape;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertThat;
import org.junit.Before;
import org.junit.Test;
import de.jmda.app.uml.shape.Back;
import javafx.geometry.Point2D;
public class JUTBackMovedX10
... |
package com.baidu.camera;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import com.badlogic.gdx.backends.android.AndroidApplication;
import com.baidu.camera.template.TemplateController;
import com.baidu.camera.template.db.SceneElementManager;
import com.baidu.camera.template.db.TemplateE... |
package org.newdawn.slick.util.pathfinding.navmesh;
public class Link {
private float px;
private float py;
private Space target;
public Link(float px, float py, Space target) {
this.px = px;
this.py = py;
this.target = target;
}
public float distance2(float tx, float ty) {
floa... |
package com.tencent.mm.plugin.offline;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.tencent.mm.plugin.offline.h.1;
import com.tencent.mm.ui.MMActivity;
class h$1$3 implements OnClickListener {
final /* synthetic */ MMActivity gdk;
final /* syntheti... |
package com.learn.learn.bassis.broadcast;
/**
* Created by Administrator on 2018/8/25 0025.
*/
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;
/**
* 类 名: MsgService<br>
* 说 明:<br>
* 创建日期:2018/8/25 0025<br>
* 作 者:蒋委员长<br>
* 功 能:<br>
* 注 意:<br>
* 待... |
package com.uwetrottmann.trakt5.services;
import com.uwetrottmann.trakt5.entities.Comment;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http.Path;
import java.util.List;
public inter... |
package com.wat.interfaces;
public class TestInterface {
public static void main(String[] args) {
Humain h=new Femme();
h.dormir();
}
}
|
package boj;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.StringTokenizer;
public class testing {
private static List<Pair>[] graph;
public static void main(String[] args)... |
package com.tuitaking.binary_search_algorithm;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
/**
* 350. 两个数组的交集 II
* 给定两个数组,编写一个函数来计算它们的交集。
*
*
*
* 示例 1:
*
* 输入:nums1 = [1,2,2,1], nums2 = [2,2]
* 输出:[2,2]
* 示例 2:
*
* 输入:nums1 = [4,9,5], nums2 = [9,4,... |
package com.mitelcel.pack.ui;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.IdRes;
import android.support.v7.app.ActionBar;
import android.view.MenuItem;
import android.view.View;
import com.afollestad.materialdialogs.MaterialDialog;
import com.jirbo.adcolony.AdColony;
imp... |
package com.example.test.gpucamera;
import android.hardware.Camera;
import android.hardware.Camera.CameraInfo;
import android.hardware.Camera.Parameters;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.example.test.R;
import com.example.test.g... |
package org.sacc.SaccHome.exception;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.sacc.SaccHome.enums.ResultCode;
/**
* @author: 風楪fy
* @create: 2021-07-18 04:24
*
* 认证异常
**/
@EqualsAndHashCode(callSuper = true)
@Data
public class AuthenticationException extends RuntimeException {
private ... |
package fr.umlv.escape.wave;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import fr.umlv.escape.ship.Ship;
/**
* Class that represent a wave of {@link Ship}.
*/
public class Wave {
private final String name;
private final List<Ship> shipList;
/**
*... |
package com.google.firebase.example.appindexing;
import android.content.Context;
import android.content.Intent;
import androidx.annotation.NonNull;
import androidx.core.app.JobIntentService;
import com.google.firebase.appindexing.FirebaseAppIndex;
import com.google.firebase.appindexing.Indexable;
import com.google.fi... |
package model.dao;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import model.Department;
import model.Employee;
import model.Image;
import model.Pos... |
package com.tencent.mm.plugin.wallet.balance.ui;
import android.app.Activity;
import android.app.Dialog;
import android.content.Intent;
import android.os.Bundle;
import android.text.SpannableString;
import android.text.TextUtils;
import android.text.style.ForegroundColorSpan;
import android.view.LayoutInflater;
import... |
package com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.builder;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.ArbeitsvorgangTypType;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.LSCHNEIDSolldatenType;
import java.io.StringWriter;
import javax.xml.bind.JAXBElement;
import javax.xml.bi... |
package com.pel.mathias.merob;
import android.content.Context;
import android.content.IntentFilter;
import android.net.wifi.p2p.WifiP2pDevice;
import android.net.wifi.p2p.WifiP2pDeviceList;
import android.net.wifi.p2p.WifiP2pGroup;
import android.net.wifi.p2p.WifiP2pInfo;
import android.net.wifi.p2p.WifiP2pManager;
im... |
// Sun Certified Java Programmer
// Chapter 2, P143
// Object Orientation
public class Tester143 {
public static void main(String[] args) {
//A a = new A();
//a.go();
}
}
|
/*
문제 설명
n개의 음이 아닌 정수가 있습니다. 이 수를 적절히 더하거나 빼서 타겟 넘버를 만들려고 합니다. 예를 들어 [1, 1, 1, 1, 1]로 숫자 3을 만들려면 다음 다섯 방법을 쓸 수 있습니다.
-1+1+1+1+1 = 3
+1-1+1+1+1 = 3
+1+1-1+1+1 = 3
+1+1+1-1+1 = 3
+1+1+1+1-1 = 3
사용할 수 있는 숫자가 담긴 배열 numbers, 타겟 넘버 target이 매개변수로 주어질 때 숫자를 적절히 더하고 빼서 타겟 넘버를 만드는 방법의 수를 return 하도록 solution 함수를 작성해주세요.
제한사항
주어... |
package com.lingnet.vocs.action.leaguer;
import javax.annotation.Resource;
import com.lingnet.common.action.BaseAction;
import com.lingnet.qxgl.entity.QxUsers;
import com.lingnet.util.JsonUtil;
import com.lingnet.vocs.service.leaguer.LeaguerService;
/**
* 会员信息管理
*
* @ClassName: LeaguerAction
* @Des... |
package net.iz44kpvp.kitpvp.Kits;
import java.util.HashMap;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.Action;
import org.bukkit.event.entity.PlayerDeathEvent;
import org.b... |
package at.xirado.bean.misc.objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import net.dv8tion.jda.api.utils.data.DataObject;
import java.io.Serializable;
public class RoleReward implements Serializable {
@JsonProperty("level")
private int level;
@JsonProperty("role_id")
private long r... |
package com.tencent.mm.modelrecovery;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import com.tencent.mm.g.a.my;
import com.tencent.mm.kernel.api.bucket.c;
import com.tencent.mm.kernel.b.f;
import com.tencent.mm.kernel.b.g... |
package controllers;
import play.mvc.Controller;
import java.util.List;
public class Article extends Controller {
public static void view(long id) {
models.Article article = models.Article.findById(id);
render(article);
}
public static void list() {
List<models.Article> articles... |
package com.ingenico.pay.test;
import com.ingenico.pay.dto.AccountDto;
import com.ingenico.pay.service.AccountService;
import com.ingenico.pay.service.TransferService;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.anno... |
package com.tencent.mm.plugin.fav.ui.detail;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import com.tencent.mm.plugin.fav.a.m;
import com.tencent.mm.plugin.fav.a.m.a;
class FavoriteFileDetailUI$8 implements OnMenuItemClickListener {
final /* synthetic */ FavoriteFileDetailU... |
package it.htm;
import it.htm.dao.UserDao;
import it.htm.dao.UserDaoImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
public class HackathonApplication {
pu... |
/*
* 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 com.pinchofintelligence.duolingoemersion.duolingo;
import java.util.ArrayList;
/**
*
* @author Roland
*/
public class User... |
public class Monster {
private String name;
public Monster(String name) {
this.name = name;
}
public String attack() {
return "RAWR KAIJU CAT 5";
}
}
|
package com.hesoyam.pharmacy.user.model;
public enum RoleEnum {
NONE,
PATIENT,
PHARMACIST,
DERMATOLOGIST,
ADMINISTRATOR,
SYS_ADMIN,
SUPPLIER;
}
|
package br.com.scd.demo.session;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.springframework.test.util.ReflectionTestUtils;
import br.com.scd.demo.session.Session;
import br.com.scd.demo.session.SessionEntity;
import br.com.scd.demo.session.SessionFactory;
import br.com.scd.demo.to... |
package BD;
import java.sql.*;
import UML.Perfil;
import BD.BaseDatos;
import java.util.ArrayList;
import javax.swing.JOptionPane;
public class tablaPerfiles {
private static Connection con;
public static void crearPerfil (Perfil perfil) throws Exception{
BaseDatos.conectar();
con = BaseDa... |
package combination;
import java.util.HashMap;
/**
* Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.
* <p>
* For example, given s = "leetcode", dict = ["leet", "code"].
* <p>
* Return true because "leetcode" can be ... |
public class CustomCheckedException extends Exception {
public CustomCheckedException() {
System.out.println("CustomCheckedException");
}
public CustomCheckedException(String ex) {
System.out.println(ex);
}
public CustomCheckedException(Exception ex) {
}
} |
package Kursach.Comparators;
/**
* Created by skyll on 23.05.2016.
*/
public enum Order {
ASC,
DESC;
}
|
package com.example.proiectdam_serbansorinaalexandra.Data;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
@Entity(tableName = "users")
public class User implements Parcelable {
@PrimaryKey(autoGenerate = t... |
package Utils;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.u... |
package com.steinshuh.tut;
// https://wiki.mcjty.eu/modding/index.php?title=Basic_Mod-1.12
import java.util.HashSet;
import org.apache.logging.log4j.Logger;
import com.steinshuh.tut.blocks.ModBlocks;
import com.steinshuh.tut.items.ModItems;
import com.steinshuh.tut.proxy.CommonProxy;
import net.minecraft.block.Bloc... |
/*
* 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 controller;
import com.google.gson.Gson;
import connection.DBConnection;
import dto.LoanDTO;
import java.io.IOException;
impor... |
package com.mo.mohttp.response;
import com.mo.mohttp.Request;
import com.mo.mohttp.misc.IOUtils;
import org.apache.http.Header;
import org.apache.http.HeaderElement;
import org.apache.http.HttpResponse;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.H... |
package de.tu_clausthal.in.informatikwerkstatt.sensors.informatikwerkstatt_philssensors.sensor;
/**
* Interface für einen GPS-Positions Listener
*/
public interface ILocationListener extends ISensorListener {
/**
* liefert die aktuelle Position mit weiteren Meta-Daten
*
* @param p_latitude Breit... |
package org.murinrad.android.musicmultiply.time;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;
import android.util.Log;
import net.murinrad.android.timekeeper.ITimeKeeperServer;
import org.murinrad.android.musicmultiply.LibTags;
import java.... |
package com.tencent.mm.plugin.game.gamewebview.jsapi.biz;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.l;
import com.tencent.mm.ab.v.a;
import com.tencent.mm.modelsns.d;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.sdk.platformtools.x;
class ah$1 implements a {
final /* synthetic *... |
package com.wllfengshu.mysql.model.dto;
import lombok.Data;
import java.util.List;
/**
* 分析器处理后的sql对象
*/
@Data
public class AnalyseSqlDTO extends PendingSqlDTO {
/**
* 字段的集合
*/
private List<String> fields;
}
|
/*******************************************************************************
* =============LICENSE_START=========================================================
*
* =================================================================================
* Copyright (c) 2019 AT&T Intellectual Property. All rights res... |
package com.madoka.navigationdemo;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentStatePagerAdapter;
import androidx.fragment.app.Fragment;
public class PageAdapter extends FragmentStatePagerAdapter {
int num;
public PageAdapter(FragmentManager fn,int numoftab)
{
... |
import javax.swing.*;
public class FormView {
private final JFrame frame;
private final FormThreeFields formThreeFields;
private final FormOneFields formOneFields;
public FormView() {
this.frame = MainFrame.getInstance();
this.formThreeFields = new FormThreeFields();
frame.setD... |
package com.cmj.demo;
import com.cmj.consumer.Consumer;
import com.cmj.rpc.handler.RpcEntity;
import java.util.UUID;
/**
* Created by chenminjian on 2018/4/18.
*/
public class ConsumerDemo {
public static void main(String[] args) {
Consumer consumer = new Consumer("127.0.0.1", 8999);
RpcEntity... |
package com.paisheng.instagme.base;
import android.view.View;
import com.paisheng.instagme.network.bean.ServerDownInfoBean;
import com.paisheng.lib.mvp.extend.AbstractLazyFragment;
import com.paisheng.lib.mvp.network.NetworkPresenter;
import com.paisheng.lib.widget.dialog.ProgressHUD;
import butterknife.ButterKnife;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.