text stringlengths 10 2.72M |
|---|
package org.apache.commons.net.util;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class SubnetUtils {
private static final String IP_ADDRESS = "(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})";
private static final String SLASH_FORMAT = "(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1... |
package com.capgemini.exceptions;
public class NotificationException extends RuntimeException{
public NotificationException(String message) {
super(message);
}
}
|
package com.app.firefighter;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Spinner;
import com.parse.ParseObject;
public ... |
package com.example.airforce;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class HaoYouActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_... |
package yincheng.gggithub.ui.fragment;
/**
* Created by yincheng on 2018/6/4/10:36.
* github:luoyincheng
*/
public class FeedsFragment{
}
|
package com.example.healthmanage.ui.activity.integral.response;
/**
* desc:
* date:2021/7/15 17:18
* author:bWang
*/
public class IntegralResponse {
/**
* requestId : null
* errorLog : null
* status : 0
* message : 成功
* data : {"sysId":78,"sysNickName":"b83aHnkvOp","sysUserName":"1358... |
package acs.converter;
import org.springframework.stereotype.Component;
import acs.boundary.UserBoundary;
import acs.boundary.boundaryUtils.UserId;
import acs.data.UserEntity;
@Component
public class UserEntityConverter {
public UserBoundary fromEntity(UserEntity userEntity) {
UserId userId;
if(userEntity.... |
package com.yuliia.vlasenko.imagesearcher.api.auth;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;
@Service
@... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package ecutb.fishingtrip.service;
import ecutb.fishingtrip.dto.CreateAppUser;
import ecutb.fishingtrip.entity.AppUser;
import java.util.Optional;
import java.util.Set;
public interface AppUserService {
Set<AppUser> findAll();
AppUser saveAndUpdate(AppUser appUser);
AppUser registerNew(CreateAppUser ... |
/**
* ************************************************************************
* Copyright (C) 2010 Atlas of Living Australia All Rights Reserved.
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with the
* Licens... |
package net.javango.carcare;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.Fragment;
import net.javango.carcare.CarDetailFragment;
import net.javango.carcare.SingleFragmentActivity;
/**
* Hosts a {@code CarDetailFragment}
*/
public class ServiceDetailActivity extends ... |
/**
* The package contains algorithms for rounding the forecast.
*
* @version 0.1.0
* @since 0.1.0
*/
package it.ozimov.seldon.core.algorithms.rounding;
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package GProduction;
import java.io.IOException;
import java.io.InputStream;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
/**
*
* @author Blondu
*/
public class TouchCom {
pr... |
/**
* Helper classes for dealing with SQLite database.
*/
package eu.tivian.musico.database; |
package com.altimetrik.demo.service;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpStatus;
import o... |
package com.example.billage.frontend.ui.mypage.subView;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.ListView;
import com.example.billage.R;
import com.example.billage.backend.api.data.UserAccount;
import com.example.billage.backend... |
package ObjectOrientedProgramming.ClassesObjectsConstructors.SimpleExercises;
public class VipCustomerChallenge {
private String vipCustomerName;
private double vipCustomerCreditLimit;
private String vipCustomerEmail;
public VipCustomerChallenge() {
this("Mauricio Benitez",20000,"mauribenitez... |
/*
* 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 lp2;
/**
*
* @author pere
*/
public class Asignatura {
private int identificacion;
private int calendario;
pri... |
package com.lowes.lowesapp.rest.response;
/**
* Created by George on 1/23/2016.
*/
public class RequestParams {
private String storeNumber;
private String employee;
private String offset;
private String maxResults;
public String getStoreNumber ()
{
return storeNumber;
}
p... |
package com.company.entity;
public enum EnginesType {
GAS, LPD, ELECTRIC, DIESEL
}
|
/**
* @program: integral_mobile_parent
* @description: 单人插件月积分汇总
* @author: 14_赵芬
* @create: 2019-09-14 14:14
**/
package com.tfjybj.integral.model;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
@Data
@ToString
@NoArgsConstructor
public class QueryMonthPluginModel {
//用户的user_i... |
package com.nuuedscore.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.nuuedscore.domain.Role;
/**
* Role Repository
*
* @author PATavares
* @since Feb 2021
*
*/
public interface RoleRepository extends JpaRepository<Role, Long> {
Role findByName(String name);
} |
package uk.co.kgits.sitedata;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
/**
* DV object comprises a set of Location objects
* @author OFadero
*
*/
@XmlAccessorType(Xm... |
package edu.uci.ics.sdcl.firefly.report.descriptive;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Vector;
import edu.uci.ics.sdcl.firefly.Answer;
import edu.uci.ics.sdcl.firefly.Microtask;
import edu.uci.ics.sdcl.fir... |
package org.kernelab.basis.io;
import java.io.Reader;
import java.io.Writer;
import org.kernelab.basis.Tools;
public class CharsTransfer implements Runnable
{
private Reader reader;
private Writer writer;
private char[] buffer;
public CharsTransfer(Reader reader, Writer writer)
{
this(reader, writer, null)... |
package joostwagenaar.Ghost;
import android.content.Intent;
import android.graphics.Typeface;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.EditText;
import andr... |
package com.example.emailvalidator.controller;
import com.example.emailvalidator.domain.EmailRequest;
import com.example.emailvalidator.domain.EmailResponse;
import com.example.emailvalidator.service.EmailService;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
im... |
package com.example.event.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.ScrollView;
import com.example.event.util.Utils;
/**
* Created by ouyangshen on 2018/1/4.
*/
public class PullDownScrollView extends ScrollView {
private fl... |
package exercicio01;
import javax.swing.JOptionPane;
public class Principal {
public static void main(String[] args) {
double numero1;
double numero2;
String conta;
int confirm;
}
} |
package com.osce.service.home;
import com.osce.api.home.PfHomeService;
import com.osce.api.system.org.PfOrgService;
import com.osce.api.user.menu.PfMenuService;
import com.osce.dto.home.PfHomeDto;
import com.osce.entity.SysOrg;
import com.osce.vo.home.PfHomeVo;
import com.osce.vo.user.menu.PfMenuVo;
import org.apache.... |
package com.samples.home.showhideactionbar;
import android.support.v7.app.ActionBar;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
public class ShowHideActionBarActivity extends AppCompatActivity
implements View.OnClickListener {
private ActionBar ac... |
package com.olfu.meis.model;
import java.util.ArrayList;
/**
* Created by mykelneds on 05/12/2016.
*/
public class EarthquakeItem2 {
double magnitude;
String location;
double latitude;
double longitude;
String depth;
String timeStamp;
boolean isControlVisible;
public EarthquakeIte... |
package com.gsonkeno.hot.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**es索引注解
* Created by gaosong on 2017-07-25.
*/
@Target(value ={ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME... |
package com.av.acciones.elementocatalogo;
import org.apache.log4j.Logger;
import com.av.acciones.BaseAccion;
import com.av.db.dataobjects.ElementoCatalogo;
import com.av.db.dataobjects.enums.Catalogo;
import com.av.db.layer.interfaces.ElementoCatalogoLayer;
import com.av.exceptions.AvException;
import com.av... |
package com.cos.oauth2jwt.web;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariab... |
package ar.edu.unlam.erudito.repositorios;
import ar.edu.unlam.erudito.modelo.Usuario;
// Interface que define los metodos del Repositorio de Usuarios.
public interface RepositorioUsuario {
Usuario consultarUsuario (Usuario usuario);
}
|
package util;
import java.io.IOException;
import java.net.URI;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.i... |
package com.gcipriano.katas.salestaxes.model;
import com.gcipriano.katas.salestaxes.dummies.FakeTaxFactory;
import com.gcipriano.katas.salestaxes.dummies.TwoDecimalRoundingPolicy;
import com.gcipriano.katas.salestaxes.model.product.Product;
import com.gcipriano.katas.salestaxes.receipt.PresentableProduct;
import com.g... |
package com.tencent.mm.plugin.freewifi.ui;
import com.tencent.mm.plugin.freewifi.d.a;
import com.tencent.mm.plugin.freewifi.m;
import com.tencent.mm.plugin.freewifi.model.d;
import com.tencent.mm.sdk.platformtools.x;
class ProtocolThreeOneUI$8 implements Runnable {
final /* synthetic */ ProtocolThreeOneUI jov;
... |
package com.example.davidstone.record_store;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.V... |
// Modified node class (copied and pasted from HNode) to include up, down, left, and right and bound variables
public class SLNode
{
// HNode contains string, int, and links
private String info;
public SLNode up; // By making public, no need for setters and getters
public SLNode down;
public SLNode rig... |
package hu.bme.aut.exhibitionexplorer.interfaces;
/**
* Created by Adam on 2016. 10. 22..
*/
public interface OnSuccesfullLoginListener {
public void onSuccesfullLogin();
}
|
/*
* The purpose of this lab was to learn about the switch case
* and how to learn about multi-level choices.
*
* Author: Victor (Zach) Johnson
* Date: 9/23/17
*/
package chapter4;
import java.util.Scanner;
public class Ex4_13 {
public static void main2(String[] args) {
Scanner input = new Scanner(System... |
package com.facebook.react.views.textinput;
public interface ScrollWatcher {
void onScrollChanged(int paramInt1, int paramInt2, int paramInt3, int paramInt4);
}
/* Location: C:\Users\august\Desktop\tik\df_rn_kit\classes.jar.jar!\com\facebook\react\views\textinput\ScrollWatcher.class
* Java co... |
package edu.fsu.cs.cen4021.armory;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
/**
* Created by David on 2/6/2017.
*/
public class TheChosenOneAxe extends BasicWeapon implements Weapon {
TheChosenOneAxe() {super(60);}
@Override
public int hit(){
try {
... |
// 1. 给一个不多于5位的正整数,求它是几位数
public class one{
public static void main(String[] args) {
int num = 99876;
int results = figures(num);
System.out.println(num + "的位数为" + results + "位数");
}
public static int figures(int num){
String newNum = String.valueOf(num);
int digits = newNum.lengt... |
package com.yloveme.dao;
public class UserDao {
public void save() {
System.out.println("DB:向数据库插入User");
}
}
|
package cs5060.project.dragonmaze;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
/**
* Final Project: CS 5060
* DragonMaze Project : Grid.java
*
* The Grid Class contains a description of the world.
* @author Deep A01631525
*
*/
public class Grid
{
private int timeli... |
package animatronics.debug;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.EntityPlayerSP;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack... |
package assemAssist.model.factoryline.assemblyLine;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.joda.time.DateTime;
import org.joda.time.Dura... |
package com.philippe.app.domain;
import lombok.Getter;
import lombok.Setter;
@Getter @Setter
public class JobStatus {
private JobState state;
}
|
package com.santander.bi.BD;
import java.util.ArrayList;
import java.util.List;
import com.santander.bi.DAO.CampoBD;
import com.santander.bi.utils.Utils;
public class TablaBD {
private String nombreTabla;
private List<CampoBD> campos = new ArrayList<CampoBD>();
private List<IndexBD> lIndex = new ArrayL... |
package com.hallowizer.displaySlot.apiLoader;
import static org.objectweb.asm.Opcodes.ASM5;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
import java.security.AccessControlContext;
import java.security.AccessController... |
package com.test.inheritance.multi_level;
/**
* Created by srikanth on 21/12/16.
*/
public class BmwSportsBike extends BmwBike{
}
|
public class main {
public static void main (String[] args){
int n; n=9;
name[] ar;
ar=new name[n];
//ar[0]=new cat();
int i;
for(i=0;i<n;i++){
switch (i) {
case 0:
ar[i] = new Jack_house();
... |
package zystudio.cases.multithread;
/**
* Created by leeco on 2017/7/29.
* 主要是想看Condition的用法
*/
public class CaseReentrantLock_Condition {
public void work(){
}
}
|
package mymaps;
import java.io.IOException;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.jposition.*;
/**
*
* @author ToMeLu
*/
public class MyFrame extends javax.swing.JFrame {
/** Creates new form MyFrame */
public MyFrame() {
initCompon... |
package Server;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketException;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
imp... |
package org.itew.mymapreduce.core.impl;
import java.io.IOException;
import org.itew.mymapreduce.core.Reducer;
import org.itew.mymapreduce.io.Writable;
public class StringReducer<K,V> implements Reducer<K,V,String,String>{
@Override
public void reduce(K key, Iterable<V> values,
Writable<String, Str... |
package theekransje.douaneapp.Controllers;
public enum DrivingState {
Driving,
Paused,
Stopped
}
|
/*
* 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 loc.controllers;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpSer... |
package com.codingblocks.roomlib;
import android.widget.ListView;
import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Query;
import java.util.List;
@Dao
public interface UserDao {
@Insert
public void insert(User user);
@Insert
public void insert... |
package io.peppermint100.server.constant;
import io.peppermint100.server.entity.item.CupSize;
public class CapsuleItem {
public static final String INDONESIA_ITEM_NAME = "인도네시아";
public static final Integer INDONESIA_PRICE = 690;
public static final String INDONESIA_DESCRIPTION = "깊은 풍미와 우디향";
public s... |
package com.jiw.dudu.service;
import com.jiw.dudu.entities.Order;
import com.jiw.dudu.mapper.OrderMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import... |
package com.learn.learn.bassis;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
public class 横竖屏切换 extends Activity {
private String TAG = "横竖屏切换";
@Override
protected void onSaveInstanceState(Bundle outState) {
Log.d(TAG, "onSaveInstanceState: 保存数据");
outS... |
package com.dais.storage;
import com.common.pojo.ResultModel;
import com.common.utils.CollectionUtils;
import com.common.utils.JsonUtils;
import com.dais.bean.MsgBean;
import com.dais.model.PrivatechatMsg;
import com.dais.model.User;
import com.dais.service.PrivatechatMsgService;
import com.dais.service.UserService;
i... |
package view;
import javafx.geometry.Insets;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.HBox;
public class Scena1 extends BorderPane {
private Label emailLbl;
private Te... |
package android.huyhuynh.orderserverapp.views;
import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.graphics.Bitmap;
import an... |
package Commons;
import models.Customer;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.Writer;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
public class FuncFileCustomer {
private static fina... |
package com.gmail.khanhit100896.foody.main;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.... |
package com.tencent.mm.ui.base;
import android.text.InputFilter;
import android.text.Spanned;
import android.text.TextUtils;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.tools.g;
import java.util.LinkedList;
import java.util.List;
public class MMTagPanel$b implements InputFilter {
int mark;... |
package br.edu.ifam.saf.util;
import org.apache.commons.collections.Buffer;
import org.apache.commons.io.IOUtils;
import org.apache.james.mime4j.io.BufferedLineReaderInputStream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;... |
package stalls;
import interfaces.IChargeable;
import interfaces.IEnjoyable;
import persons.Visitor;
public abstract class Stall implements IEnjoyable, IChargeable {
private String name;
private String ownerName;
private String parkingSpot;
private int funRating;
private double price;
public ... |
/*
* Copyright (C) 2015 Miquel Sas
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program is d... |
package com.cw.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.*;
import org.springframework.jdbc.datasource.DataSourceTransactionManager;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.EnableTrans... |
package day30exeption;
public class TryCatch03 {
public static void main(String[] args) {
System.out.println(exceptions());
}
@SuppressWarnings("finally")
public static String exceptions() {
String result = "";
String v = null;
try {
try {
result = result + "before";
v.length();
resu... |
/*
* LumaQQ - Java QQ Client
*
* Copyright (C) 2004 notXX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
... |
package pattern_test.chain_of_responsibility;
/**
* Description:
*
* @author Baltan
* @date 2019-04-03 15:54
*/
public class Test1 {
public static void main(String[] args) {
CEO ceo = new CEO(null);
GeneralManager generalManager = new GeneralManager(ceo);
Director director = new Direct... |
package com.travelportal.domain;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;
@... |
package com.passing.hibernate.beans;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
/**
* AbstractPassingUser generated manually
*/
public abstract class AbstractTbEnWord implements java.io.Ser... |
package com.tencent.mm.ui.contact;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemLongClickListener;
import com.tencent.mm.model.s;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.storage.ab;
class ChatroomContactUI$12 implements OnItemLongClickLi... |
package com.softserve.itacademy.model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import javax.va... |
package org.fuserleer.ledger;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import org.fuserleer.BasicObject;
import org.fuserleer.common.Match;
import org.fuserleer.common.Order;
import org.fuserleer.common.Primitive... |
package com.dao;
import org.bson.Document;
/**
* Created by 滩涂上的芦苇 on 2016/6/14.
*/
public interface BookProfileDao {
public static final String BOOKID = "bookid";
public static final String PROFILE = "profile";
public Document getBookProfile(String isbn) throws Exception;
public void... |
package com.test.accessmodifiers;
/**
* Created by srikanth on 23/12/16.
*/
public class PublicClass {
public String name = "Manish";
public void sayHello(){
System.out.println("Hello "+name);
}
}
|
package com.example.cse.makeupapp;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import com.github.ivbaranov.mfb.MaterialFavoriteButton;
import com.squareup.picasso.Picasso;
public class Cosmeti... |
package com.kapoopr.elasticSearch.demo.services.bean.service;
import org.elasticsearch.index.query.QueryBuilders;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.elastic... |
package croco.com.yumingluan.Adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.util.List;
import croco.com.yumingluan.R;
import croco.com.yumingluan.bean... |
package org.inftel.socialwind.server.integration;
import static org.inftel.socialwind.server.RequestFactoryHelper.createSimpleFactory;
import static org.inftel.socialwind.server.test.Utils.randomString;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.j... |
package com.oauth.business.api.implementation;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.access.prepost.PreAuthorize;
im... |
package com.tencent.mm.plugin.collect.ui;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.plugin.wallet_core.ui.m;
class CollectMainUI$18 implements OnClickListener {
final /* synthetic */ CollectMainUI hYN;
final /* synthetic */ m hYU;
final /* synthetic */ m hYV... |
package com.slort.traductores;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URLEncoder;
import java.text.ParseException;
import oauth.signpost.OAuth;
import oauth.signpost.OAuthConsumer;
import oauth.signpost.OAuthProvider;
imp... |
import java.awt.BorderLayout;
import java.awt.Color;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Optional;
import java.util.function.Supplier;
import java.util.stream.Stream;
import javax.swing.JFrame;
import javax.swing.JPanel;
import org.jfree.chart.ChartFactory;
import org.jfree.chart... |
package no.uib.info331.util;
import android.app.Application;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.TaskStackBuilder;
import android.content.Context;
import android.content.Intent;
import android.os.RemoteException;
import android.support.v4.app.NotificationCompat;... |
package com.mkyong.common.model;
import java.util.List;
public class CDRResponse
{
private int returnCode;
private String returnMsg;
private String phoneNumber;
private String DIDNumber;
private List<CDR> cdr;
public int getReturnCode()
{
return this.returnCode;
}
public void setReturnCode... |
package com.spbsu.flamestream.example.bl.index.validators;
import com.spbsu.flamestream.example.bl.index.InvertedIndexValidator;
import com.spbsu.flamestream.example.bl.index.model.WikipediaPage;
import com.spbsu.flamestream.example.bl.index.model.WordBase;
import com.spbsu.flamestream.example.bl.index.ranking.Documen... |
package com.pas.mall.pojogroup;
import com.pas.mall.pojo.TbGoods;
import com.pas.mall.pojo.TbGoodsDesc;
import com.pas.mall.pojo.TbItem;
import java.io.Serializable;
import java.util.List;
public class Goods implements Serializable {
public TbGoods tbGoods;
public TbGoodsDesc tbGoodsDesc;
public List<TbI... |
package com.mysql.cj.protocol.a;
import com.mysql.cj.protocol.ColumnDefinition;
import com.mysql.cj.protocol.Message;
import com.mysql.cj.protocol.ProtocolEntityFactory;
import com.mysql.cj.result.DefaultColumnDefinition;
import com.mysql.cj.result.Field;
public class ColumnDefinitionFactory implements ProtocolEntity... |
package omrecorder.widget;
import android.os.Environment;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.RandomAccessFile;
/**
* Created by xieqi on 2017/2/20.
*/
pu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.