text
stringlengths
10
2.72M
package cube; import java.util.ArrayList; import java.util.List; public abstract class Solver { protected Kocka kocka; protected List<Rotacija> rotacije; public abstract List<Rotacija> getResenje(); public Solver(Kocka kocka) { this.kocka = kocka; this.rotacije = new ArrayList<Rotacija>(); ...
package com.penzias.component; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.penzias.entity.SmCodeitem; import com.penzias.entity.SmCodeitemExample; import com.penzias.entity.SmCodeitemKey; import com.penzias.int...
package com.tencent.mm.plugin.setting.ui.setting; import android.content.Intent; import android.support.v7.widget.RecyclerView.t; import android.view.View; import android.widget.CheckBox; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.tencent.mm.kernel.g...
package com.javaforu.util.expression.mvel; import com.javaforu.util.annotation.Nullable; import com.javaforu.util.expression.BinaryOperator; import com.javaforu.util.expression.QuasiOptimizedExpression; import com.javaforu.util.expression.QuasiOptimizedExpression.OptimizedComponent; import com.javaforu.util.expression...
package com.mitelcel.pack.bean.api.request; import android.content.Context; import com.google.gson.Gson; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import com.mitelcel.pack.bean.GenericBean; import com.mitelcel.pack.utils.MiUtils; /** * Created by sudhanshut on 11/...
package demo.openaphid.binding; import java.util.List; import java.util.Map; import org.openaphid.bind.AphidJSFunction; public class BindingTest2 { @AphidJSFunction public int testInt(int i) { return i; } @AphidJSFunction public float testFloat(float f) { return f; } @AphidJSFunction public double ...
package com.tencent.mm.plugin.collect.b; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import com.tencent.mm.aa.c; import com.tencent.mm.platformtools.y; import com.tenc...
/* * 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...
package org.example.auth; import okhttp3.Authenticator; import okhttp3.Request; import okhttp3.Response; import okhttp3.Route; import org.example.controller.RetrofitController; import org.example.model.AuthRequest; import org.example.model.AuthResponse; import org.jetbrains.annotations.NotNull; import org.jetbrains.an...
package day37maps; public class Enumerator { public static void main(String[] args) { // Enumeration, java.util package icinde bir interface'dir // 1)Iterator ile hemen hemen ayni isi yapar // ama Enumeration'de remove() metodu yoktur yani silme yok // 2)Iterator'da hasNext(9, next(), remove()...
package com.company.Entities; /** * Created by semen on 07.10.2015. */ public class Combain extends Device { public Combain(int number, boolean status) { super(number, status); } public String getName(){ return "Combine"; } public void Print(){ System.out.println("Lase...
package me.yamas.tools.data; import java.io.File; import java.io.IOException; import java.util.UUID; import me.yamas.tools.objects.Ban; import me.yamas.tools.objects.User; import me.yamas.tools.objects.utils.BanUtils; import me.yamas.tools.objects.utils.UserUtils; import org.bukkit.Bukkit; import org.bukkit.Location...
package com.aprendoz_test.data; /** * aprendoz_test.PersonalActivo * 01/19/2015 07:58:53 * */ public class PersonalActivo { private PersonalActivoId id; public PersonalActivoId getId() { return id; } public void setId(PersonalActivoId id) { this.id = id; } }
package com.github.w4o.sa.commons; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.Column; import javax.persistence.MappedSuperclass; import java.util.Date; /** * @author frank * @date 2019-05-24 */ @MappedSuperclass @Data @EqualsAndHashCode(callSuper = false) public abstract class B...
package com.example.myapplication; //import C.appcompat.app.AppCompatActivity; import android.annotation.SuppressLint; import android.os.AsyncTask; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.net.Uri; import android.os.Bundle; import...
/** * shopmobile for tpshop * ============================================================================ * 版权所有 2015-2099 深圳搜豹网络科技有限公司,并保留所有权利。 * 网站地址: http://www.tp-shop.cn * —————————————————————————————————————— * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用 . * 不允许对程序代码以任何形式任何目的的再发布。 * ==========================...
package finanza; public class Valuta { private Double val; private String name; private String abbr; private int number; public Valuta(String name, String abbr, Double val, int number){ this.val = val; this.name = name; this.abbr = abbr; this.number = number; } public String getName(){ return thi...
import java.util.Scanner; public class Exercise3 { public static void main(String[] args) { Scanner scn = new Scanner(System.in); System.out.println("Enter three integers. "); System.out.print("\nEnter integer: "); int value1 = scn.nextInt(); System.out.print("Enter integer...
package com.kenai.redminenb.util; import org.openide.util.Cancellable; public class CancelableRunnable implements Runnable, Cancellable { private Thread runningThread; protected boolean canceled = false; @Override public void run() { runningThread = Thread.currentThread(); } @Ov...
public class GradeCalculatorException extends Exception { public GradeCalculatorException(String message) { super(message); } }
class QuickSort{ int[] arr; public void swap(int first, int second){ int tmp = arr[first]; arr[first] = arr[second]; arr[second] = tmp; } public int partition(int low, int high){ int pivot = arr[high]; // set the pivot at last element // int pivot = arr[(int)(h...
/* * 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...
package com.fc.activity.w; import java.util.HashMap; import java.util.Map; import org.json.JSONArray; import org.json.JSONObject; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Handler; import android.os.Mes...
package bot_output; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.text.DecimalFormat; import java.text.NumberFormat; import org.json.JSONArray; import org.json.JSONObj...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * * @author lab7 */ public class teste_perceptron_III { public static void main(String args[]){ perceptron...
package modelBridge; public class Stock implements Comparable< Stock > { public final String symbol; private double price; private double risk; private double slope; private int bundle; private int volume; static final int slopeInterval = 10; // created parameters for stock constructor and made a single pa...
package api.longpoll.bots.http.params; import api.longpoll.bots.exceptions.VkApiException; /** * Attachment to be passed into VK API request parameters. */ public interface AttachableParam { /** * Converts attachment object into proper string value. * * @return attachment string value. * @th...
package com.example.ceo.requests; import android.content.Context; import android.util.Log; import com.android.volley.Request; import com.android.volley.RequestQueue; import com.android.volley.Response; import com.android.volley.VolleyLog; import com.android.volley.toolbox.JsonObjectRequest; import com.android.volley....
package test; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.Test; import logic.OperationAlly; import model.Ally; class AllyTest { @Test void testEffectiveAtack() { Ally ally1= new Ally(100, 50, "Filerea", "Elfo"); assertEquals(true, OperationAlly.effectiveAtack(ally1, 200)); }...
package io.github.cepr0.authservice.service.impl; import io.github.cepr0.authservice.service.OtpGenerator; import java.util.concurrent.ThreadLocalRandom; public class RandomOtpGenerator implements OtpGenerator { @Override public String generate() { return String.valueOf(ThreadLocalRandom.current().ne...
package fiuba.algo3.modelo; import java.util.HashMap; import java.util.Map; public class AlgoProp { private Map<String, Inmobiliaria> inmobiliarias; private Map<IdentificadorPublicacion, Publicacion> publicaciones; private Filtro filtro; private IdentificadorPublicacion nroPublicacion; public AlgoProp(){ ...
package com.healthyfish.healthyfish.ui.activity.interrogation; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.Toolbar; import android.text.Spannable; import android.text.SpannableStringBuilder; import android.text.style.AbsoluteSize...
package com.example.quizapp; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.Button; import android.widget.RadioGroup; import android.widget.RadioGroup.OnCheckedChangeListener; /** * Created by Prosen on 4/5/2016. */ public class FirstQuiz extends AppCompatActivity {...
package com.cngl.bilet.api; import java.util.List; import javax.validation.Valid; import com.cngl.bilet.dto.KisiRequestDto; import com.cngl.bilet.dto.KisiResponseDto; import com.cngl.bilet.service.impl.KisiServiceImpl; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.De...
package ru.iidf.jira.reports.jira.dto.result; import ru.iidf.jira.reports.jira.dto.JiraIssue; import ru.iidf.jira.reports.jira.dto.JiraIssueType; import java.io.Serializable; public class JiraCommentWorklogFields implements Serializable { private static final long serialVersionUID = 3139639206851421069L; p...
package br.iesb.projeto.entitybeans; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.NamedQueries; impo...
package com.quizcore.quizapp.model.repository; import com.quizcore.quizapp.model.entity.Options; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import java.util.UUID; @Repository public interface OptionsRespository extends CrudRepository<Options, UUID> { ...
package jp.co.sakamoto.androidproject.presentation.view.adapter; import android.databinding.DataBindingUtil; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import java.util.ArrayList; import java.util.List; import...
package com.lz.elasticsearch.service; import com.lz.elasticsearch.entity.Person; import com.lz.elasticsearch.repository.jpa.MyJpaRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.transaction.Transactional; /** * @author sy * @date...
package io.nara.monitoring; import lombok.extern.slf4j.Slf4j; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Component; @Slf4j @Component public class HealthCheckControllerImpl implements HealthCheckController { @Override public ResponseEntity<String> ping() { l...
package petsanctuaryamok; public interface EmptyPoopPool { void emptyPoopPool(); }
package cn.com.ykse.santa.service.enums; /** * Created by youyi on 2016/1/24. */ public enum PrjStatusEnum { NEW("新建"), DEVELOPING("开发中"), PUBLISHED("已发布"), CLOSED("已关闭"); private String description; PrjStatusEnum(String description) { this.description = description; } publ...
package FileManagement; import java.io.EOFException; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.Scanner; import Data.Order; public class TestProjectBinariFile ...
package com.youthchina.service.community; import com.youthchina.dao.jinhao.AttentionMapper; import com.youthchina.domain.jinhao.Attention; import com.youthchina.domain.jinhao.property.Attentionable; import com.youthchina.exception.zhongyang.exception.NotFoundException; import org.springframework.stereotype.Service; im...
package com.yixin.dsc.v1.service.impl.common; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; import com.alibaba.fastjson.JSONObject; import com.yixin.dsc.dto.DscComputerParamDto; import com.yixin.dsc.dto.DscComputerResultDto; import com.yixin.dsc.v1.service.com...
package com.catnap.core.model; import static org.junit.Assert.*; import org.junit.Test; import java.util.LinkedHashMap; import java.util.LinkedList; /** * Created with IntelliJ IDEA. * * @author gwhit7 */ public class DefaultMapBackedModelTest { @Test public void addSingleValueToModel() ...
package com.fancy.ownparking.utils; import android.support.annotation.IdRes; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; public class FragmentUtils { public static void changeFragment(FragmentManager manager, F...
import com.czx.framework.container.ClassContainer; /** * @author Morgan * @date 2020/12/9 17:36 */ public class RickTest { public static void main(String[] args) { ClassContainer.load("F:\\workspacing\\clues_analysis_platform\\service\\civil\\target\\lucky-application-jar-with-dependencies.jar"); } }
package workshop1.controller; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import workshop1.dao.AccountDao; import workshop1.domain.Account; import workshop1.domain.AccountType; import workshop1.domain.Customer; import workshop1.view.AccountView; public class AccountController { ...
package com.renren.api.connect.android.demo.activity; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import android.widget.ScrollView; import com.renren.api.connect.android....
package svc; import java.sql.Connection; import static db.JdbcUtil.*; import dao.MemberDAO; import vo.MemberBean; public class MemberOverLapService { public boolean overlap(MemberBean member) { Connection conn = getConnection(); MemberDAO memberDAO = MemberDAO.getInstance(); memberDAO.setConnectio...
package Exercise8; import java.util.Scanner; public class DemoList { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("How many person : "); int bilangan = sc.nextInt();// to key in into the variable for the amount of person PersonArray person ...
package config; import java.sql.*; public class Acceso { Database db= new Database(); String sql=""; PreparedStatement pst; ResultSet rs; public boolean Validar(String username, String password ) throws ClassNotFoundException { boolean status = false; Class.forName(db.getDriver()); try (Connection con...
package com.sneaker.mall.api.dao.admin; import com.sneaker.mall.api.model.Addressee; import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Update; import java.util.List; /** * Licensed to the Apache ...
package com.dozer; /** * Created by Administrator on 2016/8/11. */ public class B { private A1 a1; private A2 a2; public A2 getA2() { return a2; } public void setA2(A2 a2) { this.a2 = a2; } public A1 getA1() { return a1; } public vo...
package com.gmail.tyi; public enum Answer { YES1, NO; }
package com.nãosei.entities; import java.awt.image.BufferedImage; public class Slingshot extends Entity{ public Slingshot(int x, int y, int width, int heigth, BufferedImage sprite) { super(x, y, width, heigth, sprite); } }
package so.ego.space.domains.message.application.dto; import lombok.*; import java.time.LocalDateTime; @Getter @Builder @AllArgsConstructor @NoArgsConstructor(access = AccessLevel.PROTECTED) public class MessageAddResponse { private String content; private Long send_member; private Long read_member; ...
package com.pangpang6.books.offer.chapter5; /** * Description: 数组中出现次数超过一半的数字 **/ public class P205_MoreThanHalfNumber { //转化为topK问题(此处求第k小的值),使用快排的分区函数解决,求第targetIndex+1小的数字(下标为targetIndex) //书中说这种方法的时间复杂度为o(n),但没懂为什么。网上也有人说为o(nlogk) public static int moreThanHalfNum1(int[] data) { if (data == n...
package pl.dostrzegaj.soft.flicloader; import java.util.Objects; class PhotoFolder { private final String id; private final String relativePath; public PhotoFolder(String id, RelativePath path) { this.id = id; this.relativePath = path.getPath(); } public String getId() { ...
package welcome; import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class OddDivisor { public static void main(String[] args) throws Exception { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); long upper,lower,count,div,t; t=Lon...
package com.teaman.data.authorization; /** * <h1> [Insert class name here] </h1> * <p> * [Insert class description here] * </p> * <p> * [Insert additional information here (links, code snippets, etc.)] * </p> * * @author Aaron Weaver * Team Andronerds * waaronl@okstate.edu * @version 1.0 *...
import java.io.*; import java.util.*; /** * 148. Sort List */ class Solution { // 单链表快排 private void partition(ListNode head, ListNode tail) { if (head == tail) return; ListNode pivot = quickSort(head, tail); partition(head, pivot); partition(pivot.next, tail); ...
package com.myblog.version3.service; import com.myblog.version3.entity.Category; import java.sql.SQLIntegrityConstraintViolationException; import java.util.List; public interface categoryService { Category getByID(String ID); List<Category> getByUid(String Uid); boolean add(Category category) throws S...
package OrangeHRM; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; public class MystepDef extends Utils { HomePage homePage = new HomePage(); DashBoard dashBoard = new DashBoard(); @Given("^User is on homepage$") public void user_is_on_ho...
package com.example.android.mvp.main.home.mvp; import com.example.android.mvp.core.base.BaseScreen; import com.example.data.model.Product; public interface IHomeView extends BaseScreen { void sendVerificationCode(String no); void setUserInfo(Product product); void showToastMessage(); }
package com.example.asiagibson.currency.rv; import android.support.v7.widget.RecyclerView; import android.view.ViewGroup; /** * Created by asiagibson on 1/27/17. */ public class CurrencyAdapter extends RecyclerView.Adapter<CurrencyViewHolder> { @Override public CurrencyViewHolder onCreateViewHolder(ViewGr...
package gcodeviewer.toolpath.events; import gcodeviewer.toolpath.GCodeEvent; public class SetFeedrate implements GCodeEvent { public final double feedrate; public SetFeedrate(double feedrate) { this.feedrate = feedrate; } }
package genscript.types; import genscript.parse.SearchGraph; import scriptinterface.ScriptType; import scriptinterface.TypeCast; public class TypeCaster { private SearchGraph casts; public TypeCaster() { casts = new SearchGraph(); casts.setName("Casts"); } public Type...
package com.originspark.drp.models; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.Table; import com.fasterxml.jackson.annotation.JsonIgnore; import com.originspark.drp.util.Blowfish; import com.originspark.drp.util.enums.Gender; impor...
package exam_module5.demo.service; import exam_module5.demo.model.End; import exam_module5.demo.repository.EndRepo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class EndServiceImp implements EndService { @Auto...
package com.kunsoftware.controller.manager; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annot...
package com.tencent.mm.plugin.masssend.ui; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.ui.base.MMPullDownView$g; class MassSendHistoryUI$5 implements MMPullDownView$g { final /* synthetic */ MassSendHistoryUI lbg; MassSendHistoryUI$5(MassSendHistoryUI massSendHistoryUI) { this.lb...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package disasm; /** * * @author Nathan */ public class LoadConstant extends Instruction { Object constant; public LoadConstant(int offset, Object constant) { super(offset); this.constant = c...
package com.ibeiliao.pay.impl.thirdpay.wxpay; import com.ibeiliao.pay.BaseTest; import com.ibeiliao.pay.api.enums.BillTypeEnum; import com.ibeiliao.pay.common.utils.DateUtil; import com.ibeiliao.pay.impl.thirdpay.wxpay.response.WxpayStatementResponse; import org.junit.Test; import java.util.List; /** * Created by A...
package polytechnice.tobeortohave.fidelite; import android.graphics.Typeface; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import android.support.v4.content.ContextCompat; import android.support.v4.widget.Space; import android.view.LayoutInflater;...
package game.commands; import java.io.Serializable; /** * Die Klasse TimeLapseItem wird benötigt, da im Time Lapse Stack gespeichert werden muss, ob die execute oder die undo Methode eines Commands aufgerufen wurde. * * @author Nikolaj */ public class TimeLapseItem implements Serializable { private ...
package pas.client; import java.util.List; import java.util.Scanner; import pas.dao.PlayerDaoImpl; import pas.dto.PlayerDto; import pas.entity.Player; import pas.entity.Team; import pas.exceptions.DuplicateEntryException; import pas.exceptions.InvalidCategoryException; import pas.exceptions.InvalidTeamNameException; ...
package app.config; //@Configuration //@EnableWebSecurity //public class CustomWebSecurityConfigurerAdapter extends WebSecurityConfigurerAdapter { // // @Autowired // public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { // auth.inMemoryAuthentication() // .withU...
package com.bonc.upms.service.impl; import com.bonc.upms.entity.SysUser; import com.bonc.upms.mapper.SysUserMapper; import com.bonc.upms.service.ISysUserService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** * @Title: vms * @Package: com.bonc....
package com.mycompany.app; import junit.framework.TestCase; import java.util.Arrays; import java.util.ArrayList; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertFalse; import org.junit.Test; /** * Unit test for simple App. */ public class AppTest { /** * Rigorous Test :-) ...
package com.argentinatecno.checkmanager.lib.di; import android.app.Activity; import android.support.v4.app.Fragment; import android.widget.ImageView; import com.argentinatecno.checkmanager.lib.base.ImageLoader; import com.bumptech.glide.Glide; import com.bumptech.glide.RequestManager; import com.bumptech.glide.load.e...
package com.example.yuxibing.mykotlindemo.javacode.view; import android.content.Context; import android.util.AttributeSet; import android.util.DisplayMetrics; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; impo...
/** * Handles the server's requests. Since the domain and port remain the same to * access different server resources the path of the URL must be changed. E.g to * perform a SELECT statement then "/database/select" is required. "/database" * then lets Jersey (the rest API) know that whatever requests follow will be...
/* * 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 maria */ public class C_MeioContato { private int idMeioContato, idContato; p...
/* * Copyright 2016 Netflix, 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 or agreed to...
package day14_methods_Part2; public class calculate { public static void main(String[] args) { calculateGrade(9, 80, 70); } public static void calculateGrade(int x, int y, int z) { double sum=(x+y+z)/3; if(sum>=90 && sum<=100) { System.out.println("grade is A"); }else if(sum>=...
class Solution { // 可避免处理奇偶回文串区别 public static String preProcess(String s) { String r = "^"; for (int i = 0; i < s.length(); i++) { r += "#" + s.charAt(i); } r += "#$"; return r; } public static String longestPalindrome(String s) { String t = ...
/** * @author Adham Elarabawy */ package org.team3128.compbot.subsystems; import com.ctre.phoenix.Logger; import org.team3128.common.utility.Log; import org.team3128.common.generics.Threaded; import org.team3128.common.utility.RobotMath; import org.team3128.common.utility.math.InterpolablePair; import org.team3128...
package ru.usu.cs.fun.front; public class FloatNumber extends AutomatonRecognizer { public FloatNumber() { super("float"); transition(INITIAL_STATE, "sign", "sign"); transition("sign", "digits", "number"); transition("number", "digits", "number"); transition(INITIAL_STATE, "digits", "number"); transitio...
public class MoneyFormat { }
package com.cloudbees.jenkins.support.impl; import com.cloudbees.jenkins.support.api.Component; import com.cloudbees.jenkins.support.api.Container; import com.cloudbees.jenkins.support.api.Content; import com.cloudbees.jenkins.support.api.StringContent; import edu.umd.cs.findbugs.annotations.NonNull; import hudson.Ext...
package com.gzeinnumer.mymodulardagger2example; import android.app.Application; import com.gzeinnumer.core.di.module.CoreModule; import com.gzeinnumer.module_1.di.DaggerModule_1_Component; import com.gzeinnumer.module_1.di.Module_1_Component; import com.gzeinnumer.module_1.di.provider.Module_1_ComponentProvider; impo...
package com.selfdev.ftpApp.client; import org.apache.commons.net.ftp.FTPClient; public class MainApplication { int main(){ FTPClient client = new FTPClient(); return 0; } }
package asbeforebs; // you can write to stdout for debugging purposes, e.g. // System.out.println("this is a debug message"); // "aaabb" should return true // "ba" returns false // "aaa" returns true // "b" returns true class Solution { public boolean solution(String S) { // write your code in Java SE 8 ...
package D:\GIT_Repositorios\REP_RESUMENPIT\Proyecto_Resumen_Pit\WebContent\js\ww; import org.eclipse.vjet.dsf.javatojs.anno.AJsProxy; import org.eclipse.vjet.dsf.dap.proxy.NativeJsProxy; import org.mozilla.mod.javascript.Scriptable; import org.eclipse.vjet.dsf.javatojs.anno.AExclude; import org.eclipse.vjet.dsf....
/** * 定义抽象的抽象建造者 */ public abstract class Builder { //创建产品对象 protected Product product=new Product(); public abstract void buildPartA(); public abstract void buildPartB(); public abstract void buildPartC(); //返回产品对象 public Product getResult() { return product; ...
package com.training.day17.collections; public interface SecondInterface extends FirstInterface { void m2(); }
package net.itattractor.controller; import net.itattractor.CommentSender; import net.itattractor.Config; import net.itattractor.LogWriter; import net.itattractor.Ticket; import net.itattractor.forms.record.RecordForm; import net.itattractor.forms.record.RecordFormActionListener; import net.itattractor.manager.WindowMa...
package com.facebook.react.modules.datepicker; public enum DatePickerMode { CALENDAR, DEFAULT, SPINNER; static { DEFAULT = new DatePickerMode("DEFAULT", 2); $VALUES = new DatePickerMode[] { CALENDAR, SPINNER, DEFAULT }; } } /* Location: C:\Users\august\Desktop\tik\df_rn_kit\...