text
stringlengths
10
2.72M
package com.tencent.mm.plugin.wallet_core.model; import com.tencent.mm.g.c.cl; import com.tencent.mm.sdk.e.c.a; import java.lang.reflect.Field; public final class k extends cl { public static a dhO; static { a aVar = new a(); aVar.sKy = new Field[7]; aVar.columns = new String[8]; ...
package org.rw.crow.security; import java.io.IOException; import sun.misc.BASE64Decoder; /** * Common data decode. * @author Crow * @date 2015年8月4日 */ public class CommonDecode { public static String Base64(String msg){ BASE64Decoder decoder = new BASE64Decoder(); byte[] byteData = null; String clearTe...
package com.tencent.mm.pluginsdk.nfc; import android.os.Parcel; import android.os.Parcelable.Creator; class NfcAID$1 implements Creator<NfcAID> { NfcAID$1() { } public final /* synthetic */ Object createFromParcel(Parcel parcel) { return new NfcAID(parcel); } public final /* bridge */ /*...
package br.com.projetoDAO.DAO; import br.com.projetoDAO.Model.Pessoa; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; import org.junit.Ignore; public class PessaoDAOTest { Pessoa p; Pessoa p1;...
package com.ibm.training.bootcamp.rest.sample01.service; import java.util.List; import com.ibm.training.bootcamp.rest.sample01.domain.ExpenseCategory; public interface ExpenseCategoryService { public List<ExpenseCategory> findAll(); public List<ExpenseCategory> findByName(String categoryName); public void ad...
package com.farukcankaya.springcase.campaign; import com.farukcankaya.springcase.campaign.entity.Campaign; import com.farukcankaya.springcase.common.ListResponse; import com.farukcankaya.springcase.common.MissingParameterException; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo...
package com.tencent.mm.cache; import android.graphics.Canvas; import android.graphics.PorterDuff.Mode; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.t.e; import java.util.Iterator; import java.util.ListIterator; import java.util.Stack; public final class c implements d<com.tencent.mm.t.c> { pub...
package com.jachin.shopping.po; import org.springframework.stereotype.Repository; @Repository public class Address { private Integer addressid; private Integer userid; private String address; public Integer getAddressid() { return addressid; } public void setAddressid(Integer addre...
package com.example; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import com.example.util.ApplicationConfFactory; public class DataLoaderImpl implements DataLoader { public List<Group> loadGroups()...
package com.isystk.sample.web.base.util; import org.apache.commons.io.FilenameUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.validation.Errors; import org.springframework.web.multipart.MultipartFile; import javax.imageio.IIOException; import javax.imageio.ImageIO; import javax.imageio....
package com.fountainhead.client.place; public class NameTokens { public static final String dialogSamplePage = "!dialogPage"; public static final String adminPage = "!adminPage"; public static final String homeNewsPage = "!homeNewsPage"; public static final String infoInfoPage = "!homeInfoPage"; public static fi...
package tests; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import lib.text.TextRenderer; import math.geom.Point2f; import org.lwjgl.LWJGLException; import org.lwjgl.input.Keyboard; import org.lwjgl.input.Mouse; import org.lwjgl.opengl.Display...
package HI; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import problemDomain.Cashier; import problemDomain.Person; import problemDomain.Store; publ...
package com.allianz.ExpenseTracker.Reports; import java.awt.Color; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.swing.JButton; im...
package pe.egcc.controller; import java.io.IOException; import java.util.List; import java.util.Map; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import ja...
/* * Copyright © 2019 The GWT Project 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
package org.gooru.dap.jobs.processors.dbutils; import java.util.Iterator; import org.skife.jdbi.v2.sqlobject.BindBean; import org.skife.jdbi.v2.sqlobject.SqlBatch; import org.skife.jdbi.v2.sqlobject.customizers.BatchChunkSize; public interface LearnerProfileCompetencyStatusDao { @SqlBatch("insert into learner_p...
package valatava.lab.warehouse.service; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import valatava.lab.warehouse.model.Store; import valatava.lab.warehouse.repository.StoreRepository; /** * Service class for managing stores. ...
package com.tencent.mm.g.a; public final class td$b { }
package com.markhetherington.thisishow.ui.activites; import android.support.design.widget.TabLayout; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.suppo...
package task110; /** * @author Igor */ public class Train { public static void main(String[] args) { } }
package logic.managers; import java.util.*; import logic.game.*; /** Clase que controla la gestión de los zombies */ public class ZombieManager { // Atributes private int zombie_to_play; private Game game; private Random rand; private double freq; // Methods /** Constructor de Zombie...
package shaders; import java.util.HashMap; import java.util.Map; public class ShaderCache { private Map<Integer,Boolean> booleanUniforms = new HashMap<Integer,Boolean>(); private Map<Integer,Float> floatUniforms = new HashMap<Integer,Float>(); public boolean needsUpdating(Integer location, boolean va...
public class Sort { public static void main(String[] args) { System.out.println("Integers sorting:"); Integer [] iArr = {10,3,1,4,5,8} ; Selection <Integer> intSelection = new Selection(iArr); intSelection.sort(); intSelection.printArray(); System.out.println("\nDoubles sorting:"); Double [] dArr = ...
/** * Copyright (C) 2014 Stratio (http://stratio.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 ap...
package com.tencent.mm.plugin.profile.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import com.tencent.mm.model.au; import com.tencent.mm.openim.b.f; import com.tencent.mm.plugin.profile.ui.SayHiWithSnsPermissionUI.6; class SayHiWithSnsPermissionUI$6$1 implements...
package org.gnunet.integration.internal.models; public class ActorImpls { public String iName; public String implName; }
package dev.etna.jabberclient.xmpp; import android.content.Context; public class XMPPServiceException extends Exception { //////////////////////////////////////////////////////////// // ATTRIBUTES //////////////////////////////////////////////////////////// private XMPPServiceError error = null; ...
package edu.calstatela.cs245.qiao.project; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.SQLException; import javax.swing.*; public class AddFrame extends BaseFrame{ public AddFrame(){ super(500, 400); setFillForm(); JButton jbtNext = new JButton("Next")...
package com.lanhuawei.rongyunlhwtext; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import io.rong.imkit.fragment.Conversat...
package com.openkm.extension.servlet; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.io.IOUtils; i...
package datastructure.fenzhi; /** * @Author weimin * @Date 2020/10/22 0022 17:46 */ public class Hanoitower { public static void main(String[] args) { hannuotower(64,'a','b','c'); } public static void hannuotower(int num,char a,char b,char c){ if(num==1){ System.out.println(...
package com.example.ahmed.octopusmart.ViewHolder; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.Switch; import android.widget.TextView; import com.example.ahmed.octopusmart.R; import com.kyleduo.switchbutton.SwitchButton; import butter...
package com.septacore.ripple.preprocess; import java.util.ArrayList; /** * Static class used to log errors */ public class PPLogger { public static void reset() { getInstance().logList.clear(); } public static boolean empty() { return getInstance().logList.isEmpty(); } public...
package calculadora; public class NodoString { private String dato; private NodoString siguiente; public NodoString(String d){ this.setDato(d); this.setSiguiente(null); } public String getDato() { return dato; } public void setDato(String dato) { this.dato = dato; } public NodoS...
package com.example.demo; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; import java.io.BufferedReader; import java.io.FileReader; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mockito; import...
package com.fillikenesucn.petcare.adapters; import android.app.AlertDialog; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.GradientDrawable; import android.widget.Toast; import com.fillikenesucn.petcare.R; import com.fillikenesucn.petcare.models.Acontecimiento; import ...
package com.ftd.schaepher.coursemanagement.tools; import com.ftd.schaepher.coursemanagement.pojo.TableUserDepartmentHead; import com.ftd.schaepher.coursemanagement.pojo.TableUserTeacher; import com.ftd.schaepher.coursemanagement.pojo.TableUserTeachingOffice; import junit.framework.Assert; import junit.framework.TestC...
package be.spring.app.model; import com.google.common.collect.Sets; import javax.persistence.*; import java.util.Set; /** * Created by u0090265 on 10/1/14. */ @Entity @Table(name = "doodle") public class Doodle { private long id; private Set<Presence> presences; @Id @GeneratedValue(strategy = Gen...
package ltim.master; import android.app.AlertDialog; import android.app.ListActivity; import android.content.ContentValues; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.view...
package com.project.common_basic.hybrid.jscall; import com.project.common_basic.hybrid.BaseJsCallProcessor; import com.project.common_basic.hybrid.JsCallData; import com.project.common_basic.hybrid.NativeComponentProvider; import com.project.common_basic.mvp.NearWebLogicView; import org.json.JSONException; import org...
package com.example.myretrofitapplication.constants; public class Constants { public static class baseUrl{ public final static String BASE_URL="http://komaltikka.freevar.com/user_retrotesting/"; } }
package edu.washington.cs.cse403d.coauthor.client.graphviz; import java.awt.Point; import java.awt.event.MouseEvent; import java.rmi.Naming; import java.rmi.RemoteException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.concurrent.ExecutorService; import java....
import java.awt.Color; import java.awt.Graphics; /** * The base class used for all shapes. * * Implements all basic behavior for shapes. * * All concrete shape types should inherit from this class. */ public abstract class AbstractShape implements Shape { protected int x,y; protected int width, height; prot...
package com.smxknife.java2.nio.selector; import org.junit.jupiter.api.Test; import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; import java.nio.channels.ServerSocketChannel; import java.util.concurrent.TimeUnit; /** * @author smxknife * 2020/10/13 *...
import java.util.Scanner; public class exer36 { public static void main(String[] args) { Scanner input = new Scanner(System.in); int c1 = 0; int c2 = 0; int c3 = 0; int c4 = 0; int c5 = 0; int c6 = 0; float cont = 0; System.out.println("Digite 0 - Para finalizar o conjunto de votos"); S...
package com.example.myapplication; import android.Manifest; import android.annotation.SuppressLint; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.location.Address; import android.location.Geocoder; import ...
/* There are a total of n courses you have to take, labeled from 0 to n-1. Some courses may have prerequisites, for example to take course 0 you have to first take course 1, which is expressed as a pair: [0,1] Given the total number of courses and a list of prerequisite pairs, is it possible for you to finish all cou...
package com.crud.medicalclinic.service; import com.crud.medicalclinic.domain.Patient; import com.crud.medicalclinic.repository.PatientRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import java.util.Optional; @Service pu...
package org.yuan.vita.photo.util; import java.io.File; import org.junit.Test; import org.junit.Assert; public class FTPUtilTest { @Test public void testFile() throws Exception { System.out.println(new File("demo.txt").getCanonicalPath()); // ==> E:\java\vita\demo.txt } @Test public void testUploa...
package com.java.app.beans.trans; import java.util.Date; public class TransUserDemoQuestionsDO { private Integer id; private TransSurvryInitDO init_id; private TransUserDetailsDO user_id; private Integer iDemomasterId; private String sQuestions; private String sAnswer; private String sOtherSpecify...
package com.hiwes.cores.thread.thread3.Thread0218; /** * 实现set和get交替运行,从而实现生产者/消费者模式。 */ public class MyThread13 extends Thread { private P p; public MyThread13(P p) { super(); this.p = p; } @Override public void run() { while (true) { p.setValue(); }...
package ru.kappers.service.parser; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import ru.ka...
package com.example.kevin.weatherclothingapp; import android.app.ListFragment; import android.os.Bundle; //import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import...
package com.tencent.mm.plugin.sport.c; public interface c { void bFH(); }
package ru.otus.orm.sql.generator; public class SqlStringBuilder { public static StringBuilder deletekLastChar(StringBuilder sb) { if (sb.length() == 0) return sb; if (sb.lastIndexOf(",") == sb.length()-1) { int lastIdx = sb.lastIndexOf(","); sb.delete(lastIdx, sb.length())...
package core.TestData; public class TestVariables { public static final String COUNTRY = "Argentina"; public static final String USER_NAME = "Alex"; public static final String USER_GENDER = "Male"; public static final String PRODUCT_TAB_NAME = "Products"; public static final String CART_TAB_NAME =...
package demo3; public class Squeak implements QuackBehavior { @Override public void quack() { System.out.println("Rubber duck squeak"); } }
package com.thanhviet.userlistarchvm.db; import android.arch.lifecycle.LiveData; import android.arch.lifecycle.MutableLiveData; import android.arch.persistence.db.SupportSQLiteDatabase; import android.arch.persistence.room.Database; import android.arch.persistence.room.Room; import android.arch.persistence.room.RoomDa...
package game; import communication.CommunicationAnswer; import communication.CommunicationHandler; import communication.CommunicationTypes; import domain.*; import main.ConnectionHandler; import java.io.IOException; import java.util.Arrays; import java.util.List; import java.util.Scanner; public class GameRunner imp...
package com.elepy.handlers; import com.elepy.dao.Crud; import com.elepy.exceptions.ElepyException; import com.elepy.http.HttpContext; import com.elepy.models.ModelContext; import com.fasterxml.jackson.databind.ObjectMapper; public final class DisabledHandler<T> implements ActionHandler<T>, ServiceHandler<T> { @O...
package com.jim.multipos.ui.start_configuration.pos_data; import com.jim.multipos.config.scope.PerFragment; import com.jim.multipos.ui.settings.pos_details.PosDetailsPresenter; import com.jim.multipos.ui.settings.pos_details.PosDetailsPresenterImpl; import dagger.Binds; import dagger.Module; @Module public abstract ...
package data; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.DatabaseErrorHandler; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.widget.Toast; import java.util.ArrayList; im...
/* * LumaQQ - Java QQ Client * * Copyright (C) 2004 luma <stubma@163.com> * * 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 2 of the License, or * (at your option) any lat...
package com.paisheng.instagme.widget; import android.content.Context; import android.graphics.drawable.AnimationDrawable; import android.text.TextUtils; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.widget.ImageView; impo...
package com.tencent.xweb.sys; import android.graphics.Bitmap; import android.view.View; import android.webkit.WebChromeClient; import android.webkit.WebChromeClient.CustomViewCallback; import android.webkit.WebView; import android.webkit.WebViewClient; import com.tencent.xweb.c.f; import com.tencent.xweb.e; public fi...
package com.example.user.mychat.firebase; import android.content.Context; import android.database.Cursor; import com.example.user.mychat.ChatApplication; import com.example.user.mychat.model.Message; import com.example.user.mychat.database.DBHelper; import com.firebase.client.ChildEventListener; import com.firebase.c...
package zx.soft.restlet_demo; import java.io.IOException; import org.restlet.data.Form; import org.restlet.resource.ClientResource; import org.restlet.resource.ResourceException; /** * Hello world! * */ public class RetrievingWebpageDemo { public static void main(final String[] args) { // //等价于curl http://loc...
package com.bowlong.pinyin; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import java.util.Vector; import com.bowlong.bio2.B2InputStream; import com.bowlong.objpool.StringBufPool; import com.bowlong.util.LRUCache; import com.bowlong.util.NewMap; @SuppressWarnings("unchecked") public ...
package com.lyj.project; import android.app.Activity; import android.app.Dialog; import android.content.Intent; import android.graphics.Color; import android.os.AsyncTask; import android.os.Bundle; import android.os.CountDownTimer; import android.os.StrictMode; import android.util.Log; import android.view.KeyEvent; im...
import javafx.application.*; import javafx.concurrent.Task; import javafx.stage.*; import javafx.scene.*; import javafx.scene.layout.*; import javafx.scene.media.Media; import javafx.scene.media.MediaPlayer; import javafx.scene.media.MediaView; import javafx.scene.paint.Color; import javafx.scene.text.Font; i...
package demo.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class PhidgetController { @Autowired JdbcTemplate jdb...
package hello.agh.edu.bazy.dbApi.gis; import hello.agh.edu.bazy.row.gis.GisPoint; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; impor...
package com.tencent.mm.plugin.setting.ui.setting; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; class SettingsLanguageUI$1 implements OnMenuItemClickListener { final /* synthetic */ SettingsLanguageUI mSr; SettingsLanguageUI$1(SettingsLanguageUI settingsLanguageUI) { ...
package kr.co.toondra.web.login.service; import java.util.HashMap; import kr.co.toondra.common.collection.PMap; import kr.co.toondra.common.exception.LogicException; import kr.co.toondra.common.util.CommonUtil; import kr.co.toondra.common.util.Hash; import kr.co.toondra.common.util.SessionUtil; import kr.co....
package bookexercises.chapter1.fundamentals.three; import edu.princeton.cs.algs4.StdOut; /** * What does the following code fragment print when N is 50? Give a high-level * description of what it does when presented with a positive integer N. * * Stack<Integer> stack = new Stack<Integer>(); * while (N > 0) * { ...
import java.util.ArrayList; public class Policeman { private static int POLICEMEN_COUNT = 0; private static int ACTIVE_POLICEMEN; public int ID = 0; private String name, surname, login; private boolean isActive = false; ArrayList<Policeman> partners = new ArrayList<>(); publi...
/* * 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 d...
package com.config; import com.netflix.client.config.DefaultClientConfigImpl; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class IClientConfig { @Bean public DefaultClientConfigImpl iClientConfig(){ return new ...
package com.mrfan.livehelper.network; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import android.content.Context; import android.os.AsyncTask; import android.os.Handler; impo...
/** * */ package com.cnk.travelogix.common.facades.product.provider.impl; import com.cnk.travelogix.common.facades.product.data.flight.AirlineIATAData; import com.cnk.travelogix.common.facades.product.data.flight.FlightData; import com.cnk.travelogix.common.facades.product.provider.CnkFacetValueProvider; /** * @a...
package com.canfield010.mygame.mapsquare; public class FinalPoint { public final int x; public final int y; public FinalPoint(int x, int y) { this.x = x; this.y = y; } }
package com.example.awoosare_ridebook; import java.util.ArrayList; import java.util.HashMap; // comments for the RideData class // stores the global state for the application, (which is not persistent) // the arrayList is for the recyclerview in ItemListActivity, while the hashMap // is there so that the ride detail...
package com.rsfranco.callcenter; import static org.junit.Assert.assertTrue; import java.util.LinkedList; import java.util.Queue; import com.rsfranco.callcenter.business.Call; import com.rsfranco.callcenter.business.Dispatcher; import com.rsfranco.callcenter.model.Manager; import com.rsfranco.callcenter.model.Operato...
package com.yunhe.basicdata.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.yunhe.basicdata.dao.WarehouseManagementMapper; import com.yunhe...
package com.andy.weexlab.activity; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.view.ViewGroup; import com.andy.weexlab.R; import com....
/* * This software is licensed under the MIT License * https://github.com/GStefanowich/MC-Server-Protection * * Copyright (c) 2019 Gregory Stefanowich * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal ...
package com.tencent.mm.plugin.appbrand.dynamic.d; import android.text.TextUtils; import com.tencent.mm.model.u$b; import com.tencent.mm.plugin.appbrand.collector.c; import com.tencent.mm.plugin.appbrand.dynamic.d.a.a; import com.tencent.mm.plugin.appbrand.dynamic.h.d; import com.tencent.mm.sdk.platformtools.ad; import...
package com.nhatdear.sademo.helpers; import android.content.Context; import android.content.Intent; import android.graphics.Typeface; import android.os.Build; import android.support.design.widget.Snackbar; import android.support.v4.content.ContextCompat; import android.view.View; import android.widget.TextView; impor...
package com.company; import java.util.Scanner; public class Choose_your_adventure { public static void main(String[] args) { Scanner scanner=new Scanner(System.in); String first=""; String second=""; String third=""; System.out.println("Welcome to MITCHELL's tiny adventure!"...
package com.isystk.sample.web.front.controller.api.v1.entry.remind; import com.isystk.sample.common.exception.NoDataFoundException; import com.isystk.sample.common.exception.ValidationErrorException; import com.isystk.sample.web.base.controller.api.AbstractRestController; import com.isystk.sample.web.base.controller.a...
package com.service; import com.alibaba.fastjson.JSON; import com.domain.model.UserModel; import com.google.common.collect.Lists; import com.netty.dao.mapper.UserMapper; import com.netty.dao.pojo.User; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeanUtils; import org.sprin...
package org.davidsingleton.piui; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.InetAddress; import java.net.URL; import java.net.UnknownHostException; import android.os.AsyncTask; class PiPollerTask extends AsyncTask<Void, Voi...
package com.tencent.mm.plugin.account.bind.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import com.tencent.mm.kernel.g; import com.tencent.mm.modelsimple.ab; import com.tencent.mm.plugin.account.bind.ui.f.5; class f$5$1 implements OnCancelListener { final /*...
package com.taximagicroshambo.roshambo; import android.app.Activity; import android.app.ListFragment; import android.app.LoaderManager; import android.content.CursorLoader; import android.content.Loader; import android.database.Cursor; import android.os.Bundle; import android.view.View; import android.widget.ListView;...
package com.example.demo.core.components.cooler; public class CabinetFan implements Cooler{ @Override public int consumedPower() { return 8; } }
package model.object; import java.awt.Color; import acm.graphics.GRect; import model.Helper; /** * Class which represents a brick in the game. * */ public class Brick extends RectangularObject { // ***** FIELDS ***** public final static byte MAXSTATE = 3; public byte state; /** * Constructor. ...
package com.hawk.application.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.hawk.application.model.Dictionary; import com.hawk.application.repository.springdatajpa.DictionaryRepository; @Service public class Di...
package com.timmy.framework.netFw.http; import com.timmy.framework.netFw.http.listener.IHttpListener; import com.timmy.framework.netFw.http.listener.IHttpService; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.htt...
package Kodluyoruz_HomeWork_AbdAlrahimZakaria.Week1_Homework; import java.util.Scanner; public class MarketCashier { public static void main(String[] args) { double pears = 2.14; double apples = 3.67; double tomatoes = 1.11; double banana = 0.95; double eggplant = 5.00; ...