text
stringlengths
7
995k
package com.septech.centauri.data.model.address.mapper; import com.septech.centauri.data.model.address.AddressEntity; import com.septech.centauri.domain.models.Address; public class AddressDataMapper { public static AddressEntity transform(Address address) { AddressEntity addressEntity = new AddressEntity...
/* * Copyright (C) 2014 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...
package com.bs.lk.newoamvptest.bean; import org.litepal.LitePal; import org.litepal.crud.LitePalSupport; import java.util.List; /** * @author lk */ public class DepartmentNewBean extends LitePalSupport{ private int id; private String deptName; private String orgtype; private String deptFname; ...
package io.quest.misc; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.text.*; public class TextFieldPopup extends JPanel { public TextFieldPopup() { JTextField textField = new JTextField(10); JPopupMenu menu = new JPopupMenu(); Action cut = new Defaul...
package com.bewitchment.common.ritual; import com.bewitchment.Bewitchment; import com.bewitchment.Util; import com.bewitchment.api.message.SpawnParticle; import com.bewitchment.api.registry.Ritual; import com.bewitchment.common.block.BlockGlyph; import com.bewitchment.common.block.tile.entity.util.ModTileEntity; impor...
package com.my.blog.website.service.impl; import com.my.blog.website.dao.UserVoMapper; import com.my.blog.website.exception.TipException; import com.my.blog.website.model.Vo.UserVo; import com.my.blog.website.service.IUserService; import com.my.blog.website.utils.TaleUtils; import com.my.blog.website.model.Vo.UserVoEx...
package com.example.demo.student; import javax.persistence.*; import java.time.LocalDate; import java.time.Period; @Entity @Table public class Student { @Id @SequenceGenerator( name = "student_sequence", sequenceName = "student_sequence", allocationSize = 1 ) @Gener...
/** * Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * This file is licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. A copy of * the License is located at * * http://aws.amazon.com/apache2.0/ * * T...
/*Copyright by MonnyLab*/ package com.xlab.vbrowser.web; import android.content.Context; import android.support.annotation.NonNull; import com.xlab.vbrowser.architecture.NonNullObserver; import com.xlab.vbrowser.session.Session; import java.util.List; public class CleanupSessionObserver extends NonNullObserver<Li...
/******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * 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, an...
/** * */ package org.ximtec.igesture.tool.gesturevisualisation; import java.awt.Dimension; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; import org.ximtec.igesture.core.Gesture; import org.ximtec.igesture.core.GestureSample3D; import org.ximtec.igesture.util.GestureTool; /**...
package org.broadinstitute.dropseqrna.barnyard; import org.apache.commons.io.FileUtils; import org.broadinstitute.dropseqrna.beadsynthesis.GenerateRandomUMIs; import org.testng.Assert; import org.testng.annotations.Test; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arr...
/* * 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) 2016 Krupal Shah, Harsh Bhavsar * 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 a...
package com.smartbee.crm.exception; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.Builder; import lombok.Data; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.Ordered; import org.springframework.core.annota...
/* * Copyright (C) 2017 Synacts GmbH, Switzerland (info@synacts.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...
package com.darker.validator.group; import javax.validation.GroupSequence; /** * 定义校验顺序,如果AddGroup组失败,则UpdateGroup组不会再校验 * @author chenshun * @email sunlightcs@gmail.com * @date 2017-03-15 23:15 */ @GroupSequence({AddGroup.class, UpdateGroup.class}) public interface Group { }
package pro.kuli4.repository.maprocessor.repositories; import org.springframework.data.repository.CrudRepository; import pro.kuli4.repository.maprocessor.entities.forms.NsdForm; import java.util.Optional; public interface NsdFormRepository extends CrudRepository<NsdForm, Long> { Optional<NsdForm> findFirstById(...
/* * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener...
package com.example.jingbin.cloudreader.base; import android.databinding.DataBindingUtil; import android.databinding.ViewDataBinding; import android.graphics.drawable.AnimationDrawable; import android.os.Bundle; import android.support.annotation.LayoutRes; import android.support.v7.app.ActionBar; import android.suppor...
package moe.zr.esmwiki.producer.util; import com.fasterxml.jackson.databind.JsonNode; import moe.zr.pojo.RankingRecord; public class ParseUtils { public static RankingRecord getRecord(JsonNode jsonNode, Integer offset) { long date = System.currentTimeMillis() / 60000 * 60000; JsonNode ranking = js...
package com.android.uthakpathak; import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Handler; import android.view.animation.Animation; import android.view.animatio...
/* * Generated by the Jasper component of Apache Tomcat * Version: JspC/ApacheTomcat8 * Generated at: 2018-09-18 19:34:48 UTC * Note: The last modified time of this file was set to * the last modified time of the source file after * generation to assist with modification tracking. */ package org.jive...
package io.github.infobip_community.client.channels.whatsapp.model.message.interactive.button; import jakarta.validation.constraints.NotEmpty; import jakarta.validation.constraints.Size; import org.hibernate.validator.constraints.URL; public final class ImageHeader extends Header { @NotEmpty @Size(max = 2048)...
/** * 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...
/************************************************************************************************** * Copyright 2017 Qualcomm Technologies International, Ltd. * **************************************************************************************************/ package com.qualco...
package br.com.dominio.service; import java.math.BigDecimal; import br.com.dominio.model.Produto; public class CalculoPrecoComFrete implements CalculoPreco { private CalculoPreco calculo; public CalculoPrecoComFrete(CalculoPreco calculo) { this.calculo = calculo; } @Override public BigDecimal valorFinal(...
package jpuppeteer.cdp.client.entity.serviceworker; /** * experimental */ public class WorkerErrorReportedEvent { /** */ public final jpuppeteer.cdp.client.entity.serviceworker.ServiceWorkerErrorMessage errorMessage; public WorkerErrorReportedEvent(jpuppeteer.cdp.client.entity.serviceworker.ServiceWo...
/* * * 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"); y...
package jp.co.yahoo.adsdisplayapi.v6.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 javax.validation.Valid; import javax.validation...
/* * Copyright 1999-2018 Alibaba Group Holding Ltd. * * 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 a...
/* * Copyright 2017, 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 applic...
package com.example.tests; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.Properties; import com.example.fw.ApplicationManager; import com.example.fw.JdbcHelper; public class Sample2 { public static void main(String[] args) throws ...
package me.wuzhaoyang; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import java.util.List; import java.util.Map; /** * Unit test for simple Vote. */ public class VoteTest extends TestCase { Vote vote = new Vote(); /** * Create the test case ...
/* * Copyright 2011-2014 JOptimizer * * 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 com.ley.first.spring.boot.starter.compose.annotation; import org.junit.Test; import org.springframework.core.annotation.AnnotatedElementUtils; import org.springframework.core.annotation.AnnotationAttributes; import org.springframework.core.annotation.AnnotationUtils; import org.springframework.stereotype.Servi...
package de.spraener.nxtgen.oom.model; import de.spraener.nxtgen.model.ModelElement; import de.spraener.nxtgen.model.impl.ModelElementImpl; public class MActivityNode extends ModelElementImpl { private String id; private String value; public MActivityNode(ModelElement me) { setName(me.getName()); ...
package it.unibz.inf.ontop.injection; import it.unibz.inf.ontop.exception.MappingException; import it.unibz.inf.ontop.injection.impl.OntopMappingSQLConfigurationImpl; import it.unibz.inf.ontop.spec.mapping.pp.SQLPPMapping; import javax.annotation.Nonnull; import java.util.Optional; public interface OntopMappingSQLC...
/* DirectDebug: Automated Testing and Debugging of Feature Models * * Copyright (C) 2020-2021 AIG team, Institute for Software Technology, * Graz University of Technology, Austria * * Contact: http://ase.ist.tugraz.at/ASE/ */ package at.tugraz.ist.ase.featuremodel.core; import java.util.ArrayList; import stat...
package org.wrl.guice; /** * Created with IntelliJ IDEA. * * @author: wangrl * @Date: 2015-06-09 15:22 */ public interface BillingService { }
/* * 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 (c) 2011-Present Pivotal Software 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * U...
package org.supercsv.cellprocessor; /** * @author Dominique De Vito */ import static org.junit.Assert.assertEquals; import org.junit.Test; import org.supercsv.TestConstants; import org.supercsv.exception.SuperCSVException; import org.supercsv.util.CSVContext; public class StrRegExReplaceTest { private static fina...
/* * Copyright 2000-2011 JetBrains s.r.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 or agre...
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/* * Copyright 2015 Google 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 required by appli...
package io.scalecube.services.transport.rsocket; import io.rsocket.RSocket; import io.rsocket.RSocketFactory; import io.rsocket.frame.decoder.PayloadDecoder; import io.rsocket.transport.netty.client.TcpClientTransport; import io.scalecube.net.Address; import io.scalecube.services.transport.api.ClientChannel; import io...
package com.db.education.app; import com.db.education.app.controller.LoggerController; import com.db.education.app.exception.LogException; import com.db.education.app.exception.SaveException; import com.db.education.app.message.*; import com.db.education.app.saver.FileSaver; /** * Logger logs provided messages into ...
/*! ****************************************************************************** * * Hop : The Hop Orchestration Platform * * http://www.project-hop.org * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License"); * you ...
package co.amasel.model.feeds; import java.io.InputStream; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.ann...
/* * Copyright Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags and * the COPYRIGHT.txt file distributed with this work. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
/* * The MIT License * Copyright © 2014-2021 Ilkka Seppälä * * 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...
package vos; import org.codehaus.jackson.annotate.JsonProperty; public class RegistroCliente { @JsonProperty(value= "usuario") private Usuario usuario; @JsonProperty(value= "banco") private String banco; @JsonProperty(value= "idAdministrador") private Long idAdministrador; @JsonProperty(value= "contrase...
package io.opentelemetry.auto.instrumentation.play26; import static io.opentelemetry.auto.instrumentation.play26.PlayHeaders.GETTER; import static io.opentelemetry.auto.instrumentation.play26.PlayHttpServerDecorator.DECORATE; import static io.opentelemetry.auto.instrumentation.play26.PlayHttpServerDecorator.TRACER; i...
package savickas_ignas.win10notifications; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute ...
package diaceutics.cucumber.stepdefinitions; import diaceutics.cucumber.utilities.SoftAssert; import diaceutics.cucumber.utilities.XmlFileStore; import diaceutics.selenium.enums.pageFields.PersonalDetailsFormFields; import diaceutics.selenium.models.User; import diaceutics.selenium.pageobject.pages.RegistrationPage; i...
package algs; import java.util.Iterator; import java.util.NoSuchElementException; public class Bag<Item> implements Iterable<Item> { private Node<Item> first; private int size; private static class Node<Item> { private Item item; private Node<Item> next; } public Bag() { ...
package com.jenetics.smocker.model.event; import java.util.ArrayList; import java.util.List; import com.jenetics.smocker.model.Communication; public class CommunicationsRemoved { private List<Communication> commList = new ArrayList<>(); public CommunicationsRemoved(List<Communication> commList) { super(); thi...
package com.jd.binaryproto.impl; import java.lang.reflect.Method; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.function.Function; import com.jd.binaryproto.DataContractEncoder; import com.jd.binaryproto.DataSpecification; import com.jd.binaryproto.DataTypeMapping; import com...
package me.myshop.fragment; import android.app.Activity; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.app.AlertDialog; import android.view...
package jadx.tests.integration.invoke; import org.junit.jupiter.api.Test; import jadx.core.dex.nodes.ClassNode; import jadx.tests.api.IntegrationTest; import static jadx.tests.api.utils.JadxMatchers.containsOne; import static org.hamcrest.MatcherAssert.assertThat; public class TestSuperInvokeWithGenerics extends In...
package edu.hadoop.gis.samples.hbase; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.LineNumberReader; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.hadoop.hbase.client.HTable; import org.apache.hadoop.hbase.client.Put; import or...
// Copyright 2016 Yahoo Inc. // Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms. package com.yahoo.bard.webservice.data.cache; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * An implementation of the tuple data cache using a H...
package modules.commons; import java.util.List; public interface ModuleStarter { /** * configuration (json serialized to String) * @return */ public String getConfigurable(); public void setConfigurable(String config); /** * Unique module code * @return String */ public String getUniqueCode(); pub...
package wang.raye.springboot.server; import java.util.List; import com.binance.api.client.domain.market.TickerPrice; import wang.raye.springboot.model.User; /** * 用户服务 * @author Raye * @since 2016年9月21日20:57:39 */ public interface UserServer { /** * 添加一个用户 * @param user 用户对象 * @since 2016年9月21日20:58:17 ...
package com.urbanairship.api.experiments; /* * Copyright (c) 2013-2017. Urban Airship and Contributors */ import com.google.common.base.Preconditions; import com.google.common.net.HttpHeaders; import com.urbanairship.api.client.Request; import com.urbanairship.api.client.RequestUtils; import com.urbanairship.api.c...
package examples; import genetics.structures.genetic.Mutable; import java.util.Random; public class Operator implements Mutable, Cloneable { private char value; public Operator() { value = '+'; } public Operator(char value) { this.value = value; } public void mutate() { Random rnd = new Random(); ...
/* * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.bumptech.glide.util; import android.graphics.Bitmap; import android.os.Build; public class Util { private static final char[] hexArray = "0123456789abcdef".toCharArray(); private static final char[] sha256Chars = new char[64]; //32 bytes from sha-256 -> 64 hex chars public static String sha25...
package com.coolweather.android.db; import org.litepal.crud.DataSupport; /** * Created by ZouBW on 2018/5/6. */ public class Province extends DataSupport { private int id; private String provinceName; private int provinceCode; public int getId() { return id; } public void setId(...
package com.leetcode; public class LC402 { public String removeKdigit(String num, int k) { StringBuilder sb=new StringBuilder(num); int i=0; while(k>0){ if(i+1<sb.length() && sb.charAt(i)<sb.charAt(i+1)){ sb.deleteCharAt(i+1); k--; } ...
package com.atguigu.gulimall.coupon.service; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.common.util.PageUtils; import com.atguigu.gulimall.coupon.entity.SeckillSkuNoticeEntity; import java.util.Map; /** * 秒杀商品通知订阅 * * @author lipenghong * @email 1580780206@qq.com * @date 2020...
package com.lilithqa.ezprofiler.scanner; import java.util.concurrent.BlockingQueue; import java.util.concurrent.Executors; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadFactory; import java.util.concurrent.atomic.AtomicBoolean; import org.slf4j.Logger; import org.slf4j.LoggerFacto...
// This is a mutant program. // Author : ysma package davi.mutation.limpeza.AOIS_115; import davi.genetic.algorithm.Image; public class Limpeza { public static void main( java.lang.String[] args ) throws java.lang.Exception { } public static davi.genetic.algorithm.Image limpeza( davi.ge...
package hackerrank.algorithms; import java.util.ArrayList; import java.util.List; public class PallindromePartition { static void backtrack(String s, int start, List<String> temp, List<List<String>> ans) { if (start == s.length()) { ans.add(new ArrayList<>(temp)); return; ...
package com.aidriveall.cms.security; import org.junit.jupiter.api.Test; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframewor...
/* * 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 ...
package com.fire.sdk; import java.io.IOException; import java.util.Properties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.fire.sdk.http.HttpConfiguration; import com.fire.sdk.model.Credentials; import com.fire.sdk.model.request.ActivitiesListRequest; import com.fire.sdk.model.request.CardLis...
/* * 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 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 ...
package com.yapp.project.organization.domain; import com.yapp.project.aux.common.DateUtil; import com.yapp.project.capture.domain.Capture; import com.yapp.project.organization.domain.dto.OrgDto; import lombok.*; import javax.persistence.*; import java.time.LocalDate; import java.time.LocalTime; import java.util.Array...
/** * Copyright &copy; 2014-2016 <a href="https://github.com/jeffencheung/jeesite">Pactera-JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.common.persistence.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import jav...
import java.io.*; import java.util.Scanner; /** * Author: Dino Cajic * * Purpose: To read a text file and display any anagrams of a word * on the same line. Words that aren't anagrams of each other are * placed on the next line. * * Solution to the problem: The file presented will be read and * stored in an ar...
package com.example.osama.spot.fragments; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.annotation.Nullable; import android.support.v4.app.Fragm...
package io.oasp.gastronomy.restaurant.offermanagement.logic.api.to; import io.oasp.module.basic.common.api.to.AbstractTo; import net.sf.mmm.util.transferobject.api.AbstractTransferObject; /** * {@link AbstractTransferObject TO} to filter {@link io.oasp.gastronomy.restaurant.offermanagement.common.api.Product * pro...
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
/* * * 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"); y...
package pt.tecnico.po.ui; import java.io.IOException; /** * User interaction (either through the keyboard or files). */ public class Dialog { private final static String ACTION_SWING = "swing"; private final static String ACTION_TEXT = "text"; /** Single instance of this class. */ public static/* final */...
package best.reich.ingros.events.render; import net.b0at.api.event.Event; import net.minecraft.client.gui.GuiScreen; public class DisplayGuiEvent extends Event { private GuiScreen screen; public DisplayGuiEvent(GuiScreen screen) { this.screen = screen; } public GuiScreen getScreen() { ...
/** * 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...
/* * 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...
/* * MIT License * * Copyright (c) 2021 MASES s.r.l. * * 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, cop...
/* * WMSWorkerJobInterface.java * * Created on October 26, 2005, 12:14 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package com.wms.antifreeze.view; /** * * @author mstemen */ public interface AFJobInterface { public abstract AFJobInterface pr...
package bootcamp.springrest.studentFilter.data; import bootcamp.springrest.studentFilter.domain.Student; import java.util.ArrayList; import java.util.List; public class StudentRepository { private List<Student> students; public StudentRepository(){ students = new ArrayList<>(); students.add...
package sonar.calculator.mod.common.item.calculators; import net.minecraft.init.Items; import net.minecraft.item.Item; import sonar.calculator.mod.Calculator; import sonar.calculator.mod.common.item.calculators.modules.*; import sonar.core.helpers.SimpleRegistry; public class ModuleItemRegistry extends SimpleRegistry...
package com.lightbend.lagom.samples.mixedpersistence.hello.impl.entity; import akka.Done; import com.lightbend.lagom.javadsl.persistence.PersistentEntity; import com.lightbend.lagom.serialization.CompressedJsonable; import com.lightbend.lagom.serialization.Jsonable; import lombok.NonNull; import lombok.Value; /** * ...
/* * * 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 requi...
package com.visenze.visearch; import com.google.common.collect.Lists; import com.google.common.collect.Multimap; import org.junit.Test; import java.util.List; import static org.junit.Assert.assertEquals; /** * Created by zhumingyuan on 11/10/19 */ public class ColorSearchParamsTest { @Test public void te...
package de.mogwailabs.MogwaiLabsMJET; import javax.script.ScriptEngineManager; import java.io.InputStreamReader; import java.io.StringWriter; import javax.script.ScriptEngine; public class MogwaiLabsPayload implements MogwaiLabsPayloadMBean { private String password; public MogwaiLabsPayload() { password = ...
/* * Copyright 2011 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...