text
stringlengths
10
2.72M
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2017.01....
package com.mrhan.database; import java.sql.ResultSet; /** * 实体操作结果集合方法! * <br/> * {@link IEntity} 和 {@link IDao}的本质区别,在于:<br/> * {@link IDao} 在处理结果集合是!无需考虑遍历集合,{@linkplain IDao}但其有类型限制,类似于一个辅助类<br/> * {@link IEntity} 在处理结果集合时,需要考虑遍历集合,对于结果集合的处理!完全独立 */ public interface IEntity { /** * 处理结果集合方法 * ...
package elora; import java.util.Calendar; import java.util.Date; import java.util.List; import timePhrase.TimePhrase; import timePhrase.TimePhraseFactory; /** * Encapsulates the logic for converting a plain English representation of a time relative to now into a {@link Date} object. * * @author akauffman * */ ...
/** * 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 com.lr.config; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.serializer.SerializerFeature; import org.springframework.data.redis.serializer.RedisSerializer; import org.springframework.data.redis.serializer.SerializationException; import java.nio.charset.Charset; public class FastJsonRedisSeri...
package DTO; import java.util.ArrayList; /** * Created by Quan-DevTeam on 11/9/15. */ public class MenuSection { String title; ArrayList<Menu> listSubtitle; public MenuSection(String title, ArrayList<Menu> listSubtitle) { this.title = title; this.listSubtitle = listSubtitle; } ...
package com.tencent.tencentmap.mapsdk.a; public final class rx extends rw { private int d; private int e; private qx f; private int g; public final void a(int i) { this.d = i; } public final void a(qx qxVar) { this.f = qxVar; } public final void a(sl slVar) { ...
package DesktopApp; import javax.swing.JButton; /** * Η adminMain αποτελεί το GUI της βασικής οθόνης λειτουργίας της εφαρμογής , δινοντας * τη δυνατότητα στο χρήστη να επιλέξει μεταξύ των ορισμένων λειτουργιών. Εδώ γίνεται * και ο έλεγχος των δικαιωμάτων του χρήστη αναφορικά με τις υπηρεσίες που μπορεί να * ε...
package nl.computerinfor.groamchat.activities; import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.RatingBar; impor...
package com.example.healthmanage.ui.activity.mytask; import android.os.Bundle; import android.text.Html; import android.view.View; import androidx.lifecycle.Observer; import androidx.recyclerview.widget.LinearLayoutManager; import com.example.healthmanage.BR; import com.example.healthmanage.R; import com.example.hea...
/* * Copyright 2002-2013 the original author or 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 ap...
package com.mes.old.meta; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final /** * IvSeqlastioId generated by hbm2java */ public class IvSeqlastioId implements java.io.Serializable { private String relationid; private String createtime; private Long iotype; public IvSeqlastioId() { } public IvSeq...
package com.example.behavioral.chainofresponsibility; /** * Copyright (C), 2020 * FileName: MainDemo * * @author: xieyufeng * @date: 2020/10/13 17:54 * @description: */ public class MainDemo { public static void main(String[] args) { Manager commonManager = new CommonManager(); commonManag...
package actors; import display.Camera; import entity.Entity; import entity.WinHeart; import handler.Handler; import input.KeyInput; import java.awt.Color; import java.awt.Graphics; import java.awt.image.BufferedImage; import sun.audio.AudioPlayer; import tile.Tile; import util.Util; import world.World; public class P...
import java.util.Scanner; /** * * @author ryanbarbera */ public class ActionMenu { Scanner user_input = new Scanner(System.in); /** * Select what enemy to fight. * @param current_room list of enemies in that room. * @return who the player will be fighting. */ public int fight_menu(R...
package exerc7; import java.io.File; import java.util.Comparator; // classe usada para organizar o ArrayList com os arquivos pelo tamanho public class MySort implements Comparator<File> { @Override public int compare(File f1, File f2){ return (int) (f2.length() - f1.length()); } }
package com.tencent.mm.plugin.voip.model; class p$3 implements Runnable { final /* synthetic */ p oMX; p$3(p pVar) { this.oMX = pVar; } public final void run() { this.oMX.oMW.SO(); } }
package com.sharpower.quartzs; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.ConcurrentHashMap; import com.sharpower.beckhoff.FunDataReadWriteBeckhoffService; import com.sharpower.entity...
package com.codersergg.demo_mongoDB.repository; import com.codersergg.demo_mongoDB.model.Photo; import org.springframework.data.mongodb.repository.MongoRepository; public interface PhotoRepository extends MongoRepository<Photo, String> { }
package com.accenture.exception; public class StudentIdMismatch extends RuntimeException{ }
package April.ElgunAZE; import java.util.*; public class Elgun { public static void main(String[] args) { // String str [][] = {{"Mike Artrur","Mike123"}, // {"Jason Mike","Coole1233"}, // {"Johnny avard","Avard123"}, // {"Ford","Fiesta"}}; // // // for(i...
package src; import java.io.IOException; import java.util.Scanner; public class H009 { public static void main(String... args) throws IOException { while (true) { System.out.println("How much Fibonacci numbers you want to see?"); long quantity; try { Sca...
package com.kumar.penguingame; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.Tex...
package com.dao; import java.sql.Connection; import java.sql.PreparedStatement; import com.pojo.Register_User; public class Dao_Registration { public int register(Register_User reg) { int success=0; Dao_Connect connect= new Dao_Connect(); Connection con=connect.database(); try { String query= "I...
package com.utils.tools.research.service.Impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.github.pagehelper.Page; import com.github.pagehelper.PageHelper; import com.utils.tools.research.mapper.MsgMapper; import com.utils.tools.research.pojo.Msg; import com.utils.tools.research.serv...
package me.solidev.quickdevlib.entity.news_type; import me.solidev.quickdevlib.entity.NewsItem; /** * Created by _SOLID * Date:2016/9/29 * Time:13:16 * Desc: */ public class DefaultNewsItem extends NewsItem { }
package com.wincentzzz.project.template.springhack.mapper; import com.wincentzzz.project.template.springhack.dto.request.ExaminationRequest; import com.wincentzzz.project.template.springhack.dto.response.ExaminationListResponse; import com.wincentzzz.project.template.springhack.dto.response.ExaminationResponse; import...
package com.it.userportrait.reduce; import com.it.userportrait.analy.EntanglementProductEntity; import org.apache.commons.lang.StringUtils; import org.apache.flink.api.common.functions.ReduceFunction; public class EntanglementProductAnlayReduce implements ReduceFunction<EntanglementProductEntity> { public Entan...
package com.learn.learn.bassis.broadcast.binder; /** * Created by Administrator on 2018/8/25 0025. */ /** * 类 名: OnProgressListener<br> * 说 明:<br> * 创建日期:2018/8/25 0025<br> * 作 者:蒋委员长<br> * 功 能:<br> * 注 意:<br> * 待做事情: */ public interface OnProgressListener { void onProgress(int progress); }
package microservice.currencyconversionservice.service; import microservice.currencyconversionservice.entity.CurrencyConversion; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; //@FeignClien...
/* * Copyright 2009 Kjetil Valstadsve * * 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 agre...
package cn.com.ykse.santa.service.vo; /** * Created by youyi on 2016/2/22. */ public class CommentVO { private int refId; private String category; private String content; private String author; private String gmtCreate; public int getRefId() { return refId; } public void...
package com.elepy.models.props; import com.elepy.annotations.FileReference; import com.elepy.models.FieldType; import com.elepy.models.Property; import com.elepy.uploads.FileUploadEvaluator; import java.lang.reflect.AccessibleObject; public class FileReferencePropertyConfig implements PropertyConfig { private f...
package com.layla; import android.app.Application; import com.parse.Parse; import com.parse.ParseACL; import com.parse.ParseInstallation; import com.parse.ParsePush; public class StarterParse extends Application { @Override public void onCreate() { super.onCreate(); // Enable Local Datas...
package com.android.superlorenzo; import android.gameengine.icadroids.objects.GameObject; public class Kaas extends GameObject{ private int size; private LorenzoGame game; public Kaas(LorenzoGame game, int size) { this.size = size; this.game = game; if (size==2){ setSprite("kaas1"); } else if ...
package com.handsomedong.dynamic.datasource.helper; import lombok.extern.slf4j.Slf4j; import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource; import javax.sql.DataSource; import java.util.HashMap; import java.util.Map; /** * Created by HandsomeDong on 2021/9/30 23:48 * 路由到对应的数据源 */ @Slf4j pub...
package au.com.flexisoft.redisutil.dto; import java.io.Serializable; import java.util.List; import lombok.Getter; import lombok.Setter; import lombok.ToString; @Setter @Getter @ToString public class Account implements Serializable { private Integer id; private String type; private Double amount; priv...
package io.github.qyvlik.iostnode.response.info; import com.alibaba.fastjson.annotation.JSONField; import java.math.BigDecimal; public class RAMInfo { @JSONField(name = "available") private BigDecimal available; // 可用 RAM 数量,以 byte 为单位 @JSONField(name = "total") private BigDecimal total; ...
// $Id: random.java,v 1.11 2001/07/31 16:38:37 doug Exp $ // http://www.bagley.org/~doug/shootout/ package com.harris.mobihoc; import java.text.*; public class random implements Runnable{ public static final long IM = 139968; public static final long IA = 3877; public static final long IC = 29573; pr...
package com.tencent.mm.plugin.fav.ui.widget; import android.view.View; import android.view.View.OnClickListener; class b$1 implements OnClickListener { final /* synthetic */ b jfn; public b$1(b bVar) { this.jfn = bVar; } public final void onClick(View view) { if (this.jfn.jfm != null...
package com.wanglu.movcat.util; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.serializer.RedisSerializer; import org.springframework.data.redis.serializer.StringRedisSerializer; /** * Created by wangl on 2017/10/26 0026. */ public class RedisTemplateUtil { publ...
package q0084_hard; public class LargestRectangleInHistogram { }
package com.android.lvxin.videos; /** * Created by Administrator on 2015/11/15. */ import android.content.ContentUris; import android.content.Context; import android.content.res.Resources; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import andro...
package com.developpez.lmauzaize.java.concurrence.ch02_synchronisation.phaser; import java.util.concurrent.BrokenBarrierException; import java.util.concurrent.Phaser; import com.developpez.lmauzaize.java.concurrence.Logger; public class PhaserDemo { public static void main(String[] args) throws InterruptedExceptio...
package example.payroll; import example.money.Money; import java.time.LocalDate; public class Employment { public boolean isActiveOn(LocalDate date) { return false; } public boolean isEmployedBy(Employer employer) { return false; } public Money getAnnualSalary() { return ...
/* * Copyright 2000-2011 JetBrains s.r.o. * * 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 la...
package String; public class LongestCommonPrefix_14 { /*14. 最长公共前缀*/ /* 水平扫描字符串数组中每一个字符串的前缀; 其他思路:二分查找法去寻找最长前缀; 分治法将数组中字符串分别求最长前缀; */ public String longestCommonPrefix(String[] strs) { if(strs.length == 0 || strs[0].length() == 0){ return ""; } int index...
package walking_web.repositories; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import walking_web.models.Customer; public interface CustomerRepository extends JpaRepository<Customer, Long>{ List<Customer> findByUsername(String username); }
package gov.virginia.dmas.dto; import java.io.Serializable; import java.util.Date; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import gov.virginia.dmas.serializer.DateDe...
package steps; import lombok.extern.log4j.Log4j2; import pages.FeedPage; import pages.LoginPage; import pages.MoodModal; import pages.MyFeedPage; //import static com.codeborne.selenide.Selenide.sleep; @Log4j2 public class MoodSteps { LoginPage loginPage; FeedPage feedPage; MoodModal moodModal; MyFee...
package com.question.model; public class Selections { private int selectionId; private int questionId; private String selectionsContent; private int count; public int getSelectionId() { return selectionId; } public void setSelectionId(int selectionId) { this.selectionId = ...
package com.one.sugarcane.io.ride.sensitive; import java.io.*; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; /** * 敏感词汇过滤工具 */ public class SensitiveWordFilter { private static HashMap sensitiveWordMap = null; private InputStream in = null; public sta...
package controllers; import dto.MovieDTO; import dto.SeanceDTO; import model.Movie; import service.impl.MovieServiceImpl; import service.impl.SeanceServiceImpl; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServ...
package com.isystk.sample.domain.entity; import org.seasar.doma.Column; import org.seasar.doma.Entity; import org.seasar.doma.Id; import org.seasar.doma.Table; import com.isystk.sample.domain.dto.common.DomaDtoImpl; import lombok.Getter; import lombok.Setter; /** * 自動生成のため原則修正禁止!! */ @Entity @Table(name = "t_post_...
package com.takshine.wxcrm.domain; import com.takshine.wxcrm.model.AttachmentModel; /** * 附件 * @author liulin * */ public class Attachment extends AttachmentModel{ private String parentid;//相关ID private String parenttype;//相关类别 public String getParentid() { return parentid; } public void setParentid(St...
package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.component.widget; class b$a { final /* synthetic */ b nGR; public boolean nzR; private b$a(b bVar) { this.nGR = bVar; } /* synthetic */ b$a(b bVar, byte b) { this(bVar); } final void bz...
package com.projet3.library_webapp.library_webapp_batch.email; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.mail.SimpleMailMessage; import org.springframework.stereotype.Service; import org.springframework.mail.MailSender; @Service("emailSender") public class EmailAPI { ...
package com.tmtmmobile.tmtm; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget....
package com.accp.pub.mapper; import java.util.List; import com.accp.pub.pojo.Awardandpunishmenttype; public interface AwardandpunishmenttypeMapper { int deleteByPrimaryKey(Integer aaypeid); int insert(Awardandpunishmenttype record); int insertSelective(Awardandpunishmenttype record); Awardandpunis...
package com.socklabs.lazyexamples; /** * Created with IntelliJ IDEA. * User: ngerakines * Date: 9/9/12 * Time: 12:58 PM * To change this template use File | Settings | File Templates. */ public abstract class LazyData<O, R> { private volatile boolean executed = false; private R response = null; public abstr...
package com.example.cj.perfectj.mapper; import com.example.cj.perfectj.domain.UserDomain; import com.example.cj.perfectj.domain.UserDomainExample; import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @Mapper public interface UserDomainMapper { long count...
package com.example.sdcardfinder; import android.app.ListActivity; import android.os.Bundle; public class SetLanguageListActivity extends ListActivity{ private int langString; public int getLangString() { return langString; } private void setLangString() { String lng=this.getApplicationContext().getResou...
package com.tencent.mm.plugin.game.ui; import android.content.Intent; import android.os.Bundle; import com.tencent.mm.kernel.g; import com.tencent.mm.plugin.game.a.b; import com.tencent.mm.plugin.game.d.aj; import com.tencent.mm.plugin.game.e.c; import com.tencent.mm.plugin.game.f; import com.tencent.mm.plugin.game.mo...
package com.mes.old.meta; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final import java.util.Date; /** * J4BillsId generated by hbm2java */ public class J4BillsId implements java.io.Serializable { private String uniqueid; private String billsort; private String billurl; private String billversion; ...
package com.ryit.controller; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereo...
package com.sparknetworks.loveos.domain; public class Range<T extends Comparable<T>> { private T from; private T to; private Range() {} public static <T extends Comparable<T>> Range<T> of(T from, T to) { Range<T> range = new Range<>(); range.from = from; range.to = to; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package GProduction.auxiliary; import GProduction.miniCarSim_Alpha2; import javax.microedition.lcdui.Canvas; import javax.microedition.lcdui.Graphics; /** * * @author Blondu */ public class resumeScreen extends Canv...
package com.briup.apps.zhaopin.service; import com.briup.apps.zhaopin.bean.CustomerService; import com.briup.apps.zhaopin.bean.extend.CustomerServiceExtend; import java.util.List; public interface CustomerServiceService { List<CustomerService> findAll(); String saveOrUpdate(CustomerService custome...
package com.example.doubnut.di.module; import android.arch.lifecycle.ViewModel; 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; import dagger.MapKey; @...
package pl.tiwaszko.spitter.data; import pl.tiwaszko.spitter.Spittle; import java.util.List; /** * Created by root on 29.09.15. */ public interface SpittleRepository { List<Spittle> findSpittles(long max, int count); }
package com.codegym.checkinhotel.service.room; import com.codegym.checkinhotel.model.Hotel; import com.codegym.checkinhotel.model.Room; import com.codegym.checkinhotel.model.RoomDetails; import com.codegym.checkinhotel.repository.IRoomRepository; import org.springframework.beans.factory.annotation.Autowired; import or...
package com.trendylibaaz.tictactoe; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.widget.ImageButton; import org.w3c.dom.Attr; /** * Created by pranaykx on 5/23/2016. */ public class TicTacToeImageButton extends ImageButton { private in...
package it.dstech.film.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.FetchType; import javax.persistence.Generated...
package com.onlythinking.commons.exception; import lombok.AccessLevel; import lombok.NoArgsConstructor; /** * <p> API 响应 CODE 对照表 </p> * * @author Li Xingping */ @NoArgsConstructor(access = AccessLevel.PRIVATE) public class GlobalErrorCode { //-----------------------------------------常用错误状态(0x7530-0x9c3F)---...
package br.com.Falcao.PontoInteligente.api.services.impl; import java.util.List; import java.util.Optional; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import br.com.Falcao.PontoInteligente.api....
package root.repo; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import root.entity.Action; @Repository public interface ActionRepo extends JpaRepository<Action, Long> { }
package com.youtalkwesign.controller; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelM...
package com.jlxy.bllld.mapper; import com.jlxy.bllld.BaseJunitTest; import com.jlxy.bllld.entity.BlogInfo; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test...
package com.tencent.mm.plugin.subapp.ui.voicetranstext; import android.os.Message; import com.tencent.mm.sdk.platformtools.ag; class VoiceTransTextUI$6 extends ag { final /* synthetic */ VoiceTransTextUI ouz; VoiceTransTextUI$6(VoiceTransTextUI voiceTransTextUI) { this.ouz = voiceTransTextUI; } ...
package com.cater; import java.util.concurrent.ThreadLocalRandom; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class Frontdesk implements Runnable { private Order load; private String name; private final static Logger logger = LoggerFactory.getLogger(Frontdesk.class); Frontdesk(Order order,...
package com.eigen.impl.dao; import java.util.Calendar; import java.util.Date; import java.util.List; import javax.transaction.Transactional; import org.hibernate.Criteria; import org.hibernate.SessionFactory; import org.hibernate.criterion.Order; import org.hibernate.criterion.Restrictions; import org.sp...
/* * 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 br.com.utfpr.forms; import br.com.utfpr.beans.Product; import javax.swing.JOptionPane; import javax.swing.table.DefaultTableMo...
public class Decoding { int message = 11211; int messageSize = message.length(); char[] alphabet = getAlphabet(); public static void main(String[] args) { Decoding obj = new Decoding(); } public Decoding() { System.out.println(alphabet[26]); } public char[] getAlphabe...
public abstract class Item { public abstract String getInfo(); public abstract int getPrice(); public abstract String getType(); public abstract void show(); protected String type; protected int price; protected int sNo; }
package com.emp.friskyplayer.activities; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.Bundle; import android.text.Html; import com.actionbarsherlock.app.SherlockPreferenceActivity; import com.actionbarsherlock.view.MenuItem...
package com.argentinatecno.checkmanager.main.fragment_reports.events; import com.argentinatecno.checkmanager.entities.Check; import com.argentinatecno.checkmanager.entities.Maturities; public class FragmentReportEvent { private String error; private Maturities maturities; public final static String ERROR=...
package com.lingnet.vocs.service.finance; import java.util.HashMap; import com.lingnet.common.service.BaseService; import com.lingnet.util.Pager; import com.lingnet.vocs.entity.ContractCharge; public interface ContractChargeService extends BaseService<ContractCharge, String> { void saveOrUpdate(Contra...
package com.flutterwave.raveandroid.rave_presentation.banktransfer; import com.flutterwave.raveandroid.rave_java_commons.Meta; import com.flutterwave.raveandroid.rave_java_commons.Payload; import com.flutterwave.raveandroid.rave_java_commons.SubAccount; import com.flutterwave.raveandroid.rave_presentation.DaggerTestRa...
package com.z3pipe.z3location.content; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import com.z3pipe.z3location.broadcast.GpsLocationListener; import java.util.List; public class GpsPo...
import org.apache.kafka.clients.consumer.ConsumerConfig; import org.apache.kafka.common.serialization.Serdes; import org.apache.kafka.streams.KafkaStreams; import org.apache.kafka.streams.StreamsBuilder; import org.apache.kafka.streams.StreamsConfig; import org.apache.kafka.streams.Topology; import org.apache.kafka.str...
public class CustomObjectOrder implements format { private String text; @Override public void createHeader() { this.text = "<Object header>"; } @Override public void createFooter() { this.text += "<Object footer>"; } @Override public void addData(String data) { ...
package LinkedLists; public class AddTwoNumbers { public static void main(String[] args) { ListNode l1 = new ListNode(0); ListNode l2 = new ListNode(7); l2.next = new ListNode(3); System.out.println(addTwoNumbers(l1, l2).next.val); } public static ListNode addTwoNumbers(ListNode l1, ListN...
package com.tencent.mm.plugin.appbrand.jsapi; import android.view.WindowManager.LayoutParams; import com.tencent.mm.plugin.appbrand.e; import com.tencent.mm.plugin.appbrand.l; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.ui.MMActivity; import org.json.JSONObject; class bj$1 implements Runnable { ...
import java.util.*; public class Solution { static void shuffle(int[] arr, int n) { Random rand = new Random(); for (int i = n-1; i >= 0; i--) { int index = rand.nextInt(n); int temp = arr[index]; arr[index] = arr[i]; arr[i] = temp; } } public static void quickSort(int[] input) { in...
package com.example.kliker; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.ImageView; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; public class SecondLvlActivity extends AppCompatActivity ...
package mapsynq_automation; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import mapsynq.qa.pageobjects.MapsynqLiveIncidents; import mapsynq.qa.testbase.BaseClass; public class LiveIncidentPage extends BaseClass { MapsynqLiveIncidents mapL...
package com.tencent.mm.plugin.voiceprint.ui; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.widget.ProgressBar; import android.widget.RelativeLayout; import android.widget.TextView; import com.tencent.mm.R; public class NoiseDetectMaskView extends ...
package com.chat.zipchat.Fragment; import android.annotation.SuppressLint; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.content.Intent; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.support.v4.app.Fragment; i...
package com.tencent.mm.plugin.wenote.ui.nativenote; import android.content.Context; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.plugin.wenote.model.a.p; import com.tencent.mm.plugin.wenote.model.c; import com.tencent.mm.plugin.wenote.model.g; import com.tencent.mm.plugin.w...
package hadoop_zookeeper_test; import java.io.IOException; import org.apache.log4j.Logger; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.WatchedEvent; import org.apache.zookeeper.Watcher; import org.apache.zookeeper.ZooKeeper; import org.apache.zookeeper.data.Stat; /** * @auth...