text
stringlengths
10
2.72M
package ru.vlad805.mapssharedpoints; import java.util.HashMap; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.EditText; import mjson.Json; public class MainActivity extends ExtendedActivity { private EditText loginView; private EditText passwordView; @O...
package basics; /** * Simple BMI calculator (command-line-interface). * * @author Aga * */ public class BmiCalculator { static double computeBMI(int heightInCm, int weightInKg) { double heightInM = heightInCm / 100; return (double) weightInKg / (heightInM * heightInM); } public static void main(String[]...
package com.example.xinruigao.musicinbackground; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.widget.Toast; import java.util.ArrayList; import static com.example.xinruigao.musicinbackground.M...
package com.androidapp.yemyokyaw.movieapp.viewholders; import android.net.Uri; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.View; import android.widget.ImageView; import android.widget.RatingBar; import android.widget.TextView; import com.androidapp.yemyokyaw.movieapp.Mo...
package com.kh.efp.Search.model.vo; public class Ban implements java.io.Serializable{ private int banId; private int bid; private int mid; private String banReason; public Ban() { super(); // TODO Auto-generated constructor stub } public Ban(int badId, int bid, int mid, String reason) { supe...
/* * Copyright (c) 2014 Hewlett-Packard Development Company, L.P. * * 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 b...
package com.tencent.mm.ui.base; import android.text.InputFilter; import android.text.Spanned; import com.tencent.map.lib.gl.model.GLIcon; import com.tencent.mm.ui.tools.g; public class MMTagPanel$c implements InputFilter { final /* synthetic */ MMTagPanel txS; int txZ = 36; private int tya = GLIcon.TOP; ...
package exer; import java.io.*; public class exTest1 { public static void main(String[] args) { method(0,1); } //throw 抛出一个异常对象 //throws 异常声明 public static void method(int num1, int num2){ if(num1 == 0) try { throw new FileNotFoundException("文件没找到"); } catch (FileNotFoundExce...
package com.company.blog.repo; import com.company.blog.models.Request; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.data.repository.query.Param; import java.util.Collection; import java.util.List; public interface Reques...
package controllers; import javafx.fxml.FXMLLoader; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.input.MouseEvent; import javafx.scene.paint.Color; import javafx.stage.Stage; import javafx.stage.StageStyle; import java.io.IOException; public class IntroductionC...
package edu.nju.web.controller; import edu.nju.RuanHuApplication; import edu.nju.data.dao.UserDAO; import edu.nju.data.entity.Answer; import edu.nju.data.entity.User; import edu.nju.web.controller.json.AnswerJsonController; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.spr...
package com.simple.base.components.nio.service; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; import java.lang.annotation.ElementType; import java.lang.annotation.RetentionPolicy; @Target({ElementType.TYPE,ElementType.METHOD}) @Retention(RetentionPo...
package com.supconit.kqfx.web.fxzf.warn.entities; import hc.base.domains.PK; import com.supconit.kqfx.web.fxzf.qbb.entities.QbbMbxx; public class WarnInfo implements PK<String> { /** * */ private static final long serialVersionUID = 1L; /** * id */ private String id; /** * 告警模板类型 */ private St...
package com.ibeiliao.pay.impl.dao; import com.ibeiliao.pay.datasource.MyBatisDao; import com.ibeiliao.pay.impl.entity.JhjUserPO; import org.apache.ibatis.annotations.Param; /** * t_jhj_user 表的操作接口 * * @author linyi 2016-08-18 */ @MyBatisDao public interface JhjUserDao { /** * 保存数据 * * @param po 要保存的对象 ...
/* * 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 BasesNumericas; /** * * @author janeth */ public class Binario extends OperacionesLogicas { private int v...
package Chapter3; //변수 num의 값보다 크면서도 가장 가까운 10의 배수에서 변수 num의 값을 뺀 나머지를 구하는 코드 //24의 크면서도 가장 가까운 10의 배수는 30 //19의 경우 20, 81의 경우 90 //30에서 24를 뺀 나머지는 6이기 때문에 변수 num의 값이 24라면 6을 결과로 얻어야 한다 ..? public class Exercise3_6 { public static void main(String[] args) { int num = 24; System.out.println(((num/10)+1)*10 - num...
package br.com.galgo.testes.suite; import org.junit.runner.RunWith; import org.junit.runners.Suite; import br.com.galgo.testes.recursos_comuns.suite.StopOnFirstFailureSuite; import br.com.galgo.testes.recursos_comuns.teste.TesteLogin; @RunWith(StopOnFirstFailureSuite.class) @Suite.SuiteClasses({ TesteLogin.class }) ...
/** * Axway Appcelerator Titanium - ti.identity * Copyright (c) 2017 by Axway. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ package ti.identity; import android.app.KeyguardManager; import android.content.Conte...
/** */ package com.rockwellcollins.atc.limp; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Boolean Literal Expr</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link com.rockwellcollins.atc.limp.BooleanLiteralExpr#getBo...
package dev.restservices.controllers; import java.net.URI; import java.util.List; import javax.validation.Valid; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.MediaTyp...
public class bola { private double jari; private double pi=3.141592; public bola() { } public void setJari(double jari) { this.jari=jari; } public void setPi(double pi){ this.pi=pi; } public double getJari(){ return jari; } public double getPi(){ return pi; ...
package SelfCheck5; import java.util.Scanner; public class FuelControl { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.print("Specify the size of the fuel tank: "); double fuelCapacity = in.nextDouble(); System.out.print("The following a...
/** * ファイル名 : TitleDTO.java * 作成者 : hung.pd * 作成日時 : 2018/05/31 * Copyright © 2017-2018 TAU Corporation. All Rights Reserved. */ package jp.co.tau.web7.admin.supplier.dto; import lombok.Getter; import lombok.Setter; /** * <p>ファイル名 : TitleDTO</p> * <p>説明 : Title DTO</p> * @author hung.pd * @since : 2018/05/...
interface Sound{ public void SoundUp(int level); public void SoundDown(int level); } class Tv implements Sound{ private int SndLevel; Tv{ this //추상메서드 몸통 구현(level만큼 올라가고 내려가고) //볼륨이 0보다 작으면 0으로 세팅 } class Radio implements Sound{ private int SndLevel; //생성자 //추상메서드 몸통 구현(level만큼 올라가고 내려가고) //볼륨이 0보다 작으면 0으로...
package TestingExercises; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; public class WomenPage extends NavBarPage { @FindBy(css = "#layered_id_attribute_group_16") private WebElement yellow; @FindBy(css = "#list > a > i") private WebElement listView; ...
import java.io.IOException; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; public class InfoSearchReducer extends Reducer<Text, IntWritable, Text, IntWritable> { // <k2, v2, k3, v3> // k2 = reducer key input // ...
package com.github.marco9999.directtalk; import android.widget.TextView; public class DirectTalkGlobalRefs { // App already setup? private static boolean isSetup = false; // TextViews private static TextView lastmessage = null; private static TextView status = null; private static TextView host = null; priva...
package io.naztech.Services; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import io.naztech.Dao.StudentDao; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.Setter; import lombok.ToString; import lombok.extern.slf4j.Slf4j; @AllArgsConstructor @T...
package com.hawk.application.web; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.ModelAttribute; import org.s...
package ibd.service; import ibd.persistence.entity.Subcategory; import ibd.persistence.repository.SubcategoryRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class SubcategoryService { @Autowired ...
package com.cg.ibs.im.ui; import java.util.Scanner; import com.cg.ibs.im.service.ClientService; public class InvestmentUI { public static void main(String[] args) { Scanner sc=new Scanner(System.in); System.out.println(" Press 1 for customer and 2 for bank representative"); System.out.println("---...
package Tree; /** * @author admin * @version 1.0.0 * @ClassName IsFullTree.java * @Description 满二叉树 * 最大深度为l 总结点数 m m = 2^l - 1 * 更好的办法是用左神的树的动态规划 分解为对每棵树都要统计高度和子节点个数(先向左数要,再向右树要) * @createTime 2021年03月06日 14:31:00 */ public class IsFullTree { public static void main(String[] args) { TreeNode h...
package com.fundwit.sys.shikra.user.controller; import com.fundwit.sys.shikra.email.RawEmailMessage; import com.fundwit.sys.shikra.email.SmtpServerRule; import com.fundwit.sys.shikra.user.persistence.repository.IdentityRepository; import com.fundwit.sys.shikra.user.persistence.repository.UserRepository; import com.fun...
package com.tencent.recovery; import android.content.Context; import com.tencent.recovery.option.CommonOptions; import com.tencent.recovery.option.CommonOptions.Builder; import com.tencent.recovery.option.IOptionsCreator; import com.tencent.recovery.option.ProcessOptions; import com.tencent.recovery.util.Util; import ...
package com.lubarov.daniel.web.http.parsing; import com.lubarov.daniel.parsing.ParseResult; import com.lubarov.daniel.web.http.HttpVersion; import com.lubarov.daniel.web.http.RequestLine; import com.lubarov.daniel.web.http.RequestMethod; import org.junit.Test; import java.nio.charset.StandardCharsets; import static ...
package io.github.jorelali.commandapi.api; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.plugin.java.JavaPlugin; public class CommandAPIMain extends JavaPlugin { private static Logger logger; public static Logger getLog() { ...
package lab6; import java.io.File; import java.io.*; import java.util.ArrayList; //Name:Rizwan Ahmad //Class:BSCS-2B //Registration:00073 public class File_Crawl { private WorkQueue Working_que; static int i = 0; private class Worker implements Runnable { private WorkQueue que; public Worker(WorkQueue ...
package problemDomain; import java.math.BigDecimal; /** * A check to pay with */ public class Check extends AuthorizedPayment { /** * The routing number of the account of the check */ private String routingNumber; /** * The account number of the account of the check */ private String accountNumber; /*...
package com.tencent.mm.plugin.wallet_core.ui; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; import com.tencent.mm.wallet_core.c.p; class WalletConfirmCardIDUI$1 implements OnMenuItemClickListener { final /* synthetic */ WalletConfirmCardIDUI pvp; WalletConfirmCardIDUI$1(...
package com.countout.controller; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotatio...
package com.demo.test.filter; import com.alibaba.fastjson.JSON; import com.demo.test.constant.Constant; import com.demo.test.domain.Student; import com.demo.test.exception.ApiErrorResponse; import com.demo.test.exception.GlobalExceptionHandler; import com.demo.test.utils.TokenUtils; import org.apache.logging.log4j.Log...
/* * 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 co.tweetbuy.servlet; import co.tweetbuy.util.Constants; import static co.tweetbuy.util.LogIt.logger; import java.io.IOExcepti...
package com.tencent.mm.plugin.traceroute.ui; import com.tencent.mm.plugin.traceroute.ui.NetworkDiagnoseAllInOneUI.1; class NetworkDiagnoseAllInOneUI$1$2 implements Runnable { final /* synthetic */ 1 oDL; final /* synthetic */ int oDM; NetworkDiagnoseAllInOneUI$1$2(1 1, int i) { this.oDL = 1; ...
import javafx.application.Platform; import javafx.beans.property.FloatProperty; import javafx.beans.property.SimpleFloatProperty; import javafx.geometry.Rectangle2D; import javafx.scene.image.*; import javafx.scene.layout.*; import javafx.stage.Screen; import uk.co.caprica.vlcj.component.DirectMediaPlayerComponent; imp...
package core; import java.util.Random; import ui.Connect4TextConsole; /** * Plays a token in a random column from 1 to 7 to simulate an AI. * This class also will display if the computer won or not. * * @author Brendan Brunelle * @version (version) 3/4/2020 */ public class Connect4ComputerPlayer { ...
package com.nith.appteam.nimbus2020.Models; public class Id_Value { private String value; private String id; public Id_Value(String value, String id) { this.value = value; this.id = id; } public String getValue() { return value; } public String getId() { r...
package com.nic.usermanagement.model; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.SequenceGenerator; import javax.persistence.T...
package com.arkaces.aces_marketplace_api.reset_password; import com.arkaces.aces_marketplace_api.error.FieldErrorCodes; import com.arkaces.aces_marketplace_api.error.ValidatorException; import com.arkaces.aces_marketplace_api.recaptcha.RecaptchaService; import com.arkaces.aces_marketplace_api.user.UserEntity; import c...
package com.baizhi.cmfz_mzw.controller; import com.baizhi.cmfz_mzw.enetity.Menu; import com.baizhi.cmfz_mzw.service.MenuService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.spr...
package com.fileUploader; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.File; import java.io.PrintWriter; import java.util.Date; import java....
package com.tencent.mm.plugin.ipcall.a; import com.tencent.mm.sdk.platformtools.x; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public final class f { private static Map<Integer, List<Integer>> kor = new HashMap(); public int mCurrentState = -1; publi...
package web; import javax.servlet.ServletRequestAttributeEvent; import javax.servlet.ServletRequestAttributeListener; import javax.servlet.ServletRequestEvent; import javax.servlet.ServletRequestListener; public class MyListener implements ServletRequestListener, ServletRequestAttributeListener{ //tomcat销毁r...
package collage.controller.check; public class Status { private String message; private double persent; }
package com.example.myapplication; import android.content.Context; import android.content.SharedPreferences; import android.util.Log; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.security.Key; import java.text.DecimalFormat; import java.text.SimpleDate...
package com.mysql.cj.protocol.x; import com.mysql.cj.protocol.Message; import com.mysql.cj.protocol.ProtocolEntityFactory; public class NoticeFactory implements ProtocolEntityFactory<Notice, XMessage> { public Notice createFromMessage(XMessage message) { return Notice.getInstance(message); } } /* Location: ...
package com.tencent.mm.plugin.order.ui; import android.graphics.Color; import android.text.SpannableString; import android.text.style.StrikethroughSpan; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.tencent.mm.plugin.order.model.i...
package com.tencent.d.b.f; class f$1 implements Runnable { final /* synthetic */ d vmy; final /* synthetic */ f vmz; f$1(f fVar, d dVar) { this.vmz = fVar; this.vmy = dVar; } public final void run() { this.vmy.execute(); } }
package ui; import korisnici.Osoba; import java.awt.*; import javax.swing.*; import javax.xml.stream.Location; public class KorisnickiEkran extends JPanel { private JPanel panel1; private JButton naruciVoznjuTelefonomButton; private JButton istorijaVoznjiButton; private JButton naruciVoznjuAplikacij...
package collection.sets.task2; import java.util.Arrays; import java.util.List; public class Application { private final static List<Order> initOrder() { return Arrays.asList( new Order("xxz", 1), new Order("xxz", 1), new Order("xsz", 3), new...
package no.fint.provider.fiks.utils; import org.apache.commons.beanutils.PropertyUtils; import org.apache.commons.text.lookup.StringLookup; import java.lang.reflect.InvocationTargetException; public class BeanPropertyLookup<T> implements StringLookup { private final T bean; public BeanPropertyLookup(T bean...
package it.geek.annunci.util; import java.sql.ResultSet; import java.sql.SQLException; import org.apache.struts.util.LabelValueBean; import org.springframework.jdbc.core.RowMapper; public class CollezioniRowMapper implements RowMapper<LabelValueBean>{ public LabelValueBean mapRow(ResultSet rs, int rowNum...
/** * */ package etc; import java.awt.BorderLayout; import java.awt.CardLayout; import java.io.File; import java.util.ArrayList; import java.util.List; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTextArea; import javax.swing.SwingUtilities; import site....
/**** Copyright (c) 2015, Skyley Networks, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the...
package com.library.bexam.dao; import com.library.bexam.entity.QuestionTypeEntity; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 题型数据访问对象 * * @author JayChen */ public interface QuestionTypeDao { /** * 获取题型列表 * * @return List * @author JayChen...
import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; public class InputStreamExample2 { public static void main(String[] args) { // String path = "E:\\kosta178\\설치프로그램\\jdk-9.0.4_windows-x64_bin.exe"; String path = "src/O...
package com.research.hadoop.outputformat.custom; import org.apache.hadoop.fs.FSDataOutputStream; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IOUtils; import org.apache.hadoop.io.NullWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce....
package com.mantouland.fakeelf.component.activity; import android.content.ComponentName; import android.content.Intent; import android.content.ServiceConnection; import android.content.pm.PackageManager; import android.os.Bundle; import android.os.Handler; import android.os.IBinder; import android.support.constraint.C...
/** * Created by jiajia on 2017/5/22. */ public class MySqrt { public void sqrt(double n) { double min = 0; double max = n; double mid = ((min + max) / 2.0); double qow = mid * mid; while (min < max) { if (qow > max) { max = mid; ...
/* Write the program "Heads or Tails" , "You input the number of repeats, for example, 1000 times and programm reportes the number of heads and tails. */ package Lab06A; /** * * @author Aliaksiej Protas */ public class Lab06A { public static void main(String[] args) { View.print("\n Lets pl...
package JavaSem1.BattleShipRuzan; import javax.swing.*; import java.awt.*; import java.io.IOException; import java.rmi.RemoteException; import java.util.Scanner; /** * Created by Ruzan on 11/6/2016. */ public class Controller implements ControllerI { private static final String HOSTNAME = "129.21.102.253"; ...
/* * 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 testejava; import java.awt.Color; import javax.swing.JOptionPane; import java.text.DecimalFormat; /** * * @author Rafael A...
package com.thoughmechanix.organization.source; import com.thoughmechanix.organization.channel.CustomChannels; import com.thoughmechanix.organization.domain.Organization; import com.thoughmechanix.organization.model.OrganizationChangeModel; import com.thoughmechanix.organization.util.UserContext; import com.thoughmech...
package com.OovEver.easyCrawle.event; import com.OovEver.easyCrawle.Config.Config; import java.util.*; import java.util.function.Consumer; /** * 基于观察者模式 * 事件管理器 * @author OovEver * 2018/5/17 23:36 */ public class EventManager { // 事件模式 private static final Map<ElvesEvent, List<Consumer<Config>>> elvesEve...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author user */ import javax.swing.*; public class Main { public static void main(String[] args) { try { Class.forName("java.sql.DriverManager"); } catch (E...
package com.ross.spark.api.transform; import com.google.gson.Gson; import org.apache.spark.SparkConf; import org.apache.spark.api.java.JavaRDD; import org.apache.spark.api.java.JavaSparkContext; import java.util.Arrays; import java.util.List; /** * map算子 * map和foreach算子: * 1. 循环map调用元的每一个元素; * 2. 执行call函数, 并...
package com.spring.util; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Dat...
package solutions.lab2; import java.util.Vector; import java.util.logging.Level; import org.metacsp.framework.ConstraintNetwork; import org.metacsp.framework.ValueOrderingH; import org.metacsp.framework.VariableOrderingH; import org.metacsp.meta.TCSP.MostConstrainedFirstVarOH; import org.metacsp.meta.TCSP.TCSPLabelin...
/** * This class handles joining an existing campaign. * User can search for a campaign by entering campaign code * and join with a specific character. * * @author: Meng Yang */ package edu.tacoma.uw.myang12.pocketdungeon.campaign; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivi...
package models.excel; import lombok.Data; /** * Created by shanmao on 17/9/9. * * 商家汇总信息 */ @Data public class ShopCollectionExcel { /** 店铺名 */ private String shopName; /** 总单数 */ private int orderNum; /** 总金额 */ private int totalAmount; }
package com.baomidou.mybatisplus.samples.quickstart.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.samples.quickstart.domain.LoanProduct; import com.baomidou.mybatisplus.samples.quickstart.mapper.LoanProductMapper; import com.baomidou.mybatisplus.sampl...
package com.harrymt.productivitymapping.database; import com.harrymt.productivitymapping.PROJECT_GLOBALS; /** * Defines the database layout. */ public class DatabaseSchema { private static final String TAG = PROJECT_GLOBALS.LOG_NAME + "DatabaseSchema"; static class ZONE { static final String TABLE ...
package com.tencent.mm.plugin.appbrand.jsapi.coverview; import android.view.View; import com.tencent.mm.plugin.appbrand.jsapi.base.a; import com.tencent.mm.plugin.appbrand.page.p; import com.tencent.mm.plugin.appbrand.q.f; import com.tencent.mm.sdk.platformtools.x; import org.json.JSONObject; public final class d ext...
package com.tencent.mm.plugin.messenger.foundation.a; import com.tencent.mm.by.a.a; class t$a$2 implements a<r<T>> { final /* synthetic */ com.tencent.mm.bk.a lcr; final /* synthetic */ t.a lcs; t$a$2(t.a aVar, com.tencent.mm.bk.a aVar2) { this.lcs = aVar; this.lcr = aVar2; } pub...
/** * 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 communication; import communication.CommunicationTypes; public class CommunicationAnswer { private final CommunicationTypes type; private final Object value; public CommunicationAnswer(CommunicationTypes type, Object value) { this.type = type; this.value = value; } publi...
package com.smxknife.java.ex27; import java.util.function.Function; import java.util.stream.Stream; /** * @author smxknife * 2019-05-31 */ public class Demo6 { public static void main(String[] args) { Stream<String> first = Stream.of("a", "b", "c"); Stream<String> two = Stream.of("1", "2", "3"); Stream<Stri...
package com.duanxr.yith.easy; import java.util.Stack; /** * @author 段然 2021/3/8 */ public class YongLiangGeZhanShiXianDuiLieLcof { /** * English description is not available for the problem. * * 用两个栈实现一个队列。队列的声明如下,请实现它的两个函数 appendTail 和 deleteHead ,分别完成在队列尾部插入整数和在队列头部删除整数的功能。(若队列中没有元素,deleteHead 操作返回 -1...
package com.logstash.configchecker.service; public interface CheckConfigurationService { boolean checkConfiguration(String configuration); }
import java.util.Scanner; import java.util.Vector; class S3 { public int instanceV = 1; public void set(int value) { instanceV = value; } public String toString() { return "S3: " + instanceV; } public static void main(String args[]) { System.out.println(new S3()); ...
import jUnitTestSuits.compileTests.*; import jUnitTestSuits.correctnessTests.barrier.Barrier_corrTest; import jUnitTestSuits.correctnessTests.critical.Critical_corrTest; import jUnitTestSuits.correctnessTests.firstPrivate.*; import jUnitTestSuits.correctnessTests.flush.Flush_corrTest; import jUnitTestSuits.correctnessT...
package org.qizuo.cm; import ch.qos.logback.ext.spring.web.LogbackConfigListener; import org.qizuo.cm.frame.filter_interceptor.springmvc.SpringmvcDispatcherServlet; import org.qizuo.cm.frame.listener.session.SessionListener; import org.springframework.web.WebApplicationInitializer; import org.springframework.web.conte...
package swm11.jdk.jobtreaming.back.app.notice.model; import lombok.Getter; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; import swm11.jdk.jobtreaming.back.app.common.model.AbstractBoard; import swm11.jdk.jobtreaming.back.app.expert.model.Expert; import javax.persisten...
package net.liuzd.spring.boot.v2.controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import reactor.core.publisher.Mono; @RestController public class HelloController { @GetMapping(value= {"","hello"}) public String ...
package registration.booking.service.service; import registration.booking.service.model.Cart; public interface CartService { Cart createOrUpdate(Cart cart); Cart find(Long id); }
/** * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. * * The contents of this file are subject to the terms of the Liferay Enterprise * Subscription License ("License"). You may not use this file except in * compliance with the License. You can obtain a copy of the License by * contacting Liferay, Inc...
/* * Name: Bahari Hasjim A12110331 * Login: cs8bach * Date: January 21, 2015 * File: WordCloud.java * Sources of Help: Derrick Lieu (roommate), piazza * * This program creates methods for WordCloud that can read in a text input * and then adds the words to the list if it is unique, or increment the * frequency...
package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.component.widget.verticalviewpager.a; import android.text.TextUtils; import android.view.ViewGroup; import android.widget.ImageView.ScaleType; import com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.com...
package JavaLangClasses; /** * A method 'freeMemory()' is used to get amount of free memory Java Virtual * Machine in bytes. * * A method 'gc()' is used to activate garbage collector. * * A method 'totalMemory()' is used to get amount of total memory Java Virtual * Machine in bytes. * * @author Bohdan Skrypny...
package com.example.firebaselogin.Controllers; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Context; import android.content.DialogInterface; import android.graphics.Color; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.text.Html; imp...
package com.ibm.jikesbt; /* * Licensed Material - Property of IBM * (C) Copyright IBM Corp. 1998, 2003 * All rights reserved */ /** Represents an opc_ldc or opc_ldc_w instruction. Typically created by one of the {@link BT_Ins#make} methods. * @author IBM **/ public final class BT_ConstantClassIn...