text stringlengths 10 2.72M |
|---|
package com.tencent.mm.plugin.appbrand.appusage;
import com.tencent.mm.kernel.g;
class c$2 implements Runnable {
final /* synthetic */ c fld;
public c$2(c cVar) {
this.fld = cVar;
}
public final void run() {
if (g.Eg().Dx() && !b.acJ()) {
c.a(this.fld, 2, 7, 0, true, null... |
package com.uwetrottmann.trakt5.entities;
import org.threeten.bp.LocalDate;
import java.util.List;
public class Movie extends BaseEntity {
public Integer year;
public MovieIds ids;
// extended info
public String certification;
public String tagline;
/** Date in UTC time. */
public Local... |
package com.Collections_PriorityQueue_HashMap_TreeMap;
import java.util.TreeMap;
//6. Write a Java program to delete all elements from a given Tree Map.
public class TreeMap_DeleteAllElement {
public static void main(String args[]) {
// Create a tree map
TreeMap<String, String> tree_map1 = new Tre... |
package com.Stephanie;
public class CD extends Album{
public CD(String artist,String title,double price){
super(artist, title,price); //call the album constructor
}
@Override
public String toString() {
return "Format = CD, Artist = " + artist + ", Title= " +
title + ", Price ... |
/*
* 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 math;
/**
* Creates an hexadecimal math expression
* @author fabio
*/
public class HexExpression extends Express... |
package com.lubarov.daniel.data.util;
import org.junit.Test;
import java.nio.charset.StandardCharsets;
import static org.junit.Assert.assertEquals;
public class DigestUtilsTest {
@Test
public void testMd5Hex() {
String hex = DigestUtils.md5Hex("daniel@lubarov.com".getBytes(StandardCharsets.US_ASCII));
a... |
package uo.sdi.clients.rest.menu;
import java.util.List;
public interface MenuItem {
String getMenuName();
List<MenuItem> execute();
}
|
package pl.cwanix.opensun.agentserver.packets.c2s.status;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import pl.cwanix.opensun.agentserver.packets.AgentServerPacketOPCode;
import pl.cwanix.opensun.commonserver.packets.Packet;
import pl.cwanix.opensun.commonserver.packets.annotations.IncomingPacket;
import ... |
package com.tencent.mm.plugin.wallet_core.id_verify;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Toast;
import com.tencent.mm.g.a.sz;
import com.tencent.mm.plugin.wallet_core.b.b;
import com.tencent.mm.plugin.wallet_core.model.o;
import com.tencent.mm.plu... |
package banking.services;
import framework.services.Message;
public class NotificationMessage implements Message {
String forr;
String from;
String msg;
String subject;
public NotificationMessage(String msg, String subject, String from, String forr) {
this.msg = msg;
this.subject = subject;
this.from = ... |
package com.project.dropeditions.dao;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.project.dropeditions.entities.AppUser;
@Repository
public interface UserDao extends JpaRepository<AppUser, Long>{
public Optio... |
package util;
import android.app.ActivityManager;
import android.content.ComponentName;
import android.content.Context;
import org.json.JSONArray;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.tex... |
package org.pismofinal.cma.tests;
import java.io.File;
import org.junit.Test;
import org.pismofinal.cma.files.XMLValidator;
public class Tests {
@Test
public void testXMLValidator() {
String schemaURI = null;
XMLValidator val = new XMLValidator(schemaURI);
File schemaFile = null;
XMLValidator val2 = n... |
package xyz.kjh.pp.service.model.req;
import java.util.Locale;
import xyz.kjh.pp.BuildConfig;
import xyz.kjh.pp.service.Server;
/**
* Created by juniverse on 24/03/2017.
*/
public class JoinParams extends Server.ReqParams
{
public String clientVersionCode = BuildConfig.VERSION_NAME; // 클라이언트 버전(형식없음)
... |
package mod.server.forgeservermod;
import java.util.UUID;
import com.mojang.authlib.GameProfile;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.world.World;
public class EntityHuman extends PlayerEntity {
public EntityHuman(World world, String name) {
super(world, new GameProf... |
package com.mingchu.positiondetaidemo.attention;
import java.io.Serializable;
/**
* 评论
*/
public class Comment implements Serializable {
private String commentuser; //发布评论人员名字
private String byreviewsuser;//被评论人员名字
private String content;//评论内容
public String getCommentuser() {
return comm... |
package com.pay.beans;
import com.pay.beans.rules.entity.ConvertNameBean;
import com.pay.beans.rules.entity.ConvertTypeBean;
import com.pay.beans.rules.FormatRule;
import com.pay.beans.rules.regulations.ConvertRegulations;
import com.pay.beans.test.UserBean;
import com.pay.beans.test.UserDtm;
import com.pay.beans.test... |
/*
* 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 pe.gob.onpe.adan.dao.adan.impl;
import java.util.List;
import org.springframework.stereotype.Repository;
import pe.gob.onpe.ad... |
package com.level01.제일작은수제거하기;
import java.util.*;
public class MTest {
public static void main(String[] args) {
int[] arr = {4, 3, 2, 1};
Solution solution = new Solution();
System.out.println(solution.solution(arr));
}
}
class Solution {
public int[] solution(int[] arr) {
int[]... |
package test.nz.org.take.compiler.scenario13.generated;
/**
* Class generated by the take compiler.
* This class represents the predicate hasCategory
* @version Mon Feb 18 10:34:07 CET 2008
*/
public class HasCategory {
public test.nz.org.take.compiler.scenario13.Bean bean;
public java.lang.String name;
... |
package com.stackroute.activitystream.UserService.controller;
import static org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo;
import static org.springframework.hateoas.mvc.ControllerLinkBuilder.methodOn;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotatio... |
package se.gareth.swm;
public class WobbleBehavior extends Behavior {
private static final String TAG = WobbleBehavior.class.getName();
private long mRange;
private long mFrameCnt;
private final Vector2D mForce;
private long mChangeDirectionTime;
public WobbleBehavior(GameBase gameBase, doub... |
package com.ashoksm.thiraseela.dto;
public class AcademyListDTO {
/**
* id.
*/
private Integer id;
/**
* name.
*/
private String name;
/**
* place.
*/
private String place;
/**
* name.
*/
private String city;
/**
* @return the id
... |
package elaundry.service;
import elaundry.domain.Customer;
import elaundry.domain.User;
public interface UserService {
public User login(User user);
public User checkUserName(String username);
}
|
//package Tests.day1;
//
//import Tests.AbstractTest;
//import day1.Task1;
//import day1.Task2;
//import day1.Task3;
//import day1.Task4;
//import day1.Task5;
//import org.junit.jupiter.api.Test;
//
//import static org.junit.jupiter.api.Assertions.assertEquals;
//
//public class Day1Test extends AbstractTest {
//
// ... |
package uk.gov.hmcts.befta.data;
import java.util.Map;
import lombok.Data;
import uk.gov.hmcts.befta.util.JsonUtils;
@Data
public class RequestData {
private Map<String, Object> headers;
private Map<String, Object> pathVariables;
private Map<String, Object> queryParams;
private Map<String, Object... |
class car1{
private String brand, owner, company;
private int price;
public car1(String brand, String owner, String company, int price){
this.brand = brand;
this.owner=owner;
this.company = company;
this.price = price;
}
public car1(String owner, String company, int price){
this.owner=owner;
this.compa... |
package com.magicalcoder.youyaboot.model;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.sql.Time;
import java.sql.Timestamp;
import java.math.*;
import java.io.Serializable;
import lombok.Data;
/**
* 代码为自动生成 Created b... |
/*
* 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 bitcoinclient;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.nio.ByteBuffer;
import... |
package com.espendwise.manta.web.validator;
import com.espendwise.manta.util.Constants;
import com.espendwise.manta.util.Utility;
import com.espendwise.manta.util.validation.*;
import com.espendwise.manta.util.validation.resolvers.ValidationCodeResolver;
import com.espendwise.manta.web.forms.AbstractSimpleFilterForm;... |
/**
* 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 chat.signa.net.pingfang.logging.entity;
/**
* 通知公告信息
* Created by Administrator on 2016/1/8.
*/
public class NoticeInfo {
private int id;
private String title;
private String massage;
private String time;
public NoticeInfo() {
}
public NoticeInfo(int id, String time, String m... |
package com.tencent.mm.plugin.wallet_core.id_verify;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.plugin.wxpay.a$i;
import com.tencent.mm.ui.base.h;
import java.util.LinkedList;
import java.util.List;
class WalletRealNameVerifyUI$6 implements OnClickListener {
final /*... |
package com.quoai.challenge.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
@Data
@JsonIgnoreProperties(ignoreUnknown=true)
public class AuthorDto {
private String email;
private String name;
}
|
package com.example.androidtest.Common;
import java.security.MessageDigest;
public class ShortLinkUtils {
static char hexDigits[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8',
'9', 'a', 'b', 'c', 'd', 'e', 'f' };
public static String shortUrl(String url) throws Exception {
MessageDige... |
/*
* Copyright 2015 Shinya Mochida
*
* Licensed under the Apache License,Version2.0(the"License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
package GUI;
import CSV.CSVCondition;
import Objects.Crossroad.Crossroad;
import Objects.CrossroadInfo.CrossroadInfo;
import Objects.Road.RoadCreator;
import Objects.Conditions.Conditions;
import SystemSTL.SystemSTL;
import Tools.Constants;
import Tools.Utils;
import javafx.application.Platform;
import javafx.geometry... |
package com.tencent.mm.plugin.sns.ui;
import android.content.Context;
import android.graphics.Bitmap;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TableLayout;
import android.wi... |
package org.buaa.ly.MyCar.logic.impl;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import lombok.Builder;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.buaa.ly.MyCar.entity.Order;
import org.buaa.ly.MyCar.entity.Store;
import o... |
package com.jianglei.zhaopin.dao;
public interface BaseDao<Q, T> {
T selectByPrimaryKey(Integer id);
void deleteByPrimaryKey(Integer id);
void insert(T t);
void insertSelective(T t);
void updateByPrimaryKeySelective(T t);
void updateByPrimaryKey(T t);
}
|
/* Author name: Tiffany White
This is a budget calculator
Created date: September 8, 2015
Modified date: September 22, 2015
*/
public class P1A1_White_3663976
{
public static void main(String[] args)
{
// This line prints text to the screen
System.out.println("Welcome to Budget Calculator by Tiffany Whit... |
package com.e6soft.form.service;
import com.e6soft.core.service.BaseService;
import com.e6soft.form.model.BusinessFormType;
public interface BusinessFormTypeService extends BaseService<BusinessFormType,String> {
}
|
package com.tencent.tencentmap.mapsdk.a;
import com.tencent.tencentmap.mapsdk.a.hv.a;
import javax.microedition.khronos.opengles.GL10;
class hq$24 implements a {
final /* synthetic */ int a;
final /* synthetic */ int b;
final /* synthetic */ hq c;
hq$24(hq hqVar, int i, int i2) {
this.c = hqV... |
package com.ar.cmsistemas.dao;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import com.ar.cmsistemas.db.DataSource;
import oracle.jdbc.OracleTypes;
public class UsuarioDao {
public Boolean loginUser(String usr, String passw) {
Connection... |
package migdonio1.wifiswitch.models;
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Device {
@SerializedName("_id")
@Expose
private String id;
@SerializedName("name")
@Expose
private String name;
@Serializ... |
package com.diozero.internal.board.odroid;
/*
* #%L
* Organisation: diozero
* Project: diozero - Core
* Filename: OdroidC2SysFsPwmOutputDevice.java
*
* This file is part of the diozero project. More information about this project
* can be found at https://www.diozero.com/.
* %%
* Copyright (C) 2016 ... |
package menu;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.ButtonGroup;
imp... |
package lt.kaunascoding.web.model;
import lt.kaunascoding.web.model.mysql.classes.Category;
import lt.kaunascoding.web.model.mysql.classes.News;
import java.util.List;
public class NewsRow {
private Category kategorija;
private List<News> bignews;
private List<List<List<News>>> smallnews;
public New... |
package com.tencent.mm.plugin.appbrand.dynamic.ui;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;
import com.tencent.mm.ipcinvoker.f;
import com.tencent.mm.ipcinvoker.type.IPCString;
import com.tencent.mm.plugin.appbrand.collector.c;
import com.tencent.mm.plugin.app... |
package com.nuuedscore.domain;
import java.time.LocalDateTime;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import... |
package com.webcloud.model;
public class Atom {
private String createTime;
private String iconUrl;
private String name;
private int type;
private String comments;
public String getComments() {
return comments;
}
public void setComments(String comments) {
this.comments = comments;
}
... |
package com.scmaster.milanmall.member.vo;
public class MallMember {
private String member_id;
private String password;
private String name;
private String email;
private String address;
private String phonenum;
private String joindate;
private String outdate;
public MallMember() {
super();
}
public MallMe... |
package mascfem;
import java.util.Scanner;
public class MascFem {
public static void main(String[] args) {
Scanner entrada = new Scanner(System.in);
String sexo;
String simnao;
double contM = 0.0d;
double contMs = 0.0d;
double contMn = 0.0d;
double contF = 0.0d;
doubl... |
/*
* package com.br.springboot.webflux;
*
* import java.util.UUID;
*
* import org.springframework.boot.CommandLineRunner; import
* org.springframework.stereotype.Component;
*
* import com.br.springboot.webflux.document.Playlist; import
* com.br.springboot.webflux.repository.PlaylistRepository;
*
* import... |
package ru.solpro.smp.reports_excel;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
import java.io.IOException;
public class Main... |
package com.zhouyi.business.core.model.xinzhen;
import lombok.Data;
import lombok.ToString;
/**
* @Author: first
* @Date: 下午2:28 2019/12/1
* @Description: 虹膜接收服务实体
**/
@Data
@ToString(callSuper = true)
public class IrisReceive extends IrisCommonsSecond{
/**
* 被采集人的人员类别
*/
private String bcjr_ryl... |
// Sun Certified Java Programmer
// Chapter 8; P665_1
// Inner Classes
class MyOuter {
class MyInner {
}
}
|
package com.philippe.app.service.files;
import java.io.IOException;
public interface FileService {
void deleteTxtFiles() throws IOException;
}
|
package cn.edu.zucc.music.service;
import cn.edu.zucc.music.model.AlbumComment;
public interface AlbumCommentService {
AlbumComment getById(int id);
}
|
package controllers;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import sample.Main;
public class DrawerController {
/**
* Different labels in the side drawer.
*/
@FXML
private Label lb_name, lb_uname, lb_mail, lb_cell;
/**
* Sets the correct text for each label.
... |
package com.accenture.flowershop.fe.filters;
import com.accenture.flowershop.be.utils.SecurityUtils;
import com.accenture.flowershop.be.utils.UserRoleRequestWrapper;
import com.accenture.flowershop.fe.dto.UserDTO;
import com.accenture.flowershop.be.utils.MyUtils;
import javax.servlet.*;
import javax.servlet.annotatio... |
package com.oneteam.graduationproject;
import android.os.Bundle;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.AsyncTaskLoader;
import android.support.v4.content.Loader;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.support.v... |
package com.github.astefanich.account;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.concurrent.locks.ReentrantReadWriteLock;
import edu.uw.ext.framework.account.Account;
import edu.uw.ext.framework.account.AccountException;
import edu.uw.ext.framework.account.Acc... |
package com.controller;
import com.bean.CustomerMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.MessageHeaders;
import org.springframework.messaging.handler.annotation.Header;
import org.springframework.messaging.handler.annotation.MessageExceptionHandler;
i... |
package com.wzy.class5;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
/**
* @author wzy
* @title: Test
* @description: TODO
* @date 2019/7/20 14:09
*/
public class Test {
/**
* spring默认自动装配策略是AUTOWIRE_NO,AUTOWIRE_NO自动装配策略采用的是byType技术
* spring自动装配策略:AUTOWIRE_NO AUTOWIRE_... |
/*
* 2012-3 Red Hat Inc. and/or its affiliates and other contributors.
*
* 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 requi... |
package org.idea.plugin.atg.psi.reference;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.project.Project;
import com.intellij.psi.*;
import com.intellij.psi.xml.XmlAttribute;
import com.intellij.psi.xml.XmlAttributeValue;
import com.intellij.psi.xml.XmlFile;
import com.intellij.psi... |
package com.example.demoaoplog.entity;
import lombok.*;
@Getter
@Setter
@AllArgsConstructor
@ToString
public class User {
private String name;
private Integer age;
public User(){}
}
|
package cn.ssh.search.service;
import cn.ssh.common.utils.sshResult;
public interface SearchItemService {
sshResult importAllItems();
}
|
package com.mohammad.cryptography;
import com.mohammad.cryptography.AES.Tools;
public class GF_Calculator {
private int GF_degree = 8;// GF(2^8)
private String irrPoly = "100011011";//"101100011";// X^8 + X^4 + X^3 + X + 1
public static void main(String[] args) {
Tools tool = new Tools();
GF_Calculator gfc ... |
package com.qihoo.finance.chronus.common;
/**
* Created by xiongpu on 2019/9/25.
*/
public final class SupportConstants {
public static final String SUPPORT_NAME_BOOTSTRAP = "BootstrapSupport";
public static final String SUPPORT_NAME_MASTER = "MasterSupport";
public static final String SUPPORT_NAME_WORK... |
package Schaltjahr;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner enterObj = new Scanner(System.in); //how to get a scanner
System.out.printf("Bitte Jahr eingeben: ");
int year = enterObj.nextInt();
enterObj.close();
if (year % 4 == 0 && year % 100 != 0... |
package com.xaut.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.xaut.dao.MagneticDao;
import com.xaut.daoimpl.Magneti... |
package br.com.controller;
public class Controller {
}
|
/*
* 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.
*/
/**
*
* @author missa
*/
public class DialogoIP extends javax.swing.JDialog {
Conexion conexion;
/**
* Creates new form Di... |
// Generated by view binder compiler. Do not edit!
package com.example.radio.databinding;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
impor... |
package com.mytravels.flights.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.web.client.RestTemplate;
import java... |
package com.pedidovenda.converter;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.FacesConverter;
import com.pedidovenda.model.Cliente;
import com.pedidovenda.repository.ClienteRepository;
import com.pedidovenda.util.... |
package com.jlgproject.activity;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.jlgproject.R;
import com.jlgproject.base.BaseActivity;
/**
* 我的佣金
*/
public class MyCommission extends BaseActivity implements View.OnClickListe... |
package eiti.sag.facebookcrawler.accessor.jsoup;
import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import java.io.IOException;
import java.util.Locale;
import java.util.Map;
import static java.util.stream.Collectors.joining;
class JsoupHtmlGetter i... |
package com.authenticationservice.db.repository;
import com.authenticationservice.db.entity.RoleEntity;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface RoleRepository extends CrudRepository<RoleEntity, Long> {
} |
package com.jack.jkbase.service.impl;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.Servic... |
package com.sunsun.nbapic.adapter;
import android.content.Context;
import android.text.TextUtils;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.kugou.framework.component.base.ImageAdapter;
... |
package com.vilio.pcfs.service.inner;
import com.vilio.pcfs.dao.PushMessageDao;
import com.vilio.pcfs.exception.ErrorException;
import com.vilio.pcfs.glob.GlobParam;
import com.vilio.pcfs.glob.ReturnCode;
import com.vilio.pcfs.service.BaseService;
import com.vilio.pcfs.service.Pcfs000025;
import org.apache.log4j.Logge... |
package com.mogujie.videotest;
import android.view.View;
import android.view.ViewGroup;
/**
* @author zijiao
* @version 16/5/23
* @Mark
*/
public class ViewHolder {
private static View sView;
public static void attachView(View view) {
if (view == null) {
return;
}
if ... |
package com.example.dataaccessmybatis.config;
import org.springframework.boot.jdbc.DataSourceBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jdbc.datasource.DataSourceTransactionManager;
import org.springframework.jdbc... |
package sample;
import java.util.ArrayList;
import java.util.List;
public class Clazz {
private String stereotype; // class, enum, interface
private String nameSpace; // package
private String name; // class name
private List<String> metohds;
private List<String> variables;
private List<String... |
package edu.gatech.cse6242;
import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.io.*;
import org.apache.hadoop.mapreduce.*;
import org.apache.hadoop.mapreduce.lib.ch... |
package com.example.jmchugh.rxmvp.weather.dagger;
import com.example.jmchugh.rxmvp.app.dagger.AppComponent;
import com.example.jmchugh.rxmvp.weather.WeatherActivity;
import com.example.jmchugh.rxmvp.weather.mvp.view.WeatherView;
import dagger.Component;
/**
* Created by jmchugh on 1/12/2018.
*/
@WeatherScope
@Co... |
package plp.expressions1.util;
import static java.util.Arrays.asList;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
import static plp.expressions1.util.ToStringProvider.listToString;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
public class ToStringPr... |
package com.drzewo97.ballotbox.panel.controller.poll;
import com.drzewo97.ballotbox.core.dto.polldto.PollDto;
import com.drzewo97.ballotbox.core.model.candidate.CandidateRepository;
import com.drzewo97.ballotbox.core.model.country.CountryRepository;
import com.drzewo97.ballotbox.core.model.district.DistrictRepository;... |
public class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) { val = x; }
}
class Solution {
public boolean isValidBST(TreeNode root) {
if(root == null)
{
return true;
}
return valid(root,null, null);
}
b... |
package de.jmda.app.uml.diagram.type.nodemanager;
import de.jmda.app.uml.shape.type.TypeBox;
class NodeManagerAggregation
{
/** constructor injection */
private NodeManagerContext context;
/** delegate, lazy initialised in {@link #getAdder()} */
private NodeManagerAggregationAdder adder;
/** delegate... |
/*
Copyright 2011 Software Freedom Conservatory.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... |
package com.dezzmeister.cryptopix.main.activities;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.PorterDuff;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.webkit.MimeTypeMap;
import android.widget.Butto... |
package com.dahua.design.behavioral.memento;
public class MementoTest {
public static void main(String[] args) {
WfGamer wfGamer = new WfGamer();
wfGamer.playGame();
Integer recordId1 = wfGamer.saveGameRecord();
System.out.println("第一次保存游戏记录 i:" + recordId1);
wfGamer.pla... |
/*
* 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 gui.panels;
import glbank.Client;
import glbank.database.ConnectionProvider;
import gui.EditClientInfoDialog;
import java.awt.... |
package com.example.weq498.testfragment;
import android.app.Activity;
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import a... |
package com.tencent.mm.protocal.c;
import com.tencent.mm.bk.a;
public final class kd extends a {
public String bWP;
public String poH;
public String pwk;
public String rlM;
public String rlN;
public int rlO;
public String title;
public int type;
public String url;
protected fi... |
package com.lesson6.sorting;
import org.junit.Test;
public class Distinct {
@Test
public void Correctness(){
int [][] A = {
{2, 1, 1, 2, 3, 1} // 3
, {1, 2, 3, 4, 5, 6} // 6
, {1, 1, 1, 4, 1, 1} // 2
, {1} // 1
, {} // 0
};
for(int idx=0 ; idx<A.length ; idx++){
St... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.