text
stringlengths
10
2.72M
package com.tencent.mm.plugin.card.d; import android.graphics.Bitmap; import android.graphics.PorterDuff.Mode; import com.tencent.mm.plugin.card.d.m.1; class m$1$1 implements Runnable { final /* synthetic */ Bitmap hIM; final /* synthetic */ 1 hIN; m$1$1(1 1, Bitmap bitmap) { this.hIN = 1; ...
/*Copy List with Random Pointer question: http://www.lintcode.com/en/problem/copy-list-with-random-pointer/ A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list. */ package FastSlowPointers; import java.uti...
package collection.visualizer.examples.linear; import java.util.Collection; import collection.visualizer.layout.nodes.LinearElement; import collection.visualizer.trappers.*; import util.models.VectorMethodsListener; import bus.uigen.shapes.LabelShape; import bus.uigen.shapes.Shape; import bus.uigen.shapes.SimpleShap...
package com.bright.springcloud.service.impl; import com.bright.springcloud.service.IMessageProvider; import org.springframework.cloud.stream.annotation.EnableBinding; import org.springframework.cloud.stream.messaging.Source; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.supp...
package jaja; import com.fasterxml.jackson.annotation.JsonProperty; public class Valor { @JsonProperty("id") private int id; @JsonProperty("quote") private String cita; public Valor() { } public Valor(int id, String cita) { this.id = id; this.cita = cita; } /** ...
package com.timmy.highUI.path; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import com.timmy.R; import com.timmy.base.BaseActivity; /** * Path็š„ไฝฟ็”จ */ public class PathUseActicity extends BaseActivity { private PathLoad...
package com.deltastuido.store; import java.math.BigDecimal; import java.sql.Timestamp; import java.time.Instant; import java.util.ArrayList; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Convert; import javax.persistence.Entity; import javax.per...
package hirondelle.web4j.model; /** Thrown when a Model Object (MO) cannot be constructed because of invalid constructor arguments. <P>Arguments to a MO constructor have two sources: the end user and the the database. In both cases, errors in the values of these arguments are outside the immediate con...
import java.util.HashSet; import java.util.Iterator; import java.util.Set; public class Node { private String name; private Set<Node> connected = new HashSet<Node>(); public Node(String name) { this.name = name; } public void connect(Node node) { this.connected.add(node); } ...
package com.tencent.mm.plugin.appbrand.app; import com.tencent.mm.bt.h.d; import com.tencent.mm.plugin.appbrand.widget.h; class e$34 implements d { final /* synthetic */ e ffn; e$34(e eVar) { this.ffn = eVar; } public final String[] xb() { return h.dzV; } }
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the te...
package bean.item.name; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import javax.servlet.htt...
package recursionAndBacktracking; import java.util.*; public class PrintPatternRec { public static void main(String[] args) { // printPatternMy(16, 5); printPattern(16, 16, true, 5); } // this is my solution static ArrayList<Integer> arr = new ArrayList<>(); static void printPatternMy(int n, int k...
package com.am.pertaminapps.Model; /** * Created by Laurensius D.S on 3/25/2018. */ public class DealerProduct { public int icon; public String id; public String nama_product; public String harga; public DealerProduct(int icon, String id, String nama_product, String harga){ this.icon = ...
package com.jt.common.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisSentinelPool; @Service public class RedisService { //ๆณจๅ…ฅๅˆ†็‰‡็š„ๆฑ ๅฏน่ฑก //required=falseไฝฟ็”จๆ—ถๆ‰ๆณจๅ…ฅๅฏน่ฑก //(ๅ› ไธบๅฎƒ...
/** * @copyright * ==================================================================== * Copyright (c) 2007 CollabNet. All rights reserved. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at http://su...
package com.ias.webide.jetty; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Enumeration; import java.util.Properties; import java.util.Stack; /** * Used to read properties files and to reuse properties * * @author jchardis * */ public class ConfigPropertiesUt...
package leetcode; /** * @Author: Mr.M * @Date: 2019-03-02 13:37 * @Description: https://leetcode-cn.com/problems/number-of-islands/ **/ public class T200ๅฒ›ๅฑฟ็š„ไธชๆ•ฐ { public int numIslands(char[][] grid) { int num = 0; for (int i = 0; i < grid.length; i++) { for (int j = 0; j < grid[0].length; j++) { if (gri...
package UsingObjectsParameters; //Returning an object. class ReturnObject { int a; ReturnObject(int i) { a = i; } ReturnObject incrByTen() { ReturnObject temp = new ReturnObject(a+10); return temp; } }
import java.text.DecimalFormat; public class Dog implements Comparable { //Initializing Variables private String name; private int age; private String breed; private double weight; private static int count; //Constructors public Dog(String name, int age, String breed, double weight) ...
package cz.root.rohlik.entity; import javax.persistence.*; import java.time.ZonedDateTime; @Entity(name="ORDER_ITEM_TABLE") public class OrderItem { @Id @GeneratedValue(strategy= GenerationType.AUTO) private Long id; @ManyToOne @JoinColumn(name = "orderId") private Order orderId; private...
import java.util.Arrays; /** * 268. Missing Number * Easy */ public class Solution { public int missingNumber(int[] nums) { int n = nums.length + 1; int sum = Arrays.stream(nums).sum(); int nsum = n * (n - 1) / 2; return nsum - sum; } }
package offer; /** * @author kangkang lou */ /** * ่ฏทๅฎž็Žฐไธ€ไธชๅ‡ฝๆ•ฐ็”จๆฅๅˆคๆ–ญๅญ—็ฌฆไธฒๆ˜ฏๅฆ่กจ็คบๆ•ฐๅ€ผ๏ผˆๅŒ…ๆ‹ฌๆ•ดๆ•ฐๅ’Œๅฐๆ•ฐ๏ผ‰ใ€‚ไพ‹ๅฆ‚๏ผŒๅญ—็ฌฆไธฒ"+100","5e2","-123","3.1416"ๅ’Œ"-1E-16"้ƒฝ่กจ็คบๆ•ฐๅ€ผใ€‚ ไฝ†ๆ˜ฏ"12e","1a3.14","1.2.3","+-5"ๅ’Œ"12e+4.3"้ƒฝไธๆ˜ฏใ€‚ */ public class IsNumber { public static boolean isNumeric(char[] str) { String s = new String(str); boolean result ...
package com.tencent.mm.pluginsdk.ui.d; import android.content.Context; import android.content.Intent; import com.tencent.mm.plugin.report.service.h; import com.tencent.mm.pluginsdk.ui.d.l.7; import com.tencent.mm.ui.base.h.c; class l$7$1 implements c { final /* synthetic */ String hGV; final /* synthetic */ 7...
package com.home.closematch.controller; import com.home.closematch.entity.Account; import com.home.closematch.entity.Humanresoucres; import com.home.closematch.entity.Position; import com.home.closematch.entity.SeekerDeliver; import com.home.closematch.entity.vo.CheckDeliverVo; import com.home.closematch.pojo.Msg; imp...
package com.smartcity.commonbase.widget.pagestatus; import android.content.Context; import android.support.design.widget.AppBarLayout; import android.support.design.widget.CoordinatorLayout; import android.util.Log; import android.view.View; import android.view.ViewParent; /** * Author: YuJunKui * Time:2017/12/9 9:...
package com.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import com.dbconnection.ConnectToOracle; import com.model.Employee; public class EmployeeDAO { private Connection connection; private PreparedStatement ps; priva...
package com.bluesky.admin.common.consts; /** * @author Lijinchun * @Package com.wywk.member.expiredclean.common.consts.RedisConstant * @date 2019/7/22 16:40 */ public final class RedisConstant { private RedisConstant(){} /** * ๅฎšๆ—ถไปปๅŠก็›ธๅ…ณ */ public static final class Task extends Base{ /**...
package com.thoughtworks.domain.cart.usecases; import com.thoughtworks.domain.UseCaseDataReceiver; import com.thoughtworks.domain.UseCaseError; import com.thoughtworks.domain.cart.CartRepository; /** * Created on 15-06-2018. */ public class AddToCartUseCase implements AddToCart { private final CartRepository m...
package com.beiyelin.projectportal.entity; import com.beiyelin.commonsql.jpa.BaseItemEntity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import...
/* * 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 Rules; import Properties.data.rules.ConfigProperties; import WriteToFiles.OutputToFile; import WrongDataRegister.WrongData; im...
package com.tencent.mm.plugin.mmsight; import com.tencent.mm.g.a.qa; import com.tencent.mm.sdk.b.b; import com.tencent.mm.sdk.b.c; class e$1 extends c<qa> { final /* synthetic */ e lez; e$1(e eVar) { this.lez = eVar; this.sFo = qa.class.getName().hashCode(); } public final /* synthet...
package b.c.b; import b.e.a; import b.e.d; public abstract class g extends a implements d { public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof g)) { return obj instanceof d ? obj.equals(cJI()) : false; } else { ...
package com.Flonx6; /** * @Auther:Flonx * @Date:2021/1/9 - 01 - 09 - 21:11 * @Description: com.Flonx6 * @Version: 1.0 */ public class Girl { private int age = 0; private int sno; private String name; private double height; // public int getAge() { return age; } public int ge...
/* * SUNSHINE TEAHOUSE PRIVATE LIMITED CONFIDENTIAL * __________________ * * [2015] - [2017] Sunshine Teahouse Private Limited * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Sunshine Teahouse Private Limited and its suppliers, * if any. The inte...
/* Directions: * Hereโ€™s an interesting way to remove duplicates from an array. The insertion * sort uses a loop-within-a-loop algorithm that compares every item in the * array with every other item. If you want to remove duplicates, this is one * way to start. (See also Exercise 2.6 in Chapter 2.) Modify the *...
package keyword.ex1; import java.io.IOException; import java.util.List; import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; import util.Commons; public class TestLogin { KeyWordUtil keywordUtil; KeyDrivenExcelUtils utils ; private String excelFi...
package jie.android.ip.setup; import java.io.File; import java.sql.Connection; import jie.android.ip.CommonConsts.SystemConfig; import jie.android.ip.database.ConnectionAdapter; import jie.android.ip.database.DesktopConnectionAdapter; public class DesktopSetup extends Setup { // private final ConnectionAdapter conn...
import java.util.Map; import java.util.Scanner; import java.util.TreeMap; public class MostFrequentWord { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String[] textArray = scanner.nextLine().split("\\W+"); Map<String, Integer> wordCount = new TreeMap<>...
package org.gokareless.examples.aspects.aspect; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.After; import org.aspectj.lang.annotation.Aspect; import org.gokareless.examples.aspects.ApplicationConfiguration; import org.springframework.beans.factory.annotation.Autowired; import org.springframew...
package io; import org.junit.Assert; import org.junit.Test; import java.lang.reflect.Field; import java.lang.reflect.Method; /** * @author zhoubo * @create 2018-07-23 11:41 */ public class SerializableTestTest { @Test public void deserialize() throws Exception { SerializableTest serializableTest =...
package tech.adrianohrl.stile.control.bean.personnel; import tech.adrianohrl.stile.control.bean.DataSource; import tech.adrianohrl.stile.control.bean.personnel.services.ManagerService; import tech.adrianohrl.stile.control.bean.personnel.services.SubordinateService; import tech.adrianohrl.stile.control.bean.personnel.s...
package UI.Chart; import javax.swing.JTable; import javax.swing.table.DefaultTableModel; public class DataTable extends JTable{ public DataTable(String[] columnNames) { super(new DefaultTableModel(null, columnNames)); } }
package com.tuanhk.home.contacts; import com.tuanhk.data.cache.UserConfig; import com.tuanhk.ui.presenter.AbstractPresenter; import javax.inject.Inject; public class ContactsPresenter extends AbstractPresenter<IContactsView> { private UserConfig mUserConfig; @Inject ContactsPresenter(UserConfig userCon...
package com.example.myoga; import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.webkit.WebView; import android.widget.TextView; import android.widget.Toast; import androidx.annotation.NonNull; import an...
package com.shivam.healthometer.Models; public class mealModel { String mealNo, meal, macro; public mealModel() { } public mealModel(String mealNo, String meal, String macro) { this.mealNo = mealNo; this.meal = meal; this.macro = macro; } public String getMealNo() {...
package com.thoughtworks.data.cart.mapper; import com.thoughtworks.data.Mapper; import com.thoughtworks.data.cart.entity.CartItemEntity; import com.thoughtworks.domain.cart.CartItem; import java.util.ArrayList; import java.util.List; /** * Created on 16-06-2018. */ class CartItemEntityListMapper implements Mapper<...
package pl.edu.agh.game.settings; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.audio.Music; import pl.edu.agh.game.logic.effects.Effect; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.Vector; /** * Created by Admin on 2015-05-10. */ public class GameSettings { p...
package com.simple.base.components.nio.framework; import io.netty.channel.Channel; public class Request { private String sessionId; //private String path; //private int commandId; protected String command; protected Object input; private Channel ch; public Object getRequest(Class<?> cls){ return this.i...
/** (Statistics: compute mean and standard deviation) In business applications, you are often asked to compute the mean and * standard deviation of data. The mean is simply the average of the numbers. * The standard deviation is a statistic that tells you how tightly all the various data are clustered * around t...
package com.jayqqaa12.mobilesafe.engine.antivirus; import com.jayqqaa12.abase.core.AbaseEngine; public class AntivirusEngine extends AbaseEngine { }
package com.mysql.cj.protocol.x; import com.google.protobuf.GeneratedMessageV3; import com.google.protobuf.Message; import com.mysql.cj.CharsetMapping; import com.mysql.cj.Constants; import com.mysql.cj.Messages; import com.mysql.cj.Session; import com.mysql.cj.TransactionEventHandler; import com.mysql.cj.conf.HostInf...
/** * */ package net.miguel; /** * @author Mikel * */ public class SoldatEspecial extends Soldat { /** * numero deu. */ private final int cinc = 5; /** * constructor. * @param im imatge d'aquest soldat. */ public SoldatEspecial(final String im) { super(im); ...
/* * 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 caja; /** * * @author Usuario */ public class Caja { private int pesoMaximo; private int nPieza5=0; ...
/* * 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 es.usc.grei.aos.ejercicio2.ws; import es.usc.grei.aos.ejercicio2.dao.CdDAO; import es.usc.grei.aos.ejercicio2.dao.ClienteDAO; ...
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.model.WordIndex...
package com.example.photorecognition.uploadphoto.ui.dashboard; public class message { private String title; private String time; public message(String title,String time){ this.title=title; this.time=time; } public String getTitle(){ return title; } public String ...
package com.scs.awt; public class PointF { public float x, y; public PointF() { this(0, 0); } public PointF(float x, float y) { this.x = x; this.y = y; } public float length() { return (float)Math.sqrt(x * x + y * y); } public void normalizeLocal() { float len = length(); if (len != 0) { ...
package com.revolut.service; import com.revolut.web.dto.AccountDTO; import com.revolut.web.dto.TransactionResultDTO; import javax.validation.constraints.NotNull; import java.math.BigDecimal; public interface AccountService { /** * Create new account * @param account * @return created Account ...
module Fourth { }
package datastructure; import org.junit.Test; import static org.junit.Assert.*; /** * Created by zhoubo on 2017/5/16. */ public class MatrixTest { @Test public void multiply() throws Exception { int[][] a = new int[][] {{1, 1, 1}, {2, 2, 2,}, {3, 3, 3}, {4, 4, 4}}; int[][] b = new int[][] {...
package com.handsome.qhb.bean; import java.io.Serializable; /** * Created by zhang on 2016/3/3. */ public class Product implements Serializable { private int pid; private String pname; private float price; private String introduce; private int sortId; private String picture; private Stri...
package com.tencent.d.b.f; import android.content.Context; import com.tencent.d.b.c.a; import com.tencent.d.b.c.b; public class b$a { public b vml = new b((byte) 0); public final b$a Hq(int i) { this.vml.fdx = i; return this; } public final b$a acG(String str) { this.vml.pIu ...
package com.vacay.vacayandroid; public class Constants { public static final String EVENT_NAME = "EVENT_NAME"; public static final String EVENT_PRICE = "EVENT_PRICE"; public static final String EVENT_DESCRIPTION = "EVENT_DESCRIPTION"; public static final String EVENT_CITY = "EVENT_CITY"; public sta...
package tools.controller; import java.util.List; import java.util.ArrayList; import tools.model.Kahoot; import tools.view.PopupDisplay; public class Controller { private List<Kahoot> myKahoots; private PopupDisplay popup; public Controller() { myKahoots = new ArrayList<Kahoot>(); popup = new PopupDisplay(); } ...
package salah.zakatApp; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JPanel; import salah.zakatApp.numeroraire.MoneyZakatPanel; public class Main { public static void main(String[] args) { JFrame frame = new JFrame(); frame.setTitle("Test version"); frame.setSize(900,600); /...
package co.nos.noswallet.base; import io.reactivex.disposables.CompositeDisposable; import io.reactivex.disposables.Disposable; import io.reactivex.disposables.SerialDisposable; abstract public class BasePresenter<View extends BaseView> { private CompositeDisposable compositeDisposable = new CompositeDisposable...
package fr.lteconsulting.training.moviedb.servlet; import fr.lteconsulting.training.moviedb.ejb.GestionFabricants; import fr.lteconsulting.training.moviedb.model.Fabricant; import fr.lteconsulting.training.moviedb.outil.Session; import fr.lteconsulting.training.moviedb.outil.Vues; import javax.ejb.EJB; import javax.s...
package pl.rogalik.client.controller.game; import pl.rogalik.client.MainContext; import javafx.fxml.FXML; import javafx.scene.control.*; import javafx.scene.input.KeyCode; import javafx.stage.Stage; public class GameOverController { @FXML private Label message; @FXML private Button menu; @FXML ...
package com.example.crypsis.customkeyboard; import android.annotation.TargetApi; import android.app.ActivityManager; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.inputmethodservice.InputMethodService; import and...
package com.liyu.server; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; /** * @author liyu * @date 2019/9/5 15:24 * @description ๆœๅŠกๆณจๅ†ŒๅฏๅŠจ็ฑป */ @SpringBootApplication @En...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the te...
/* * Copyright 2012 Google 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 in w...
package a4adept; public class MutableFrame2D implements Frame2D { static final Pixel DEFAULT_INIT_PIXEL = new ColorPixel(0.0, 0.0, 0.0); private Pixel[][] pixels; public MutableFrame2D(int width, int height) { if ((width <= 0) || (height <= 0)) { throw new IllegalFrame2DGeometryException(); } pixels = n...
package com.jiuzhe.app.hotel.constants; public class CommonConstant { public static final int SUCCESS = 0; public static final int FAIL = -1; public static final int ID_EMPTY = 100000; public static final int OUT_DATA_EMPTY = 100001; public static final int IN_DATA_ERR = 100002; public static f...
package framework.factories; import framework.dto.TransactionDTO; import framework.entities.Transaction; public interface ITransactionFactory extends IFactory<TransactionDTO, Transaction> { @Override public Transaction create(TransactionDTO dto); }
package com.refunited.security; import java.security.MessageDigest; public class EncryptionManager { private static final String ALGORITHM = "SHA-256"; private static final char ZERO = '0'; /** * Method that generates a hash based on a String value * @param password the string to be hashed. * */ public stat...
package com.gsrikar.roomconnectiontest.room; import android.arch.persistence.room.Dao; import android.arch.persistence.room.Insert; import java.util.List; @Dao public interface PersonDao { @Insert() void insert(List<PersonEntity> personEntity); }
package org.ms.iknow.service.type; public class StatementEntry { String parentName; String relationId; String childName; public String getParentName() { return this.parentName; } public void setParentName(String parentName) { this.parentName = parentName; } public St...
package com.example.jinliyu.shoppingapp_1.data; /** * Created by jinliyu on 4/14/18. */ public class Category { String name; String image; String cid; String description; public Category(String name, String image, String cid, String description) { this.name = name; this.image = ima...
/******************************************************************************* * Copyright (c) 2016 Chen Chao(cnfree2000@hotmail.com). * 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 distributio...
package com.supconit.kqfx.web.util; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; public final class CollectionUtils { private CollectionUtils() { } public static <T> Collection<T> diff(Collection<T> c1, Collection<T> c2) { if (c1 == null || c1.s...
package com.holmes.leecode; /** * ไธคๆ•ฐ็›ธๅŠ  * https://leetcode-cn.com/problems/add-two-numbers/ * * @author Administrator */ public class AddTwoNumbers { public static void main(String[] args) { new AddTwoNumbers(); } public AddTwoNumbers() { ListNode node1 = new ListNode(1); Li...
package com.rishi.baldawa.iq; import org.junit.Test; import static com.rishi.baldawa.iq.model.ListNodeDataFactory.l; import static org.junit.Assert.assertEquals; public class LinkedListIsPalindromeTest { @Test public void isPalindrome() throws Exception { assertEquals(new LinkedListIsPalindrome().isP...
package se.slashat.slashat.adapter; import java.io.Serializable; import se.slashat.slashat.R; import se.slashat.slashat.model.Personal; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager.NameNotFoundException; import android.net.Uri; import android.view.View; impor...
package com.roadtube.fragment.tab; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.Lay...
package model; public class Guerrilheiro extends Inimigo { public Guerrilheiro() { super(); this.setEstrategia(8); this.setForca(8); this.setInteligencia(5); } }
package ua.lviv.iot.uklon.domain; import javax.persistence.*; import java.util.Objects; @Entity @Table(name = "order_state") public class OrderState { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "id") private Integer id; @Column(name = "state") private String stat...
package com.cjava.spring.util; /** * Clase utilitaria para la aplicacion. * @author Jean Ramal Alvarez * @since 31 August 2012 * @version 1.0 * */ import java.text.MessageFormat; import java.util.ResourceBundle; import javax.faces.context.FacesContext; import javax.servlet.http.HttpServletRequest...
package tim.prune.function.srtm; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; /** * Class to get the URLs of the SRTM tiles * using the srtmtiles.dat file */ public abstract class TileFinder { /** URL prefix for all tiles */ private static f...
package com.vilio.plms.service.base; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.vilio.plms.dao.LoginInfoDao; import com.vilio.plms.dao.MessageReceiveDao; import com.vilio.plms.dao.MessageSendDao; import com.vilio.plms.glob.Fields; import com.vilio.plms.glob.ReturnCode; i...
package ru.kappers.convert; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.junit.MockitoJUnitRunner; import ru.kappers.model.dto.leon.MarketLeonDTO; import ru.kappers.model.leonmodels.MarketLeon; import java.util.Arrays; import java.util.List; import stati...
/** * * @author juansedo, LizOriana1409 */ class Algoritmos { /** * PUNTO 1.1 * Devuelve la subsecuencia comรบn mรกs larga entre dos strings dados. * a - Primer string * b - Segundo string */ public static String lcsdyn(String a, String b) { lcsdyn(a,b,""); } public static String lcsdyn(String a, String b...
/* * Copyright (C) 2001 - 2015 Marko Salmela, http://fuusio.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
package snake; import snake.exception.CollisionException; import snake.util.Direction; public interface Snake extends Tile { void move(Direction direction) throws CollisionException; void move(Direction direction, int times) throws CollisionException; }
package avex.golem; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Map; import com.mongodb.MongoClient; import com.stripe.model.CustomerCollection; import avex.models.Customer; import avex.models.Order; import com.mongodb.DB; import com.mongodb.D...
package com.autentia.elkexample.test; import com.autentia.elkexample.Application; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Rule; import org.junit.Test; import org.springframework.boot.SpringApplication; import org.springframework.boot.test.OutputCapture; ...
package com.pointburst.jsmusic.ui; import android.app.Dialog; import android.app.Notification; import android.app.PendingIntent; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import and...
package com.tdp.pasrasapp; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.tdp.bean.BeanActividad; import com.tdp.bean.BeanUsuario; import com.tdp.util.Constants; import com.tdp.util.RequestAsynctask; i...
package com.podarbetweenus.Activities; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.Window; import android.widget.AdapterView; import android.widget.ListView; import androi...