text
stringlengths
7
995k
package eu.monnetproject.morph; import eu.monnetproject.pos.POSToken; import java.util.List; /** * Models a compound word splitter * * @author John McCrae */ public interface CompoundSplitter { /** * Split a word. * @param token The pos-tagged token * @return The result */ List<S...
/* * 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 may ...
/* * Copyright 2009-2012 Amazon 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://aws.amazon.com/apache2.0 * * This file is distributed on an "AS ...
/******************************************************************************* * Copyright 2020-2022 Zebrunner Inc (https://www.zebrunner.com). * * 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 Lic...
/* * Copyright 2020 Google LLC * * 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 applicable law or agreed to ...
/* * 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 writing, software * distributed u...
package org.gradle.test.performance.mediummonolithicjavaproject.p9; import org.gradle.test.performance.mediummonolithicjavaproject.p8.Production177; import org.junit.Test; import static org.junit.Assert.*; public class Test186 { Production186 objectUnderTest = new Production186(); @Test public vo...
package com.aoto.systemutil.domainms.repository.dao; import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import com.aoto.systemutil.domainms.repository.pojo.Domain; @Mapper public interface IDomainIbaitsDao{ ...
/* * Copyright 2018, Oath Inc. * Licensed under the terms of the Apache License, Version 2.0. * See the LICENSE file associated with the project for terms. */ package com.yahoo.bullet.bql.tree; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import static com.yahoo.bullet.bql.tre...
/* * The MIT License (MIT) * * Copyright (c) 2014-2017 abel533@gmail.com * * 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 ...
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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 l...
package com.moreetech.ke.laundryussd.Entity; import com.fasterxml.jackson.annotation.JsonProperty; import com.moreetech.ke.laundryussd.Utils.MenuOptionAction; import lombok.Data; /** * @author momondi on 9/26/2021 **/ @Data public class MenuOption { private String type;// helps to determine if the next step s...
package com.aequilibrium.transformers.model.dto; import java.util.List; import javax.validation.constraints.NotEmpty; import org.springframework.validation.annotation.Validated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import lombok.AllArgsCo...
// // Informa -- RSS Library for Java // Copyright (c) 2002 by Niko Schmuck // // 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 // http://www.eclipse.org/legal/epl-v10....
package com.hcbxwy.wegee.modules.user.service.impl; import cn.hutool.core.util.RandomUtil; import cn.hutool.crypto.SecureUtil; import com.hcbxwy.wegee.modules.user.entity.User; import com.hcbxwy.wegee.modules.user.dao.UserDao; import com.hcbxwy.wegee.modules.user.entity.UserAccount; import com.hcbxwy.wegee.modules.use...
package com.blog.controller; import com.alibaba.fastjson.JSONObject; import com.blog.model.User; import com.blog.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bin...
// Copyright (c) 2021, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.optimize.argumentpropagation.codescanner; import com.android.tools.r8.graph....
/* * Copyright (C) 2014-present, Wei Chou(weichou2010@gmail.com) * * 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 requir...
/* * Constellation - An open source and standard compliant SDI * http://www.constellation-sdi.org * * Copyright 2018 Geomatys. * * 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 *...
package io.aurorasolutions.assertions.contracts; public interface ComplexClassTester<Self, ObjectCreationModelType> extends ClassTester<Self> { Self createObjectUsingModel(ObjectCreationModelType model); }
package org.knowm.xchange.deribit.v2.service; import java.io.IOException; import java.math.BigDecimal; import java.util.Date; import java.util.List; import org.knowm.xchange.deribit.v2.DeribitExchange; import org.knowm.xchange.deribit.v2.dto.trade.AdvancedOptions; import org.knowm.xchange.deribit.v2.dto.trade.Order; i...
package designpattern.statuspatern.work; /** * 事件定义 * 用来驱动流程流转 */ public enum Event { NEXT_STEP("下一步"), PREVIOUS_STEP("上一步"), APPROVE("同意"), REFUSE("拒绝"); private String value; Event(String value) { this.value = value; } public String getValue() { return value; ...
package com.ggbwallet.app.service; import android.Manifest; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.media.AudioAttributes; im...
package ee.joonasvali.mirrors.scene; import java.awt.*; public class Accelerator extends RoundPhysical implements Collidable { private double acceleration; public Accelerator(double x, double y, double rotation, double radius, double acceleration) { super(x, y, rotation, radius); this.acceleration = acce...
package org.liberty.android.fantastischmemo.dao; import com.j256.ormlite.support.ConnectionSource; import com.j256.ormlite.table.DatabaseTableConfig; import org.liberty.android.fantastischmemo.entity.Setting; import java.sql.SQLException; public class SettingDaoImpl extends AbstractHelperDaoImpl<Setting, Integer> i...
package fr.smartberry; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; //@SpringBootApplication //public class Main { // // public static void main(String[] args) { // SpringApplication.run(Main.class, args); // } //}
/* * Copyright 2016 Dhatim. * * 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 ...
package com.nai.gulimall.order.controller; import com.nai.gulimall.common.utils.PageUtils; import com.nai.gulimall.common.utils.R; import com.nai.gulimall.order.entity.OrderSettingEntity; import com.nai.gulimall.order.service.OrderSettingService; import org.springframework.beans.factory.annotation.Autowired; import or...
import java.util.List; import java.util.*; class BuilderGenericMethod<T> { public <N extends Number> Map<N, T> foo(int a, long b) { return null; } @java.lang.SuppressWarnings("all") public class MapBuilder<N extends Number> { @java.lang.SuppressWarnings("all") private int a; @java.lang.SuppressWarnings("all...
/* * Copyright (c) 2016, baihw (javakf@163.com). * * 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 appli...
package me.caprei.crazyctf.classes; public class Soldier extends CTFClass { public Soldier(){ } @Override public void setWearableItems() { } @Override public void setInventoryItems() { // TODO Auto-generated method stub } @Override public void setAbilities() { // TODO Auto-generated method...
package com.laegler.openbanking.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.springframework.validation.annotation.Validated;...
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
/** * Copyright 2019 ForgeRock AS. * * 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, ...
package com.example.newepisodenotifier; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test pub...
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.curate; import java.sql.SQLException; import org.apache.commons.cli.ParseException...
/* * Copyright (C) 2018 The Sylph 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 ...
/* * Copyright (C) 2011 Everit Kft. (http://www.everit.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 required...
package com.haxademic.demo.draw.image; import com.haxademic.core.app.PAppletHax; import com.haxademic.core.app.config.AppSettings; import com.haxademic.core.app.config.Config; import com.haxademic.core.draw.image.ImageCyclerBuffer; import com.haxademic.core.media.DemoAssets; import processing.core.PImage; public cla...
package com.midup.bedwars.game.action.actions; import com.midup.bedwars.Main; import com.midup.bedwars.game.action.Action; import com.midup.bedwars.generator.models.GeneratorType; import org.bukkit.Bukkit; public class UPDiamond2 extends Action { public UPDiamond2() { super("Diamante FULL", 360); } ...
/** * */ package com.kancolle.server.model.po.common.handler; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.parser.Feature; import org.apache.ibatis.type.BaseTypeHandler; import org.apache.ibatis.type.JdbcType; import java.sql.CallableStatement; import java.s...
// Copyright (c) 2019, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.ir.optimize.inliner; import static com.android.tools.r8.utils.codeinspector....
/** * Copyright 2019 LinkedIn Corp. All rights reserved. * * 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 applica...
package wayoftime.bloodmagic.potion; import java.util.Random; import net.minecraft.entity.LivingEntity; import net.minecraft.particles.ParticleTypes; import net.minecraft.potion.EffectType; import net.minecraft.world.Explosion; public class PotionFireFuse extends PotionBloodMagic { public PotionFireFuse() { supe...
/** * Copyright (C) 2013-2015 all@code-story.net * * 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 applica...
/* * 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 rs.ugligovic.csvparser; import rs.ugligovic.csvparser.exception.BadCsvException; import java.io.IOException; import java.nio....
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.gms.common.api.internal; import android.app.Activity; import java.util.*; // Referenced classes of package com.google.android....
package fi.jussiks.mbrainz.enums; public enum Entity { AREA, ARTIST, EVENT, LABEL, PLACE, RECORDING, RELEASE, RELEASE_GROUP, SERIES, URL, WORK, COLLECTION; public String toString() { return this.name().replaceAll("_", "-").toLowerCase(); } }
package edu.uci.ics.jung.layout.algorithms; import com.google.common.collect.Sets; import edu.uci.ics.jung.layout.spatial.BarnesHutQuadTree; import edu.uci.ics.jung.layout.spatial.ForceObject; import edu.uci.ics.jung.layout.spatial.Node; import java.util.Collections; import java.util.Iterator; import java.util.Set; /...
package external_module_0323.a; import javax.lang.model.*; import javax.management.*; import javax.naming.directory.*; /** * Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut * labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo ...
/* * Copyright (c) 2018-2019 Qualcomm Technologies, Inc. * All rights reserved. * Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistributions of source code must...
package io.swisschain.crypto.transaction.signing.exceptions; public class TransactionSignException extends Exception { public TransactionSignException(String message) { super(message); } }
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.instrumentation.tomcat.common; import static io.opentelemetry.instrumentation.api.servlet.ServerSpanNaming.Source.CONTAINER; import io.opentelemetry.api.GlobalOpenTelemetry; import io.opentelemetry...
import java.util.Scanner; public class TriangleArea { public static void main(String[] args) { Scanner in = new Scanner(System.in); int aX = in.nextInt(); int aY = in.nextInt(); int bX = in.nextInt(); int bY = in.nextInt(); int cX = in.nextInt(); int ...
package vn.techmaster.vincinema.service; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.transaction.Transactional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import vn.techmaster.vincinema.model.Cine...
/* * 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 ...
/** * * Copyright (c) 2006-2019, Speedment, Inc. All Rights Reserved. * * 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 requ...
/** * Copyright 2014 伊永飞 * * 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 writin...
/* * Copyright (C) 2010 ZXing 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 agr...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.jrt; import java.nio.ByteBuffer; import java.util.Arrays; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class ValuesTest { @or...
package org.smartregister.kdp.pojo; public class UpdateDefaulterForm { private String id; private String baseEntityId; private String visitId; private String phoneTracingOutcome; private String physicalTracingOutcome; private String phoneTracing; private String physicalTracing; private...
import java.util.Scanner; public class TravelingAtLightSpeed { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); double lightYearsCount = Double.parseDouble(scanner.nextLine()); double lightYearKm = 9450000000000.0; double lightSpeed = 300000.0; ...
/** * WSWhereItem.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package org.talend.mdm.webservice; /** * An And or Or or WhereCondition */ public class WSWhereItem implements java.io.Serializable { private org.talend.mdm.webserv...
package com.stang.tang.zhima.service.impl; import com.stang.tang.zhima.service.TagService; public class TagServiceImpl implements TagService { }
package tree; public class BinarySearchTree<T extends Comparable<T>> { public Node root; public boolean insert(T i) { if (root == null) { root = new Node(i); return true; } Node current = root; while (true) { // 如果 i 比当前结点的值小 if ...
package rewards; import java.io.Serializable; /** * A summary of a confirmed reward transaction describing a contribution made to an account that was distributed among * the account's beneficiaries. */ @SuppressWarnings("serial") public class RewardConfirmation implements Serializable { private String confirmati...
/* * 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 writing, software distributed under t...
package com.himo.app; import java.io.Serializable; import org.springframework.stereotype.Service; @Service public class GreetService implements Serializable { public String greet(String name) { if (name == null || name.isEmpty()) { return "Hello anonymous user"; } else { ...
/* * Copyright (C) 2009 The Android Open Source 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 app...
/* * 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")...
/* ### * IP: GHIDRA * * 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 writin...
class Person { String name; String address; long phoneNo; String email; Person(String n,String ad,long pn,String em) { name=n; address=ad; phoneNo=pn; email=em; } public String toString() { return "**class Person**\n name="+name; } void show() { System.out.println("\nAddress="+address); System...
// ================================================================================================= // // Hammerc Framework // Copyright 2013 hammerc.org All Rights Reserved. // // See LICENSE for full license information. // // ==========================================================================================...
import java.awt.*; class DataChangeEvent extends Event { public DataChangeEvent(Object target, int id, Object arg) { super(target, id, arg); } }
package theGame; import org.junit.Assert; import org.junit.Test; import thegame.newHope.model.Building; import thegame.newHope.model.Game; import thegame.newHope.model.ResourceType; import thegame.newHope.model.Resources; public class GameTest { Game game; @Test public void canBuyBuildingTest() throws Excep...
package com.revolsys.ui.html.fields; import com.revolsys.record.io.format.xml.XmlWriter; import com.revolsys.util.HtmlAttr; import com.revolsys.util.HtmlElem; public class WeekField extends TextField { public WeekField(final String name, final boolean required) { super(name, required); } @Override publi...
package com.github.appreciated.apexcharts.config.fill; public class Pattern { private String style; private Double width; private Double height; private Double strokeWidth; public Pattern() { } public String getStyle() { return style; } public Double getWidth() { ...
/* * Copyright 2002-2018 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...
/* * 取り込み元 * ライブラリ名: seasar2 * クラス名: org.seasar.framework.beans.util.Copy * ソースリポジトリ: https://github.com/seasarorg/seasar2/blob/master/s2-tiger/src/main/java/org/seasar/framework/beans/util/Copy.java * * 上記ファイルを取り込み、修正を加えた。 * * Copyright 2020 TIS Inc. * * Copyright 2004-2013 the Seasar Fo...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package android.support.v4; public final class R { public static final class attr { public static final int font = 0x7f0400...
package cn.jeeweb.ui.tags.form; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import cn.jeeweb.beetl.tags.annotation.BeetlTagName; import cn.jeeweb.beetl.tags.exception.BeetlTagException; import cn.jeeweb.beetl.tags.form.HiddenInputTag; import cn.jeeweb.beetl.tags....
package org.apdoer.condition.monitor.listener.manager; import lombok.extern.slf4j.Slf4j; import org.apdoer.common.service.util.SpringBeanUtils; import org.apdoer.condition.monitor.handler.QuotHandler; import org.apdoer.condition.monitor.listener.impl.QuotPriceSourceEventListener; import org.apdoer.condition.common.eve...
package com.shitij.medium.topics; import java.util.HashMap; import java.util.List; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude;...
// Targeted by JavaCPP version 1.5.2-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.tensorrt.nvinfer; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import org.bytedeco.cuda.cudart.*; import static org.bytedeco.cuda.global.cudart.*; import static org.bytedeco.tenso...
/* *Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * *WSO2 Inc. licenses this file to you 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/LI...
/* * 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 may n...
public class Missing implements Interface { public void interfaceMethod () { System.out.println("Missing.interfaceMethod()"); } public void missingMethod () { System.out.println("Missing.missingMethod()"); } }
package me.zhengjie.service; import me.zhengjie.domain.CalibrationOrg; import me.zhengjie.service.dto.CaliOrgQueryCriteria; import me.zhengjie.service.dto.CalibrationOrgDto; import org.springframework.data.domain.Pageable; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Lis...
/* * Open Source Physics software is free software as described near the bottom of this code file. * * For additional information and documentation on Open Source Physics please see: * <http://www.opensourcephysics.org/> */ package org.opensourcephysics.resources.media; import java.io.IOException; import java.io....
package com.org.derpyjakey.frames; import com.org.derpyjakey.utilities.LanguageHandler; import com.org.derpyjakey.references.Directories; import com.org.derpyjakey.utilities.LogHandler; import com.org.derpyjakey.utilities.IOHandler; import java.awt.event.ActionEvent; import javax.swing.border.*; import javax.swing.*;...
package uk.gov.digital.ho.proving.income.validator; import org.junit.Test; import java.time.LocalDate; import java.time.Month; import static org.assertj.core.api.Assertions.assertThat; public class ValidationHelperDateTest { @Test public void sameDayOneMonthDifference() { LocalDate from = LocalDate...
package io.dropwizard.servlets.tasks; import ch.qos.logback.classic.Level; import ch.qos.logback.classic.Logger; import ch.qos.logback.classic.LoggerContext; import io.dropwizard.util.Maps; import org.junit.jupiter.api.Test; import java.io.PrintWriter; import java.io.StringWriter; import java.time.Duration; import ja...
/* * The MIT License * * Copyright 2013 Andreas Giemza. * * 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 use, copy, ...
/** * Copyright 2013 Canada Health Infoway, 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 applicab...
package com.kingtogroup.domain; public class ServiceEntity { public String ServiceDate; public String Logo; public String TimeSection; public int Woods; public int Regionid; public double ShopPrice; public int Water; public int Storerid; public double Weight; public String StoreName; public String Mobile; ...
package GUIPrograms; /** * James N * 2020.10.13 * Loading * loading icon that transitions between all tetrominoes */ import java.awt.Color; import game.*; import game.drawing.Camera; import game.drawing.Draw; import game.physics.Physics; import game.physics.Point; import game.physics.Rect; import java.awt.Co...
package com.ithub.source.learn.nio; import lombok.extern.slf4j.Slf4j; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.ServerSocket; import java.net.Socket; /** * BIO */ @Slf4j public class SocketIO { public static void ma...
/** * Copyright (c) 2018-present, A2 Rešitve d.o.o. * * 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 me.mvp.demo.app.config; import android.content.Context; import com.google.gson.Gson; import javax.inject.Inject; import me.logg.Logg; import me.mvp.demo.app.utils.tool.GsonConverterBodyFactory; import me.mvp.demo.app.utils.tool.JsonConverterFactory; import me.mvp.frame.di.module.HttpModule; import retrofit2...
/* * Copyright (c) 2015-2018 Rocket Partners, LLC * https://github.com/inversion-api * * 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...