text
stringlengths
10
2.72M
package mb.tianxundai.com.toptoken.view; import android.app.Dialog; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.view.View; import android.widget.TextView; import mb.tianxundai.com.toptoken.R; /** * @author txd_dbb * @emil 15810277571@163.com ...
package com.paragon.brdata.remote; /** * Created by Rupesh Saxena */ interface Api { }
package org.sarge.jove.audio; import static org.lwjgl.openal.AL10.AL_NO_ERROR; import static org.lwjgl.openal.AL10.alGetError; import org.lwjgl.LWJGLException; import org.lwjgl.openal.AL; /** * LWJGL/OpenAL implementation. */ public final class LightweightAudioSystem implements AudioSystem { private final AudioLi...
/** * 24. Swap Nodes in Pairs * 用图表示的更清楚,可以把线看成node.next * 参考:https://blog.csdn.net/camellhf/article/details/72866053 * Created by mengwei on 2019/6/5. */ public class SwapNodesinPairs { public ListNode swapPairs(ListNode head) { ListNode rs = new ListNode(0); ListNode tmp = rs; tmp.ne...
package com.lfj.service.impl; import com.lfj.entity.UserRole; import com.lfj.mapper.UserRoleMapper; import com.lfj.service.IUserRoleService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** * <p> * 服务实现类 * </p> * * @author lfj * @since 2020-...
package com.example.demo; import com.example.demo.producer.MessageProducer; import org.apache.activemq.command.ActiveMQQueue; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import javax.a...
package com.corycharlton.bittrexapi.extension.okhttp; import android.support.annotation.NonNull; import com.corycharlton.bittrexapi.BittrexApiClient; import com.corycharlton.bittrexapi.Downloader; import com.corycharlton.bittrexapi.internal.NameValuePair; import com.corycharlton.bittrexapi.internal.util.Ensure; impo...
package Base.copy.copy.copy.copy; import java.util.Iterator; import java.util.Random; import java.util.Set; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.ie.InternetExplorerDriver; import org.openqa.selenium.support.ui.S...
package com.mercury.finance.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.mercury.common.db.HibernateDao; ...
//designpatterns.mediator.Mediator.java package designpatterns.mediator; //³éÏóÖнéÕß public abstract class Mediator { public abstract void componentChanged(Component c); }
package bn.statc; import bn.BNException; import bn.IBayesNet; import bn.distributions.Distribution; /** * Interface for Static Bayes network-specific functions. * @author Nils F. Sandell * */ public interface IStaticBayesNet extends IBayesNet<IBNNode> { /** * Add edge from one node to another. * @param from ...
package com.kemalgulpinar.boot.issuetr.issuetracker.github; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; public class Actor { private final String login; private final String avatarUrl; private final String htmlIrl; @JsonCreator pub...
package ul.stage.officeassignment.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import ul.stage.officeassignment.model.Bureau; @Repository public interface BureauRepository extends JpaRepository<Bureau,Long> { }
package estruturas.pilhas; public class Main { public static void main(String[] args) { Pilha minhaPilha = new Pilha(); minhaPilha.push(new No("Conteudo 1")); minhaPilha.push(new No("Conteudo 2")); minhaPilha.push(new No("Conteudo 3")); minhaPilha.push(new No("Cont...
package org.crazyit.ui; import android.app.ActionBar; import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; public class MainActivity extends Activity { ActionBar actionBar; @Override public void onCreate(Bundle savedInstanceState)...
package com.http; import com.controllers.*; import com.sun.net.httpserver.HttpServer; import org.apache.log4j.Logger; import java.net.InetSocketAddress; import static java.lang.String.format; public class CustomHttpServer { private static final int PORT = 9001; private static final Logger LOGGER = Logger....
package com.zenwerx.findierock; import java.io.IOException; import android.app.backup.BackupAgentHelper; import android.app.backup.BackupDataInput; import android.app.backup.BackupDataOutput; import android.app.backup.SharedPreferencesBackupHelper; import android.os.ParcelFileDescriptor; import android.util.Log; pub...
package com.itinerary.guest.itinerary.service; import java.io.IOException; import java.util.List; import org.easymock.EasyMock; import org.junit.Test; import com.itinerary.guest.itinerary.clients.DiningClient; import com.itinerary.guest.itinerary.clients.ResortClient; import com.itinerary.guest.itinerary.model.Itine...
package com.niit.project.radiom.activity; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.niit.project.radiom.R; import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; ...
package de.meetpub.telegrambot.messagehandlers; import org.telegram.telegrambots.api.methods.send.SendMessage; import org.telegram.telegrambots.api.objects.Message; import de.meetpub.telegrambot.startup.MeetPubTelegramBot.State; /** * @author Christian Bargmann <christian.bargmann@haw-hamburg.de> * @version 28.06....
package com.thegriffen.projectsoaringgriffen.utils; import android.graphics.Bitmap; public class CameraConstants { public static Bitmap bmp; public static byte[] data1; public static boolean pictureTaken = false; }
package com.fanoi.dream.module.mall.adapter; import java.util.ArrayList; import android.content.Context; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.ViewGroup.LayoutParams; import android.widget.AdapterView; import and...
/* * 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 Model; /** * * @author Maxime Stierli <maxime.stierli@he-arc.ch> */ public class Ajout { private Long id; ...
/* * 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 poo.estacionamiento.dao; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import poo.estacionamie...
public class NFCReader { private int currentNFCNumber; public boolean validateNFC(int number) { currentNFCNumber = number; return true; } public int getNFCNumber() { return currentNFCNumber; } }
package me.libme.baidu.mapdata.searchindex.point; import me.libme.kernel._c.util.MD5; import me.libme.module.es5x6.ESModel; import java.util.Collections; import java.util.Map; /** * Created by J on 2018/2/27. */ public interface Point { /** * 经度 * @return */ String longitude(); /** ...
package com.twitter.finatra.tests.json.internal; public enum CarMakeEnum { ford, vw; }
package org.wxy.weibo.cosmos.ui.activity; import android.content.Context; import android.content.Intent; import android.graphics.PixelFormat; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.View; import com.tencent.smtt.export.external.TbsCoreSettings; import com.tencent.smtt...
package com.deepakm.stock.bo; import com.deepakm.stock.model.Stock; /** * Created by dmarathe on 2/15/16. */ public interface StockBO { public void save(Stock stock); public void update(Stock stock); public void delete(Stock stock); public Stock findStockByCode(String code); }
package app.com.thetechnocafe.eventos; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v7.app.AppCompatActivity; import app.com.thetechnocafe.eventos.Utils.SharedPreferencesUtils; public class HomeStreamActivity extends AppCompat...
package cbartersolutions.medicalreferralapp.Activities; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.CheckBoxPreference; import android.preference.ListPreference; ...
package com.example; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; public class Threadlocaltest { public static ThreadLocal<String> st = new ThreadLocal<String>(); public String str; @BeforeMethod public void beforemethod()...
/* * Copyright (c) 2012, Riven * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this lis...
package com.iterlife.xspring.aop.advice; import java.lang.reflect.Method; /** *MethodAfterAdvice等价于Spring源码中的AfterReturningAdvice **/ public interface MethodAfterAdvice extends AfterAdvice { void afterReturning(Object returnValue, Method method, Object[] args, Object target) ...
package com.project.tz.services; import com.project.tz.dto.CreateUpdateUserDto; import com.project.tz.dto.GetAllUsersDto; import com.project.tz.entities.Role; import com.project.tz.entities.User; import com.project.tz.repositories.RoleRepository; import com.project.tz.repositories.UserRepository; import org.aspectj.la...
package org.vanilladb.comm.protocols.rb; import java.io.Serializable; public class MessageId implements Serializable, Comparable<MessageId> { private static final long serialVersionUID = 20200406001L; private int sourceProcessId; private int sequenceNumber; public MessageId(int sourceProcessId, int sequence...
package com.example.cantri.doctoronline.fragments; import android.content.Intent; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.example.cantri.doctoronline.Clinic; import com.exampl...
package io.breen.socrates.file.python; import io.breen.socrates.PostConstructionAction; import io.breen.socrates.file.File; import io.breen.socrates.test.Test; import io.breen.socrates.test.TestGroup; import io.breen.socrates.test.python.*; import java.nio.file.Path; import java.nio.file.Paths; import java.util.*; /...
package com.fbse.recommentmobilesystem.XZHL0001; import java.util.Properties; import android.content.Context; public class XZHL0001_Constats { public static String SERVRCEERROR=""; public static String LIEBIAOSHIBAI=""; public static String NETERROR=""; public static String SHURUMM=""; public static ...
package gmail.alexdudarkov.task02.dao.util; import gmail.alexdudarkov.task02.dao.exception.DAOException; import java.io.*; import java.net.URL; import java.net.URLConnection; import java.util.ArrayList; import java.util.List; public class Parser { private static final String FILE_NAME = "task02.xml"; pu...
package com.baytie.vo; import com.sz.util.json.Alias; import java.io.Serializable; /** * Created by PRINCE on 11/28/2016. */ public class MessageVO implements Serializable{ @Alias("id") private String id; @Alias("from") private String from; @Alias("to") private String to; @Alias("me...
package com.shahinnazarov.gradle.models; import com.shahinnazarov.gradle.models.enums.K8sImagePullPolicies; import lombok.Data; import java.util.List; import java.util.Map; @Data public class K8sPodTemplateSpecContainer { private String name; private String image; private K8sImagePullPolicies imagePullPo...
package CFG.CNForm; import CFG.Helper.LogicProposition; import java.util.*; public class CNFDataBase{ public final RuleDataBase rdb; public final ActionDataBase adb; public CNFDataBase(RuleDataBase rdb, ActionDataBase adb){ this.rdb = rdb; this.adb = adb; } public CNFDataBase(){ ...
/* * Copyright (c) 2016 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.ldap.client; import java.util.Properties; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import pl....
//package com.example.huydaoduc.hieu.chi.hhapp.Main.Driver.RouteRequestManager; // //import android.content.Context; //import android.net.Uri; //import android.os.Bundle; //import android.support.v4.app.Fragment; //import android.support.v7.widget.LinearLayoutManager; //import android.support.v7.widget.RecyclerView; //...
/** * MIT License * <p> * Copyright (c) 2019-2022 nerve.network * <p> * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to...
package com.teaboot.context.common; public class ValuePair { Object value; Object pair; public Object getValue() { return value; } public void setValue(Object value) { this.value = value; } public Object getPair() { return pair; } public void setPair(Object pair) { this.pair = pair; ...
package com.test; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import com.test.base.Solution; /** * 三层遍历 * * 算法复杂度:n*log(n) + n*n*n = n*n*n * * @author YLine * * 2018年8月13日 下午2:31:37 */ public class SolutionA implements Solution { /** * 暴力 遍历,复杂度高了 * @param nums...
package com.stock.entity; import lombok.*; import java.math.BigDecimal; @AllArgsConstructor @NoArgsConstructor @Builder @Data @With public class StockWithClassification { private int id; private String name; private int items; private BigDecimal valueStock; private ClassificationStock classificat...
/* // Definition for a Node. class Node { public int val; public Node prev; public Node next; public Node child; }; */ class Solution { Node output=new Node(-1); Node pre=output; public Node flatten(Node head) { if(head==null){ return head; } recursion(he...
package com.frostwire.alexandria; import java.io.File; import java.util.Collections; import java.util.Comparator; import java.util.List; import com.frostwire.alexandria.db.InternetRadioStationDB; import com.frostwire.alexandria.db.LibraryDB; import com.frostwire.alexandria.db.LibraryDatabase; import com.frostwire.ale...
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2011 INRIA/University of * Nice-Sophia Antipolis/ActiveEon ...
package home_work_1.txt; public class Txt2 { public static void main(String[] args) { int num = 8; int num1 = 2; int a = 5 + 2 / num; //деление потом сложение получается 5 System.out.println(a); int b = (5 + 2) / num; //сначало то что в скобках потом деление получается 0 ...
package task5.tddremoveA; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; class RemoveATest { /* * TODO List: * 1. First 2 char 'A' AABABA ==> BABA -success * 2. First char 'A' ABAABA ==> BAABA * 3. Second char 'A' BAAAAA ==>...
package sample.controller; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; import utils.Utils; @Co...
package us.spring.dayary.common.tool; import javax.crypto.Cipher; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import java.security.Key; import java.util.Base64; import java.util.HashMap; import java.util.Map; public class AES { private static final String AES_CBC_PKCS5PADDIN...
package com.wz.week_3; import com.algorithm.tree.TreeNode; import java.util.ArrayList; import java.util.List; public class KthLargest { public List<Integer> list = new ArrayList<>(); public int ret; public int kthLargest(TreeNode root, int k) { if(root == null){ return 0; } ...
/* * Copyright (C) 2011 The Baremaps 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 applicable law or agre...
//import java.util.Scanner; //3.求1+2+3+....+100的和。 public class zuoye3 { public static void main(String[] args) { // TODO Auto-generated method stub int i = 0 ; int sum = 0 ; while(i<100){sum+=i;i++;} System.out.println("1+2+3+....+100的和:"+sum); } }
/* * Copyright 2002-2017 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.example.main.requests; /** * Created by sergeigavrilko on 11.10.16. */ public final class CreateUser{ private String username; private String about; private boolean isAnonymous; private String name; private String email; private int id; public CreateUser(){ } public ...
package com.codecool.stampcollection.repository; import com.codecool.stampcollection.model.Stamp; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; public interface StampRepository extends JpaRepository<Stamp, Long> { List<Stamp> findAllByCountry(String country); List<Sta...
package com.gxjtkyy.standardcloud.common.domain.dto; import com.gxjtkyy.standardcloud.common.domain.info.SheetInfo; import lombok.Getter; import lombok.Setter; import lombok.ToString; import org.springframework.data.annotation.Id; import java.util.LinkedHashSet; import java.util.List; /** * 模板数据传输对象 * @Package com...
package kr.purred.playground.startboot.data; import lombok.Data; @Data public class PointData { private String memberID; private int point; public PointData (String memberID, int point) { this.memberID = memberID; this.point = point; } }
/* * 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 View.HomePage; import Bean.UserBean; import View.Login.LoginFrm; import View.UCManageDish.DishCtrFrm; /** * * @author ASUS ...
package com.xyzj.crawler.utils.gethtmlstring; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import lombok.extern.slf4j.Slf4j; import org.apache.http.HttpEntity; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.a...
package JDBC; import javax.swing.plaf.nimbus.State; import java.sql.*; public class MySQL { private static String url="jdbc:mysql://localhost::3306/book"; private static String username="root"; private static String password="liu200045."; private static String driverName="com.mysql.jdbc.Dri...
package com.justcode.hxl.viewutil.自定义View.绘制1_1.饼图.interfaces; import com.justcode.hxl.viewutil.自定义View.绘制1_1.饼图.entry.PieEntry; ; public interface OnSectorChangeListener <T extends PieEntry> { /** * * @param pieEntry * @param cx * @param cy * @param radius * @param source BaseSect...
package com.tntdjs.midi.controllers; import javax.sound.midi.MidiMessage; import com.tntdjs.midi.IMidiExecuter; import com.tntdjs.midi.controllers.data.config.MidiDeviceXMLHelper; import com.tntdjs.midi.controllers.data.config.objects.MidiButton; import com.tntdjs.midi.executer.ExecuterFactory; /** * * @author ts...
/* * Copyright 2014 Victor Melnik <annimon119@gmail.com>, and * individual contributors as indicated by the @authors tag. * * 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...
import java.util.Arrays; class ShellSort { int ShellSort(int arr[]) { int n = arr.length; for (int gap = n/2; gap > 0; gap = gap/2) { for (int i = gap; i < n; i++) { // add a[i] to the elements that have been gap // sorted save arr[i] in temp and make a hole at // position i int temp = arr[i]; /...
package com.test.demo.Exceptions; public class InvalidInputException extends Exception { /** * */ private static final long serialVersionUID = 3676048689611488603L; public InvalidInputException(String msg) { // TODO Auto-generated constructor stub super(msg); } }
package com.niit.project.radiom.view; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.TimerTask; import com.niit.project.radiom.ObjectFactroy; import com.niit.project.radiom.ObjectFactroy.CaseType; import com.niit.project.radiom.ObjectFactroy.EnemyType; import com.niit.projec...
package dao; import java.io.Closeable; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import pojo.User; import utils.DBUtils; public class UserDao implements Closeable { private Connection connection; private Prepar...
package com.example.shivam.maintain_notes; import android.app.ActionBar; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; ...
package com.imooc.repository; import com.imooc.dataobject.ProductInfo; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.jun...
package com.mmm.service.XML; import org.aspectj.lang.ProceedingJoinPoint; /** * 纯切面 通过xml的配置 把切面织入到指定的目标方法中 */ public class MyAspectJ { //前置增强 public void before(){ System.out.println("前置增强"); } //后置增强 public void afterReturning(){ System.out.println("后置增强"); } //环绕...
import java.util.Arrays; public class MiArrayList { private int size; private static final int DEFAULT_CAPACITY = 10; private int elements[]; /** * El metodo constructor se utiliza para incializar * variables a valores neutros como 0 o null. * El contructor no lleva parámetros en este...
package carnero.movement.ui; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; import java.util.Set; import java.util.concurrent.TimeUnit; import android.animation.Animator; import android.animation.ObjectAnimator; import android.content.Intent; import android.graphics.Color; import and...
/* * Copyright 2014 Basho Technologies Inc. * * 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 ...
package actions.ajax; import com.opensymphony.xwork2.ActionSupport; import facade.GestionStratego; import facade.GestionStrategoInterface; import modele.Joueur; import org.apache.struts2.interceptor.ApplicationAware; import org.apache.struts2.interceptor.SessionAware; import java.util.Map; public class AjaxCheckComp...
package com.example.words.aty; import android.app.Fragment; import android.graphics.Color; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.view.View; import android.widget.Button; impo...
package cn.hellohao.utils; import org.springframework.context.annotation.Configuration; import org.springframework.http.CacheControl; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport; import java.util....
package com.stk123.web.action; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Collections; import java.util.Enumeration; import java.util.List; import javax.servlet.http.HttpServletRequest; i...
/* * Copyright 2002-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.algorithm.tree; import java.util.LinkedList; import java.util.Queue; public class MaxDepth { static int sum = 0; public static int maxDepth(TreeNode root) { Queue<TreeNode> queue = new LinkedList(); queue.add(root); while(queue.size()!=0){ int size = queue.size...
package com.seboid.udemcalendrier; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import or...
/** * User: kost * Date: 29.04.14 * Time: 10:27 */ public class Fog { Color color; float fogVisibility; boolean isLinear; boolean enabled; public Fog () { color = new Color(); fogVisibility = 0; isLinear = true; enabled = false; } public Fog (Color color...
package Java; //parent_30412-04312_child Constructor public class ParentC { public ParentC() { this(1,2,3); System.out.println(" Parent Default Constructor "); } public ParentC(int a) { this(1,2,3,4); System.out.println(" Parent 01 parameterized Constructor "); } public Parent...
package com.dimen.live.pusher; import com.dimen.jni.PusherNative; import com.dimen.listener.LiveStateChangeListener; import com.dimen.params.AudioParams; import com.dimen.params.VideoParams; import android.hardware.Camera.CameraInfo; import android.view.SurfaceHolder; import android.view.SurfaceHolder.Callba...
package com.nt.aspect; import java.util.Arrays; import org.aopalliance.intercept.MethodInterceptor; import org.aopalliance.intercept.MethodInvocation; import org.apache.log4j.Logger; import org.apache.log4j.PropertyConfigurator; public class LogAroundAdvice implements MethodInterceptor{ private static L...
package com.ut.module_lock.activity; import android.content.Intent; import android.databinding.DataBindingUtil; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.View; import android.widget.CheckBox; import android.widget.TextView; imp...
package com.example.wangchang.testbottomnavigationbar.fragment; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.ActivityOptionsCompat; import android.support.v4.app.Fragment...
package com.example.mapplication; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.CheckBox; import android.widget.CompoundButton; import andro...
package Arrays; public class PosAndNeg { public static void main(String[] args) { ArrayOperation ao = ArrayOperation.getInstance(); int[] a = ao.readElement(); ao.dispArr(a); int[] c = ao.countPN(a); System.out.println("Positive :"+c[0]+" Negative: "+c[1]); } }
package com.testFileUpload.util; import org.apache.http.entity.ContentType; import org.springframework.web.multipart.MultipartFile; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import org.springframework.mock.web.MockMultipartFile; public cla...
package com.larryhsiao.nyx.core.attachments; import com.silverhetch.clotho.Source; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import static java.sql.Statement.RETURN_GENERATED_KEYS; /** * New Attachment of a Jot */ public class NewAttachment implements Source<Attachm...
package Problem_11060; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new Buf...
package com.myCompany.soapWebService; import javax.jws.WebService; @WebService public interface MyWebService { String methode(); }
package testinggame.utils; import javafx.scene.control.Alert; import javafx.scene.control.ButtonBar.ButtonData; import javafx.scene.control.ButtonType; public class Error extends Exception { static String titulo = "Sistema de Mensaje"; public Error(String mensaje) { super(mensaje); } ...