text stringlengths 10 2.72M |
|---|
package com.example.heng.jredu.jredu;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
import com.android.volley.VolleyError;
import com.example.heng.jredu.R;
import com.example.heng.jredu.entity... |
package tutorijal4;
public abstract class Predmet {
public abstract String ispisiSpisakStudenta();
public abstract void upisiStudenta(Student student);
}
|
package edu.L3info;
import edu.L3info.fileHandling.PluginFinder;
import javax.swing.*;
import java.awt.*;
import java.io.File;
/**
* Created by Lazy on 18/11/15.
*/
public class MainFrame extends JFrame {
public PluginFinder pluginFinder;
public MainFrame(File dir) throws HeadlessException {
PluginFinder fin... |
package com.geekparkhub.hadoop.outputformat;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import java.io.IOException;
/**
* Geek International Park | 极客国际公园
* GeekParkHub | 极客实验室
* Website | https:/... |
package com.tencent.mm.plugin.shake.ui;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
class ShakeMsgListUI$1 implements OnMenuItemClickListener {
final /* synthetic */ ShakeMsgListUI mZP;
ShakeMsgListUI$1(ShakeMsgListUI shakeMsgListUI) {
this.mZP = shakeMsgListUI... |
public class Player extends Dice{
private int score;
private String name;
public void Player(){
Player("");
}
public void Player(String name){
this.score=0;
this.name=name;
}
public void setName(String name){
this.name = name;
}
... |
package ru.stoloto.httptester.controller;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value... |
package uw.cse.dineon.library.test;
import uw.cse.dineon.library.UserInfo;
import android.test.AndroidTestCase;
import com.parse.Parse;
import com.parse.ParseException;
import com.parse.ParseObject;
import com.parse.ParseUser;
/**
* Tests library class UserInfo
*
* White box tests
* @author es... |
package com.converter;
import com.dto.DispatcherDto;
import com.model.Dispatcher;
import org.springframework.stereotype.Component;
import java.util.function.Function;
@Component
public class DispatcherToDispatcherDtoConverter implements Function<Dispatcher, DispatcherDto> {
@Override
public DispatcherDto a... |
package io.github.fluentbuilder.annotation;
import io.github.fluentbuilder.api.BuilderIntrospector;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.... |
/*
* 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 de.jmda.home.ui.vaadin.userguide;
import de.jmda.home.ui.vaadin.userguide.UserGuideDisplay.UserGuideChapter;
public class UserGuideChapterDisplayRequest
{
private UserGuideChapter userGuideChapter;
public UserGuideChapterDisplayRequest(UserGuideChapter userGuideChapter)
{
super();
this.userGuideCha... |
package com.francisco.rubio.cu_client_bundle;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import org.osgi.util.tracker.ServiceTracker;
import com.francisco.rubio.cu_server_bundle.service.DoThingsService;
import com.francisco.rubio.cu_server_bundle.utils.DictionaryUtil;
import j... |
package com.expense.dao;
public interface GenAllDao<T> {
}
|
package ru.otus.hw11.hibernate;
import org.hibernate.SessionFactory;
import org.hibernate.boot.Metadata;
import org.hibernate.boot.MetadataSources;
import org.hibernate.boot.registry.StandardServiceRegistry;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import org.hibernate.cfg.Configuratio... |
package com.test.accessmodifiers2;
import com.test.accessmodifiers.PrivateClass;
/**
* Created by srikanth on 23/12/16.
*/
public class PrivateUser2 {
public static void main(String[] args) {
PrivateClass prClass2 = new PrivateClass();
prClass2.getCarDetails();
System.out.println("------... |
package com.demo.test.utils;
/**
* 线程不安全例子
*/
public class MyDemo {
int i = 0;
public static void main(String[] args) throws Exception {
MyDemo demo = new MyDemo();
for (int i = 0; i < 2; i++) {
new Thread(() -> {
System.out.println(Thread.currentThread());
... |
package com.se.details.services.actors;
import com.se.details.services.PDHelperService;
import com.se.details.services.SESolrConnectorService;
import com.se.details.services.actors.risk.RiskCategoryActorHelper;
import com.se.details.services.factory.PDSolrServerDelegate;
import org.springframework.boot.test.context.Sp... |
package com.zxd.java8.test.lambda;
import java.util.function.Function;
/**
* @Title: Letter
* @Description: TODO
* @Author xiaodong.zou
* @Date 2019/6/27 18:56
*/
public class Letter {
public static String addHeader(String text){
return "From Raoul, Mario and Alan: " + text;
}
public static String addFooter... |
package corus.shortlinker.model.service;
import corus.shortlinker.model.repository.LinkRepository;
import corus.shortlinker.model.repository.impl.LinkRepositoryImpl;
import corus.shortlinker.model.domain.Link;
import corus.shortlinker.model.exception.ValidationException;
import corus.shortlinker.model.generator.LinkG... |
package com.example.demo.service;
import com.example.demo.domain.ComAdmin;
public interface ComAdminService {
public ComAdmin login(ComAdmin comAdmin);
}
|
package com.example.msp.healthysport.activity;
import android.graphics.drawable.AnimationDrawable;
import android.os.Handler;
import android.os.Message;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.... |
package symcryptolab1.gui;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.HeadlessException;
import javax.swing.*;
import java.awt.event.*;
import symcryptolab1.VigenereCipher;
import symcryptolab1.alphabet.Alphabet;
import symcryptolab1.alphabet.AlphabetUtils;
import symcryptolab1.alphabet... |
package com.jp.aboutBlog.mapper;
import java.util.List;
import org.springframework.stereotype.Component;
import com.jp.aboutBlog.po.AboutBlogPo;
@Component("aboutBlogMapper")
public interface AboutBlogMapper {
public int addAboutBlog(AboutBlogPo po);
public int deleteAboutBlogById(AboutBlogPo po);
public Li... |
/*
* Copyright (C) 2022-2023 Hedera Hashgraph, LLC
*
* 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 applicab... |
package pl.gabinetynagodziny.officesforrent.service;
import org.springframework.transaction.annotation.Transactional;
import pl.gabinetynagodziny.officesforrent.entity.Detail;
import pl.gabinetynagodziny.officesforrent.entity.Office;
import javax.persistence.Query;
import java.awt.print.Book;
import java.util.List;
i... |
package enqueue;
import java.util.Arrays;
import java.util.BitSet;
/**
* @author Sohaib Reza
*/
public class ConsumerAwareBlockingQueue<T> {
private BitSet ZERO;
private BitSet ONE;
private final int capacity;
private final int consumer;
private T[] elements;
private BitSet[] mask;
pri... |
package com.common.utils;
public class ConstantKeys {
public static final String MESSAGE_PASSWORD = "MESSAGE_PASSWORD" ;
public static final String MESSAGE_NAME = "MESSAGE_NAME" ;
public static final String DAY_DRAW_COIN_TIMES = "dayDrawCoinTimes";
//虚拟币交易限额
public static final String MIN_VIRTUAL_WITHDRAW = "minV... |
package io.sugo.ec;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.apache.kafka.clients.producer.RecordMetadata;
import org.joda.time.DateTime;
import java.io.FileInputStream;
import java.util.Properties;
import java.util.Random;
import java... |
package com.example.taoxiao.mapper;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import com.example.taoxiao.entity.Collection;... |
/**
* Permissions and their checker.
*
* {@link org.alienideology.jcord.handle.channel.IGuildChannel} implements {@link org.alienideology.jcord.handle.permission.OverwriteCheckable},
* {@link org.alienideology.jcord.handle.guild.IMember} and {@link org.alienideology.jcord.handle.guild.IRole} implements
* {@link or... |
package com.app.gnometown.View.GnomeList;
import android.view.View;
import com.app.gnometown.Model.Gnome;
import java.util.List;
import io.realm.RealmResults;
/**
* Created by andreinasarda on 17/4/16.
*
* Interface to habdle GnomeListActivity view
*/
public interface GnomeListView {
void setItems(List<Gn... |
package com.pawi.data;
/** The {@link ContentFile} contains all the information about the tests content file which defines the actual content of an HTML page.**/
public class ContentFile {
String name;
String content;
String path;
public String getPath() {
return path;
}
public void setPath(String path) {
... |
package com.anibal.educational.rest_service.domain;
public class TicketLineState {
private Long lineStateId;
private String lineStateTitle;
private String lineStateDescription;
public TicketLineState() {
super();
}
public Long getLineStateId() {
return lineStateId;
}
public void setLin... |
package net.francesbagual.matandoif.highorderfunction.stringasfunction.number;
public class MyNumber {
public int value;
public MyNumber(int value) {
this.value = value;
}
}
|
package exceptions;
import org.openqa.selenium.By;
import org.openqa.selenium.StaleElementReferenceException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.Test;
public class StaleElementReferanceEx {
@Test
... |
package gdut.ff.generator;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
import gdut.ff.generator.jdbc.DataSourceConnect;
public class InsertBillionData {
Da... |
///////////////////////////////////////////////////////////////////////////////
// ALL STUDENTS COMPLETE THESE SECTIONS
// Title: UW Mail
// Files: UWmail.java, Conversation.java, DoublyLinkedList.java,
// DoublyLinkedListIterator.java, ListADT.java, Listnode.java
// ... |
package com.gxuwz.attend.action;
import java.io.IOException;
import java.io.OutputStream;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.commons.collections.CollectionUtils;
import org.apache... |
public class KatyaExample {
public static void main(String[] args) {
System.out.println("Good job");
System.out.println("Katya 5th line");
}
}
|
package top.kylewang.bos.web.controller.take_delivery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.io.ResourceLoader;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
impo... |
package com.jlxy.bllld.mapper;
import java.io.Serializable;
import java.util.List;
/**
* BaseDAO 定义DAO的通用操作
* 通过接口编程
*
* @param <T> 泛型用于解耦,同时避免写重复代码
* @param <PK>
* Created by CHENLI on 2017/3/4.
*/
public interface BaseMapper<T,PK extends Serializable> {
// /**
// * 插入一个实体
// * @param t 待添加的对象
// ... |
package graphs;
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
String filename = null;
BufferedReader userInput = new BufferedReader(new InputStreamReader(System.in));
FileProcessor fileProcessor = null;
System.out.print("Pod... |
package com.h86355.tastyrecipe.models;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class Section {
@SerializedName("position")
@Expose
private int position;
@SerializedName("components")
@Expose
private List<Sect... |
package calculation.calculations;
import calculation.*;
import gui.Button;
public class Calculation_Rooting extends Calculation {
public Calculation_Rooting(Typical type) {
super(type);
}
public Calculation_Rooting(Button button){super(button);}
@Override
protected double perform(double ... |
package com.wangbingcong.recyclerviewdemo;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.LinearLayout;
import... |
package kyle.game.besiege.title;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.g2d.NinePatch;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
i... |
package com.jlxy.bllld.dao;
import com.jlxy.bllld.entity.BlogInfo;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;
import java.util.List;
import static com.jlxy.bllld.utils.OrmConstans.BlogInfoTABLE;
/**
* Created by ORCHID... |
package com.rc.portal.webapp.action.unionlogin;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.Map;
import net.sf.json.JSONObject;
import com.rc.app.framework.webapp.action.BaseAction;
import com.rc.portal.alipay.config.AlipayConfig;
import com.rc.portal.alipay.util.AlipaySubmit;
public clas... |
package com.flute.atp.share.req;
import com.flute.atp.common.Rule;
import lombok.Data;
import java.util.List;
@Data
public class RebuildRuleGroupReq {
String ruleGroupId;
String groupName;
List<Rule> rules;
}
|
package tictactoe_game;
import java.io.IOException;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* A server for a network multi-player tic tac toe game. Here are the strings
* that are sent for communication in the Tic Tac Toe game:
*
* Client -> Server Server -> ... |
package extraordenador3;
import javax.swing.JOptionPane;
import pedirDatos.Datos;
/**
*
* @author cromerofajar
*/
public class Ordenador {
public Ordenador(){}
CPU procesador=new CPU();
Rato raton=new Rato();
Teclado teclado=new Teclado();
Monitor monitor=new Monitor();
int nucleo... |
/**
*
*/
package com.example.marketplace;
/**
* @author srikanthgummula
*
* <p>This class provides all Error codes</p>
*/
public enum ErrorCode {
INVALID_REQUEST("INVALID_REQUEST"),
RESOURCE_NOT_FOUND("RESOURCE_NOT_FOUND"),
SERVER_ERROR("RESOURCE_NOT_FOUND");
private String code;
ErrorCode(String cod... |
package day18_conditions_practice_strings_intro;
public class FizzBuzz {
public static void main (String [] args){
int num = 15;
if (num %3==0 && num % 5 ==0){ //num %15 ==0
System.out.println("FizzBuzz");
}else if (num %3==0){
System.out.println("Fizz");
}... |
package exceptions;
public class LogicException extends RuntimeException {
public LogicException() {
super();
}
} |
package cn.bs.zjzc.model;
import cn.bs.zjzc.base.IBaseModel;
import cn.bs.zjzc.model.callback.HttpTaskCallback;
import cn.bs.zjzc.model.response.RechargeResponse;
/**
* Created by yiming on 2016/6/20.
*/
public interface IRechargeModel extends IBaseModel{
void recharge(String type, String money, HttpTaskCallbac... |
package com.jasoftsolutions.mikhuna.activity.fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import androi... |
package com.tencent.mm.protocal.c;
import com.tencent.mm.bk.b;
import f.a.a.c.a;
import java.util.LinkedList;
public final class bzq extends bhp {
public long rxH;
public int svC;
public int svD;
public int svE;
public int svF;
public b svG;
public long svs;
protected final int a(int ... |
package com.example.demo.service.impl;
import com.example.demo.dao.EmployeeMapper;
import com.example.demo.domain.Employee;
import com.example.demo.domain.EmployeePage;
import com.example.demo.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.... |
package org.tc;
import org.apache.http.client.HttpClient;
import org.apache.http.conn.ClientConnectionManager;
import org.apache.http.conn.scheme.Scheme;
import org.apache.http.conn.scheme.SchemeRegistry;
import org.apache.http.conn.ssl.SSLSocketFactory;
import org.apache.http.impl.client.DefaultHttpClient;
import org... |
package com.xxzp.xxzp.controller;
import com.xxzp.xxzp.service.idgenerator.IdGeneratorService;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class IdGeneratoryController {
@Resourc... |
/*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in... |
// Sun Certified Java Programmer
// Chapter 4, P302
// Operators
class MathTest {
static int players = 0;
public static void main(String[] args) {
System.out.println("players online: " + players++);
System.out.println("The value of players is "
+ players);
System.out.p... |
/*
* 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 service;
import dao.LoanDAO;
import dto.CheckLoanDetailsDTO;
import dto.LoanDTO;
import dto.LoanNewDTO;
import java.sql.Connec... |
package gob.igm.ec;
import gob.igm.ec.Titem;
import java.math.BigInteger;
import java.util.Date;
import javax.annotation.Generated;
import javax.persistence.metamodel.CollectionAttribute;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@Generated(value="Eclips... |
package net.packet.handlers;
import io.netty.buffer.ByteBuf;
import java.util.List;
import maplestory.MapleCharacter;
import net.Proxy;
import net.handler.HandlePacketResult;
import net.handler.MaplePacketHandler;
import net.packet.movement.LifeMovementFragment;
import net.packet.movement.MovementUtil;
public class... |
/**
* Leaf Node subclass. Implements TreeNode
*
* @author Kevin Zhang
* @author Adam Bishop
* @version 1
*
*/
class LeafNode implements TreeNode {
private KVPair pair1;
private KVPair pair2;
private TreeNode next;
/**
* Constructor
*
* @param firstPair
* First ke... |
package com.example.yudipratistha.dompetku.model;
//import javax.annotation.Generated;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
//@Generated("com.robohorse.robopojogenerator")
public class LihatTransaksiItem implements Serializable {
@SerializedName("status_update")
private ... |
package level1;
import java.util.ArrayList;
import java.util.List;
public class 정수내림차순으로_배치하기 {
class Solution {
public long solution(long n) {
long answer = 0;
List<Integer> tempList = nList(n);
tempList.sort((a, b) -> (b - a));
String tempAnswer = "";
... |
/*
* 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 KidneyExchange.Graph;
import java.util.*;
import java.util.stream.Collectors;
// Helper class for implementing Donald Johnson's algorithm for finding elementary circuits in a
// directed graph. Based on the algorithm described in the following paper:
//
// Finding All the Elementary Circuits of a Directed Gra... |
package org.example.Controller;
import org.example.AdminController;
import org.example.App;
import org.example.Interfaces.IChatService;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
public class MainController {
App view ;
AdminController adminC... |
package com.Oovever.easyHttp.util;
import com.Oovever.easyHttp.exception.HttpException;
import com.Oovever.easyHttp.request.Param;
import com.Oovever.esayTool.io.IORuntimeException;
import org.apache.http.HttpEntityEnclosingRequest;
import org.apache.http.HttpRequest;
import org.apache.http.HttpResponse;
import org.ap... |
/**
* Copyright © 2012-2015 <a href="">优速达</a> All rights reserved.
*/
package com.ysd.pro.modules.oa.dao;
import com.ysd.pro.common.persistence.CrudDao;
import com.ysd.pro.common.persistence.annotation.MyBatisDao;
import com.ysd.pro.modules.oa.entity.TestAudit;
/**
* 审批DAO接口
* @author thinkgem
* @version 2... |
/**
*
*/
package com.wonders.task.build.util;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.BeanUtils;
import com.wonders.schedule.util.S... |
package com.google.android.exoplayer2.drm;
import android.annotation.TargetApi;
@TargetApi(16)
public interface a<T extends c> {
int getState();
a jN();
T jO();
}
|
package com.mimi.mimigroup.ui.adapter;
import android.graphics.Color;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.mimi.mimigroup.R;
import com... |
package org.fasttrackit;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
public class Basket2 {
public boolean findFruit(String fruit, List<String> allFruit){
boolean hasFruitt= false;
for(int i=0 ;i<allFruit.size();i++){
if(allFruit.get(i).equals(fruit)... |
/*
* [y] hybris Platform
*
* Copyright (c) 2000-2016 SAP SE
* All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* Hybris ("Confidential Information"). You shall not disclose such
* Confidential Information and shall use it only in accordance with the
* terms of the l... |
package com.mideas.rpg.v2.utils;
public enum UIElementType {
FRAME,
BUTTON,
CROSS_BUTTON,
EDIT_BOX,
FRAME_TAB,
LARGE_TEXT_DISPLAY,
MAIL_INBOX_BUTTON,
AUCTION_HOUSE_BROWSE_CATEGORY_FILTER_BUTTON,
INPUT_BOX_CROSS_BUTTON,
SORT_BUTTON,
PREMADE_GROUP_CATEGORY_BUTTON,
INPUT_BOX,
CHAT_FRAME,
CHAT_FRAME_TAB,
... |
package leecode.string;
import zuoshen.输入输出练习.H;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
//类似 209
public class 同构字符串_205 {
public boolean isIsomorphic(String s, String t) {
if(s.length()!=t.length()){
return false;
}
Ma... |
package com.tt.miniapp.net;
import java.util.concurrent.atomic.AtomicInteger;
public class RequestIDCreator {
private static final AtomicInteger ID = new AtomicInteger(0);
public static int create() {
return ID.incrementAndGet();
}
}
/* Location: C:\Users\august\Desktop\tik\df... |
package com.chuxin.family.calendar;
import com.chuxin.family.app.events.ReminderReceiver;
import com.chuxin.family.models.CalendarDataObj;
import com.chuxin.family.models.Reminder;
import com.chuxin.family.net.CalendarApi;
import com.chuxin.family.net.ConnectionManager.JSONCaller;
import com.chuxin.family.utils.CxLog... |
package com.liyinghua.service;
import com.github.pagehelper.PageInfo;
import com.liyinghua.entity.Article;
import com.liyinghua.entity.User;
public interface UserService {
/**
*
* @Title: getUsersList
* @Description: 用户列表
* @param fy
* @param mohu
* @return
* @return: PageInfo<User>
... |
package au.gov.ga.geodesy.igssitelog.support.marshalling.moxy;
import au.gov.ga.geodesy.igssitelog.domain.model.RadioInterference;
public class RadioInterferenceAdapter extends OptionalCompositeAdapter<RadioInterference> {
}
|
package com.nadav.shalev.outocar8;
public class ReadText {
public static String Message;
public static String Time;
public static String set;
public static void ReadText(String message) {
// TODO Auto-generated method stub
//String Mstart = "בקשתך התקבלה. כיסוי הביטוח בתוקף עד להודעת סגירה. יתרת השעות: 9:01... |
/*
* Sonar Drools Plugin
* Copyright (C) 2011 Jérémie Lagarde
* dev@sonar.codehaus.org
*
* 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/LIC... |
package task114;
import java.util.Arrays;
/**
* @author Igor
*/
public class Main114b {
private int min;
private int length;
private long[] mem;
public Main114b() {
min = 3;
length = 7;
mem = new long[length];
Arrays.fill(mem, -1);
}
pub... |
package cn.chinaunicom.monitor.mainframe;
import android.content.Intent;
import android.graphics.Color;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ImageButton;
import android.widget.ListView;
import ... |
package com.openplatform.poc.rest.dto;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
* @author Maksym Khudiakov
*/
@XmlRootElement(name = "profile")
public class Profile {
private String userId;
private String pictureUri;
@XmlElement
public Strin... |
package br.com.daniel.secao3;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.remote.DesiredCapabilities;
import io.appium.jav... |
package com.tencent.mm.plugin.bbom;
import android.bluetooth.BluetoothAdapter;
import android.text.TextUtils;
import com.tencent.mm.bh.d;
import com.tencent.mm.booter.g;
import com.tencent.mm.booter.h;
import com.tencent.mm.booter.i;
import com.tencent.mm.booter.j;
import com.tencent.mm.booter.n;
import com.tencent.mm... |
package com.example.mixture;
import android.annotation.SuppressLint;
import android.app.ProgressDialog;
import android.content.Context;
import android.graphics.Bitmap;
import android.net.http.SslError;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.vi... |
package domain.model;
import java.util.Date;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper=true)
@Entity
@DiscriminatorValue("P")
public class Swap ext... |
package com.timmy.highUI.recyclerview.wrapRecyclerView;
import android.support.v4.util.SparseArrayCompat;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
import android.view.View;
import android.view.ViewGro... |
package com.thinker.vdongthinker.base;
/**
* Created by zt on 2018/3/20.
*/
public interface IFragmentPresenter {
}
|
package server;
public class UserRequest extends Request {
}
|
package com.polsl.edziennik.desktopclient.view.student.summary;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ResourceBundle;
import java.util.concurrent.ExecutionException;
import javax.swing.BorderFactory;
import javax.swing.JComboBox;
... |
package com.dataflow.analysis.dependency;
import com.github.javaparser.ast.expr.Expression;
public class ValueVertex extends DependencyVertex {
private Expression value;
public ValueVertex(Expression literal) {
this.value = literal;
}
public Expression getValue() {
return value;
... |
package com.home.test;
import java.util.List;
import java.util.Map;
import com.tinkerpop.blueprints.impls.orient.OrientBaseGraph;
import com.tinkerpop.blueprints.impls.orient.OrientVertex;
public class ResourceService {
public void pushDataIntoDatabase() {
OrientBaseGraph graphNoTx = OrientGraphConnecti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.