text
stringlengths
7
995k
/* * 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 2015-2025 FLY的狐狸(email:jflyfox@sina.com qq:369191470). * * 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.viesis.viescraft.client.entity.render.airshipcolors.v1; import net.minecraft.client.model.ModelBase; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.util.ResourceLocation...
/* * @(#)Attr.java 1.224 07/01/18 * * Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as ...
public String[] getStrings() { return new String[] {"x", "y"}; } //https://pt.stackoverflow.com/q/111034/101
package com.xiaohansong.codemaker; import com.intellij.psi.*; import com.xiaohansong.codemaker.util.CodeMakerUtil; import lombok.AllArgsConstructor; import lombok.Data; import org.jetbrains.plugins.scala.lang.psi.api.ScalaFile; import org.jetbrains.plugins.scala.lang.psi.api.toplevel.typedef.ScClass; import java.util...
package org.kuali.ole.docstore.common.document.content.instance; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * Created by hemalathas on 3/24/15. */ /** * (R) * Does no...
/* **** BEGIN LICENSE BLOCK ***** * Version: EPL 1.0/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Eclipse Public * License Version 1.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.eclipse.org/legal/ep...
/** * jsdp: A Java Stochastic Dynamic Programming Library * * MIT License * * Copyright (c) 2016 Roberto Rossi * * 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 restricti...
/* * Copyright (c) 2015 Shirish Kamath. * * 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, modify, merge, pub...
package com.stanford.sleepjournal.fragments; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.util.Log; import com.stanford.sleepjournal.Constants; /** * Created by Santiago Gutierrez on 5/14/16. */ public clas...
package ir.piana.dev.core.session; import ir.piana.dev.secure.crypto.CryptoAttribute; import ir.piana.dev.secure.crypto.CryptoMaker; import ir.piana.dev.core.role.RoleType; import ir.piana.dev.core.websocket.PianaWebSocketHandler; import java.security.KeyPair; import java.util.LinkedHashMap; import java.util.Map; /*...
package com.acabra.gtechdevalgs; import com.acabra.gtechdevalgs.google.MeetingManager; import com.acabra.gtechdevalgs.google.StreamCheckerTest; import com.acabra.gtechdevalgs.gset.MyFile; import com.acabra.gtechdevalgs.gset.MyFileImpl; import com.acabra.gtechdevalgs.litcode.KEmptySlotsTest; import com.acabra.gtechdeva...
package module161packageJava0; import java.lang.Integer; public class Foo75 { Integer int0; Integer int1; Integer int2; public void foo0() { new module161packageJava0.Foo74().foo6(); } public void foo1() { foo0(); } public void foo2() { foo1(); } public void foo3() { foo2(); ...
/** * Copyright 2013-2019 the original author or authors from the Jeddict project (https://jeddict.github.io/). * * 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.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 ...
package graphql.kickstart.servlet; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public interface QueryResponseWriter { void write(HttpServletRequest request, HttpServletResponse response) throws IOException; }
package com.lilithsthrone.main; import java.io.File; import java.io.FileNotFoundException; import java.io.PrintStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.List; import com.lilithsthrone.controller.MainController; import com.lilithsthrone.controller.Toolti...
// // JODConverter - Java OpenDocument Converter // Copyright 2004-2012 Mirko Nasato and contributors // // JODConverter is Open Source software, you can redistribute it and/or // modify it under either (at your option) of the following licenses // // 1. The GNU Lesser General Public License v3 (or later) // -> http...
package com.example.gasadvisor.view; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.util.Patterns; import android.view.View; import android.widget.Button; import android.widget.EditText; import android....
package net.minecraft.inventory; import net.minecraft.entity.item.EntityXPOrb; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Items; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.Furnac...
/* * 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...
package Algospot.beginner; import java.util.Scanner; public class URIDecoding { public String solution(String str) { String result = ""; for(int i = 0; i < str.length(); i++){ char target = str.charAt(i); if(target == '%') { char k = str.charAt(i+2); switch(k) { case '0' : result += " ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/common.proto package com.google.monitoring.v3; /** * * * <pre> * A closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`Metri...
package com.brctl.spring.inaction.chapter1; /** * Knight Interface * @author duanxiaoxing * @created 2017/12/28 */ public interface Knight { void embarkOnQuest(); }
package no.nav.dolly.repository; import no.nav.dolly.domain.jpa.OrganisasjonNummer; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.Repository; import java.util.List; import java.util.Optional; public interface...
package ktpweb.ocprofiles.controller.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import...
package com.alibaba.excel.write.metadata.holder; import com.alibaba.excel.enums.HolderEnum; import com.alibaba.excel.write.metadata.WriteTable; /** * sheet holder * * @author Jiaju Zhuang */ public class WriteTableHolder extends AbstractWriteHolder { /*** * poi sheet */ private WriteSheetHolder ...
/* * Copyright (c) 2012, Gerrit Grunwald * 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 condition...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 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. * Yo...
package org.ericghara.validators; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import org.ericghara.argument.ArgumentGroup; import org.ericghara.argument.FoundArgs; import org.ericghara.argument.Id.EnumKey; import org.ericghara.argument.interfaces.ArgDefinitionInterface; import org.ericghara.argument.inter...
package allout58.mods.MSA.items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.FurnaceRecipes; import allout58.mods.MSA.MSAConfig; import allout58.mods.MSA.blocks.BlockList; import cpw.mods.fml.common.registry.GameRegistry; public class ItemList { //@forma...
package org.codehaus.mojo.keytool.requests; /* * Copyright 2005-2013 The Codehaus * * 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 ...
package ru.nsu.ccfit.zuev.osu.helper; import android.os.Build; import android.os.Environment; import java.io.BufferedInputStream; import java.io.FileInputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; // TODO: Implement zhanghai/AndroidRetroFile import java.nio.file.Di...
package com.easy.easychat; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on an And...
// ============================================================================ // // Copyright (C) 2006-2018 Talend Inc. - www.talend.com // // This source code is available under agreement available at // https://github.com/Talend/data-prep/blob/master/LICENSE // // You should have received a copy of the agreement //...
package io.g740.pigeon.base.object.dto;
package org.simpleflatmapper.converter.impl.time; import org.simpleflatmapper.converter.Context; import org.simpleflatmapper.converter.ContextualConverter; import java.time.Year; import java.time.format.DateTimeFormatter; public class CharSequenceToYearConverter implements ContextualConverter<CharSequence, Year> { ...
package com.endikaaguilera.mvpitunesapi.views; import com.endikaaguilera.mvpitunesapi.global.types.RecyclerViewHolderType; import com.endikaaguilera.mvpitunesapi.models.IAData; interface IAMainView { void onGetData(); void onNoNetworkOnItemClick(); void onShowResults(IAData data); void onShowPlace...
package jne.com.post; //public class Order { // public int id; // public String customName; // public int orderPrice; // public String country; // // public Order() { // } // // public Order(int id, String customName, int orderPrice, String country) { // this.id = id; // this.customN...
package com.jhbim.bimvr.dao.mapper; import com.jhbim.bimvr.dao.entity.pojo.Orders; public interface OrdersMapper { int deleteByPrimaryKey(String id); int insert(Orders record); int insertSelective(Orders record); Orders selectByPrimaryKey(String id); int updateByPrimaryKeySelective(Orders reco...
package seedu.address.logic.commands.wordbankcommands; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static seedu.address.testutil.Assert.assertThrows; import java.io.File; import java.nio.file.Path; import java.nio.file.Paths; impo...
package eu.trixner.base.server.service; import eu.trixner.base.dto.UserListDto; import eu.trixner.base.server.repository.UserRepository; import eu.trixner.base.server.service.mapper.UserListMapper; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; @Service public class Us...
package com.atguigu.gmall.ums.service; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.gmall.common.bean.PageResultVo; import com.atguigu.gmall.common.bean.PageParamVo; import com.atguigu.gmall.ums.entity.IntegrationHistoryEntity; import java.util.Map; /** * 购物积分记录表 * * @author laym...
/* * Copyright 2013-present Facebook, 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...
/* * Copyright 2001,2017 (c) Point Of Sale Solutions (POSS) of Sabre Inc. All * rights reserved. * * This software and documentation is the confidential and proprietary * information of Sabre Inc. ("Confidential Information"). You shall not * disclose such Confidential Information and shall use it only in accord...
// Copyright 2018 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 in ...
// 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.exoplayer2.source.dash.manifest; import android.net.Uri; import com.google.android.exoplayer2.Format; import com.google.android...
package com.atguigu.gulimall.order.service; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.gulimall.common.utils.PageUtils; import com.atguigu.gulimall.order.entity.OrderItemEntity; import java.util.Map; /** * 订单项信息 * * @author buelev * @email 172319516@qq.com * @date 2020-07-02 ...
package com.jcohy.sample.designpattern.mediator; import java.awt.*; /** * Copyright : 2017- www.jcohy.com Created by jcohy on 23:48 2018/8/7 Email: * jia_chao23@126.com Description: **/ // tag::code[] public class ColleagueButton extends Button implements Colleague { private Mediator mediator; public Colleague...
package com.zendesk.maxwell.producer; import com.codahale.metrics.Counter; import com.codahale.metrics.Meter; import com.codahale.metrics.Timer; import com.zendesk.maxwell.MaxwellConfig; import com.zendesk.maxwell.MaxwellContext; import com.zendesk.maxwell.replication.BinlogPosition; import com.zendesk.maxwell.replica...
package io.jokester.tidyj; import java.util.ArrayList; /** * A set of options that can be applied to {@link io.jokester.tidyj.TidyJ} instance * before parse starts. * See {@see http://api.html-tidy.org/tidy/quickref_5.4.0.html} for available options * <p> * Options that are added later have higher precedence. *...
package com.dev.crm.core.dto; import java.io.Serializable; public class PagoPorDiaResultViewModel implements Serializable { /** * */ private static final long serialVersionUID = 3022034117941764961L; private String numeroInterno; private String codigoPago; private String mesPago; private String can...
package softuniBabies.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.spri...
/******************************************************************************* * Copyright (c) 2015 Low Latency Trading Limited : Author Richard Rose * 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.axway.apim.appimport; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.axway.apim.adapter.APIManagerAdapter; import com.axway.apim.adapter.clientApps.ClientAppAdapter; import com.axway.apim.adapter.clientApps.ClientAppFilter; import com.axway.apim.api.model.apps....
package cn.plusman.arithmetic.leetcode.top.top23; import cn.plusman.arithmetic.leetcode.top.ListNode; import java.util.Arrays; /** * @author plusman * @since 2021/7/2 10:35 PM */ public class Top23Class implements Top23Solution { @Override public ListNode mergeKLists(ListNode[] lists) { ListNode l...
/* * The MIT License (MIT) * * Copyright (c) 2015 CodeRevisited.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 * to...
package com.jbaysolutions.ailabs.builder.nnwrapper.updater; import org.nd4j.linalg.learning.config.Adam; import org.nd4j.linalg.learning.config.IUpdater; /** * (c) JBay Solutions 2010-2020 All rights reserved. * <p> * User: RuiP * Date: 04-12-2019 * Time: 16:24 */ public class AdamWrapper { public Double le...
/* * Copyright (c) 2017 xamoom GmbH <apps@xamoom.com> * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at the root of this project. */ package com.xamoom.android.xamoomcontentblocks.ViewHolders; import android...
/* * 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 ...
/* * nimbus-jose-jwt * * Copyright 2012-2018, Connect2id 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 ...
package gw.internal.schema.gw.xsd.w3c.wsdl.types.complex; /***************************************************************************/ /* THIS IS AUTOGENERATED CODE - DO NOT MODIFY OR YOUR CHANGES WILL BE LOST */ /* THIS CODE CAN BE REGENERATED USING 'xsd-codegen' */ /**************************...
/* * alert-common * * Copyright (c) 2021 Synopsys, Inc. * * Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide. */ package com.synopsys.integration.alert.common.action; import com.synopsys.integration.alert.common.message.mod...
package com.kuaishangtong.Object; public class Object { private String err; private int errcode; public String getLastErr() { return err; } public int getErrCode() { return errcode; } public void setLastErr(String err) { this.err = err; } public void setErrCode(int errcode) { this.errcode = errcode;...
/* * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Modifications copyright (C) 2017 Uber Technologies, Inc. * * 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 * loc...
/* * The MIT License (MIT) * * Copyright (c) 2016 NBCO Yandex.Money LLC * * 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 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.features.start_surface; import static androidx.test.espresso.Espresso.onView; import static androidx.test.espresso.action.Vie...
package EarthquakeMap; import de.fhpotsdam.unfolding.geo.Location; import de.fhpotsdam.unfolding.marker.SimplePointMarker; import processing.core.PGraphics; /** Implements a common marker for cities and earthquakes on an earthquake map * * @author UC San Diego Intermediate Software Development MOOC team * @author...
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.restapi.application; import com.google.common.base.Joiner; import com.yahoo.component.Version; import com.yahoo.config.application.api.DeploymentInstanceSpec;...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.dingtalkvillage_1_0.models; import com.aliyun.tea.*; public class ListDeptSimpleUsersResponse extends TeaModel { @NameInMap("headers") @Validation(required = true) public java.util.Map<String, String> headers; @NameInMap("body"...
/* Generated By:JavaCC: Do not edit this line. JavaCharStream.java Version 6.0 */ /* JavaCCOptions:STATIC=false,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ package uk.ac.open.crc.jim.parser.java15; /** * An implementation of interface CharStream, where the stream is assumed to * contain only ASCII characters (with java-...
/* * This file is part of Dependency-Track. * * 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) 2008-2022, Hazelcast, 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 ...
package io.github.ntsd.stubby4gay.yaml; import io.github.ntsd.stubby4gay.common.Common; import io.github.ntsd.stubby4gay.utils.FileUtils; import io.github.ntsd.stubby4gay.yaml.YamlBuilder; import org.junit.Test; import static com.google.common.truth.Truth.assertThat; import static io.github.ntsd.stubby4gay.stubs.Stub...
package com.rogerio.multithreads.repository; import com.rogerio.multithreads.domain.Car; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface CarRepository extends JpaRepository<Car, Long> { }
package com.vmware.vim25; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for installDateRequestType complex type. * * <p>The following schema fragment spec...
/** * Copyright (c) 2001-2019 Mathew A. Nelson and Robocode contributors * 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 * https://robocode.sourceforge.io/license/ep...
package org.stellar.sdk.responses.effects; import com.google.gson.annotations.SerializedName; /** * Represents sequence_bumped effect response. * @see <a href="https://www.stellar.org/developers/horizon/reference/resources/effect.html" target="_blank">Effect documentation</a> * @see org.stellar.sdk.requests.Effect...
package client; import birt.report.client.HttpBirtReportService; import birt.report.client.ReportFormat; import birt.report.client.ReportParameters; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.mock.web.MockHttpServletResponse; import java.io.IOException; impo...
package com.azim.okhttpmaster; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.TextUtils; import android.util.Patterns; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import com.azim.library.Network...
package com.rftdevgroup.transporthub.validator; import java.util.Optional; public interface Validator { Optional<ValidationErrors> validate(Object o); boolean isSupported(Class c); }
package com.koushikdutta.async.test; import android.util.Log; import com.koushikdutta.async.http.AsyncHttpClient; import com.koushikdutta.async.http.AsyncHttpGet; import junit.framework.TestCase; import java.util.concurrent.TimeUnit; /** * Created by koush on 4/20/14. */ public class ProxyTests extends TestCase ...
package com.example.com.example.clock; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; public class CallAlarm extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { Intent intent1...
/******************************************************************************** //******************************************************************************* //Class: PuzzleGameUserInput //Description: This is the user input object for the Kawell2 program solving // the 8-puzzle. It contains ...
package ru.job4j.tracker; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; /** * MenuTracker. * * @author Vladislav Nechaev * @version $Id$ * @since 19.11.2018 */ public class MenuTracker { private static final String ADD = "0"; private static final String SHOW_ALL...
/* * The MIT License (MIT) * * Copyright (c) 2020 Lundegaard a.s. * * 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 u...
/* * Copyright 2021 Infernal Studios * * 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 agree...
/* * 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 one.empty3.feature.kmeans; /* * Programmed by Shephalika Shekhar * Class for Kmeans Clustering implemetation */ import one.empty3.feature.PixM; import one.empty3.feature.kmeans.Distance; import one.empty3.feature.kmeans.ReadDataset; import one.empty3.library.core.lighting.Colors; import one.empty3.feature...
package parattice; import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.List; import org.junit.jupiter.api.Test; public class LatticeKMPTest { static String[][][] paradict = { {{"blood", "stem", "cell...
/* The Adama Programming Language For Board Games! * See http://www.adama-lang.org/ for more information. * (c) copyright 2020 Jeffrey M. Barber (http://jeffrey.io) */ package org.adamalang.netty.contracts; import java.util.HashMap; import com.fasterxml.jackson.databind.node.ObjectNode; public interface JsonResp...
package com.github.walterfan.logger.cache; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import com.github.walterfan.server.logger.LogData; /** * @author Walter Fan Ya Min * */ public class LogCache implements IDataCache<Long, LogDat...
/* * 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.mall.user.registerVerification; // //import com.mall.commons.tool.email.DefaultEmailSender; //import com.mall.commons.tool.email.MailData; //import com.mall.commons.tool.email.emailConfig.EmailConfig; //import lombok.extern.slf4j.Slf4j; //import org.springframework.beans.factory.annotation.Autowired; //im...
package io.github.crawlerbot.enumerations; public enum ShowCase { }
package shiver.me.timbers.aws.appsync; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; im...
/* * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/* * Copyright (c) 2017 SnappyData, 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 ap...