text
stringlengths
10
2.72M
class Solution { public boolean detectCapitalUse(String word) { if(Character.isLowerCase(word.charAt(0))){ return checkAllSmall(word); } else { return checkAllCapital(word) || checkFirstCapital(word); } } public boolean checkAllCapital(String word){ ...
package com.tencent.mm.model; import android.database.Cursor; import com.tencent.mm.l.a; import com.tencent.mm.sdk.e.e; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.storage.az; import java.util.ArrayList; import java.util.Iterator; import java.util.List; ...
package com.newer.domain; public class hzx { private String name; public hzx() { } public hzx(String name) { this.name = name; } public String getName() { return name; } public void setName(String name) { this.name = name; } public void tsb (){ ...
package encapsulation; public class ClassE { public static void someMethod(){ ClassA instanceOne = new ClassA(); //instanceOne.setVariable(1000.12341234); } }
package sample; import java.awt.*; import java.util.InputMismatchException; import java.util.Scanner; import javafx.scene.control.Button; public class HumanPlayer extends Player { PlayerTimer playertimer; public HumanPlayer(){ } @Override public playerMove getplayermove(Grid grid) { try ...
package com.example.demo.controller; import com.example.demo.error.BusinessException; import com.example.demo.model.AyUser; import com.example.demo.service.AyUserService; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping...
public class Kadai06 { /** * 課題06 * 引数として渡された配列の中で、降順で2番目の値を返す * @param d 数値が入っている配列 * @return 配列の中の降順で2番目の値 */ int get2ndMax(int[] d) { return -1; } }
import org.junit.Test; /** * @Author: lty * @Date: 2021/1/22 09:37 */ public class MainTest { @Test public void test(){ DebugHandler debugHandler = new DebugHandler(new InfoHandler(new MyMessageHandler())); debugHandler.execute(); } }
package org.es.api.factory; import org.es.api.WeatherApi; import org.es.api.impl.WundergroundWeatherApi; /** * Created by Cyril Leroux on 18/06/13. */ public class WeatherApiFactory { public static synchronized WeatherApi getWeatherAPI() { return new WundergroundWeatherApi(); } }
package com.appdear.client.update; import java.io.File; /** * 处理下载通知接口 * @author jindan * */ public interface FileDownloadHandlerI { /** * * @param count 下载字节数 * @param total 总字节数 */ public abstract void HandlerNocatifycation(long count,long total); /** * 下载失败处理 */ public abstract void HandlerNoc...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/life.qbic.xml.properties/jaxb">http://java.sun.com/life.qbic.xml.properties/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source sch...
package com.tyss.cg.DatatypesAndVariables; public class VariablesEx { static byte sGByte; static short sGShort; static int sGInt; static long sGLong; static float sGFloat; static double sGDouble; static char sGChar; static boolean sGIsTrue; static String sGString; @SuppressWarnings("unused") //this will...
package com.vilio.mps.receivepush.service.impl; import com.vilio.mps.common.pojo.MpsReceiveMessageInfo; import com.vilio.mps.glob.ConfigInfo; import com.vilio.mps.glob.Constants; import com.vilio.mps.glob.Fields; import com.vilio.mps.receivepush.pojo.NlbsMessageResp; import com.vilio.mps.receivepush.service.PushMessag...
package main3x3; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; public class PicButton extends JButton { private boolean correctAnswer; public PicButton(boolean correctAnswer){ super(); this.correctAnswer=correctAnswer; if (correctAnswer){ setActionC...
package com.tencent.mm.plugin.webview.model; import android.os.Bundle; import com.tencent.mm.sdk.platformtools.x; public class ak$a { public Bundle jfZ = null; final /* synthetic */ ak pSn; public ak$a(ak akVar, Bundle bundle) { this.pSn = akVar; this.jfZ = bundle; } public final...
package com.shangcai.service.material; import com.irille.core.controller.PageView; import com.shangcai.entity.common.Member; import com.shangcai.view.material.CompanyView; public interface ICompanyService { public CompanyView signup(String name, String code, String iv, String encryptedData); /** * 将用...
package com.tencent.b.a.a; import android.content.Context; import android.content.pm.PackageManager.NameNotFoundException; import android.os.Build; import android.os.Build.VERSION; import android.telephony.TelephonyManager; import android.util.DisplayMetrics; import android.view.WindowManager; import java.util.Locale;...
package main.java.org.intringsoft.prDoublyLinkedList; import org.junit.*; import static org.junit.Assert.*; public class DoublyLinkedListTest { @Test public void nuevaDLLEstaVacia() { DoublyLinkedList<Object> DLL = new DoublyLinkedList<Object>(); assertTrue(DLL.isEmpty()); } @Test(expected = DoublyLinkedL...
package solution; /** * User: jieyu * Date: 11/5/16. */ public class FindPeakElement162 { public int findPeakElement(int[] nums) { if (nums.length < 2 || nums[0] > nums[1]) return 0; if (nums.length == 2) return (nums[0] > nums[1]) ? 0 : 1; for (int i = 1; i < nums.length; i++) { ...
public class ListUtilities { public LinkedList arrayToList(int[] array) { LinkedList list = new LinkedList(); for(int i = 0; i < array.length; i++) { list.addInt(array[i]); } return list; } public void bubbleSort(LinkedList list) { list.bubbleSort(); } public void cocktailSort(LinkedList list) {...
package com.tt.miniapp.webbridge.sync; import com.tt.miniapp.AppbrandApplicationImpl; import com.tt.miniapp.WebViewManager; import com.tt.miniapp.webbridge.WebEventHandler; import com.tt.miniapphost.AppBrandLogger; import org.json.JSONObject; public abstract class BasePickerEventHandler extends WebEventHandle...
package com.elepy.admin.concepts; import com.elepy.ElepyPostConfiguration; import com.elepy.admin.ElepyAdminPanel; import com.elepy.http.HttpService; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class PluginHandler { private final ElepyAdminPanel admi...
package com.university.wanstudy.adapters; import android.content.Context; import android.graphics.Color; import android.widget.ImageView; import android.widget.TextView; import com.university.wanstudy.MyApp; import com.university.wanstudy.R; import com.university.wanstudy.model.MajorModel; import org.xutils.x; impo...
/* If user chooses from home screen to view all public cases, this is where he is brought to and shown all public cases */ //TODO Right now nothing happens if user taps on case....Must add functionality that it should show list of that cases's mishnayos package com.example.mna.mishnapals; import androidx.appcompat.ap...
package com.example.demo.ch6BecomUnbecom; import akka.actor.AbstractActor; import akka.actor.Props; import akka.event.Logging; import akka.event.LoggingAdapter; public class RequestActor6 extends AbstractActor { protected final String name; protected final LoggingAdapter log = Logging.getLogger(context().sys...
/* * Copyright 2006 Ameer Antar. * * 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...
package ch.ubx.startlist.client; import java.util.List; import ch.ubx.startlist.client.ui.FlightEntryListGUI; import ch.ubx.startlist.shared.FeDate; import ch.ubx.startlist.shared.FeFlightEntry; import ch.ubx.startlist.shared.FePlace; import ch.ubx.startlist.shared.FeYear; import com.google.gwt.core.client...
/* * 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 frsjavaseclient; import java.util.List; import java.util.Scanner; import java.util.logging.Level; import java.util.logging.Log...
package ej3; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Ejercicio3 { /* * Implemente un programa que indique si una palabra es un palíndromo. Una * palabra es palidromo si se lee igual de izquierda a derecha que de * derecha a izquierda. ...
package edu.cecar.controlador; import edu.cecar.modelo.Dato; import java.awt.geom.Rectangle2D; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import org.apache.pdfbox.pdmodel.PDDocument; import org...
package com.gmail.ivanytskyy.vitaliy.service; import java.util.List; import com.gmail.ivanytskyy.vitaliy.model.LessonInterval; /* * Service interface for controllers which need a point of entry to LessonIntervalRepository * @author Vitaliy Ivanytskyy */ public interface LessonIntervalService { LessonInterval create...
package Iterator; /** * * @author MSI */ public class errorsInPatientList implements Iterator{ public errorsInPatientList(){ } @Override public boolean hasNext() { throw new UnsupportedOperationException("Not supported yet."); } @Override public Object next() { ...
package com.xiaodao.admin.client; import com.github.pagehelper.PageInfo; import com.xiaodao.feign.config.MultipartSupportConfig; import com.xiaodao.core.result.RespDataVO; import com.xiaodao.core.result.RespVO; import com.xiaodao.core.result.RespVOBuilder; import com.xiaodao.admin.entity.SysMenu; import org.springfram...
package misc.exceptions; public class InvalidElementException extends RuntimeException { public InvalidElementException() { super(); } public InvalidElementException(String message) { super(message); } public InvalidElementException(String message, Throwable cause) { ...
package th.ac.rru.csit.benjawan53023263010; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; ...
package com.tencent.tencentmap.mapsdk.a; public class qf { private static String a = "tencentmap"; public static void a(String str) { boolean z = qe.a; } }
package com.example.user.catchthemonster; /** * Created by User on 08.06.2017. */ public class Monstrik extends GameObject { Direction movementDirection = Direction.NONE; static final int MOVE_SPEED = 50; Monstrik(int x, int y){ super(x, y); } @Override publi...
/* * Minesweeper Project * by Group3 : Arnaud BABOL, Guillaume SIMMONEAU */ package View.GraphicalViews.Scores; import Controler.Minesweeper; import Model.Events.RefreshEvent; import Model.Game.WorldModel; import Model.Options.GameDifficulty; import genericGraphicalComponents.ObservationEvent; import genericGraphic...
/* * 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 people; /** * * @author student */ public class PersonDialog extends javax.swing.JDialog { private Human person; pr...
//package com.pain.treeobservabledemo.src; // //import android.app.Activity; //import android.graphics.Color; //import android.os.Bundle; //import android.view.View; //import android.view.ViewTreeObserver; //import android.view.ViewTreeObserver.OnGlobalLayoutListener; //import android.webkit.WebSettings; //import andro...
/* * Copyright 2008 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...
import java.util.Scanner; public class exer22 { public static void main(String[] args) { Scanner input = new Scanner(System.in); int c1 = 0; int c2 = 0; int c3 = 0; System.out.println("Digite o número total de votantes:"); int v = input.nextInt(); for(int i = 1; i <= v; i++) { System.out....
package com.example.ahmed.octopusmart.Interfaces; /** * Created by sotra on 12/19/2017. */ public interface LoadingActionClick { void OnClick(); }
package com.skyley.skstack_ip.api.skcommands; import com.skyley.skstack_ip.api.SKUtil; /** * SKLL64コマンドに対応したクラス、SKCommandを継承 */ public class SKLL64 extends SKCommand { /** 接続先HEXアドレス */ private String hexAddress; /** * コンストラクタ * @param hexAddress 接続先HEXアドレス */ public SKLL64(String hexAddress) { this.hexA...
package view; import java.awt.Container; import java.awt.FlowLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import javax.swing.JButton; import javax.swing.JFrame; import ja...
package ibd.web; import ibd.persistence.entity.ClosedQuestion; import ibd.service.SubcategoryService; import ibd.service.ClosedQuestionService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframewor...
/** * Helios, OpenSource Monitoring * Brought to you by the Helios Development Group * * Copyright 2014, Helios Development Group and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free softw...
/** * Write a description of class WHMan here. * * @author (your name) * @version (a version number or a date) */ public class WHMan extends LoginAccount { public WHMan(String name, String pass, String first, String last, String email) { super(name, pass, first, last, email); } ...
package com.szcinda.express.params; import com.szcinda.express.FeeDeclareStatus; import lombok.Data; import lombok.EqualsAndHashCode; import java.time.LocalDate; @EqualsAndHashCode(callSuper = true) @Data public class QueryFeeDeclareParams extends PageParams { private String cindaNo; private LocalDate create...
package com.ai.lovejoy777.ant; import android.app.Activity; import android.content.Context; import android.database.Cursor; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.AsyncTask; import android.os.Bundle; import android.view.View; import android.view.animation.Animation; i...
/** 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 ma...
/* * 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 databaseinterface; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.s...
package security.implementations; import security.BlockCipher; /** * Fundamentals Of Security, Assignment 2 * Created by Jacob Dunk */ public class EmptyBlockCipher extends BlockCipher { public EmptyBlockCipher(int blockSize) { super(blockSize); } @Override protected byte[] encrypt(byte[]...
package com.podarbetweenus.Activities; import android.app.Activity; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.text.method.KeyListener; import android....
/*InFix to PostFix*/ import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Stack; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { CP sc =new CP(); int tt = sc.nextInt(); while (tt-- > ...
package com.liemily.tradesimulation.account; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import java.math.BigDecimal; /** * Created by Emily Li on 12/08/2017. */ public interface Accoun...
package valatava.lab.warehouse.repository; import org.springframework.data.jpa.repository.JpaRepository; import valatava.lab.warehouse.model.Customer; /** * Spring Data JPA repository for the {@link Customer} entity. * * @author Yuriy Govorushkin */ public interface CustomerRepository extends JpaRepository<Custom...
package Day15; import java.util.ArrayList; import java.util.List; public class Day15_2 { public static void main(String[] args) { //컬렉션 프레임워크 ㅣ 메모리 관리 클래스 집합 //컬렉션 : 수집 //프레임워크 : 미리 만들어진 프로그램 //1.List 컬렉션 //1. ArrayList, 2. Vector , 3. LinkedList //1. 배열과 차이점 : 배열[고정메모리] / list[가변메모리] // 배열...
package HomeWork; import java.util.Arrays; public class day02 { //实现方法 compareTo public static void main(String[] args) { String s1="hello"; String s2="helo"; System.out.println(s1.compareTo(s2)); System.out.println(MycompareTo(s1,s2)); } public static int MycompareTo(...
/** * Class MyEnglish3 extends Homework3 * * @author C. Thurston * @version 5/7/2014 */ public class MyScience extends Homework { MyScience() { super(); } public void createAssignment(int pages) { setPagesRead(pages); setTypeHomework("Science"); } public String toString() { return getTypeHomew...
package com.java8.features; import java.util.Hashtable; @FunctionalInterface public interface AA { public void add(int a, int b); public default int mul(int a, int b) { return a * b; } public default int go(int a, int b) { return a * b; } public static int statM(int a, int b) { return a * b; } p...
/** **************************************************************************** * Copyright (c) The Spray Project. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
/* * UniTime 3.2 - 3.5 (University Timetabling Application) * Copyright (C) 2008 - 2013, UniTime LLC, and individual contributors * as indicated by the @authors tag. * * 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 * ...
package eu.rethink.globalregistry; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.scheduling.annotation.Scheduled; import eu.rethink.globalregistry.configuration.Config; import eu.rethink.globalregistry...
package com.voksel.electric.pc.component; /** * Created by Edsarp on 7/3/2016. */ public interface MenuTreeItem { String getId(); String getUrl(); String getMenuName(); boolean isProgram(); String getParentId(); }
package com.yinghai.a24divine_user.module.shop.shopcar.submit; import com.example.fansonlib.base.BaseModel; import com.example.fansonlib.http.HttpResponseCallback; import com.example.fansonlib.http.HttpUtils; import com.example.fansonlib.utils.SharePreferenceHelper; import com.yinghai.a24divine_user.bean.NoDataBean; i...
package pl.pkrysztofiak.skeleton2.view.panel.toolbar; import pl.pkrysztofiak.skeleton2.view.panel.PanelPresenter; public class PanelToolbarPresenter { public PanelToolbarPresenter(PanelPresenter panelPresenter) { } }
package com.heartmarket.model.dao; import java.util.List; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; ...
package inheritance.abstractinterface; public abstract class Shape { protected double x,y; public Shape(double x, double y) { this.x = x; this.y = y; } public void drawCenter() { System.out.println("중심좌표(x,y) = " +x +" , " + y); } public abstract void draw(); // 추상클래스 끝에 ; 로 마무리지어줌 public sta...
/** * Copyright CopperMobile * * */ package com.atn.app.utils; import java.text.DecimalFormat; import java.util.ArrayList; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.graph...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package co.th.aten.hospital.dao; import co.th.aten.hospital.model.BreedModel; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import javax.sql.DataSource; import org.apache.commons.loggin...
package venus.filters; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest;...
package rhtn_homework; public class PROG_신규아이디추천 { public static void main(String[] args) { // TODO Auto-generated method stub String new_id = "abcdefghijklmn.p"; System.out.println(solution(new_id)); } public static String solution(String new_id) { StringBuilder answer = new StringBuilder(); ...
package Warenkorb; import java.util.ArrayList; import java.util.Collections; public class Demo { public static void main(String[] args) { CartUsernameComparator test=new CartUsernameComparator(); AnonymeComparator anoyn=new AnonymeComparator(); ArrayList<cart>list=new ArrayList<>(); list....
/* * 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 sigu.view; import aplikasisigu.Home; import java.io.IOException; import java.sql.ResultSet; import java.sql.SQLException; impo...
package searchengine; import java.util.HashMap; import java.util.Map; import java.util.PriorityQueue; import java.util.Queue; import storage.DocumentDA; import storage.LinksDA; public class BidirectionalSearch implements Runnable { int NUM_THREADS = 1; Queue<WeightedPath> frontier = new PriorityQueue<WeightedPath...
package facing; import java.util.HashMap; /** * @author renyujie518 * @version 1.0.0 * @ClassName LFU.java * LRU(Least Recently Used) 最近最少使用算法,它是根据时间维度来选择将要淘汰的元素,即删除掉最长时间没被访问的元素。 * LFU(Least Frequently Used) 最近最不常用算法,它是根据频率维度来选择将要淘汰的元素,即删除访问频率最低的元素。 * 如果两个元素的访问频率相同,则淘汰最久没被访问的元素。 * 也就是说LFU淘汰的时候会选择两个维度,先比较频率,选择访...
/* * Copyright (C) 2013-2014 The CyanogenMod Project * * 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 ...
package Sem1.HomeWork.Sorts; import java.util.Random; /** * Created by skima on 18.11.2016. */ public class StudentsCreator { private static String[] names = new String[]{"Paul", "Max", "Mark", "Angelina", "Izabell", "Adolf", "Iosif", "Gans", "Maria"}; private Random random; public StudentsCreator() {...
import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.text.AbstractDocument; import javax.swing.text.AttributeSet; import javax.swing.text.BadLocationException; import javax.swing.text.DocumentFilter; import java.util.regex.Pattern; /** * Creates a high score dialog, displaying the top ...
package au.com.autogeneral.testAPI; import au.com.autogeneral.testAPI.domain.ToDo; import au.com.autogeneral.testAPI.service.ToDoService; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; i...
/** * Copyright [http://game2d.sinaapp.com] [xtiqin] 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 appl...
package com.company; public class Dog extends Animal{ public boolean isCanine; @Override public void begForPats() { System.out.println("If cat doesn't want them, I'll take them!"); } }
package com.dong1990.demo; public class SmspullReport { }
package com.polsl.edziennik.desktopclient.view.common.panels.preview; import java.util.Calendar; import java.util.Locale; import java.util.ResourceBundle; import javax.swing.BorderFactory; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextArea; im...
package com.example.demo.utility.exceptions.UserExceptions; import com.example.demo.utility.exceptions.TechnoMarketException; public class UserNotFoundException extends TechnoMarketException { public UserNotFoundException() { super("User with this credentials does not exists!"); } }
/* * frmSDEmpty.java * * Created on 27 Ekim 2007 Cumartesi, 17:27 */ package askan; import askan.systems.*; import askan.steelyard.*; import java.awt.event.*; import java.util.*; import javax.swing.*; /** * * @author Kerem */ public class frmSDEmpty extends javax.swing.JFrame { p...
package interviews.amazon.oa1.tree; import common.TreeNode; public class LongestConsecutive { private int max = 0; public int longestConsecutive(TreeNode root) { if(root == null) return 0; helper(root, 0, root.val); return max; } public void helper(TreeNode root, int cur, in...
package com.feng.demo; import com.feng.fundation.init.TaskProducer; import com.feng.fundation.mod.Task; import org.springframework.stereotype.Component; import java.util.ArrayList; import java.util.List; /** * Created by Feng */ @Component public class TestTaskProducer implements TaskProducer { @Override p...
package br.com.acaosistemas.db.model; import java.sql.Date; import br.com.acaosistemas.db.enumeration.StatusPoboxXMLEnum; /** * Entidade representando tabela UBI_POBOX_XML_LOG * <p> * <b>Empresa:</b> Acao Sistemas de Informatica Ltda. * <p> * Alterações: * <p> * 2018.03.15 - ABS - Implementado metodo toString...
/** * */ package com.goodhealth.design.demo.BuilderPattern; /** * @author 24663 * @date 2018年10月21日 * @Description */ public class EnglishBuiler extends Builder { English english=null; /* (non-Javadoc) * @see Builder.Builder#setPerson() */ @Override public void setPerson(String nose, String eyes...
package customViews; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.text.TextPaint; import android.util.AttributeSet; import android.widget.TextView; import learn.kidsapp.learnmath.R; ...
package com.kobotan.android.Vshkole.extendedElements; import android.content.Context; import android.graphics.Point; import android.support.v4.view.ViewPager; import android.util.AttributeSet; import android.view.Display; import android.view.View; import android.view.WindowManager; public class ExtendedViewPager ext...
package com.tencent.mm.plugin.mall.ui; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.os.Build.VERSION; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.view.ViewGroup.LayoutPara...
package hugbo; import java.util.ArrayList; import java.util.Queue; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.naming.PartialResultException; public class Calculator { public static int add(String text) throws Exception { if (text.contains("-")) { lessThanZero(text); } ...
package com.hellofresh.challenge1; import java.io.FileInputStream; import java.io.IOException; import java.util.Properties; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.ie.InternetExplorerDriver; impor...
package com.dmp.beans; public class Traitement { public Traitement() { super(); } public Traitement(int idTraitement, String nomsMedicament, String posologie, String voieAdministration, String conditionAdministration, String observation) { super(); this.idTraitement = idTraitement; this.nom...
package org.rhokk.hh.sealand.http; public class ServerResponse { private final int _responseCode; private ServerResponse ( final int responseCode ) { super(); _responseCode = responseCode; } public static ServerResponse create(int statusCode) { return new ServerRespons...
package dot.empire.counter; /** * Preference flags. Created by siD on 23 Jan 2018. * * @author Matthew Van der Bijl */ public enum Preferences { FLAG, ACTIVE, BG_COLOUR, BUTTON_COLOUR, TEXT_COLOUR; }
package com.mes.old.meta; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final import java.math.BigDecimal; import java.util.Date; import java.util.HashSet; import java.util.Set; /** * JbpmToken generated by hbm2java */ public class JbpmToken implements java.io.Serializable { private BigDecimal id; priv...