text
stringlengths
10
2.72M
package com.tencent.mm.plugin.honey_pay.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import com.tencent.mm.plugin.honey_pay.ui.HoneyPayCheckPwdUI.2; class HoneyPayCheckPwdUI$2$1 implements OnClickListener { final /* synthetic */ 2 klf; HoneyPayCheckPwdUI...
package com.top.demo.modules.mapper; import com.top.demo.modules.pojo.RolePermissionDO; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * <p> * 角色资源表 Mapper 接口 * </p> * * @author lth * @since 2019-10-17 */ public interface RolePermissionMapper extends BaseMapper<RolePermissionDO> { }
package com.espendwise.manta.model.view; // Generated by Hibernate Tools import com.espendwise.manta.model.ValueObject; /** * CountryView generated by hbm2java */ public class CountryView extends ValueObject implements java.io.Serializable { private static final long serialVersionUID = -1; public static fi...
package com.jetplanestechbrains.sithtranslator; import org.json.JSONObject; /** "contents": { "translated": "Nu went kia coruscant which meo ten parsekas salini!", "text": "I went to coruscant which was ten parsec away!", "translation": "sith" } ...
package lesson3.begginer; /** * Created by Angelina on 21.01.2017. */ public class Task8 { public static void main(String[] args) { System.out.println("Given a string and an int n. Return a string made of the first n characters of the string, followed \n" + "by the first n-1 characters of...
package id.co.imastudio.praditaapps; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.Toast; public class MainActivity extends AppCompatActivity { //kenalin Button ya; But...
package arrayexer; import java.util.Scanner; /*从键盘读入学生成绩,找出最高分 * 并输出学生成绩等级。 * 成绩>=最高分-10 等级为‘A’ * 成绩>=最高分-20 等级为‘B’ * 成绩>=最高分-30 等级为‘C’ * 其余 等级为‘D’ * 提示:先读入学生人数,根据人数创建int数组, * 存放学生成绩。 * 输出样式:student 0 score is 56 grade is D */ public class ArrExer { public static v...
int main() { int[] a1; a1 = new int[-1]; return 0; }
package com.tencent.mm.plugin.wenote.model.nativenote.spans; import com.tencent.mm.plugin.wenote.model.nativenote.manager.WXRTEditText; import java.util.ArrayList; public final class u { public static final ArrayList<t> qtA; public static final b qtv = new b(); public static final j qtw = new j(); pub...
package cn.bs.zjzc.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.google.gson.Gson; import java.util.List; import cn.bs.zjzc.R; import cn.bs.zjzc.base.Ba...
package com.atn.app.database.handler; import java.util.ArrayList; import java.util.List; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.os.Environment; ...
package com.demo.withdrawal; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class WithdrawalApplication { public static void main(String[] args) { SpringApplication.run(WithdrawalApplication.class, args); } }
package com.tencent.mm.plugin.z; import com.tencent.mm.a.e; import com.tencent.mm.a.p; import com.tencent.mm.model.au; import com.tencent.mm.model.c; import com.tencent.mm.opensdk.constants.ConstantsAPI$AppSupportContentFlag; import com.tencent.mm.plugin.backup.g.d; import com.tencent.mm.plugin.backup.h.k; import com....
package com.puxtech.reuters.rfa.test; import java.net.InetSocketAddress; import java.net.ConnectException; import java.nio.charset.Charset; import java.util.Date; import org.apache.mina.core.RuntimeIoException; import org.apache.mina.core.buffer.SimpleBufferAllocator; import org.apache.mina.core.future.Conne...
/** * */ package codejam.hanoi_tower; import java.util.Stack; /** * * @author dgamez * */ public class HanoiTower { /** * This method moves the Disks from towerA to towerB using towerC as temporal tower * @param towerA Tower used as from * @param towerC Tower used as to * @param t...
package g_auth_resource; import java.io.IOException; import java.security.GeneralSecurityException; import com.google.api.client.auth.oauth2.Credential; import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport; import com.google.api.client.http.HttpTransport; import com.google.api.client.json.JsonFactor...
package com.finalist.plugin; import org.onehippo.cms7.essentials.dashboard.rest.BaseResource; import org.onehippo.cms7.essentials.dashboard.rest.MessageRestful; import javax.servlet.ServletContext; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax....
package com.smartwerkz.bytecode.classfile; import java.io.ByteArrayInputStream; import java.io.DataInputStream; import java.io.IOException; /** * <pre> * Code_attribute { * u2 attribute_name_index; * u4 attribute_length; * u2 max_stack; * u2 max_locals; * u4 code_length; * u1 c...
package jdbc; import java.sql.*; import javax.sql.*; import javax.naming.*; public class ConnUtil { public Connection getConnection() { Connection con = null; try { Context init = new InitialContext(); DataSource ds = (DataSource)init.lookup("java:comp/env/jdbc/mydb"); con = d...
package leetcode.string; /** * Created by apple on 2019/5/16. */ public class replaceSpaceSolution { public String replaceSpace1(StringBuffer str) { StringBuffer res = new StringBuffer(); int len = str.length() - 1; for(int i = len; i >= 0; i--){ if(str.charAt(i) == ' ') ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package gui; import java.awt.Font; import java.awt.FontFormatException; import java.io.IOException; import java.io.InputStream; import org.lwjgl.opengl.GL11; import org.newdawn.slick.Color; import org.newdaw...
package code; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.image.BufferedImage; import javax.swing.JComponent; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextField; public class EventHandlerPlace implements Acti...
package com.liemily.tradesimulation.trade; import org.springframework.data.jpa.repository.JpaRepository; /** * Created by Emily Li on 12/08/2017. */ public interface TradeRepository extends JpaRepository<Trade, Long> { }
package ru.moneydeal.app.auth; import androidx.annotation.NonNull; import androidx.room.Entity; import ru.moneydeal.app.models.BaseUser; @Entity(tableName = "auth") public class AuthEntity extends BaseUser { @NonNull public String token; public AuthEntity( String id, String login...
/* * 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 resto.com.app.services; import java.util.List; import resto.com.app.pojos.User; public interface LoginService { public User loginToUser(String username ,String password); }
package com.anyang.myWeb.service; import com.anyang.myWeb.entity.user.User; import com.anyang.myWeb.service.user.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import java.util.Map; import java.util.TreeMap; @Service p...
package zm.gov.moh.core.repository.database.dao.domain; import androidx.lifecycle.LiveData; import androidx.room.*; import zm.gov.moh.core.repository.database.entity.domain.EncounterRole; @Dao public interface EncounterRoleDao { //gets all locations @Query("SELECT * FROM encounter_role WHERE encounter_role_i...
package com.rishi.baldawa.iq; import org.junit.Test; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; public class RemoveElementsFromArrayTest { @Test public void solution() throws Exception { int[] nums = {1, 2, 2, 3}; assertEquals(new RemoveElem...
package com.gexne.xpay; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import com.gexne.paylib.Xpay; import java.io.IOException; import okhttp3....
import java.awt.List; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.EOFException; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.text.DateFormat; import java.text.ParseException; impo...
package com.example.library.Service; import com.example.library.Entity.User; import com.example.library.Exceptions.UserNotFoundException; import com.example.library.Login.MyUserDetails; import com.example.library.Repository.UsersRepository; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.S...
package me.reichwald.spigot.mtools.actions; public enum ToolAction { BREAK_PLOCK, PLACE_BLOCK, REPLACE_BLOCK, EXECUTE_COMMAND, DAMAGE_ENTITY, DAMAGE_ARMOR, DAMAGE_ITEM, HEAL_ENTITY, SUMMON_ENTITY, KILL_ENTITY, MOVE_ENTITY, POTION_EFFECT, ENCHANT_ITEM, }
package com.hussam.interests; import android.os.AsyncTask; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.text.Editable; import android.text.TextWatcher; import android.view.LayoutInflater; import android.view.View; import android.view.ViewG...
package com.salaboy.conferences.agenda.controller; import com.salaboy.conferences.agenda.model.ServiceInfo; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web...
package com.example.currency.config; import org.ehcache.event.CacheEvent; import org.ehcache.event.CacheEventListener; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class CacheLogger implements CacheEventListener<Object, Object> { private static Logger logger = LoggerFactory.getLogger(CacheLogg...
package nl.jtosti.hermes.user; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Optional; /** * Database s...
package br.com.hbsis.testeandroidnatan.impl.dao.base; 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; import java.util.Date; import java.uti...
package com.ibm.esc.xml.parser.sax; // import java.util.Locale; import java.io.IOException; import java.io.InputStreamReader; import java.io.Reader; import java.util.Locale; import org.xml.sax.AttributeList; import org.xml.sax.DTDHandler; import org.xml.sax.DocumentHandler; import org.xml.sax.EntityResolve...
package com.appareldiving.dataretriever.controller.feign; import com.appareldiving.dataretriever.dto.RequestData; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.we...
/** */ package ErdiagramDSL.util; import ErdiagramDSL.*; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.util.Switch; /** * <!-- begin-user-doc --> * The <b>Switch</b> for the model's inheritance hierarchy. * It supports the call {@link #doSwitch(EObject...
package com.yinghai.a24divine_user.module.login.phone; import com.example.fansonlib.base.BaseView; import com.yinghai.a24divine_user.bean.PersonInfoBean; import com.yinghai.a24divine_user.callback.IHandleCodeCallback; import io.rong.imlib.RongIMClient; /** * @author Created by:fanson * Created on:2017/10/25 14:19...
/* * Sonar C-Rules Plugin * Copyright (C) 2010 SonarSource * dev@sonar.codehaus.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, or (at you...
package cz.kojotak.udemy.vertx.stockBroker.api.quote; import java.util.Collections; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import cz.kojotak.udemy.vertx.stockBroker.api.asset.GetAssetsFromDatabase; import cz.kojotak.udemy.vertx.stockBroker.db.DbHandler; import io.netty.handler.codec.http.HttpHeader...
package algorithm.DataStructure; /** * 可持久化线段树(精简) */ public abstract class PersistSegTree { int[] roots;//各版本的根节点 int[]val,l,r; int size,len;//根节点数量,节点数量 PersistSegTree(int len,int VersionNum){ roots=new int[VersionNum+1]; val=new int[len]; l=new int[len]; r=new int[...
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...
package kh.cocoa.service; import kh.cocoa.dao.TeamDAO; import kh.cocoa.dto.TeamDTO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class TeamService implements TeamDAO { @Autowired TeamDAO tdao; @Overr...
package com.lizogub.HomeWork4; import java.lang.reflect.Array; import java.util.Arrays; public class Codewars { /** * If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. * The sum of these multiples is 23. * Finish the solution so that it returns the sum...
package com.deltastuido.user.interfaces; import java.util.List; import javax.ejb.EJB; import javax.enterprise.context.ApplicationScoped; import javax.inject.Named; import com.deltastuido.user.User; import com.deltastuido.user.application.UserFacade; @Named @ApplicationScoped public class UserIndex { @EJB pr...
package io.github.apfelcreme.Pipes.Listener; import io.github.apfelcreme.Pipes.Exception.ChunkNotLoadedException; import io.github.apfelcreme.Pipes.Exception.PipeTooLongException; import io.github.apfelcreme.Pipes.Exception.TooManyOutputsException; import io.github.apfelcreme.Pipes.Manager.PipeManager; import io.githu...
package LeetCode.sortingAndSearching; public class SortColor { public void sortColors(int[] nums) { int s = 0, e = nums.length - 1, i=0; while (i <= e){ if(nums[i] == 0) { swap(nums, i, s); s++; } else if(nums[i] == 2) { swap(nums, i, e); e--; } else { ...
package eu.lsem.bakalarka.dao.categories; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; import eu.lsem.bakalarka.model.Category; import java.util.List; public class FieldsOfStudyDaoImpl extends SqlMapClientDaoSupport implements CategoryDao{ public Category getCategory(Intege...
package main; import java.util.Scanner; import person.Author; import biblio.Entry; import csv.CSV; import biblio.Query; import biblio.Bibliography; public class Main { public static void main(String[] args) { Author author = null; String publisher = null; int format = Entry.FORMAT_RAW; for (int i = 0; i < a...
/* * 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 edu.prueba.co; /** * * @author ESTUDIANTE */ public class Cliente extends Persona { private String Codigo...
package fr.projetcookie.boussole; import android.location.Location; public interface LocationListener { public void locationChanged(Location l); }
package lecturauno; // Este programa prueba la clase LeerArchivoTexto. public class PruebaLeerArchivoTexto { public static void main(String args[]) { //LeerArchivoTexto.leerRegistros01(); //LeerArchivoTexto.leerRegistros02(); LeerArchivoTexto.leerRegistros03(); } // fin de m...
package bot_output; import java.io.IOException; import java.util.HashMap; import utils.StaticVariables; //Basic program to convert english phrases to morse code public class Morse_Code { private String morseCode; private Writer writer = new Writer(); public Morse_Code() { StaticVariables.programRunning = tru...
/* 1. Создать класс Автомобиль (англ. Car), с полями “Год выпуска”, “Цвет”, “Модель”. Создать геттеры и сеттеры для каждого поля. Создать экземпляр класса Автомобиль, задать сеттером каждое поле, вывести в консоль значение каждого поля геттером. Созданный вами класс должен отвечать принципам инкапсуляции. */ package ...
package collectiondemos; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; public class ArrayListDemo3 { public static void main(String[] args) { //Array String arr[] = {"Dog","Cat","Elephant","Deer","Tiger"}; for(String value:arr) { System.out.println(value); } ...
package com.cszjkj.aisc.dms_customer.service; import com.cszjkj.aisc.cm_common.dto.CustomerDTO; import com.cszjkj.aisc.cm_customer.ICustomerService; import org.apache.dubbo.config.ApplicationConfig; import org.apache.dubbo.config.ReferenceConfig; import org.apache.dubbo.config.RegistryConfig; import org.junit.jupiter....
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the ter...
package com.example.xyzreader.remote; import android.os.AsyncTask; import android.util.Log; import com.example.xyzreader.database.DatabaseBook; import com.example.xyzreader.database.XYZDatabase; import com.example.xyzreader.domain.Book; import com.example.xyzreader.utils.JsonUtils; import java.io.BufferedInputStream...
package com.hotv.springboot.entity; /** * 角色资源 * * @author hotv * @since 2017-11-11 */ public class SysRoleResource { /** * roleId */ private Long roleId; /** * 角色资源 */ private String resource; /** * roleId */ public Long getRoleId() { return roleId; } public void setRoleId(Long roleId)...
package com.trs.om.service.impl; import java.util.List; import org.springframework.transaction.annotation.Transactional; import com.trs.om.rbac.AuthorizationException; import com.trs.om.rbac.IPrivilegeManager; import com.trs.om.bean.Privilege; import com.trs.om.bean.DataPermission; import com.trs.om.dao.DataPermissi...
package zen.users; import java.util.Scanner; public abstract class Usuarios { protected int codigoId; protected String nome; protected String senha; protected String email; protected String tipoUsuario; protected Scanner sc = new Scanner(System.in); public int getCodigoId() { return codigoId; ...
/** * */ package mas2019.group8; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import mas2019.group8.help_components.Gahboninho_Offering; import mas2019.group8.help_components.NiceTitForTat_Offering; import mas2019.group8.help_componen...
package com.todolist.app.ws.io.repositories; import java.util.List; import org.springframework.data.repository.CrudRepository; import com.todolist.app.ws.io.entity.ToDoItemEntity; import com.todolist.app.ws.io.entity.ToDoListEntity; public interface TodoItemRepository extends CrudRepository<ToDoItemEntity,...
package xdpm.nhom11.angrybirdsproject.xmlbird; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.andengine.entity.IEntity; imp...
package com.jim.multipos.utils.rxevents.main_order_events; import com.jim.multipos.data.db.model.customer.Customer; /** * Created by developer on 27.02.2018. */ public class CustomerEvent { private Customer customer; private Customer newCustomer; private int type; public CustomerEvent(Customer cus...
/* * Copyright (c) 2021. Alpha Coders */ package com.abhishek.Videogy.download; import java.io.Serializable; public class DownloadVideo implements Serializable { public String size; public String type; public String link; public String name; public String page; public String website; p...
import jakarta.xml.bind.annotation.XmlElement; import jakarta.xml.bind.annotation.XmlRootElement; import jakarta.xml.bind.annotation.XmlSeeAlso; import java.util.ArrayList; import java.util.List; @XmlRootElement @XmlSeeAlso(Aftale.class) public class AftaleListe { List<Aftale> aftaleliste = new ArrayList<>(); ...
package es.utils.mapper.impl.element; import java.util.Objects; import java.util.function.BiConsumer; /** * This class handle the logic of a generic {@code setter} operation.<br> * @author eschoysman * * @param <U> the type of the destination object * @param <SETTER_IN> the type of the input of the {@c...
/* * Copyright 2017 University of Michigan * * 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...
import java.io.BufferedReader; import java.io.InputStreamReader; public class CoinsGame { public static void main(String[] args) { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String input; int numOfLinesRead = 0; int k=0,l=0,m=0; String [] strArray = null; whi...
package com.example.recycleviewactivity; import android.content.Context; import android.icu.util.UniversalTimeScale; import android.text.Layout; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.RelativeLayout; import and...
package com.wipe.zc.journey.util; import java.util.Calendar; /** * 时间工具包 */ public class TimeUtil { /** * 毫秒值转换为时间 */ public static Calendar longToTime(long millis) { Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(millis); return calendar; } ...
package com.tencent.mm.plugin.voiceprint.ui; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.View; import com.tencent.mm.R; import com.tencent.mm.ab.e; import com.tencent.mm.ab.l; import com.tencent.mm.mode...
public class HelloWorldExternalD { public void HelloWorldD() { System.out.println("HelloWorldD"); } }
package com.vilio.fms.util; import org.apache.tools.zip.ZipEntry; import org.apache.tools.zip.ZipOutputStream; import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.commons.CommonsMultipartFile; import javax.persistence.criteria.CriteriaBuilder; import javax.servlet.http.Htt...
package com.xampy.namboo.api.database; import android.database.sqlite.SQLiteDatabase; public abstract class DAOBase { protected DataBaseHandler dbHandler = null; protected SQLiteDatabase redableDataBase = null; protected SQLiteDatabase writableDataBase = null; public DAOBase(DataBaseHandler dbHandler...
package com.tencent.mm.plugin.gallery.model; import android.os.Bundle; import com.tencent.mm.R; import com.tencent.mm.modelsfs.FileOp; import com.tencent.mm.platformtools.r; import com.tencent.mm.plugin.gallery.stub.a; import com.tencent.mm.sdk.platformtools.ad; import com.tencent.mm.sdk.platformtools.bi; import com.t...
package Chapter6Review; public class Bank { private double principal; private double interest; private int year; public Bank(double principal, double interest) { this.principal = principal; this.interest = interest; } public void calculateFV(double targetPayout) { ...
/* * Copyright (c) 2008-2011 by Jan Stender, * Zuse Institute Berlin * * Licensed under the BSD License, see LICENSE file for details. * */ package org.xtreemfs.mrc.database.babudb; import java.nio.ByteBuffer; import java.util.List; import java.util.Map.Entry; import org.xtreemfs.babudb.api.datab...
package Pages; import static org.testng.Assert.assertEquals; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; import org.openqa.selenium.support.ui.ExpectedConditions; import com.go...
/* * Copyright (c) 2008-2016 Haulmont. * * 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 agr...
package baadraan.u.batman.ui; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Bundle; import android.view.View; import android.widget.ImageView; import android.widget.ProgressBar; import android.widget.TextView; import androidx.annotation.Nulla...
package work; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.http.ParseException; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.CloseableHttpResponse; import org....
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the ter...
import java.util.Scanner; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.layout.Pane; import javafx.scene.paint.Color; import javafx.stage.Stage...
package script.groovy.servlet.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(value = {ElementType.TYPE}) @Retention(value = RetentionPolicy.RUNT...
package com.computerstudent.madpractical.Practical_19; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.provider.Settings; import android.widget.Toast; public class MyBroadcastReceiver extends BroadcastReceiver { public void onReceive(Context...
package com.raggiadolf.connectfour; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuItem; import android.view.View; import org.honorato.multistatetogglebutton.MultiStateToggleButton; public class MainMenuActiv...
package com.fordprog.matrix.interpreter; import org.antlr.v4.runtime.ParserRuleContext; public class CodePoint { private final int lineNumber; private final int columnNumber; public CodePoint(int lineNumber, int columnNumber) { this.lineNumber = lineNumber; this.columnNumber = columnNumber; } p...
package com.tencent.mm.ui.chatting; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.CompressFormat; import com.tencent.mm.R; import com.tencent.mm.ak.e; import com.tencent.mm.ak.f; import com.tencent.mm.ak.o; import com.tencent.mm.bp.a; import com.tencent.mm.model.au; imp...
package com.java.featuress; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; @FunctionalInterface public interface MyInterface { public Integer addTwoNo(Integer i1, Integer i2); public default Integer mul(Integer i1, Integer i2) { return i1 * i2; } public default Intege...
package kimmyeonghoe.cloth.service.logo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import kimmyeonghoe.cloth.dao.logo.LogoDao; @Service public class LogoServiceImpl implements LogoService{ @Autowired private LogoDao logoDao; @Override ...
package com.mathpar.students.ukma.Grushka.Module2Part1; import mpi.MPI; import mpi.MPIException; public class TestAllGatherv { public static void main(String[] args) throws MPIException, InterruptedException { // MPI definition MPI.Init(args); // Determine the number of processors and pro...
/* * 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 algorithmlab; import java.util.Arrays; /** * * @author pigrick */ public class Sort4with5Compare { public static ...
package tecnicas.u04; import java.util.Scanner; public class Ej19Bis { /* Crear un programa que muestre en pantalla una escalera inversa de asteriscos. * La cantidad de filas de la escalera se ingresa por teclado. Utilice la * instrucción for. */ public static void main(String[] args) { Scann...
package ga.islandcrawl.controller.intelligence; import ga.islandcrawl.map.O; import ga.islandcrawl.object.unit.Unit; /** * Created by Ga on 11/20/2015. */ public class Social extends Behavior { public int followers; public int charisma; public Social(Unit host) { super(host); charisma =...