text
stringlengths
10
2.72M
package com.tencent.mm.plugin.traceroute.ui; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import com.tencent.mm.R; import com.tencent.mm.model.au; i...
// In the while loop, the 1st while loop is to find nodes that need to preserve, so we keep 2 pointers prev and cur while cur is at 1 node ahead of prev. // In the 2nd while loop, we keep moving cur to get nodes that need to be deleted. At the end, every node between prev and cur are nodes that need to be removed, so p...
package studentadmin; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.util.Locale; /** * Representeert een Student. * @author Erwin Engel */ public class Student extends Leerling { private double aantalStudiepunten = 0.0; private final double MAXSTUDIEPUNTEN = 250.0;...
package commandline.language.parser; import org.jetbrains.annotations.NotNull; /** * User: gno, Date: 02.08.13 - 12:59 */ public class MockArgumentParser extends ArgumentParser<Object> { public MockArgumentParser() { super(); } @Override public boolean isCompatibleWithOutputClass(@NotNull Class<?> clazz) { ...
/* Document : SME_Lending Created on : August 21, 2015, 11:56:42 AM Author : Anuj Verma */ package com.spring.controller; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import ...
package backjun.silver; import java.util.Scanner; class Person { int weight; int height; int rank; } public class Main_7568_덩치 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Person[] person = new Person[N]; for (int i = 0; i < N; i++) { person[i]...
package test; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.Arrays; import java.util.Collection; import static org.junit.Assert.*; @RunWith(Parameterized.class) public class demoTest { demo d; @Parameterized.Para...
import java.io.*; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; public class StringTokens { public static void main(String[] args) { // He is a very very good boy, isn't he? // [A-Za-z !,?._'@]+ Scanner scan = new Scanner(System.in); String s ...
/** * 與遊戲場地有關的事件 */ package com.ericlam.mc.minigames.core.event.arena;
package com.mes.old.meta; import com.bstek.urule.model.Label; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final /** * Aaa generated by hbm2java */ public class Aaa implements java.io.Serializable { /** * */ private static final long serialVersionUID = 1L; @Label("AaaµÄid") private AaaId id; ...
package no.uib.info331.activities; import android.content.Context; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.CardView; import android.view.View; import android.widget.AdapterView; import android.widget.Button; import andro...
package com.tencent.mm.ui.chatting.viewitems; import android.view.View; import android.view.ViewStub; import android.widget.ImageView; import android.widget.TextView; import com.tencent.mm.R; class p$i extends p$b { ImageView hrp; TextView jWm; p$i() { } public final void cn(View view) { ...
package org.pajacyk.ZadanieDodatkowe; public class MojTyp { static { System.out.println("blok static"); } { System.out.println("blok"); } public MojTyp() { System.out.println("blok konstruktor"); } }
package graphalgorithms; public class A_Star { }
package org.example; import static org.junit.Assert.assertTrue; import org.junit.Test; import org.thymeleaf.TemplateEngine; import org.thymeleaf.context.Context; import org.thymeleaf.templateresolver.ClassLoaderTemplateResolver; /** * Unit test for simple App. */ public class AppTest { /** * Rigorous Test...
package com.duofei.db.mysql.custom; import com.duofei.db.mysql.entity.User; import org.springframework.stereotype.Repository; /** * 使用 拓展的 jpa 接口 * @author duofei * @date 2019/9/28 */ @Repository public interface CustomUserRepository extends ExpandJpaRepository<User, Long> { }
package pl.finsys.helloWorld; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class App { public static void main(String[] args) { ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext-helloWorld....
/** @file $Id: WinRobot.java 95 2011-10-11 16:06:14Z caoym $ * @author caoym * @brief WinRobot */ package com.caoym; import java.awt.AWTException; import java.awt.Color; import java.awt.GraphicsDevice; import java.awt.Point; import java.awt.Rectangle; import java.awt.Robot; import java.awt.image.BufferedImage;...
package com.tencent.xweb.xwalk; import android.content.Context; import org.xwalk.core.Log; import org.xwalk.core.WebViewExtension; import org.xwalk.core.WebViewExtensionListener; class XWalkWebFactory$a { private static boolean iEe = false; private static boolean vCW = false; private static boolean vDO = ...
package io.flexio.services.api.documentation.Exceptions; public class ResourceManagerException extends Exception { public ResourceManagerException() { super(); } public ResourceManagerException(String s) { super(s); } public ResourceManagerException(String s, Throwable throwable) ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package co.th.aten.hospital.service; import co.th.aten.hospital.Constants; import co.th.aten.hospital.event.MessageEvent; import co.th.aten.hospital.model.MessageModel; import co.th.aten.hospital.util.Sound; import java...
package com.duanxr.yith.easy; /** * @author 段然 2021/3/8 */ public class CustomersWhoNeverOrder { /** * Suppose that a website contains two tables, the Customers table and the Orders table. Write a SQL query to find all customers who never order anything. * * Table: Customers. * * +----+-------+ ...
package com.rc.portal.webapp.action.unionlogin; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import com.rc.app.framework.webapp.action.BaseAction; import com.rc.commons.util.InfoUtil; i...
package com.tencent.mm.plugin.appbrand.jsapi.camera; import com.tencent.mm.plugin.appbrand.jsapi.h; import com.tencent.mm.plugin.appbrand.page.p; import java.util.HashMap; import java.util.Map; import org.json.JSONObject; public final class e extends h { private static final int CTRL_INDEX = 455; public stati...
/* The MIT License (MIT) Copyright (c) 2014 Pierre Lindenbaum Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
package com.company; public class Main { // int score = 1000 // // // int positionRank = highScoreTable(1500); // displayHighScorePosition("phill", positionRank); // positionRank = highScoreTable(900); // displayHighScorePosition("lary", positionRank); // positionRank = highScor...
package daoGeneric; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; @SuppressWarnings("deprecation") public abstract class HibernateControl { private static SessionFactory factory; static { try { factory = new Configuration().configure().b...
package LC0_200.LC150_200; public class LC176_Second_Highest_Salary { // mysql }
package com.view; import javax.swing.JFrame; public class HPresult extends javax.swing.JFrame { public HPresult() { initComponents(); setExtendedState(getExtendedState() | JFrame.MAXIMIZED_BOTH); } public void Main(String pattern, String source) { HPresult hss = new HPresult(...
package qual; import java.io.BufferedReader; import java.io.FileReader; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; public class QualC { //private static final String fileName = "res/C-sample.in"; //private static final String fileName = "res/C-small-attempt0.in"; private static fin...
package com.example.SBNZ.repository; import com.example.SBNZ.model.diet.Diet; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface DietRepository extends JpaRepository<Diet, Integer> { }
package accu.my.test; import com.weibo.net.RequestToken; import com.weibo.net.Weibo; import com.weibo.net.WeiboException; import android.app.Activity; import android.os.Bundle; /* *ÎÒÊǽ´ÓÍÄÐ * */ public class TestWeiboOpenPlatformActivity extends Activity { /** Called when the activity is first created. */ @Ove...
package com.google.android.exoplayer2.source; import com.google.android.exoplayer2.Format; import com.google.android.exoplayer2.i.a; import java.util.Arrays; public final class l { private int aeo; public final Format[] asb; public final int length; public l(Format... formatArr) { a.ap(format...
/* * Copyright 2017 Sanjin Sehic * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
package com.bytedance.sandboxapp.protocol.service.a.a.a; public interface c { void a(); } /* Location: C:\Users\august\Desktop\tik\df_miniapp\classes.jar!\com\bytedance\sandboxapp\protocol\service\a\a\a\c.class * Java compiler version: 6 (50.0) * JD-Core Version: 1.1.3 */
package org.hieu.builer; public abstract class ColdDrink implements Item { @Override public String name() { // TODO Auto-generated method stub return null; } @Override public String packing() { // TODO Auto-generated method stub Packing bottle = new Bottle(); return bottle.pack(); } ...
package com.mideas.rpg.v2.game.item.shop; import com.mideas.rpg.v2.game.item.stuff.Stuff; public class Shop { private Stuff[] stuff = new Stuff[11]; public Stuff[] getstuff() { return stuff; } public Stuff getStuff(int i) { if(i < stuff.length) { return stuff[i]; } return null; } public void s...
package petko.osm.model.impl.simple; import java.util.ArrayList; import java.util.Collection; import java.util.List; import petko.osm.model.facade.OSMObjectType; import petko.osm.model.facade.OsmNode; import petko.osm.model.facade.OsmObject; import petko.osm.model.facade.OsmRelation; import petko.osm.model.facade.Osm...
package com.cszjkj.aisc.cm_message; public class CmMessageApplication { }
package com.tencent.mm.plugin.report.kvdata; import com.tencent.mm.bk.a; import java.util.LinkedList; public class IMBehavior extends a { public IMBehaviorChattingOP chattingOp; public IMBehaviorMsgOP msgOp; public int opType; protected final int a(int i, Object... objArr) { int fQ; i...
/* 1: */ package com.kaldin.openid; /* 2: */ /* 3: */ import com.google.appengine.api.urlfetch.URLFetchService; /* 4: */ import com.google.appengine.api.urlfetch.URLFetchServiceFactory; /* 5: */ import com.google.inject.AbstractModule; /* 6: */ import com.google.inject.CreationExcept...
package com.beiyelin.person.service.impl; import com.beiyelin.common.reqbody.PageReq; import com.beiyelin.common.resbody.PageResp; import com.beiyelin.common.utils.StrUtils; import com.beiyelin.commonsql.jpa.BaseItemCRUDServiceImpl; import com.beiyelin.person.bean.PersonContactInfoQuery; import com.beiyelin.person.en...
package com.xj.library.utils; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; /** * @author meitu.xujun on 2017/4/11 14:31 * @version 0.1 */ public class ClipboardUtils { /** * 实现文本复制功能 * add by wangqianzhou * * @param content ...
package com.smxknife.java2.thread.executorservice.demo02; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * @author smxknife * 2019/8/28 */ public class _Run { public static void main(String[] args) { try { CallableEx...
package othello.ui; public enum Couleur { NOIR, BLANC, NONE }
package com.puti.pachong.example.wukong; import lombok.AllArgsConstructor; import lombok.Data; /** * 悟空问题 */ @Data @AllArgsConstructor public class Question { private String qid; private String title; }
package net.liuzd.spring.boot.v2.dao; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; import net.liuzd.spring.boot.v2.domain.Blog; public interface BlogRepository extends Elasticsea...
package com.argentinatecno.checkmanager.main.fragment_add; import android.content.Context; import com.argentinatecno.checkmanager.entities.Check; public interface FragmentAddInteractor { void saveCheck(Check check, Context context); void updateCheck(Check check, Context context); }
/** * 题目:矩阵中的路径 题:请设计一个函数,用来判断在一个矩阵中是否存在一条包含某字符串所有字符的路径。 路径可以从矩阵中的任意一个格子开始,每一步可以在矩阵中向左,向右,向上,向下移动一个格子。 如果一条路径经过了矩阵中的某一个格子,则该路径不能再进入该格子。 思路: 回溯法->递归 */ public class Interview12{ public boolean hasPath(char[][] matrix,char[] str){ /** * 判断matrix矩阵中是否存在字符串str. */ if(matri...
package com.devjam.training.cicourse.service; import static org.junit.Assert.*; import org.junit.Test; public class CalculateTaxTest { @Test public void noTaxInMinnessota() { //fail("Not yet implemented"); } @Test public void noTaxForSchools() { //fail("Not yet implemented"); } @Test public void fiv...
package com.example.wristband.activities; import android.os.Handler; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; ...
package com.afs.invoiceapi.exceptions; public class EmailNotUniqueException extends BaseException { public EmailNotUniqueException(String key, String... args) { super(key, args); } }
package zystudio.cases.graphics.view; import zystudio.demo.R; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.text.Layout; import android.text.StaticLayout; import android.text.TextPaint; import android.util.Log; import android....
package pl.cwanix.opensun.authserver.communication; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; import org.springframework.web.client.RestTemplate; import pl.cwanix.opensun.authserver.properties.AuthServerProperties; @Service @RequiredArgsConstructor public class Dat...
package com.sporsimdi.action.facade; import java.util.List; import java.util.Map; import org.primefaces.model.SortOrder; import com.sporsimdi.model.entity.Kullanici; import com.sporsimdi.model.type.Status; public interface KullaniciFacade { public Kullanici findById(long id); public Kullanici findBy...
package com.wipe.zc.journey.domain; import java.util.List; /** * 行程详细对象 */ public class JourneyDetail { private String contnent; private List<String> list_url; public String getContnent() { return contnent; } public void setContnent(String contnent) { this.contnent = contnent...
package cn.ck.controller.studio; import cn.ck.controller.AbstractController; import cn.ck.entity.*; import cn.ck.entity.bean.JobUsers; import cn.ck.mapper.UsersMapper; import cn.ck.service.*; import cn.ck.utils.ResponseBo; import com.baomidou.mybatisplus.mapper.EntityWrapper; import org.springframework.beans.factory.a...
package com.mygdx.game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.audio.Music; /** * Created by David on 31/05/2017. */ public class SoundStation { private static Music clip = Gdx.audio.newMusic(Gdx.files.internal("Assets/Sounds/Vapor/1.mp3")); static void menuPlay() { if (Options.is...
/** * This DefinedStack class implements a “DefinedStack” * which implements a custom stack class * @author maneeshavenigalla maneesha24@vt.edu * @version 1.0 */ public class DefinedStack { /** * contains value of the size of stack */ private static int stacksize = 0; /** * contains valu...
package com.heycodestudio.auxeva.heylisten_v2.Utils; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; /** * Created by Auxeva on 21/07/2015. */ public class DBAdapter { private DBHelper dbHelper; p...
package died.guia06; public class App { public static void main(String[] args) { //INSCRIPCION CORRECTA Alumno a1 = new Alumno("Yamil", 1); Alumno a2 = new Alumno("Arturo", 2); Curso c1 = new Curso(1, "DIED", 2020, 2, 5, 0); try { c1.inscribirAlumno(a1); } catch (Exception e) { e.printStac...
package com.ccxia.cbcraft.item; import com.ccxia.cbcraft.CbCraft; import com.ccxia.cbcraft.creativetab.CreativeTabsCbCraft; import net.minecraft.item.Item; import net.minecraft.item.ItemFood; public class ItemCocoaBread extends ItemFood { public ItemCocoaBread() { super(7, 0.572F, false); this.setUnlocalizedNam...
package com.example.hara.wkflsrhqlv11.Page1; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.example.hara.wkflsrhqlv11.DBConne...
package com.lanthaps.identime.repository; import java.util.List; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import com.lanthaps.identime.model.LocalAuthority; import com.lanthaps.identime.model.LocalUser; @Repository public interface LocalAuthorityRe...
package com.navin.melalwallet.ui.main.adapter; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentStatePagerAdapter; import com.navin.melalwallet.ui.main.fragment.CategoryFra...
package programmers; public class GcdPlus { public static void main(String[] args) { System.out.println(solution(13, 17)); } public static int solution(int left, int right) { int answer = 0; for (int i = left; i<=right; i++){ int count = 0; for(int j =1; j<=i; j++){ if(i%j == 0){ count++; }...
package com.example.cryptoportfolio; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import android.widge...
package com.blackdragon2447.AAM.gui.dialog; import java.awt.BorderLayout; import java.awt.FlowLayout; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import org.aeonbits.owner.ConfigFactory; import com.blackdragon2447.AAM.Reference; import co...
package enstabretagne.BE.AnalyseSousMarine.SimEntity.Bateau; import enstabretagne.BE.AnalyseSousMarine.SimEntity.MouvementSequenceur.EntityMouvementSequenceurInit; import enstabretagne.simulation.components.data.SimInitParameters; public class EntityBateauInit extends SimInitParameters { private EntityMouvementSeque...
package com.bookerapp.repository; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import com.bookerapp.model.Image; @Repository public interface ImageRepository extends CrudRepository<Image, Integer>{ }
package oicq.wlogin_sdk.request; public final class f extends d { public f(i iVar) { this.vIl = 2064; this.vIm = 10; this.vIo = iVar; } }
/** * Copyright 2012 Ashish Kalbhor (ashish.kalbhor@gmail.com) * * 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 a...
package com.santander.bi.services; import java.util.List; import com.santander.bi.dtos.ListaDistribucionDTO; public interface ListaDistribucionService { public ListaDistribucionDTO create(ListaDistribucionDTO user); public ListaDistribucionDTO delete(int id); public List<ListaDistribucionDTO> findAll(...
package com.example.onlineshop.repository; import com.example.onlineshop.model.CategoriesItem; import java.util.ArrayList; import java.util.List; public class CategoryRepository { private static CategoryRepository instance; private List<CategoriesItem> mCategoriesList; private List<CategoriesItem> mSubC...
package com.example.deepakrattan.fragmentdemo; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; public class MainActivity extends AppCompa...
package me.oscardoras.pistonsoverhaul.movingblock; import org.bukkit.Location; import org.bukkit.block.Block; import org.bukkit.entity.FallingBlock; import org.bukkit.util.Vector; import me.oscardoras.pistonsoverhaul.Rotation; public class TurningMovingBlock extends MovingBlock { protected final Rota...
package top.skyzc.juke.activity; import android.content.Intent; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import androidx.appcompat.widget.Toolbar; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import java.util.Random;...
package com.fleet.neo4j.repository; import com.fleet.neo4j.entity.Student; import org.springframework.data.neo4j.annotation.Depth; import org.springframework.data.repository.CrudRepository; import java.util.Optional; /** * 学生节点 Repository */ public interface StudentRepository extends CrudRepository<Student, Long> ...
package com.设计模式.单例模式; /** * 复杂单例模式,双层检测,可以多线程、懒加载,无法防止反射构建 * @author wicks * */ public class ComplexSingleton { private ComplexSingleton() {} //私有构造函数 private volatile static ComplexSingleton instance = null; //单例对象,volatile防止指令重排 //静态工厂方法 public static ComplexSingleton getInsta...
package com.ssgmail.shubhammsoni.materialapp; public class Question { private String question; private Integer code; private String key; private Integer countAgree; private Integer countDisagree; ////////////////////////////////////////////// Question() { } Question(int code, ...
/* * 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 forms; import company.Tools; /** * * @author Wafaa */ public class formReports extends javax.swing.JFrame { /** ...
package com.tencent.mm.pluginsdk.ui.tools; import android.graphics.Bitmap; import android.util.SparseArray; import com.tencent.mm.pluginsdk.ui.tools.g.c; import com.tencent.mm.sdk.platformtools.x; class g$5 implements Runnable { final /* synthetic */ g qSF; final /* synthetic */ SparseArray qSG; final /* ...
package nowcoder.剑指offer; /** * @Author: Mr.M * @Date: 2019-03-10 11:49 * @Description: 矩阵中的路径 **/ public class T65 { public static boolean hasPath(char[] matrix, int rows, int cols, char[] str) { char[][] m = new char[rows][cols]; int[][] flag; int k = 0; for (int i = 0; i < rows; i++) { for (int j = ...
package com.example.demo.config; import com.example.demo.job.FirstJob; import com.example.demo.job.SecondJob; import org.quartz.JobDetail; import org.quartz.Trigger; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.qu...
package com.xcw.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.xcw.bean.User; import com.xcw.dao.UserMapper; @Service public class UserService implements IUserService{ @Autowired private UserMapper userMapper; @Override public ...
/////////////////////////////////////////////////////////////////////////////// // ALL STUDENTS COMPLETE THESE SECTIONS // Title: AppStore // Files: AppStore.java // Semester: (course) Fall 2015 // // Author: Xiaojun He // Email: xhe66@wisc.edu // CS...
package com.company; public class Main { public static void main(String[] args) { String s= "tactcoa"; boolean ans1 = PalindromePermutation.canPalindrome(s); System.out.println(ans1); boolean ans2 = PalindromePermutation2.canPalin2(s); System.out.println(ans2); } }
package com.oneteam.graduationproject; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import java.util.HashMap; /** * Created by Mohamed AbdelraZek on 2/17/2017. */ public class UserSession { SharedPreferences zPref; SharedPreferences.Editor zEdit...
package com.mirth.tools.header.builders; import org.apache.commons.lang.StringUtils; public class NoOpHeaderBuilder extends HeaderBuilder { @Override public String getOpenComment() { return null; } @Override public String getCloseComment() { return null; } @Override ...
/* * Sonar Codesize Plugin * Copyright (C) 2010 Matthijs Galesloot * dev@sonar.codehaus.org * * 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/license...
import java.util.Scanner; import java.lang.Math; public class Bros { static Scanner in = new Scanner(System.in); // make convertation of the Arabic symbols into Roman(King the I, Charlie the II, Marcus the IV, X, M, C, and so on. make this inteligently) static int count=0; // the common variables should be sta...
package com.mateus.discordah.listener; import com.mateus.discordah.cards.Card; import com.mateus.discordah.cards.PlayedCards; import com.mateus.discordah.game.Game; import com.mateus.discordah.game.GameManager; import com.mateus.discordah.game.Player; import net.dv8tion.jda.api.entities.ChannelType; import net.dv8tion...
package com.android.demo.mvp.entity; import com.google.gson.annotations.SerializedName; import java.io.Serializable; public class UserInfo implements Serializable { private static final long serialVersionUID = -1; @SerializedName("phone") public String phone; @SerializedName("userId") public Stri...
package com.kodilla.patterns2.observer.forum; import java.util.Objects; public class ForumUser implements Observer { private final String username; private int updateCount; public ForumUser(String username) { this.username = username; } @Override public void update(ForumTopic forumT...
package tij.concurrents.part3.util; import tij.concurrents.part3.EvenChecker; public class SynchronizedEvenGenerator extends IntGenerator { private int currentEvenValue = 0; @Override public synchronized int next() { ++currentEvenValue; for (int i = 0;i<2;i++) Thread.yield();//...
package com.example.mx.weddingplanner; import android.content.Context; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.V...
package com.github.pixelase.commands.utils.input; import java.util.Arrays; public class CommandParseResult { private final String commandName; private final String[] args; public CommandParseResult() { this("", new String[0]); } public CommandParseResult(String commandName, String... args) { super(); thi...
package api.longpoll.bots.methods.impl.messages; import api.longpoll.bots.methods.AuthorizedVkApiMethod; import api.longpoll.bots.methods.VkApiProperties; import api.longpoll.bots.model.response.IntegerResponse; /** * Implements <b>messages.restore</b> method. * <p> * Restores a deleted message. * * @see <a href...
package com.x.model.weixin; import com.x.model.XObject; /** * <p>Description:回复文本信息</p> * @Author Chenkangming * @Date 2014-7-9 * @version 1.0 */ public class WeixinMessageText extends XObject { private static final long serialVersionUID = -2019584996216861231L; /** * 文本内容 */ private...
package in.taskoo.search.es.task.repository; import org.springframework.data.repository.CrudRepository; import in.taskoo.search.es.task.document.Task; public interface TaskRepository extends CrudRepository<Task, String> { }