text
stringlengths
7
995k
/* * This file was automatically generated by EvoSuite * Fri Nov 27 13:37:45 GMT 2020 */ import org.junit.Test; import static org.junit.Assert.*; import org.evosuite.runtime.EvoRunner; import org.evosuite.runtime.EvoRunnerParameters; import org.evosuite.runtime.testdata.EvoSuiteRemoteAddress; import org.evosuite.r...
// $Id: JobGroupFavorMethod.java,v 1.2 2009/07/01 16:43:14 jim Exp $ package us.temerity.pipeline; import java.util.*; /*------------------------------------------------------------------------------------------*/ /* J O B G R O U P F A V O R M E T H O D */ /*------...
package cd4017be.kineng.physics; import static cd4017be.kineng.render.IPartModel.render; import static cd4017be.kineng.render.QuadBuilder.ELN; import static net.minecraft.util.EnumFacing.getFacingFromAxis; import static net.minecraft.util.EnumFacing.AxisDirection.*; import cd4017be.kineng.render.QuadBuilder; import cd...
package com.hmtmcse.oc.common; public interface ProcessCustomCopy<E, D> { void meAsSrc(D source, E destination); void meAsDst(E source, D destination); default void csvExport(E source, E destination) { } default void csvImport(D source, E destination) { } default void whyNotCalled(Stri...
package de.codecentric.ddd.hexagonal.monolith.domain.shoppingcart.impl; import de.codecentric.ddd.hexagonal.monolith.domain.shoppingcart.api.ShoppingCartsApi; import java.util.UUID; public class ShoppingCartsCheckoutPolicyService { private final ShoppingCartsApi api; public ShoppingCartsCheckoutPolicyService( ...
/* * Copyright 2013 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...
package io.perfeccionista.framework.invocation.runner; import io.qameta.allure.model.StepResult; import java.util.ArrayList; import java.util.function.Consumer; import static io.qameta.allure.Allure.getLifecycle; public class StartInvocationInfoVisitor implements Consumer<InvocationInfo> { @Override public...
package p16_CoffeeBag; public class CoffeeBag { private static final double pricePerPound = 5.99; private static final double taxRate = 7.25; private double totalPrice; public CoffeeBag() { totalPrice = 0.0; } public void CalculatePrice(int bags, int weight) { totalPrice = bags*weight*pricePerPound...
package nginx.unit; import javax.servlet.descriptor.TaglibDescriptor; import org.w3c.dom.Node; import org.w3c.dom.NodeList; public class Taglib implements TaglibDescriptor { private String uri_ = null; private String location_ = null; public Taglib(NodeList nodes) { for (int i = 0; i < nodes...
package de.fh.albsig.hd86589.weather; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jup...
package com.aliyun.cloudcallcenter.crm.controller; import java.util.List; import com.aliyun.cloudcallcenter.crm.model.Customer; import com.aliyun.cloudcallcenter.crm.repository.CustomerRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import o...
package com.williamquast; import com.vividsolutions.jts.geom.Coordinate; /** * Created by wquast on 12/23/14. */ public class Record { String id; String name; String county; Coordinate coordinate; Double length; Double depth; Boolean survey; Boolean map; Boolean tag; Boolean ...
package com.mihai.movies.data; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class MoviesSQLiteHelper extends SQLiteOpenHelper { private static final String DB_NAME = "movies.db"; private static final int DB_VERSION = 1; ...
package hahaha.lalala.runtime; import org.junit.Test; public class RunTimeTest { /** * 运行时对象:单例的 */ @Test public void test01() { Runtime r1 = Runtime.getRuntime(); Runtime r2 = Runtime.getRuntime(); System.out.println(r1 == r2); } @Test public void test02() {...
/** * 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.app.util; import java.io.IOException; import java.util.ArrayList; import java.util....
/* * 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...
/* * Copyright 2014 Attila Szegedi, Daniel Dekany, Jonathan Revusky * * 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.grocs.sensors.ui; import com.grocs.sensors.ui.SensorEntry; import java.util.Comparator; public class SensorEntryComparator implements Comparator<SensorEntry> { @Override public int compare(SensorEntry lhs, SensorEntry rhs) { // 1. sort based on type final String type1 = retrieveTy...
package com.gettipsi.stripe; import android.app.Activity; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.AsyncTask; import android.text.TextUtils; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.facebook.react.bridge....
/* * $RCSfile: AndConstDescriptor.java,v $ * * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. * * Use is subject to license terms. * * $Revision: 1.1 $ * $Date: 2005/02/11 04:57:29 $ * $State: Exp $ */ package com.lightcrafts.mediax.jai.operator; import java.awt.RenderingHints; import java.aw...
package com.lyqiang.monitor.common.alarm; import com.alibaba.fastjson.JSON; import com.lyqiang.monitor.common.utils.SpringContextUtil; import org.apache.commons.lang3.ClassUtils; /** * @author lyqiang */ public class WeChatAlarmUtils { private static final WeChatRobotAlarmSender WE_CHAT_ROBOT_ALARM_SENDER ...
/* * Copyright 2014. AppDynamics LLC and its affiliates. * * All Rights Reserved. * * This is unpublished proprietary source code of AppDynamics LLC and its affiliates. * * The copyright notice above does not evidence any actual or intended publication of such source code. */ package com.appdynamics.extensions...
package kapitel8_OOP1; /** * * @author Thomas Harrer */ class Musik { public String name; public String Interpret; public int laengeInSek; public int erscheinungsjahr; } public class kapitel8_klassen_und_objekte { public static void main(String[] args) { Musik lied = new Musik(); ...
package com.sanyi.web.controller.system; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.DeleteMapping; impor...
package com.gobbledygook.theawless.eventlock.helper; import com.gobbledygook.theawless.eventlock.BuildConfig; import java.util.Collections; import java.util.HashSet; import java.util.Set; public class Constants { // intent filters public static final String events_update = BuildConfig.APPLICATION_ID + "." ...
/* * 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.xxmassdeveloper.mpchartexample.notimportant; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.WindowManager; import android.widget.AdapterView; ...
package be.woutschoovaerts.mollie.handler; import be.woutschoovaerts.mollie.Client; import be.woutschoovaerts.mollie.ClientBuilder; import be.woutschoovaerts.mollie.data.common.Locale; import be.woutschoovaerts.mollie.exception.MollieException; import be.woutschoovaerts.mollie.data.common.Amount; import be.woutschoova...
/* * 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 ...
package de.opitzconsulting.orcas.diff; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.Writer; import java.sql.ResultSet; import java.sql.SQLException; import de.opitzconsulting.orcas.diff.ParametersCommandline.ParameterTypeMode; impo...
public class Error { public int faultyHours; public synchronized int bringFlawMeter() { return faultyHours; } public synchronized int developPoisedHour() { return cookNow; } public Serve method; public int cookNow; public synchronized Serve takeAppendage() { return method; } public ...
/** * Copyright 2010 JBoss 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 wr...
package com.mongodb.dibs; import com.mongodb.dibs.resources.PublicErrorResource; import com.sun.jersey.api.core.HttpContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.Context; import javax.ws.rs.core.Response; import javax.ws.rs.core.R...
package jetbrains.mps.baseLanguage.collections.typesystem; /*Generated by MPS */ import jetbrains.mps.lang.typesystem.runtime.AbstractInferenceRule_Runtime; import jetbrains.mps.lang.typesystem.runtime.InferenceRule_Runtime; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.typesystem.inference.TypeC...
package com.lanshu.exam.excel.listener; import com.lanshu.common.basic.utils.excel.AbstractExcelImportListener; import com.lanshu.common.security.utils.SysUtil; import com.lanshu.exam.api.dto.SubjectDto; import com.lanshu.exam.api.module.Answer; import com.lanshu.exam.api.module.SubjectOption; import com.lanshu.exam.e...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2013 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
package ru.job4j.bank; import ru.job4j.bank.exeptions.NoAccountExeption; import ru.job4j.bank.exeptions.NotEnougthMoneyExeption; import ru.job4j.bank.exeptions.UserExistExeption; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Класс реализует работу Банка. *...
package net.purevirtual.chell.central.web.crud.control; import java.time.LocalDateTime; import java.util.List; import java.util.Optional; import javax.ejb.Asynchronous; import javax.ejb.Stateless; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.persistence.EntityManager; ...
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE package org.bytedeco.skia; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.skia.global.Skia.*; @Properties(inherit = org.bytedeco...
/** * Package for the classes implementing the UI elements for the interactive * control of the enactment. */ package at.uibk.dps.ee.visualization.control;
/* Copyright (c) 2015, Alcatel-Lucent Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of condi...
/* * Copyright 2017-2022 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 2002-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 bwapi; import com.sun.jna.Native; import com.sun.jna.Pointer; import com.sun.jna.platform.win32.Kernel32; import com.sun.jna.win32.W32APIOptions; import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAccessFile; /** * Default Windows BWAPI pipe connection with shared memory....
package com.example.scottsmith.bindsinstanceexample.bindsinstance; import dagger.BindsInstance; import dagger.MembersInjector; import dagger.Subcomponent; @Subcomponent public interface BindsInstanceComponent extends MembersInjector<BindsInstanceActivity> { @Subcomponent.Builder interface Builder { @...
package org.odk.collect.android.preferences; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.EditTextPreference; import android.preference.Preference; import android.preference.PreferenceManager; import androidx.annotation.Nullable; import android.view.View; import org.od...
/*================================================================================ Copyright (c) 2012 Steve Jin. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must re...
/* * Copyright (c) 2012, 2014, Oracle and/or its affiliates. * All rights reserved. Use is subject to license terms. * * This file is available and licensed under the following license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.accessservices.digitalservice.handlers; import org.odpi.openmetadata.accessservices.digitalservice.builders.DigitalServiceBuilder; import org.odpi.openmetadata.accessservices.digitalservice....
package ch.qarts.tattool.webplatform.intg; import lombok.Builder; import lombok.Data; import lombok.SneakyThrows; import java.net.URI; import java.nio.file.Files; import java.nio.file.Path; @Data @Builder public class Page { private String bodyContent; private String scriptContent; @SneakyThrows pri...
/* * Copyright 2017 ThoughtWorks, 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 agr...
/* * 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 org.ga4gh.discovery.search.model; import java.util.Map; import lombok.AllArgsConstructor; @AllArgsConstructor public class Sc...
package me.chanjar.weixin.mp.api.impl; import java.io.IOException; import java.util.concurrent.locks.Lock; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; imp...
/* Copyright (c) 2016 Robert Atkinson 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 retain the above copyright...
package com.github.flaxsearch.api; /* * Copyright (c) 2016 Lemur Consulting 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....
package org.jenkinsci.plugins.p4.client; import com.gargoylesoftware.htmlunit.html.HtmlForm; import com.gargoylesoftware.htmlunit.html.HtmlInput; import com.gargoylesoftware.htmlunit.html.HtmlPage; import com.perforce.p4java.option.server.CounterOptions; import com.perforce.p4java.server.IOptionsServer; import hudson....
package com.myncic.push.otherpush.hmspush; import android.content.Context; import android.text.TextUtils; import android.util.Log; import com.huawei.hms.api.ConnectionResult; import com.huawei.hms.api.HuaweiApiClient; import com.huawei.hms.support.api.client.ResultCallback; import com.huawei.hms.support.api.push.Huaw...
/* * 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 ch22gui.flex; import java.util.*; public class SongService { private List<Song> songs = new ArrayList<Song>(); public SongService() { fillTestData(); } public List<Song> getSongs() { return songs; } public void addSong(Song song) { songs.add(song); } ...
/* * 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 com.project.constants; /** * * @author Poca */ public class JishoURLConstants { public static String PAGE_BASE_URL = "h...
package com.stylefeng.guns.api.film.vo; import lombok.Data; import java.io.Serializable; /** * @author wyw * @date 2018\12\28 0028 21:24 */ @Data public class ActorVO implements Serializable { private String imgAddress; private String directorName; private String roleName; }
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import org.apache.commons.lang3.builde...
/* * ==================================================================== * 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 ...
/* * Copyright (C) 2008 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 ...
/* * * * Copyright 2018 Symphony Communication Services, LLC. * * Licensed to The Symphony Software Foundation (SSF) 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...
package org.yxs.cloud.config; import de.codecentric.boot.admin.server.config.AdminServerProperties; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.WebSe...
package com.prosper.day.applicationdefinition; /* **************************************************************************** /* Copyright (C) 2016 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 Lice...
package org.develnext.jphp.core.tokenizer; import java.util.HashMap; import java.util.Map; public enum TokenType { T_REQUIRE_ONCE(258), T_REQUIRE(259), T_EVAL(260), T_INCLUDE_ONCE(261), T_INCLUDE(262), T_LOGICAL_OR(263), T_LOGICAL_XOR(264), T_LOGICAL_AND(265), T_PRINT(266), T_S...
package Domain; import javax.persistence.*; @Entity @Table(name = "direccion") public class Direccion { @Id @Column(name = "id_direccion") @GeneratedValue(strategy = GenerationType.AUTO) private Integer id; @Column(name = "calle") private String calle; @Column(name = "numero") private...
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2017, Arnaud Roques * * Project Info: http://plantuml.com * * This file is part of PlantUML. ...
/* * 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 ©2016 TommyLemon(https://github.com/TommyLemon/APIJSON) 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 bhz.netty.ende1; import io.netty.bootstrap.Bootstrap; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channe...
package tec.uom.client.fitbit.jackson.activity; import java.io.IOException; import java.util.List; import tec.uom.client.fitbit.jackson.deserializer.ListDeserializer; import tec.uom.client.fitbit.model.activity.Activity; import tec.uom.client.fitbit.model.activity.ActivityLevel; import com.fasterxml.jackson.core.Jso...
package com.fc.common.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Async; import org.springframework.stereotype.Service; import com.fc.common.dao.LogDao; import com.fc.common.domain.LogDO; import com.fc.common.doma...
/* * Copyright 2013 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 i...
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.provider.calculator.equity; import com.opengamma.analytics.financial.equity.EquityTrsDataBundle; import com.opengamma.analytics.financial.e...
package com.fasterxml.jackson.datatype.pcollections.deser; import java.io.IOException; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.deser.ContextualDeserializer; import com.fasterxml.jackson.databind.jsontype.TypeDeserializer; import com.fasterxm...
/* * (C) Copyright IBM Corp. 2022 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.server.test.operation; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNotNull; import static org.testng.Assert.assertTrue; import java.util.ArrayList; import java.util.List; imp...
/** * Copyright (c) 2016-present, RxJava Contributors. * * 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...
/* * 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")...
package com.lcx.gulimall.coupon.dao; import com.lcx.gulimall.coupon.entity.SeckillSessionEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 秒杀活动场次 * * @author lcx * @email 2251727682@qq.com * @date 2022-01-26 10:05:33 */ @Mapper public interface S...
package project.v1b; public class CustomerMain { // CustomerService sjsrv = new CustomerServiceImpl(); // // 성적 객체 생성 // CustomerService sj = new CustomerV0(); // // // 성적 추가 // sjsrv.addSungJuk(sj); // System.out.println(sj); // // // 성적 수정 -이름으로 검색 후 성적 수정 // sj = new SungJukV0("혜교", 55, 87, 12); // sjsr...
/* * 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...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
/* * citygml4j - The Open Source Java API for CityGML * https://github.com/citygml4j * * Copyright 2013-2020 Claus Nagel <claus.nagel@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 L...
package com.araguacaima.open_archi.persistence.diagrams.core; import com.araguacaima.open_archi.persistence.commons.Utils; import java.util.HashSet; import java.util.Set; public class ColorSchemeFactory { public static final ColorScheme PRIMARY_DEFAULT = new ColorScheme(ColorSchemeOption.PRIMARY, Utils.randomHex...
package org.cujau.db2.jdbc.rowmappers; import java.sql.ResultSet; import java.sql.SQLException; import org.cujau.db2.jdbc.TypedRowMapper; public class StringFromFirstColumnRowMapper implements TypedRowMapper<String> { @Override public String mapRow(ResultSet rs, int rowNumber) throws SQLExceptio...
/* * * 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"); ...
package com.blntsoft.emailpopup; import android.content.ContentUris; import android.content.Context; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Build; import android.provider.ContactsContract; import android.util.Log;...
package org.mockdata; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.mockdata.fields.*; import java.util.Collection; @RunWith(Parameterized.class) public class ExampleTest { private final int Id; private final String fName; private final String...
/*package com.nerdium.WorldAtWar; import java.math.BigDecimal; import java.util.Optional; import org.dynmap.markers.AreaMarker; import org.dynmap.markers.MarkerAPI; import org.dynmap.markers.MarkerSet; import org.spongepowered.api.Sponge; import org.spongepowered.api.command.CommandException; import org.spongepowered...
package com.smart.journal.remote; import com.smart.journal.bean.TodayWeatherBean; import com.smart.journal.tools.http.AppClient; import com.smart.journal.tools.http.MyCallBack; import com.smart.journal.tools.location.LocationTools; import retrofit2.Call; import retrofit2.Callback; import retrofit2.http.GET; import re...
/******************************************************************************* * Copyright or © or Copr. Institut des Sciences du Mouvement * (CNRS & Aix Marseille Université) * * The DOCoMETER Software must be used with a real time data acquisition * system marketed by ADwin (ADwin Pro and Gold, I and II) or...
/* * 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 2017, 2018 Masao Tomono 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 i...
package ru.gkis.soc.siem.enricher.cache.radixtree; import com.google.common.net.InetAddresses; import java.io.Serializable; import java.net.InetAddress; import java.nio.ByteBuffer; public class IPv4RadixTree extends AbstractRadixTree<Long> implements Serializable { // 10000000000000000000000000000000 --> 32 bit...
package models; import java.util.HashMap; import java.util.Map; import java.util.UUID; public class ParkingLot { private final int size; private Map<UUID, Car> cars; public ParkingLot(int size) { this.size = size; this.cars = new HashMap<>(); } public UUID park(Car car) { ...
/* * 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...
/* * This source file is part of Cube. * * The MIT License (MIT) * * Copyright (c) 2020 Shixin Cube Team. * * 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, inclu...