text
stringlengths
10
2.72M
package com.tencent.mm.plugin.appbrand.page; import com.tencent.mm.sdk.platformtools.x; class n$9 implements Runnable { final /* synthetic */ n gmP; n$9(n nVar) { this.gmP = nVar; } public final void run() { if (n.c(this.gmP) == null) { long currentTimeMillis = System.cur...
/* * Copyright (c) 2011. Peter Lawrey * * "THE BEER-WARE LICENSE" (Revision 128) * As long as you retain this notice you can do whatever you want with this stuff. * If we meet some day, and you think this stuff is worth it, you can buy me a beer in return * There is no warranty. */ package com.google.code.java...
package com.example.demo.model.request; import com.example.demo.entity.Author; import com.example.demo.entity.Publisher; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @AllArgsConstructor @NoArgsConstructor @Getter @Setter public class UpdateBookReq { ...
public class World{ public void say(String message){ System.out.println("World say : " + message); System.out.println("Hello say : World"); System.out.println("What the fuck are you talking about"); } }
package piefarmer.immunology.network.packet; import java.util.Iterator; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLiving; import net.minecraft.entity.player.EntityPlayer; import piefarmer.immunology.common.Immunology; import piefarmer.immunology.entity.EntityDiseaseHandler; import piefarme...
/* * 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 UI; import javax.swing.*; import java.awt.*; import java.awt.event.*; import eldershop.*; import java.util.ArrayList;...
package application; import controller.Controller; import javafx.application.Application; import javafx.scene.Scene; import javafx.stage.Stage; import model.PrikaziPorukeBtnEvent; public class Main extends Application { @Override public void start(Stage primaryStage) { try { primaryStage = Contro...
package rgg.campusvirtualapp.modelo; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.List; import java.util.Locale; import rgg.campusvirtualapp.AppMediador; import andr...
package com.example.niujun.njmessagebinder; import android.app.Service; import android.content.Intent; import android.os.Handler; import android.os.IBinder; import android.os.Message; import android.os.Messenger; import android.os.RemoteException; import android.util.Log; import android.widget.Toast; public class Mes...
package com.serhii.cryptobook.chapter1; import sun.misc.BASE64Encoder; import java.io.FileInputStream; import java.security.MessageDigest; public class Masher { public static void main(String[] args) throws Exception { if (args.length != 1) { System.out.println("Usage: Masher filename"); ...
package br.vianna.aula.appteatro.domain.entities.dto; import java.util.Date; public class EventoDTO { private long id; private String descricaoSalao; private boolean ehTeatro; private String descricaoEvento; private String endereco; private Date dtInicio; public EventoDTO(long id, String...
package com.osce.server.config; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.ImportResource; /** * @ClassName: SpringXmlConfiguration * @Description: spring boot引用spring xml的配置方式 * @Author yangtongbin * @Date 2019-05-01 */ @Configuration @ImportResour...
package com.desenvolvimentoandroid.sqliteapplication.database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import java.util.ArrayList; public class DBHelper extend...
interface ep4_6_a { // 定义第1个接口 double pi = 3.14; abstract double area(); }
package plp.orientadaObjetos3.memoria; import plp.expressions2.memory.IdentificadorJaDeclaradoException; import plp.orientadaObjetos1.expressao.leftExpression.Id; import plp.orientadaObjetos1.memoria.DefClasse; import plp.orientadaObjetos1.util.Tipo; import plp.orientadaObjetos2.memoria.AmbienteCompilacaoOO2; import p...
package com.meridal.examples.domain; /** * Concrete implementation of {@link SimpleVehicle}. * @author Martin Ingram */ public class TestVehicle extends SimpleVehicle { private static final long serialVersionUID = 1L; }
package com.mes.old.meta; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final import java.util.Date; /** * BAlternateMaterialId generated by hbm2java */ public class BAlternateMaterialId implements java.io.Serializable { private String amUid; private String bomUid; private String alterPartNumber; pri...
package net.sourceforge.jwebunit.fit.testservlets; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class MoriaPostServlet extends HttpServlet { private sta...
package org.zerock.service; import org.zerock.domain.MerchanVO; import java.util.List; public interface MerchanService { public void register(MerchanVO vo); public MerchanVO get(int merchanOid); public boolean remove(int merchanOid); public boolean modify(MerchanVO vo); public boolean modify...
/* * 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.udea; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.IOException; impor...
/* * UCF COP3330 Fall 2021 Assignment 2 Solution * Copyright 2021 Maggie Perry */ /* Numbers to Names prompt input from user numberMonth = nextInt switch case to set nameMonth */ package exercise21; import java.util.Scanner; public class Solution21 { private static final Scanner sc = new Scanner(System.in...
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class WarmUpTest { @Test void findMaxAndMin() { assertThrows(IllegalArgumentException.class, () -> WarmUp.findMaxAndMin(null)); assertThrows(IllegalArgumentException.class, () -> WarmUp.findMaxAndMin(new int[...
/* * 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.mycompany.services.hiba; import com.codename1.io.CharArrayReader; import com.codename1.io.ConnectionRequest; import com.co...
package com.leetcode.wangruns; import java.util.Set; //11、word-break[动态规划] /** * 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. * For example, given s ="leetcode", dict =["leet", "code"]. * Return true because"le...
package com.rc.db.dao; import org.apache.ibatis.session.SqlSession; /** * Created by song on 08/06/2017. */ public class TableDao { private SqlSession session; public TableDao(SqlSession session) { this.session = session; } public void createCurrentUserTable() { session.upd...
package com.responsyve.codegen; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import javax.xml.bind.JAXBException; import javax.xml.stream.XMLStreamException; import com.responsyve.codegen.domain.CodeGenClass;...
package bd_sqlite; import java.sql.*; import javax.swing.JOptionPane; public class bd { public static String bd_sqlite; public static void createNewDatabase(String fileName) { /* Método para crear una nueva Base de datos El parámetro: fileName , el nombre de l...
/******************************************************************************* * Copyright (c) 2008-2010 Sonatype, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available...
/** **************************************************************************** * Copyright (c) The Spray Project. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
package ca.soen6441.tf.critterstd.test; import static org.junit.Assert.*; import java.util.ArrayList; import org.junit.After; import org.junit.Before; import org.junit.Test; import ca.soen6441.tf.critterstd.controller.GUIController; import ca.soen6441.tf.critterstd.model.Map; import ca.soen6441.tf.critterstd.model....
package me.jessepayne.pad4j.core.enums; public enum LiveLayout { SESSION((byte) 0x0), DRUM((byte) 0x1), CHROMATIC_NOTE((byte) 0x2), USER_DRUM((byte) 0x3), AUDIO_BLANK((byte) 0x4), FADER((byte) 0x5), RECORD_ARM_SESSION((byte) 0x6), TRACK_SELECT_SESSION((byte) 0x7), MUTE_SESSION((byt...
package lab1; import java.util.Calendar; import solutions.lab1.MaximumManhattanDistance; import aima.core.search.framework.GraphSearch; import aima.core.search.framework.Problem; import aima.core.search.framework.Search; import aima.core.search.framework.TreeSearch; import aima.core.search.informed.AStarSearch; import...
package com.tencent.mm.ui.base; class MMTagPanelScrollView$a implements Runnable { public MMTagPanel tyj; private MMTagPanelScrollView$a() { } /* synthetic */ MMTagPanelScrollView$a(byte b) { this(); } public final void run() { if (this.tyj != null) { this.tyj.crO...
package com.ibm.ive.tools.japt.reduction; public class Counter { public int classCount; public int fieldCount; public int methodCount; public void reset() { classCount = fieldCount = methodCount = 0; } }
package clasesemana8; import vistas.RegProductos; /** * * @author Alex */ public class ClaseSemana8 { /** * @param args the command line arguments */ public static void main(String[] args) { RegProductos vista = new RegProductos(); vista.setVisible(tr...
package com.open.proxy.aop.advice; import org.aopalliance.intercept.MethodInvocation; /** * @author jinming.wu * @date 2014-4-7 */ public interface MethodInterceptor extends Interceptor { Object invoke(MethodInvocation invocation) throws Throwable; }
package nowcoder.剑指offer; /** * @Author: Mr.M * @Date: 2019-03-09 12:41 * @Description: 数组中重复的数字 **/ public class T50数组中重复的数字 { public static boolean duplicate(int numbers[],int length,int [] duplication) { if (numbers == null || length == 0 || length == 1) return false; for (int i = 0; i < length; i++) { ...
package com.legalzoom.api.test.util; /** * hmaheshwari Aug 31, 2015 4:34:52 PM */ import javax.ws.rs.Consumes; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.ext.ContextResolver; import javax.ws.rs.ext.Provider; import com.fasterxml.jackson.annotation.JsonInclude.Include; import ...
import java.util.*; import java.util.regex.Pattern; /** * <pre> * NOTE: I once asked whether the name of Ex4 is Counter or Counting, but no one told me the answer. So I don't want to lose my mark because the file name is incorrect. * The Problems in This Code: * <p> * 1. Each case in switch is not independent. Af...
package com.tencent.mm.plugin.voip.ui; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.R; import com.tencent.mm.sdk.platformtools.x; class e$19 implements OnClickListener { final /* synthetic */ e oSe; e$19(e eVar) { this.oSe = eVar; } public final v...
/* * Copyright (C) 2015 Miquel Sas * * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is dis...
package br.ufs.livraria.modelo; import static org.junit.Assert.assertNotNull; import javax.persistence.*; import org.junit.Test; public class JPATest { private static EntityManagerFactory emf; private static EntityManager em; @Test public void atualizarBanco() throws Exception { emf = Persistence.createEnti...
package com.cts.model; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.RequiredArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor @RequiredArgsConstructor public class TokenDetails { @NonNull private Long userId; @NonNull pri...
package com.derekt75.videocamera; import android.app.Activity; import android.os.Bundle; import android.support.annotation.Nullable; import android.widget.EditText; import android.widget.SeekBar; public class ShutterSetting extends Activity { private Long mShutterLong; private Long mShutterMax; private Lo...
package com.tt.miniapphost.apm; import org.json.JSONObject; public class AppbrandApmStartConfig { private int mAid; private String mAppVersion; private String mChannel; private String mDeviceId; private JSONObject mExtra; private ApmStartListener mStartListener; privat...
import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.GridLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.FileWriter; import java.util.ArrayList; import java.util.Scanner; import javax.swing.Border...
package me.tokyojack.spigot.coincake.listeners; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.BlockPlaceEvent; import org.bukkit.inventory.ItemStack; import org.bukkit.metadata.FixedMetadataValue; imp...
package bookexercises.chapter1.fundamentals.one; import edu.princeton.cs.algs4.StdDraw; /** * Random connections. Write a program that takes as command-line arguments * an integer N and a double value p (between 0 and 1), plots N equally spaced dots of size * .05 on the circumference of a circle, and then, with pr...
import java.util.Scanner; import java.text.DecimalFormat; public class Pennies { public static void main(String[] args) { int day = 1; int total = 0; int timeWorked; int pennies = 1; Scanner key = new Scanner(System.in); System.out.println("How many days did you work?"); timeWorked = key.nextInt();...
package com.fiap.demo.model; import com.fiap.demo.model.CursoEntity; import org.springframework.data.jpa.repository.JpaRepository; public interface CursoRepository extends JpaRepository<CursoEntity, Long> { }
package com.shopify.config; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.support.ResourceBundleMessageSource; import org.springframework.web.servlet.LocaleResolver; i...
package com.controller; import java.io.*; import java.util.*; import com.model.Account; import com.model.CheckingAccount; import com.model.SavingAccount; public class FileReader { private Formatter x; private Scanner y; public void openFile(){ try{ x = new Formatter("bankData.txt"); }catch(Exception ...
package br.com.unopar.delivery.service; import java.util.List; import br.com.unopar.delivery.model.Produto; public interface ProdutoService { public abstract List<Produto> listar(); public abstract Produto cadastrar(Produto produto); public abstract Produto getById(Integer id); public abstra...
package com.ilp.innovations.myapplication; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.support.v4.view.ViewPager; import android.support.v7.app.ActionBar; import android.support.v7.app.ActionBarActivity; import android.util...
package com.tt.miniapp.util; import android.content.Context; import android.media.MediaScannerConnection; import android.net.Uri; import java.io.File; public class MediaScanner { private SannerClient mClient; public MediaScannerConnection mConn; public File mFile; public String mMimeTyp...
package dev.idion.covariant; import static org.assertj.core.api.Assertions.assertThat; import org.junit.jupiter.api.Test; class ProducerTest { @Test void whenInputIsArbitrary_thenProducerProducesString() { String arbitraryInput = "just a random text"; Producer producer = new Producer(); Object obje...
package com.am.pertaminapps.Model; /** * Created by Laurensius D.S on 3/25/2018. */ public class Dealer { public int icon; public String id; public String nama; public String alamat; public Dealer(int icon,String id, String nama, String alamat){ this.icon = icon; this.id = id; ...
package com.mygdx.game; import android.content.Intent; import android.os.Bundle; import android.os.CountDownTimer; import android.view.MenuItem; import android.view.View; import android.widget.AdapterView; import android.widget.Button; import android.widget.CompoundButton; import android.widget.EditText; import androi...
// assignment 4 // pair 043 // Wright Steven // wrights // Wang Shiyu // shiyu import java.awt.Color; import javalib.worldimages.*; import javalib.worldcanvas.*; import javalib.funworld.*; import tester.Tester; // test the display of images for the platform game and run public class FallingWorldRunner{ ExamplesFa...
package com.tencent.mm.plugin.webview.model; import android.content.DialogInterface.OnCancelListener; public interface z$d { void Qk(String str); void aFs(); void c(OnCancelListener onCancelListener); void goBack(); }
package linker; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import bean.Link; import bean.Links; import storage.LinksDA; import threads.Queue; public class LinkSaver extends Thread { private LinksDA linksDA; private boolean shouldContinue; private Queue<Set<Link...
package com.appatstudio.snakerpg; import com.badlogic.gdx.scenes.scene2d.Stage; import com.badlogic.gdx.scenes.scene2d.actions.Actions; import com.badlogic.gdx.scenes.scene2d.ui.Image; import com.badlogic.gdx.scenes.scene2d.utils.TextureRegionDrawable; /** * Created by pat on 25.05.2018. */ public class UpperPanel...
package in28minutes.testing.business; import org.junit.Test; import org.mockito.ArgumentCaptor; import org.mockito.internal.matchers.Any; import java.util.List; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.Mockito.*; public class listMockTest { List mock = mock(List.cl...
package org.maven.ide.eclipse.io; import java.util.concurrent.TimeoutException; import junit.framework.TestSuite; import org.sonatype.tests.http.runner.annotations.Configurators; import org.sonatype.tests.http.runner.junit.Junit3SuiteConfiguration; import org.sonatype.tests.http.server.jetty.behaviour.Pause; import o...
/* * 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 com.liuwei.filter; import java.io.IOException; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; public class FilterChainDemo implements FilterChain { int i = 5; @Override public void doFilter(ServletRequest...
package com.example.proyectofinalmaster; import com.example.proyectofinalmaster.model.Skilled; import com.example.proyectofinalmaster.model.Tags; import com.example.proyectofinalmaster.util.HibernateUtil; import org.hibernate.Session; import org.hibernate.query.Query; import org.junit.jupiter.api.DisplayName; import o...
package com.krajinov.qualification; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android....
package com.snewworld.listsample.adapter; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import com.snewworld.listsample.list.ListFifthFragment; import com.snewworld.listsample.list.ListFirstFragment; import com.snewworld...
/* * 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 java.util.regex.Pattern; /** * * @author Elshan.Abdullayev */ public class Birth_date_checking...
import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.JPanel; @SuppressWarnings("serial") public class MenuPanel extends JPanel{ public MenuPanel() { addMouseListener(new MouseAdapter() ...
package com.tencent.mm.plugin.sns.ui; import com.tencent.mm.plugin.sns.ui.SnsLabelUI.1; class SnsLabelUI$1$1 implements Runnable { final /* synthetic */ int nXM; final /* synthetic */ 1 nXN; SnsLabelUI$1$1(1 1, int i) { this.nXN = 1; this.nXM = i; } public final void run() { ...
public class Student implements Comparable<Student> { int rollNo; String name; int age; public Student(int rollNo, String name, int age) { super(); this.rollNo = rollNo; this.name = name; this.age = age; } public int getRollNo() { return rollNo; } public void setRollNo(int rollNo) { this.rollNo = rol...
package sample; import javafx.util.Pair; import java.io.Serializable; import java.util.ArrayList; enum Choice {LOAD, SAVE} public class DataInfo implements Serializable { private Choice choice; private Grid grid; private boolean isSettingsActivated; private GameMode gameMode =GameMode.CAN_BE_LOADED; ...
package TankGame.MainDisplay; import TankGame.GameObj.Tank; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.security.PrivateKey; public class Signal implements KeyListener { private Tank t1, t2; private Signal gameSignal; private final int Enter; int Stage; ...
package cn.edu.zucc.web.service.Impl; import cn.edu.zucc.web.dao.UserMapper; import cn.edu.zucc.web.model.User; import cn.edu.zucc.web.service.LoadUserDataService; import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.util.List; /** * 读取用户数据Service实现 * Created by zxy on 11/28...
public class Outer { private void foo() { } public Runnable fooRunner() { return new Runnable() { public void run() { foo(); } }; } }
package edu.imtl.BlueKare.Utils; //vector의 외적.내적 등 계산법을 담아둔 class public class VectorCal { static public float vectorSize(float[] a){ return (float)Math.sqrt(a[0]*a[0] + a[1]*a[1] + a[2]*a[2]); } //inner product static public float inner(float[] a, float[] b){ return (a[0]*b[0]) + (a[...
package com.tencent.mm.plugin.sns.ui; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; class SnsTimeLineUI$40 implements OnMenuItemClickListener { final /* synthetic */ SnsTimeLineUI odw; SnsTimeLineUI$40(SnsTimeLineUI snsTimeLineUI) { this.odw = snsTimeLineUI; ...
import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionException; import com.fasterxml.jackson.core.JsonProcessingException; import cloud.metaapi.sdk.clients.meta_api.SynchronizationListener; import cloud.metaapi.sdk.clients.meta_api.models.MetatraderSymbolPrice; import cloud.metaapi.sdk...
package guru.springframework.sfgpetclinic.services.map; import java.util.Set; import org.springframework.context.annotation.Profile; import org.springframework.stereotype.Service; import guru.springframework.sfgpetclinic.model.Pet; import guru.springframework.sfgpetclinic.services.PetService; import lombok....
package com.petersoft.mgl.app; import com.petersoft.mgl.ui.MainFrame; import javax.swing.*; public class App { public static void main(String[] args) { try { UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); SwingUtilities.invokeLater(MainFrame::new); ...
package com.baidu.dudu.framework.mapper; import java.lang.reflect.Array; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import com.baidu.dudu.framework.message.ComparisonResult; import com.baidu.dudu.framework.message.DuDuMessage; import com.baidu.dudu.framework.util.Ref...
package com.pzhu.topicsys.modules.login.controller; import javax.annotation.Resource; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import com.pzhu.topicsys.common.base.BaseCo...
package org.ejb.sample.model.core; /** * Interface for an object with a database primary key ID * <p> * * */ public interface Indexable { /** * returns the database id * * @return */ Long getId(); /** * @param id * the id to set */ void setId(Long id); }
package com.ordersystem.entity; import java.io.Serializable; import java.time.LocalDateTime; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.GenerationT...
package com.java.smart_garage.contracts.repoContracts; import com.java.smart_garage.models.*; import com.java.smart_garage.models.viewDto.CustomerViewDto; import java.sql.Date; import java.util.List; import java.util.Optional; public interface UserRepository { List<User> getAllUsers(); User getById(int id)...
package org.android.roboxito.codbar; import android.app.Activity; import android.os.Bundle; import android.widget.Toast; public class invalido extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView...
package Test; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import desktop_resources.GUI; import entities.ChanceCards.ChanceCardCollection; import entities.fields.ChanceField; import entities.fields.collection.FieldCollection; import game.Dice; import game.Player; p...
package com.tienda.service; import com.tienda.Exception.UsernameOrIdNotFound; import com.tienda.dto.ChangePasswordForm; import com.tienda.model.User; public interface UserService { public Iterable<User> getAllUsers(); public User createUser(User user) throws Exception; public User getUserById(Long id) throws ...
package run.test.api; import org.testng.annotations.Test; import api.PostAgeApi; import io.restassured.response.Response; import resouces.APIResources; public class TestPostageCost { String url = "https://digitalapi.auspost.com.au"; APIResources path; Response res; PostAgeApi postage; @Test public void tes...
package cn.leiyu.base.http; import android.content.Context; import android.util.Log; import android.widget.Toast; import com.android.volley.Response; import com.android.volley.VolleyError; import java.lang.ref.WeakReference; import cn.leiyu.base.App; import cn.leiyu.base.utils.LogUtil; public abstract class Volley...
package fr.nashani.musishare.Chat; import android.content.Context; import android.graphics.Color; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import c...
public class XMLFileParser implements MyCustomFileParserInterface { private String text; public void setText(String text) { this.text = text; } @Override public void findWord(String word) { boolean isFound = false; String[] words = text.split(" |:|,|\\."); ...
package com.nikvay.saipooja_patient.view.activity; import android.app.Dialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.View; import android...
package com.elvarg.engine.task.impl; import com.elvarg.engine.task.Task; import com.elvarg.world.entity.combat.CombatSpecial; import com.elvarg.world.entity.impl.Character; import com.elvarg.world.entity.impl.player.Player; /** * A {@link Task} implementation which handles * the regeneration of special attack. * ...
package java2.domain; import javax.persistence.*; @Entity @Table(name="term") public class Term { @Id @Column(name="id") private int id; @Column(name="term_en", nullable = false) private String textEn; @Column(name="term_lv", nullable = false) private String textLv; @Column(name="t...
package fel_1; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.Objects; public class CircularQueue implements IQueue { private final int CAPACITY; private Object[] items; private int front = -1; private int rear = -1; public CircularQueue(int CAPACITY) { this....
package com.timmy.framework.imageLoaderFw.TimmyImageLoader.loader; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import com.timmy.framework.imageLoaderFw.TimmyImageLoader.request.BitmapRequest; import com.timmy.framework.imageLoaderFw.TimmyImageLoader.utils.BitmapDecod...
package Strings; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import javax.print.attribute.HashAttributeSet; public class TwoStrings { public static void main(String[] args) { String s1 = "ahceclwlxo"; String s2 = "hello"; char[] c1 = s1.toCharArray(); ...